Create Priority Policy Set Stacks (v2.0)
POST/sdwan/v2.0/api/prioritypolicysetstacks
Create a priority policy set stack.
Request
- application/json
Body
Details of the Priority policy stack to be created
The default policy set stack.
The ID of the default rule policy set.
The description of the priority policy set stack. Max size = 256.
The priority policy set stack ID.
The name of the priority policy set stack. Max size = 128.
The ID of the policy set.
A information field that can be added to identify the priority 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 priority policy set stack. Max size = 256.
The priority policy set stack ID.
The name of the priority policy set stack. Max size = 128.
The ID of the policy set.
A information field that can be added to identify the priority 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": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_DEFAULTRULE_POLICYSET_ID"
},
{
"code": "POLICYSETSTACK_CONFIG_DUPLICATE_POLICYSETID"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_IDS"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_STATE"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_DEFAULTRULE_POLICYSET_STATE"
},
{
"code": "DEFAULT_POLICYSET_STACK_EXISTS"
},
{
"code": "POLICYSETSTACK_CONFIG_DEFAULTRULE_POLICYSET_REQUIRED"
},
{
"code": "INVALID_DEFAULTRULE_POLICYSET_ID_FORMAT"
}
]
}
}