Queries the target machines included in a custom policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCustomizedStrategyTargets |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
39.170.43.** |
| Lang |
string |
No |
The language type for requests and responses. Valid values:
|
en |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each API request. You can use this ID to troubleshoot issues. |
1EE7B150-D67E-53FD-A52D-3E8E669A**** |
| StartegyTargets |
array<object> |
The list of target information for the custom policy. |
|
|
object |
The target information for the custom policy. |
||
| StrategyName |
string |
The name of the baseline check policy. |
白名单 |
| StrategyId |
integer |
The ID of the baseline check policy. |
1884 |
| GroupId |
integer |
The ID of the server group. Note
You can call the DescribeAllGroups operation to query server group IDs. |
14590457 |
| Uuid |
string |
The UUID of the asset. Note
You can call the DescribeCloudCenterInstances operation to obtain this parameter. |
2701ad2e-0e8f-428c-8812-ebb2686e**** |
Examples
Success response
JSON format
{
"RequestId": "1EE7B150-D67E-53FD-A52D-3E8E669A****",
"StartegyTargets": [
{
"StrategyName": "白名单",
"StrategyId": 1884,
"GroupId": 14590457,
"Uuid": "2701ad2e-0e8f-428c-8812-ebb2686e****"
}
]
}
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.