Update Threshold Profile (v2.0)
PUT/v2.0/api/tenants/:tenant_id/perfmgmtthresholdprofiles/:profile_id
Update a threshold profile.
Request
Path Parameters
The tenant ID.
The threshold ID.
- application/json
Body
Details of the Threshold profile to be created
The description of the threshold profile. Max size = 256.
hard_limit_app_metrics StaticAppMetricConfigrequired
The hard limits set for the app metrics.
The max init failure rate threshold. Max = 100L.
The max rtt threshold range. Max = 500L.
Udp Trt: Range(max = 500L, message = PERFMGMT_UDP_TRT_THRESHOLD_RANGE_INVALID, min = 0L)
The ID of the threshold profile.
lqm_thresholds LQMThresholdConfig
Details of the LQM threshold configurations.
The max jitter threshold range. Max = 100L.
The max latency threshold range. Max = 500L.
The max packet loss threshold range. Max = 20L.
The name of the profile. Max size = 128.
soft_limit_app_metrics StaticAppMetricConfig
The soft limits set for the app metrics.
The max init failure rate threshold. Max = 100L.
The max rtt threshold range. Max = 500L.
Udp Trt: Range(max = 500L, message = PERFMGMT_UDP_TRT_THRESHOLD_RANGE_INVALID, min = 0L)
A information field that can be added to identify the profile. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
circuit_utilization_metrics_thresholds CircuitUtilizationMetricThresholds
Circuit Utilization Metrics Thresholds: Valid
The circuit utilization percentage configured for the threshold.
The description of the threshold profile. Max size = 256.
Lists if the threshold profiles are disabled.
Reason the threshold profile is disabled.
flow_metrics_thresholds FlowMetricThresholds
Flow Metrics Thresholds: Valid
The flow utilization percentage configured for the threshold.
hard_limit_app_metrics StaticAppMetricConfig
The hard limits set for the app metrics.
The max init failure rate threshold. Max = 100L.
The max rtt threshold range. Max = 500L.
Udp Trt: Range(max = 500L, message = PERFMGMT_UDP_TRT_THRESHOLD_RANGE_INVALID, min = 0L)
The ID of the threshold profile.
Lists if the threshold profile is inactive.
Reason the threshold profile is inactive.
The default threshold.
lqm_thresholds LQMThresholdConfig
Details of the LQM threshold configurations.
The max jitter threshold range. Max = 100L.
The max latency threshold range. Max = 500L.
The max packet loss threshold range. Max = 20L.
The name of the profile. Max size = 128.
The region of the site.
soft_limit_app_metrics StaticAppMetricConfig
The soft limits set for the app metrics.
The max init failure rate threshold. Max = 100L.
The max rtt threshold range. Max = 500L.
Udp Trt: Range(max = 500L, message = PERFMGMT_UDP_TRT_THRESHOLD_RANGE_INVALID, min = 0L)
synthetic_probe_thresholds SyntheticProbeThresholds
Synthetic Probe Thresholds: Valid
dns_txn_failure_pct SyntheticProbeThreshold
The DNS transaction failure percentage.
The probe config ID.
The threshold value.
init_failure_pct SyntheticProbeThreshold
The init failure percentage.
The probe config ID.
The threshold value.
jitter SyntheticProbeThreshold
The jitter value.
The probe config ID.
The threshold value.
latency SyntheticProbeThreshold
The latency value.
The probe config ID.
The threshold value.
packet_loss SyntheticProbeThreshold
The packet loss value.
The probe config ID.
The threshold value.
system_health_metrics_thresholds SystemHealthMetricThresholds
System Health Metrics Thresholds: Valid
The CPU utilization threshold range.
The disk utilization threshold range.
The memory utilization threshold range.
A information field that can be added to identify the profile. Maximum 10 unique tags of length 1024 each are allowed.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
{
"circuit_utilization_metrics_thresholds": {
"percentage_circuit_utilization": 0
},
"disabled": true,
"disabled_reason": "string",
"flow_metrics_thresholds": {
"percentage_flow_utilization": 0
},
"hard_limit_app_metrics": {
"max_init_failure_rate": 0,
"max_rtt": 0,
"udp_trt": 0
},
"id": "string",
"inactive": true,
"inactive_reason": "string",
"is_default": true,
"lqm_thresholds": {
"max_jitter": 0,
"max_latency": 0,
"max_packet_loss": 0
},
"name": "string",
"region": "string",
"soft_limit_app_metrics": {
"max_init_failure_rate": 0,
"max_rtt": 0,
"udp_trt": 0
},
"synthetic_probe_thresholds": {
"dns_txn_failure_pct": {
"probe_config_id": "string",
"value": 0
},
"init_failure_pct": {
"probe_config_id": "string",
"value": 0
},
"jitter": {
"probe_config_id": "string",
"value": 0
},
"latency": {
"probe_config_id": "string",
"value": 0
},
"packet_loss": {
"probe_config_id": "string",
"value": 0
}
},
"system_health_metrics_thresholds": {
"cpu_utilization": 0,
"disk_utilization": 0,
"memory_utilization": 0
},
"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": "INVALID_JSON_VALUE"
},
{
"code": "PERFMGMT_HARD_LIMIT_APP_METRICS_REQUIRED"
},
{
"code": "PERFMGMT_MAX_INIT_FAILURE_RATE_THRESHOLD_RANGE_INVALID"
},
{
"code": "PERFMGMT_MAX_LATENCY_THRESHOLD_RANGE_INVALID"
},
{
"code": "PERFMGMT_MAX_JITTER_THRESHOLD_RANGE_INVALID"
},
{
"code": "PERFMGMT_MAX_PACKET_LOSS_THRESHOLD_RANGE_INVALID"
},
{
"code": "PERFMGMT_MAX_RTT_THRESHOLD_RANGE_INVALID"
},
{
"code": "PERFMGMT_NON_EMPTY_THRESHOLDS_EXPECTED_FOR_LQM"
},
{
"code": "PERFMGMT_NON_EMPTY_THRESHOLDS_EXPECTED_FOR_APP_METRICS"
},
{
"code": "PERFMGMT_CANNOT_UNSET_LQM_THRESHOLD_PROFILE_IN_USE"
},
{
"code": "PERFMGMT_CANNOT_SET_APP_METRICS_APP_FILTER_MISSING"
},
{
"code": "PERFMGMT_DEFAULT_RESOURCE_NAME_CHANGE_NOT_ALLOWED"
},
{
"code": "PERFMGMT_DEFAULT_THRESHOLD_PROFILE_LQM_UNSET_NOT_ALLOWED"
},
{
"code": "PERFMGMT_LQM_OR_APP_THREHOLDS_EXPECTED"
}
]
}
}