Mengkueri mesin target yang termasuk dalam kebijakan kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCustomizedStrategyTargets |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
Alamat IP sumber akses. |
39.170.43.** |
| Lang |
string |
No |
Jenis bahasa untuk permintaan dan respons. Nilai valid:
|
en |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. Alibaba Cloud menghasilkan pengidentifikasi unik untuk setiap permintaan API. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
1EE7B150-D67E-53FD-A52D-3E8E669A**** |
| StartegyTargets |
array<object> |
Daftar informasi target untuk kebijakan kustom. |
|
|
object |
Informasi target untuk kebijakan kustom. |
||
| StrategyName |
string |
Nama kebijakan Pemeriksaan baseline. |
白名单 |
| StrategyId |
integer |
ID kebijakan Pemeriksaan baseline. |
1884 |
| GroupId |
integer |
ID kelompok server. Catatan
Anda dapat memanggil operasi DescribeAllGroups untuk mengkueri ID kelompok server. |
14590457 |
| Uuid |
string |
UUID aset. Catatan
Anda dapat memanggil operasi DescribeCloudCenterInstances untuk memperoleh parameter ini. |
2701ad2e-0e8f-428c-8812-ebb2686e**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1EE7B150-D67E-53FD-A52D-3E8E669A****",
"StartegyTargets": [
{
"StrategyName": "白名单",
"StrategyId": 1884,
"GroupId": 14590457,
"Uuid": "2701ad2e-0e8f-428c-8812-ebb2686e****"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | 服务故障,请稍后重试! |
| 403 | NoPermission | caller has no permission | 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.