You can call this operation to query the list of resources contained in a specified application group.

Debugging

You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can call APIs, dynamically generate SDK example code, and retrieve APIs.

Request parameters

Parameter Type Required Example Description
GroupId Long Yes 12345

The ID of the application group.

Action String No DescribeMonitorGroupInstances

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

Category String No ECS

The abbreviation of the service name. Valid values:

  • ECS (including Alibaba Cloud and non-Alibaba Cloud hosts)
  • RDS (ApsaraDB for RDS)
  • ADS (AnalyticDB)
  • SLB (Server Load Balancer)
  • VPC (Virtual Private Cloud)
  • APIGATEWAY (API Gateway)
  • CDN
  • CS (Container Service for Swarm)
  • DCDN (Dynamic Route for CDN)
  • DDoS (distributed denial of service)
  • EIP (Elastic IP)
  • ELASTICSEARCH (Elasticsearch)
  • EMR (E-MapReduce)
  • ESS (Auto Scaling)
  • HBASE (ApsaraDB for HBase)
  • IOT_EDGE (IoT Edge)
  • K8S_POD (k8s pod)
  • KVSTORE_SHARDING (ApsaraDB RDS for Redis cluster version)KVSTORE_SPLITRW (ApsaraDB RDS for Redis read/write splitting version)
  • KVSTORE_STANDARD (ApsaraDB RDS for Redis standard version)
  • MEMCACHE (ApsaraDB RDS for Memcache) MNS (Message Service)
  • MONGODB (ApsaraDB RDS for MongoDB replica set instances)
  • MONGODB_CLUSTER (ApsaraDB RDS for MongoDB cluster version)
  • MONGODB_SHARDING (ApsaraDB RDS for MongoDB sharded clusters)
  • MQ_TOPIC (Message Service topic)OCS (original version of ApsaraDB RDS for Memcache)OPENSEARCH (Open Search) OSS (Object Storage Service)POLARDB (ApsaraDB for POLARDB) PETADATA (HybridDB for MySQL) SCDN (Secure Content Delivery Network)
  • SHAREBANDWIDTHPACKAGES (shared bandwidth package)
  • SLS (Log Service)
  • VPN (VPN Gateway)
InstanceIds String No i-x1234568

The IDs of instances, separated with commas (,). You can search for multiple instances by specifying multiple IDs.

Keyword String No s1

The name of the instance. You can perform fuzzy search based on the instance name.

PageNumber Integer No 1

The number of the page. Default value: 1.

PageSize Integer No 10

The number of records per page. Default value: 10.

Response parameters

Parameter Type Example Description
Code Integer 200

The status code. A value of 200 indicates that the call is successful.

Message String success

The error message.

PageNumber Integer 1

The number of the page.

PageSize Integer 10

The number of records on each page.

RequestId String 97F2A410-9412-499C-9AD1-76EF7EC02DF2

The request ID for troubleshooting.

Resources

The description of the application group resource.

└Category String ecs

The abbreviation of the service name. Valid values:

  • ECS (including Alibaba Cloud and non-Alibaba Cloud hosts)
  • RDS (ApsaraDB for RDS)
  • ADS (AnalyticDB)
  • SLB (Server Load Balancer)
  • VPC (Virtual Private Cloud)
  • APIGATEWAY (API Gateway)
  • CDN
  • CS (Container Service for Swarm)
  • DCDN (Dynamic Route for CDN)
  • DDoS (distributed denial of service)
  • EIP (Elastic IP)
  • ELASTICSEARCH (Elasticsearch)
  • EMR (E-MapReduce)
  • ESS (Auto Scaling)
  • HBASE (ApsaraDB for HBase)
  • IOT_EDGE (IoT Edge)
  • K8S_POD (k8s pod)
  • KVSTORE_SHARDING (ApsaraDB RDS for Redis cluster version)KVSTORE_SPLITRW (ApsaraDB RDS for Redis read/write splitting version)
  • KVSTORE_STANDARD (ApsaraDB RDS for Redis standard version)
  • MEMCACHE (ApsaraDB RDS for Memcache) MNS (Message Service)
  • MONGODB (ApsaraDB RDS for MongoDB replica set instances)
  • MONGODB_CLUSTER (ApsaraDB RDS for MongoDB cluster version)
  • MONGODB_SHARDING (ApsaraDB RDS for MongoDB sharded clusters)
  • MQ_TOPIC (Message Service topic)OCS (original version of ApsaraDB RDS for Memcache)OPENSEARCH (Open Search) OSS (Object Storage Service)POLARDB (ApsaraDB for POLARDB) PETADATA (HybridDB for MySQL) SCDN (Secure Content Delivery Network)
  • SHAREBANDWIDTHPACKAGES (shared bandwidth package)
  • SLS (Log Service)
  • VPN (VPN Gateway)
└Id Long 12345

The ID of the resource.

└InstanceId String i-2ze3w55tr2r****

The unique ID of the instance.

└InstanceName String hostIP

The name of the instance.

└RegionId String cn-hangzhou

The region where the instance is deployed.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Total Integer 12

The total number of returned records.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeMonitorGroupInstances
&GroupId=12345
&<Common request parameters>

Successful response examples

XML format

<DescribeMonitorGroupInstancesResponse>
  <PageNumber>1</PageNumber> 
  <PageSize>30</PageSize>
  <RequestId>7670220A-0725-42EE-9252-8200C4F810D9</RequestId>
  <Success>true</Success>
  <Code>200</Code>
  <Total>1</Total> 
  <Resources>
    <Resource>
      <Category>ECS</Category>
      <InstanceId>i-2ze3w55tr2rcpejp****</InstanceId>
      <RegionId>cn-beijing</RegionId> 
      <InstanceName>dynamic_group_1</InstanceName>
    </Resource>
  </Resources>
</DescribeMonitorGroupInstancesResponse>

JSON format

{
	"PageNumber":1,
	"PageSize":30,
	"RequestId":"7670220A-0725-42EE-9252-8200C4F810D9",
	"Success":true,
	"Code":200,
	"Total":1,
	"Resources":{
		"Resource":[
			{
				"Category":"ECS",
				"RegionId":"cn-beijing",
				"InstanceId":"i-2ze3w55tr2rcpejp****",
				"InstanceName":"dynamic_group_1"
			}
		]
	}
}

Error codes

View error codes