Modifies a diagnostic metric set.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDiagnosticMetricSet

The operation that you want to perform. Set the value to ModifyDiagnosticMetricSet.

RegionId String Yes cn-hangzhou

The region ID of the diagnostic metric set. You can call the DescribeRegions operation to query the most recent region list.

MetricSetId String Yes dms-uf6i0tv2refv8wz*****

The ID of the diagnostic metric set.

MetricIds.N String No Instance.DiskLoadFailure

The ID of diagnostic metric N.

ResourceType String No instance

The type of the resource.

MetricSetName String No remoteConnectError

The new name of the diagnostic metric set.

Description String No connection diagnostics

The new description of the diagnostic metric set.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE*****

The ID of the request.


Sample requests

&Description=connection error diagnostics
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****"

Error codes

For a list of error codes, visit the API Error Center.