All Products
Search
Document Center

CloudMonitor:ModifyMonitorGroupInstances

Last Updated:Jul 26, 2024

Debugging

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

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cms:ModifyMonitorGroupInstancesupdate
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdlongYes

The ID of the application group.

12345
Instancesarray<object>Yes
objectYes
InstanceNamestringYes

The name of the instance. Valid values of N: 1 to 2000.

HostName
CategorystringYes

The abbreviation of the name of the service to which the instances to be added to the application group belong. Valid values:

  • ECS: Elastic Compute Service (ECS) instances provided by Alibaba Cloud and hosts not provided by Alibaba Cloud

  • RDS: ApsaraDB for RDS

  • ADS: AnalyticDB

  • SLB: Server Load Balancer (SLB)

  • VPC: Virtual Private Cloud (VPC)

  • APIGATEWAY: API Gateway

  • CDN: Alibaba Cloud Content Delivery Network (CDN)

  • CS: Container Service for Swarm

  • DCDN: Dynamic Route for CDN

  • DDoS: Anti-DDoS Pro

  • EIP: Elastic IP Address (EIP)

  • ELASTICSEARCH: Elasticsearch

  • EMR: E-MapReduce

  • ESS: Auto Scaling

  • HBASE: ApsaraDB for Hbase

  • IOT_EDGE: IoT Edge

  • K8S_POD: pods in Container Service for Kubernetes

  • KVSTORE_SHARDING: ApsaraDB for Redis of the cluster architecture

  • KVSTORE_SPLITRW: ApsaraDB for Redis of the read/write splitting architecture

  • KVSTORE_STANDARD: ApsaraDB for Redis of the standard architecture

  • MEMCACHE: ApsaraDB for Memcache

  • MNS: Message Service (MNS)

  • MONGODB: ApsaraDB for MongoDB of the replica set architecture

  • MONGODB_CLUSTER: ApsaraDB for MongoDB of the cluster architecture

  • MONGODB_SHARDING: ApsaraDB for MongoDB of the sharded cluster architecture

  • MQ_TOPIC: MNS topics

  • OCS: ApsaraDB for Memcache of earlier versions

  • OPENSEARCH: Open Search

  • OSS: Object Storage Service (OSS)

  • POLARDB: PolarDB

  • PETADATA: HybridDB for MySQL

  • SCDN: Secure Content Delivery Network (SCDN)

  • SHAREBANDWIDTHPACKAGES: EIP Bandwidth Plan

  • SLS: Log Service

  • VPN: VPN Gateway

    Valid values of N: 1 to 2000.

ECS
InstanceIdstringYes

The ID of the instance. Valid values of N: 1 to 2000.

i-a2d5q7pm12****
RegionIdstringYes

The ID of the region where the instance resides. Valid values of N: 1 to 2000.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code.

Note The status code 200 indicates that the call was successful.
200
Messagestring

The returned message.

success
RequestIdstring

The ID of the request.

FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A
Successboolean

Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure.

true

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
206%s%s-
400ParameterInvalid%s-
401AccessDeniedExceptionYou donot have sufficient access to perform this action.-
402LimitExceededThe quota for this customer had been reached.-
403AccessForbiddenThe X.509 certificate or cms access key ID provided does not exist in our records.-
404ResourceNotFoundThe specified resource is not found.The specified resource is not found.
409ResourceConflict%s-
409ResourceExist%s-
412ResourcesOverLimit%s-
429Throttli∂ngExceptionThe request was denied due to request throttling.-
500InternalError%s-

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

Change history

Change timeSummary of changesOperation
No change history