Queries the asset types and asset subtypes for configuration assessment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListInstanceCatalog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content in the request and response. Valid values:
Valid values:
|
zh |
| RegionId |
string |
No |
The ID of the region in which the asset resides. Valid values:
|
cn-hangzhou |
| Types |
array |
No |
The types of check standards. |
|
|
string |
No |
The type of the check standard. Valid values:
|
RISK |
|
| StandardIds |
array |
No |
The IDs of standards. |
|
|
integer |
No |
The IDs of standards. Note
You can call the ListCheckStandard operation to query the ID. |
2 |
|
| RequirementIds |
array |
No |
The IDs of requirement items. |
|
|
integer |
No |
The IDs of requirement items. Note
You can call the ListCheckStandard operation to query the ID. |
27 |
|
| OnlyCustom |
boolean |
No |
Whether to return only assets that support custom checks. Valid values:
|
true |
| TaskSources |
array |
No |
List of task sources. |
|
|
string |
No |
Task source. Values: - YAO_CHI: Yaochi Console. |
YAO_CHI |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
GetCheckConfigResponse |
||
| RequestId |
string |
The request ID. |
0D42A83F-CE33-5F54-A5AE-05DA39F59E1B |
| Vendors |
array<object> |
The asset types by service provider. |
|
|
array<object> |
The asset type by service provider. |
||
| Name |
string |
The name of the service provider. |
ALIYUN |
| InstanceTypes |
array<object> |
The asset types. |
|
|
array<object> |
The asset type. |
||
| Name |
string |
The name of the asset type. |
ECS |
| InstanceSubTypes |
array<object> |
The asset subtypes. |
|
|
object |
The asset subtype. |
||
| Name |
string |
The name of the asset subtype. |
SECURITY_GROUP |
| Value |
integer |
The ID of the asset subtype. |
1 |
| Value |
integer |
The ID of the asset type. Valid values:
|
15 |
| Value |
integer |
The ID of the service provider type. Valid values:
|
0 |
Examples
Success response
JSON format
{
"RequestId": "0D42A83F-CE33-5F54-A5AE-05DA39F59E1B",
"Vendors": [
{
"Name": "ALIYUN",
"InstanceTypes": [
{
"Name": "ECS",
"InstanceSubTypes": [
{
"Name": "SECURITY_GROUP",
"Value": 1
}
],
"Value": 15
}
],
"Value": 0
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.