Retrieves the asset selection configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetAssetSelectionConfig |
get |
*AssetSelectionConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessType |
string |
Yes |
The business type of the asset selection. Valid values:
|
VIRUS_SCAN_CYCLE_CONFIG |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
C5936B67-3EDF-53ED-A542-02543972449A |
| Data |
object |
The data details. |
|
| TargetType |
string |
The target asset type. Valid values:
|
instance |
| SelectionKey |
string |
The unique identifier of the asset selection. You can use this identifier to query or modify the assets associated with this asset selection. |
657c8411-4e89-446c-ab66-d45d1331**** |
| Platform |
string |
The operating system of the target asset. Valid values:
|
linux |
Examples
Success response
JSON format
{
"RequestId": "C5936B67-3EDF-53ED-A542-02543972449A",
"Data": {
"TargetType": "instance",
"SelectionKey": "657c8411-4e89-446c-ab66-d45d1331****",
"Platform": "linux"
}
}
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.