Domain name for API request: monitor.tencentcloudapi.com.
This API is used to get basic alarm policy conditions.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribePolicyConditionList. |
Version | Yes | String | Common Params. The value used for this API: 2018-07-24. |
Region | No | String | Common Params. This parameter is not required. |
Module | Yes | String | The value is fixed to monitor. |
Parameter Name | Type | Description |
---|---|---|
Conditions | Array of DescribePolicyConditionListCondition | List of alarm policy conditions. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://monitor.tencentcloudapi.com/?Action=DescribePolicyConditionList
&Module=monitor
&<Common request parameters>
{
"Response": {
"Conditions": [
{
"EventMetrics": null,
"IsSupportMultiRegion": true,
"Metrics": [
{
"ConfigManual": {
"CalcType": {
"Keys": [
1,
2,
3,
4,
5,
6
],
"Need": true
},
"CalcValue": {
"Default": null,
"Fixed": null,
"Max": "1024.000000",
"Min": "0.000000",
"Need": true
},
"ContinueTime": {
"Default": null,
"Keys": [
60,
120,
180,
240,
300,
600,
900,
1200,
1500
],
"Need": true
},
"Period": {
"Default": null,
"Keys": [
60,
300
],
"Need": true
},
"PeriodNum": {
"Default": null,
"Keys": [
1,
2,
3,
4,
5
],
"Need": true
},
"StatType": {
"P10": null,
"P1800": null,
"P300": "max",
"P3600": null,
"P5": null,
"P60": "sum",
"P600": null,
"P86400": null
}
},
"MetricId": 1837,
"MetricShowName": "Number of server port exceptions",
"MetricUnit": "Count"
}
],
"Name": "CLB - server port (other)- listener dimension",
"PolicyViewName": "LB_RS_PORT_STATUS",
"SortId": 500,
"SupportDefault": false,
"SupportRegions": [
"bj",
"gz",
"nj"
]
},
{
"EventMetrics": null,
"IsSupportMultiRegion": true,
"Metrics": [
{
"ConfigManual": {
"CalcType": {
"Keys": [
1,
2,
3,
4,
5,
6
],
"Need": true
},
"CalcValue": {
"Default": null,
"Fixed": null,
"Max": "199.000000",
"Min": "10.000000",
"Need": true
},
"ContinueTime": {
"Default": null,
"Keys": [
60,
120,
180,
240,
300,
600,
900,
1200,
1500
],
"Need": true
},
"Period": {
"Default": null,
"Keys": [
60,
300
],
"Need": true
},
"PeriodNum": {
"Default": null,
"Keys": [
1,
2,
3,
4,
5
],
"Need": true
},
"StatType": {
"P10": null,
"P1800": null,
"P300": "min",
"P3600": null,
"P5": null,
"P60": "min",
"P600": null,
"P86400": null
}
},
"MetricId": 7025,
"MetricShowName": "13_shan002_metric01",
"MetricUnit": "s"
}
],
"Name": "13_shan002_policy",
"PolicyViewName": "13_shan002_policy",
"SortId": 500,
"SupportDefault": true,
"SupportRegions": [
"bj",
"gz",
"nj"
]
},
{
"EventMetrics": null,
"IsSupportMultiRegion": true,
"Metrics": [
{
"ConfigManual": {
"CalcType": {
"Keys": [
1,
2,
3,
4,
5,
6
],
"Need": true
},
"CalcValue": {
"Default": null,
"Fixed": null,
"Max": "100000000.000000",
"Min": "0.000000",
"Need": true
},
"ContinueTime": {
"Default": null,
"Keys": [
60,
120,
180,
240,
300,
600,
900,
900,
1200,
1500
],
"Need": true
},
"Period": {
"Default": null,
"Keys": [
300,
60
],
"Need": true
},
"PeriodNum": {
"Default": null,
"Keys": [
1,
2,
3,
4,
5
],
"Need": true
},
"StatType": {
"P10": null,
"P1800": null,
"P300": "max",
"P3600": null,
"P5": null,
"P60": "max",
"P600": null,
"P86400": null
}
},
"MetricId": 2580,
"MetricShowName": "rtt",
"MetricUnit": "us"
}
],
"Name": "cluster_status_test0",
"PolicyViewName": "cluster_status_test0",
"SortId": 500,
"SupportDefault": false,
"SupportRegions": [
"bj",
"gz",
"nj"
]
}
],
"RequestId": "xx"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure.UnauthorizedOperation | The request is not authorized. For more information on the authentication, see the CAM documentation. |
DryRunOperation | DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used. |
FailedOperation | Operation failed. |
FailedOperation.AlertFilterRuleDeleteFailed | Failed to delete the filter rule. |
FailedOperation.AlertPolicyCreateFailed | Failed to create the alarm policy. |
FailedOperation.AlertPolicyDeleteFailed | Failed to delete the alarm policy. |
FailedOperation.AlertPolicyDescribeFailed | Failed to query the alarm policy. |
FailedOperation.AlertPolicyModifyFailed | Failed to modify the alarm policy. |
FailedOperation.AlertTriggerRuleDeleteFailed | Failed to delete the trigger condition. |
FailedOperation.DbQueryFailed | Failed to query the database. |
FailedOperation.DbRecordCreateFailed | Failed to create the database record. |
FailedOperation.DbRecordDeleteFailed | Failed to delete the database record. |
FailedOperation.DbRecordUpdateFailed | Failed to update the database record. |
FailedOperation.DbTransactionBeginFailed | Failed to start the database transaction. |
FailedOperation.DbTransactionCommitFailed | Failed to submit the database transaction. |
FailedOperation.DimQueryRequestFailed | Failed to query the service in the request dimension. |
FailedOperation.DoHTTPTransferFailed | Backend service timed out. |
FailedOperation.DruidQueryFailed | Failed to query analysis data. |
FailedOperation.DuplicateName | The name already exists. |
FailedOperation.ServiceNotEnabled | The service is not enabled and can be used only after being enabled. |
InternalError | Internal error. |
InternalError.ExeTimeout | Execution timed out. |
InvalidParameter | Invalid parameter. |
InvalidParameter.InvalidParameter | Invalid parameter. |
InvalidParameter.InvalidParameterParam | Invalid parameter. |
InvalidParameterValue | The parameter value is incorrect. |
LimitExceeded | Quota limit is reached. |
LimitExceeded.MetricQuotaExceeded | Quota limit on metrics is reached. Requests containing unregistered metrics are prohibited. |
MissingParameter | Missing parameter. |
ResourceInUse | The resource is in use. |
ResourceInsufficient | Insufficient resources. |
ResourceNotFound | The resource is not found. |
ResourceUnavailable | The resource is unavailable. |
ResourcesSoldOut | The resources have been sold out. |
UnauthorizedOperation | Unauthorized operation. |
UnknownParameter | Unknown parameter. |
UnsupportedOperation | Unsupported operation. |
Was this page helpful?