Update Performance Policy Set Stack (v2.0)
PUT/sdwan/v2.0/api/perfmgmtpolicysetstacks/:id
Update a performance policy set stack.
Request
Path Parameters
The performance policy set ID.
- application/json
Body
Details of PERFMGMT Policy Set Stack to be created
The default policy set stack.
The ID of the default rule policy set.
The description of the policy set stack. Max size = 256.
The policy set stack ID.
Name: Required(error = NAME_REQD: Please provide resource name.) Size(max = 128, error = NAME_EXCEEDS_LIMIT: Name of the resource exceeds limit., min = 0)
The policy set IDs.Should be between 1-4.
A information field that can be added to identify the policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The default policy set stack.
The ID of the default rule policy set.
The description of the policy set stack. Max size = 256.
The policy set stack ID.
Name: Required(error = NAME_REQD: Please provide resource name.) Size(max = 128, error = NAME_EXCEEDS_LIMIT: Name of the resource exceeds limit., min = 0)
The policy set IDs.Should be between 1-4.
A information field that can be added to identify the policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
{
"default_policysetstack": true,
"defaultrule_policyset_id": "string",
"id": "string",
"name": "string",
"policyset_ids": [
"string"
],
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "POLICYSETSTACK_NOT_FOUND"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "DEFAULT_POLICY_SET_CANNOT_BE_REMOVED_FROM_DEFAULT_STACK"
},
{
"code": "PERFMGMT_DEFAULT_RESOURCE_NAME_CHANGE_NOT_ALLOWED"
},
{
"code": "DEFAULT_POLICYSET_STACK_EXISTS"
},
{
"code": "POLICYSETSTACK_CONFIG_DUPLICATE_POLICYSETID"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_IDS"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_STATE"
},
{
"code": "PERFMGMT_STACKS_EXCEEDS_MAX_LIMIT_FOR_SETS"
}
]
}
}