Update Performance Policy Set (v2.0)
PUT/v2.0/api/tenants/:tenant_id/perfmgmtpolicysets/:perfmgmtpolicyset_id
Update a performance policy set.
Request
Path Parameters
The tenant ID.
The performance policy set ID.
- application/json
Body
Details of PERFMGMT Policy Set to be updated
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
The performance policy set that has been cloned from.
The default rule of the policy set.
The description of the performance policy set. Max size = 256.
Lists if the performance policy sets are disabled.
Reason the performance policy set is disabled.
The ID of the policy set.
Lists if the performance policy set is inactive.
Reason the performance policy set is inactive.
The order of the policy rule.
link_health_rules PerfMgmtPolicyRule[]
The details of the policy rule.
actions PerfMgmtAction[]
The valid actions configured for the performance policy rule.
Possible values: [RAISE_ALARM
, MOVE_FLOWS
, MOVE_FLOWS_FORCED
, FEC
, VISIBILITY
, APP_ACCELERATION
, PACKET_DUPLICATION
]
The values of the action type for the performance policy rule.
app_perf PerfMgmtActionParameters
The details of the application performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
circuit_utilization_perf PerfMgmtActionParameters
Circuit Utilization Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
lqm_perf PerfMgmtActionParameters
The details of the LQM performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
probe_perf PerfMgmtActionParameters
Probe Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
sys_perf PerfMgmtActionParameters
Sys Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
app_filters ApplicationFilter
The details of the app filters used for the performance policy rule.
Possible values: [RT_AUDIO
, RT_VIDEO
, TRANSACTIONAL
, BULK
]
Lists the app transfer types. Maximum 4 app transfer types are supported.
Lists the application IDs in a rule. Maximum 64 applications can be specified in a rule.
The description of the performance policy rule. Max characters = 256.
Lists if the performance policy rule is enabled.
Lists the performance policy rules by ID.
The name of the performance policy rule.
path_filters PathFilter[]
Lists the path filters applied. Maximum 32 path filters are supported.
The policy rule path label.
Possible values: [vpn
, direct
, servicelink
, all
]
The path type specified in the path filter.
Lists the service label IDs. Maximum 32 service labels are supported.
A information field that can be added to identify the performance policy rule. Maximum 10 unique tags of length 1024 each are allowed.
Lists the threshold profile IDs.
Possible values: [APP_CIRCUIT_HEALTH
, SYSTEM_SITE_HEALTH
]
The type of performance policy rule.
The name of the performance policy set. Max size = 128.
policy_rules BasePolicyRule[]
Lists the details of the policy rules.
The description of the policy rule. Max size = 256.
Lists if the policy rules are disabled.
Reason the policy rule is disabled.
The policy rule ID.
Lists if the policy rule is inactive.
Reason the policy rule is inactive.
The name of the policy rule.
The ID of the policy set.
The region of the site.
A information field that can be added to identify the policy rule. Maximum 10 unique tags of length 1024 each are allowed.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
The region of the site. ID of the DEM status.
Send To Element
A information field that can be added to identify the policy set. Maximum 10 unique tags of length 1024 each are allowed.
The tenant ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
The performance policy set that has been cloned from.
The default rule of the policy set.
The description of the performance policy set. Max size = 256.
Lists if the performance policy sets are disabled.
Reason the performance policy set is disabled.
The ID of the policy set.
Lists if the performance policy set is inactive.
Reason the performance policy set is inactive.
The order of the policy rule.
link_health_rules PerfMgmtPolicyRule[]
The details of the policy rule.
actions PerfMgmtAction[]
The valid actions configured for the performance policy rule.
Possible values: [RAISE_ALARM
, MOVE_FLOWS
, MOVE_FLOWS_FORCED
, FEC
, VISIBILITY
, APP_ACCELERATION
, PACKET_DUPLICATION
]
The values of the action type for the performance policy rule.
app_perf PerfMgmtActionParameters
The details of the application performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
circuit_utilization_perf PerfMgmtActionParameters
Circuit Utilization Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
lqm_perf PerfMgmtActionParameters
The details of the LQM performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
probe_perf PerfMgmtActionParameters
Probe Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
sys_perf PerfMgmtActionParameters
Sys Perf: Valid
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
app_filters ApplicationFilter
The details of the app filters used for the performance policy rule.
Possible values: [RT_AUDIO
, RT_VIDEO
, TRANSACTIONAL
, BULK
]
Lists the app transfer types. Maximum 4 app transfer types are supported.
Lists the application IDs in a rule. Maximum 64 applications can be specified in a rule.
The description of the performance policy rule. Max characters = 256.
Lists if the performance policy rule is enabled.
Lists the performance policy rules by ID.
The name of the performance policy rule.
path_filters PathFilter[]
Lists the path filters applied. Maximum 32 path filters are supported.
The policy rule path label.
Possible values: [vpn
, direct
, servicelink
, all
]
The path type specified in the path filter.
Lists the service label IDs. Maximum 32 service labels are supported.
A information field that can be added to identify the performance policy rule. Maximum 10 unique tags of length 1024 each are allowed.
Lists the threshold profile IDs.
Possible values: [APP_CIRCUIT_HEALTH
, SYSTEM_SITE_HEALTH
]
The type of performance policy rule.
The name of the performance policy set. Max size = 128.
policy_rules BasePolicyRule[]
Lists the details of the policy rules.
The description of the policy rule. Max size = 256.
Lists if the policy rules are disabled.
Reason the policy rule is disabled.
The policy rule ID.
Lists if the policy rule is inactive.
Reason the policy rule is inactive.
The name of the policy rule.
The ID of the policy set.
The region of the site.
A information field that can be added to identify the policy rule. Maximum 10 unique tags of length 1024 each are allowed.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
The region of the site. ID of the DEM status.
Send To Element
A information field that can be added to identify the policy set. Maximum 10 unique tags of length 1024 each are allowed.
The tenant ID.
{
"clone_from": "string",
"defaultrule_policyset": true,
"disabled": true,
"disabled_reason": "string",
"id": "string",
"inactive": true,
"inactive_reason": "string",
"link_health_policyrule_order": [
"string"
],
"link_health_rules": [
{
"actions": [
{
"action_type": "RAISE_ALARM",
"app_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"circuit_utilization_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"lqm_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"probe_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"sys_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
}
}
],
"app_filters": {
"app_transfer_types": [
"RT_AUDIO"
],
"application_ids": [
"string"
]
},
"enabled": true,
"id": "string",
"name": "string",
"path_filters": [
{
"label": "string",
"path_type": "vpn"
}
],
"service_label_ids": [
"string"
],
"tags": [
"string"
],
"thresholdprofile_id": "string",
"type": "APP_CIRCUIT_HEALTH"
}
],
"name": "string",
"policy_rules": [
{
"disabled": true,
"disabled_reason": "string",
"id": "string",
"inactive": true,
"inactive_reason": "string",
"name": "string",
"policyset_id": "string",
"region": "string",
"tags": [
"string"
],
"tenant_id": "string"
}
],
"region": "string",
"send_to_element": true,
"tags": [
"string"
],
"tenant_id": "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": "POLICY_SET_NOT_FOUND"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "READONLY_CLONE_FROM"
},
{
"code": "DEFAULT_RULES_CANNOT_BE_REMOVED_FROM_SET"
},
{
"code": "PERFMGMT_DEFAULT_RESOURCE_NAME_CHANGE_NOT_ALLOWED"
},
{
"code": "PERFMGMT_DUPLICATE_RULES_IN_RULES_ORDER"
},
{
"code": "PERFMGMT_INVALID_POLICY_SET_ORDER"
},
{
"code": "PERFMGMT_POLICY_DEFAULT_SET_UPDATE_NOT_ALLOWED"
}
]
}
}