Mengambil daftar modul yang didukung untuk otorisasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetSupportedModules |
list |
*All Resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa pesan permintaan dan tanggapan. Nilai default: zh. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ListCheckResultResponse. |
||
| SupportedModuleResponse |
array<object> |
Informasi modul yang didukung vendor saat ini, dikategorikan berdasarkan vendor. |
|
|
array<object> |
|||
| Vendor |
string |
Vendor Aset cloud. Nilai valid:
|
Tencent |
| SupportedModules |
array<object> |
Daftar modul yang didukung vendor saat ini. |
|
|
object |
|||
| Module |
string |
Kode modul. Nilai valid:
|
HOST |
| ModuleDisp |
string |
Nama tampilan modul. |
Cloud service configuration assessment |
| ModuleAuth |
boolean |
Apakah modul diaktifkan. Nilai valid:
|
true |
| RequestId |
string |
ID permintaan, yaitu pengidentifikasi unik yang dibuat oleh Alibaba Cloud untuk permintaan tersebut. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
C699E4E4-F2F4-58FC-A949-457FFE59**** |
Contoh
Respons sukses
JSONformat
{
"SupportedModuleResponse": [
{
"Vendor": "Tencent",
"SupportedModules": [
{
"Module": "HOST",
"ModuleDisp": "Cloud service configuration assessment",
"ModuleAuth": true
}
]
}
],
"RequestId": "C699E4E4-F2F4-58FC-A949-457FFE59****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | A service error occurred. Please try again later. |
| 403 | NoPermission | caller has no permission | The current operation is not authorized. Use the Alibaba Cloud account to grant the permission in the RAM console and then perform the operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.