1. Interface Description
Interface request domain name: monitor.api3.convergecloud.com.
Sets an alarm policy as the default policy in the current policy type under the current project.
Alarm policies in the same type under the project will be set as non-default.
Default interface request rate limit: 20 times per second.
Interface update time: 2021-03-01 11:52:23.
The interface is both signature verification and authentication.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: SetDefaultAlarmPolicy |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-07-24 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| Module | Yes | No | String | Module name. The value is fixed to "monitor". Example: monitor |
| PolicyId | Yes | No | String | Alarm policy ID. Example: policy-jfg9hg2g2 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | Invalid parameter value. |
| UnsupportedOperation | Unsupported operation. |
| InternalError | Internal error. |
| ResourceNotFound | The resource does not exist. |
| FailedOperation | Operation failed. |