Edits the common filter conditions for host assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifySearchCondition |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. You do not need to specify this parameter. The system automatically obtains the value. |
27.223.XX.XX |
| Name |
string |
Yes |
The name of the common filter condition. |
test |
| FilterConditions |
string |
No |
The filter conditions. This parameter is in JSON format. Pay attention to the letter case when you specify this parameter. The following fields are included:
Note
Valid values of name:
|
{ "filterParams": [ { "label": "UUID:xxx", "value": "{\"name\":\"uuidList\",\"value\":\"xxx\"}" } ], "LogicalExp": "OR" } |
| Type |
string |
No |
The asset type. Default value: ecs. Valid values:
|
ecs |
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. |
9DFFCF83-4F7B-5E05-B82D-3B619D5**** |
Examples
Success response
JSON format
{
"RequestId": "9DFFCF83-4F7B-5E05-B82D-3B619D5****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.