Create Performance Policy Set Stack (v2.0)
POST/v2.0/api/tenants/:tenant_id/perfmgmtpolicysetstacks
Create a new performance policy set stack.
Request
Path Parameters
The tenant 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.
The name of the performance policy set stack. Max size = 128.
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.
The name of the performance policy set stack. Max size = 128.
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_CONFIG_DUPLICATE_POLICYSETID"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_IDS"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_STATE"
},
{
"code": "PERFMGMT_STACKS_EXCEEDS_MAX_LIMIT_FOR_SETS"
}
]
}
}