Creates a diagnostic metric set. You can group diagnostic metrics into diagnostic metric sets.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The type of the resource. Default value: instance. | cn-hangzhou |
ResourceType | string | Yes | The name of the diagnostic metric set. Enumeration Value:
| instance |
MetricSetName | string | No | my_dms | The IDs of diagnostic metrics. You can specify up to 100 diagnostic metric IDs. |
MetricIds | array | Yes | The ID of diagnostic metric. | |
string | Yes | The description of the diagnostic metric set. | Instance.DiskLoadFailure | |
Description | string | No | testDescription | The ID of the request. |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****",
"MetricSetId": "dms-o7ymuutup5l*****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidParameter.MetricId | %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history