Queries the fuzzy match criteria for asset properties displayed during asset queries.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCriteria |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MachineTypes |
string |
No |
The Asset Type to query. Valid values:
|
ecs |
| Value |
string |
No |
The fuzzy match value entered when querying assets. |
47.96 |
| SupportAutoTag |
boolean |
No |
Specifies whether the entered fuzzy query field supports automatic matching. Default value: false. Valid values:
|
true |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the Alibaba Cloud account for the member accounts in the resource folder. Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting. |
8E6DDACF-99AF-5939-AFFD-FCCD3B01E724 |
| CriteriaList |
array<object> |
The list of asset query criteria. |
|
|
object |
The information about the asset query criterion. |
||
| Type |
string |
The type of the query criterion. Valid values:
|
input |
| Name |
string |
The name of the corresponding query criterion. Valid values:
|
internetIp |
| Values |
string |
The specific property values of the asset that correspond to the entered fuzzy match value. Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
Note
|
47.96.XX.XX |
| MultiValues |
string |
The specific structured property values of the asset that correspond to the entered fuzzy match value. The value is in JSON format and contains the following fields:
|
[{"vendor":0,"regionIds":{"default":["ap-southeast-1","ap-northeast-2","ap-southeast-3","ap-southeast-5","ap-southeast-7","me-central-1"]}},{"vendor":1,"regionIds":{"default":["outside-of-aliyun"]}}] |
Examples
Success response
JSON format
{
"RequestId": "8E6DDACF-99AF-5939-AFFD-FCCD3B01E724",
"CriteriaList": [
{
"Type": "input",
"Name": "internetIp",
"Values": "47.96.XX.XX",
"MultiValues": "[{\"vendor\":0,\"regionIds\":{\"default\":[\"ap-southeast-1\",\"ap-northeast-2\",\"ap-southeast-3\",\"ap-southeast-5\",\"ap-southeast-7\",\"me-central-1\"]}},{\"vendor\":1,\"regionIds\":{\"default\":[\"outside-of-aliyun\"]}}]"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 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.