All Products
Search
Document Center

:ListAutoGroupingRemediations

Last Updated:Dec 15, 2025

Queries a list of automatic grouping remediation records.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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
resourcemanager:ListAutoGroupingRemediationslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.

TGlzdFJlc291cm****
MaxResultsintegerNo

The maximum number of data entries to return.

10
RuleIdstringYes

The rule ID.

gr-acfnugygwms32yy
ServicestringNo

The ID of the Alibaba Cloud service.

You can obtain the ID from the Service code column in Services that work with Resource Group.

ecs
ResourceTypestringNo

The resource type,

You can obtain the resource type from the Resource type column in Services that work with Resource Group.

instance
ResourceIdstringNo

The resource ID,

i-23v38****
TargetResourceGroupIdstringNo

The ID of the new resource group.

rg-aekz26emqhc****
EarliestRemediationTimestringNo

The earliest remediation time. This parameter is empty by default.

2022-01-01 00:00:00
LatestRemediationTimestringNo

The latest remediation time. This parameter is empty by default.

2022-02-01 00:00:00

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

NextTokenstring

The pagination token that is used in the next request to retrieve a new page of results.

TGlzdFJlc291cm****
Remediationsarray<object>

The remediation records.

Remediationobject

The remediation record.

RegionIdstring

The region ID.

cn-qingdao
RemediationIdstring

The remediation record ID.

0028d4****cfe94956ef6708a373f396fbc840e306f
RemediationTimestring

The remediation time.

2022-01-01 00:00:00
ResourceIdstring

The resource ID.

i-uf664f66v1****drkea4
ResourceTypestring

The resource type.

You can obtain the resource type from the Resource type column in Services that work with Resource Group.

instance
Servicestring

The ID of the Alibaba Cloud service.

You can obtain the ID from the Service code column in Services that work with Resource Group.

ecs
TargetResourceGroupInfoobject

The information about the new resource group.

ResourceGroupDisplayNamestring

The resource group name.

ProjectA
ResourceGroupIdstring

The resource group ID.

rg-acfmygrk****wfa
MaxResultsinteger

The number of entries per page.

Valid values: 1 to 100. Default value: 10.

10
RequestIdstring

The request ID.

6F959E33-7B6D-5F58-BB0B-ED616DC7C70B

Examples

Sample success responses

JSONformat

{
  "NextToken": "TGlzdFJlc291cm****",
  "Remediations": [
    {
      "RegionId": "cn-qingdao",
      "RemediationId": "0028d4****cfe94956ef6708a373f396fbc840e306f",
      "RemediationTime": "2022-01-01 00:00:00",
      "ResourceId": "i-uf664f66v1****drkea4",
      "ResourceType": "instance",
      "Service": "ecs",
      "TargetResourceGroupInfo": {
        "ResourceGroupDisplayName": "ProjectA",
        "ResourceGroupId": "rg-acfmygrk****wfa"
      }
    }
  ],
  "MaxResults": 10,
  "RequestId": "6F959E33-7B6D-5F58-BB0B-ED616DC7C70B"
}

Error codes

HTTP status codeError codeError messageDescription
409AutoGroupingNotEnabledThe auto grouping is disabled.The auto grouping is disabled.

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

Change history

Change timeSummary of changesOperation
2025-12-10Add OperationView Change Details