Create Policy Set (v3.0)
POST/v3.0/api/tenants/:tenant_id/policysets
Create a new policy set.
Request
Path Parameters
The tenant ID.
- application/json
Body
Details of the policy set to be created
- Array [
- Array [
- ]
- ]
- Array [
- ]
bandwidth_allocation_schemes BandwidthAllocationScheme[]required
Allocate or modify the percentage of bandwidth configured for each priority and application traffic type. Can configure up to four bandwidth allocation schemes.
bandwidth_range BandwidthRange
The details of the bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriority[]
Information on the business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth split per type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number.
business_priority_names BusinessPriorityNameMapper[]required
The list of business priority names. Max size = 4.
The business priority name.
The business priority number.
The existing policy for cloning the policy set.
The default policy.
The description of the policy set.
The policy set ID.
The name of the policy set. Max size = 128.
Possible values: [CONSERVATIVE
, STANDARD
, OPTIMUM
]
The policy stance is pre-defined. The security policy set populates automatically with the default policy rules (self-zone, default, and intra-zone) and cannot be edited.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
bandwidth_allocation_schemes BandwidthAllocationScheme[]required
Allocate or modify the percentage of bandwidth configured for each priority and application traffic type. Can configure up to four bandwidth allocation schemes.
bandwidth_range BandwidthRange
The details of the bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriority[]
Information on the business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth split per type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number.
business_priority_names BusinessPriorityNameMapper[]required
The list of business priority names. Max size = 4.
The business priority name.
The business priority number.
The default policy.
The description of the policy set.
The policy set ID.
The name of the policy set. Max size = 128.
{
"bandwidth_allocation_schemes": [
{
"bandwidth_range": {
"high": 0,
"low": 0
},
"business_priorities": [
{
"bandwidth_allocation": 0,
"bandwidth_split_per_type": {
"bulk": 0,
"rt_audio": 0,
"rt_video": 0,
"transactional": 0
},
"priority_num": 0
}
]
}
],
"business_priority_names": [
{
"priority_name": "string",
"priority_num": 0
}
],
"default_policy": true,
"id": "string",
"name": "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": "SECURITY_POLICYSET_NAME_REQUIRED"
},
{
"code": "SECURITY_POLICYSET_NAME_INVALID"
},
{
"code": "SECURITY_POLICYSET_DESCRIPTION_INVALID"
},
{
"code": "ONLY_POLICY_STANCE_OR_CLONE_FROM_CAN_BE_SET"
},
{
"code": "CLONE_FROM_POLICYSET_DOES_NOT_EXIST"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "POLICY_SET_CONFIG_STANCE_OR_CLONE_FROM"
},
{
"code": "POLICY_SET_CONFIG_DEFAULT_EXIST"
}
]
}
}