Get the list of cloud product asset structure
Debugging
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 Resourcesis 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.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| yundun-sas:ListCloudAssetSchemas | list | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PageSize | integer | No | The number of entries per page. | 10 |
| CurrentPage | integer | No | The number of the page to return. Default value: 1. | 1 |
| CloudAssetTypes | array<object> | No | The types of cloud assets. | |
| object | No | The types of cloud assets. | ||
| AssetType | integer | No | The type of the asset. Valid values:
| 0 |
| AssetSubType | integer | No | The subtype of the cloud service or asset. Valid values:
| 0 |
| Vendor | integer | No | The server type. Valid values:
| 0 |
| DataNames | array | No | List of asset data names | |
| string | No | Asset data name. | ACS_ECS_Disk | |
| AssociatedDataOnly | boolean | No | Whether to filter out attributes that can be associated with other assets. | true |
| Lang | string | No | The language type for requesting and receiving messages, with a default value of zh. The values can be: - zh: Chinese - en: English | zh |
Response parameters
Examples
Sample success responses
JSONformat
{
"Success": true,
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 54,
"Count": 10
},
"CloudAssetSchemas": [
{
"DataName": "ACS_ECS_Disk",
"Vendor": 0,
"AssetType": 0,
"AssetSubType": 1,
"Properties": "[{\\\"associatedData\\\":[{\\\"assetSubType\\\":100,\\\"assetType\\\":0,\\\"dataName\\\":\\\"ACS_ECS_Instance\\\",\\\"properties\\\":[{\\\"name\\\":\\\"InstanceId\\\",\\\"path\\\":\\\"InstanceId\\\"}],\\\"vendor\\\":0}],\\\"description\\\":\\\"The ID of the instance to which the disk is attached.\\\",\\\"example\\\":\\\"i-bp67acfmxazb4q****\\\",\\\"name\\\":\\\"InstanceId\\\",\\\"type\\\":\\\"STRING\\\",\\\"withAssociatedData\\\":true},{\\\"description\\\":\\\"Disk name\\\",\\\"example\\\":\\\"testDiskName\\\",\\\"name\\\":\\\"DiskName\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Only encrypted disks\\\",\\\"example\\\":\\\"false\\\",\\\"name\\\":\\\"Encrypted\\\",\\\"type\\\":\\\"BOOLEAN\\\"},{\\\"description\\\":\\\"Disk status\\\",\\\"example\\\":\\\"In_use\\\",\\\"name\\\":\\\"Status\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk category\\\",\\\"example\\\":\\\"cloud_ssd\\\",\\\"name\\\":\\\"Category\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk type\\\",\\\"example\\\":\\\"system\\\",\\\"name\\\":\\\"Type\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Specifies whether to set an automatic snapshot policy for the disk.\\\",\\\"example\\\":\\\"false\\\",\\\"name\\\":\\\"EnableAutomatedSnapshotPolicy\\\",\\\"type\\\":\\\"BOOLEAN\\\"},{\\\"description\\\":\\\"The ID of the automatic snapshot policy.\\\",\\\"example\\\":\\\"sp-bp67acfmxazb4p****\\\",\\\"name\\\":\\\"AutoSnapshotPolicyId\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk, local disk, or elastic ephemeral disk ID\\\",\\\"example\\\":\\\"d-bp18um4r4f2fve24****\\\",\\\"name\\\":\\\"DiskId\\\",\\\"type\\\":\\\"STRING\\\"}]"
}
]
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | AccountIdNotExist | AccountId not exist | - |
| 400 | NoPermission | no permission | - |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-19 | Add Operation | View Change Details |
