Queries the fuzzy match conditions for asset properties that can be displayed when you query assets.
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 fuzzy query field supports automatic matching. Default value: false. Valid values:
|
true |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the Alibaba Cloud account of the member accounts in the resource folder. Note
Invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
8E6DDACF-99AF-5939-AFFD-FCCD3B01E724 |
| CriteriaList |
array<object> |
The list of asset query conditions. |
|
|
object |
The asset query condition information. |
||
| Type |
string |
The type of the query condition. Valid values:
|
input |
| Name |
string |
The name of the query condition.
|
internetIp |
| Values |
string |
The specific asset property values that correspond to the 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 structured property values of the asset that correspond to the 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.