Generates a downloadable inventory of global resources.
Operation description
This topic provides an example of how to generate a downloadable inventory of global resources for the current account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:GenerateResourceInventory |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Regions |
string |
No |
The regions where the resources are located. Separate multiple regions with commas (,). |
cn-shanghai |
| ResourceTypes |
string |
No |
The resource types. Separate multiple resource types with commas (,). |
ACS::ECS::Instance |
| ResourceDeleted |
integer |
No |
The resource status. Valid values:
Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E1225EEA-B5F8-538F-8E37-A943986B6290 |
Examples
Success response
JSON format
{
"RequestId": "E1225EEA-B5F8-538F-8E37-A943986B6290"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceInventoryExceedMaxLimit | Exceed max resource inventory item max limit 200000. | |
| 404 | AccountNotExisted | Your account does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.