Modifies a diagnostic metric set.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the diagnostic metric set. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
MetricSetId | string | Yes | The ID of the diagnostic metric set. | dms-uf6i0tv2refv8wz***** |
MetricIds | array | No | The ID of diagnostic metric N. | |
string | No | The ID of diagnostic metric N. | Instance.DiskLoadFailure | |
ResourceType | string | No | The type of the resource. Enumeration Value:
| instance |
MetricSetName | string | No | The new name of the diagnostic metric set. | remoteConnectError |
Description | string | No | The new description of the diagnostic metric set. | connection diagnostics |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidParameter.MetricSetId | %s |
400 | InvalidParameter.MetricIds | %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-07-21 | Add Operation | see changesets |