All Products
Search
Document Center

Elastic Compute Service:ModifyDiagnosticMetricSet

Last Updated:Apr 11, 2024

Modifies a diagnostic metric set.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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

cn-hangzhou
MetricSetIdstringYes

The ID of the diagnostic metric set.

dms-uf6i0tv2refv8wz*****
MetricIdsarrayNo

The ID of diagnostic metric N.

stringNo

The ID of diagnostic metric N.

Instance.DiskLoadFailure
ResourceTypestringNo

The type of the resource.

Enumeration Value:
  • instance
instance
MetricSetNamestringNo

The new name of the diagnostic metric set.

remoteConnectError
DescriptionstringNo

The new description of the diagnostic metric set.

connection diagnostics

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE*****

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400InvalidParameter.MetricSetId%s
400InvalidParameter.MetricIds%s

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-07-21Add Operationsee changesets