批量查询账号组资源的规则豁免状态。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | DescribeAccountGroupResourceExemptions | 要执行的操作,取值:DescribeAccountGroupResourceExemptions。 |
Version | String | 是 | 2025-01-01 | API的版本,取值:2025-01-01。 |
Exemptions | Array of Object | 是 | [{"RuleId":"rule-123456","ResourceIdentifier":"i-1234567890abcdef0","Region":"cn-beijing","ResourceType":"Volcengine::Ecs::Instance"}] | 资源豁免查询项或结果列表 |
AccountGroupId | String | 是 | ag-123456 | 账号组 ID |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Exemptions | Array of Object | [{"AccountId":"2100052080","RuleId":"rule-123456","ResourceIdentifier":"i-1234567890abcdef0","Region":"cn-beijing","ResourceType":"Volcengine::Ecs::Instance","Description":"example description","ExpireAt":"2026-12-31T23:59:59Z","Status":"Enabled"}] | 资源豁免查询项或结果列表 |
POST /?Action=DescribeAccountGroupResourceExemptions&Version=2025-01-01 HTTP/1.1 Host: config.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20260518T164649Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260518/cn-beijing/config/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "Exemptions": [ { "RuleId": "rule-123456", "ResourceIdentifier": "i-1234567890abcdef0", "Region": "cn-beijing", "ResourceType": "Volcengine::Ecs::Instance" } ], "AccountGroupId": "ag-123456" }
{ "ResponseMetadata": { "RequestId": "202605181646490000000000000000", "Action": "DescribeAccountGroupResourceExemptions", "Version": "2025-01-01", "Service": "config", "Region": "cn-beijing" }, "Result": { "Exemptions": [ { "AccountId": "2100052080", "RuleId": "rule-123456", "ResourceIdentifier": "i-1234567890abcdef0", "Region": "cn-beijing", "ResourceType": "Volcengine::Ecs::Instance", "Description": "example description", "ExpireAt": "2026-06-18T00:00:00Z", "Status": "Enabled" } ] } }
您可访问公共错误码,获取更多错误码信息。