Create Threshold Profile (v2.0)
POST/v2.0/api/tenants/:tenant_id/perfmgmtthresholdprofiles
Create a new threshold profile.
Request
Path Parameters
The tenant 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.
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.
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
The description of the threshold profile. Max size = 256.
Lists if the threshold profiles are disabled.
Reason the threshold profile is disabled.
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.
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.
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)
{
"disabled": true,
"disabled_reason": "string",
"hard_limit_app_metrics": {
"max_init_failure_rate": 0,
"max_rtt": 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
},
"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_LQM_OR_APP_THREHOLDS_EXPECTED"
}
]
}
}