Queries the services to which the resources in an application group belong and the number of instances that belong to each service in the application group.

Debugging

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 DescribeMonitorGroupCategories

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

GroupId Long Yes 12345

The ID of the application group.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code. The status code 200 indicates that the call was successful.

Message String success

The returned message.

MonitorGroupCategories N/A N/A

The services to which the resources in the application group belong and the number of instances that belong to each service.

GroupId Long 123456

The ID of the application group.

MonitorGroupCategory Array N/A

One of the services to which the resources in the application group belong and the number of instances that belong to the service.

CategoryItem N/A N/A

The services to which the resources in the application group belong.

Category String ECS

The abbreviation of the service name. 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
Count Integer 1

The number of instances that belong to the service.

RequestId String 9E0347B0-EBC3-4769-A78D-D96F21C6BB52

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

Examples

Sample requests


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

Sample success responses

XML format

<DescribeMonitorGroupCategoriesResponse>
      <MonitorGroupCategories>
            <MonitorGroupCategory>
              <Category>ECS</Category>
              <Count>1</Count>
        </MonitorGroupCategory>
      </MonitorGroupCategories>
      <RequestId>9E0347B0-EBC3-4769-A78D-D96F21C6BB52</RequestId>
      <Success>true</Success>
      <Code>200</Code>
</DescribeMonitorGroupCategoriesResponse>

JSON format

{
	"MonitorGroupCategories":{
		"MonitorGroupCategory":[
			{
				"Category":"ECS",
				"Count":1
			}
		]
	},
	"RequestId":"9E0347B0-EBC3-4769-A78D-D96F21C6BB52",
	"Success":true,
	"Code":200
}

Error codes

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