ServicePoliciesManagement

Update the policy belongs to the registered service template.<br> Required role: <b>admin</b> or <b>isv</b> </br>

put/xpanse/service/policies/{servicePolicyId}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/xpanse/service/policies/{servicePolicyId}
  • Auth: OAuth 2 (authorization code, authorization URL https://xpanse-demo.eclipseprojects.io/oauth/v2/authorize, token URL https://xpanse-demo.eclipseprojects.io/oauth/v2/token)

Path parameters

servicePolicyIdstring uuid required

ID of the policy to be updated

Request body

flavorNamesstring[]

The flavor names to which the policy belongs. If the list is empty, then the policy will be executed for during service deployment of all flavors.

policystring

The policy.

enabledboolean

Is the policy enabled. true:enabled;false:disabled.

Response

OK

servicePolicyIdstring uuid required

The id of the policy.

policystring required

The valid policy belongs to the service.

serviceTemplateIdstring uuid required

The id of registered service template which the policy belongs to.

flavorNameListstring[]

The flavor name list which the policy belongs to. If the list is empty, then the policy will be executed for during service deployment of all flavors.

enabledboolean required

Is the policy enabled.

createdTimestring date-time required

Time of the policy created.

lastModifiedTimestring date-time required

Time of the policy updated.

Changes

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status