Mengkueri konfigurasi cakupan (dalam OAuth) pemeriksaan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
integer |
No |
ID konfigurasi. Parameter ini bersifat opsional. Jika Anda tidak menentukan parameter ini, ID default akan dibuat. |
435f626256ebf564cf5ba966a539**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
GetCheckScopeConfigResponse. |
||
| RequestId |
string |
ID permintaan. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
| Code |
string |
Kode hasil. Nilai 200 menunjukkan keberhasilan. Nilai lain menunjukkan kegagalan. Anda dapat menggunakan bidang ini untuk menentukan penyebab kegagalan. |
200 |
| Message |
string |
Paket tanggapan. |
successful |
| Data |
object |
Data yang dikembalikan. |
|
| GmtCreate |
string |
Pengatur waktu pembuatan. |
2022-10-16 18:17:16 |
| GmtModified |
string |
Pengatur waktu modifikasi. |
2026-01-09 10:19:57 |
| ConfigId |
string |
ID konfigurasi. |
97a1fed216908e417407344e1505xxxx |
| Type |
integer |
Tipe konfigurasi cakupan (dalam OAuth) pemindaian. Nilai valid:
|
1 |
| AutoType |
integer |
Tipe konfigurasi pemindaian otomatis. Nilai valid:
|
1 |
| AutoConfig |
string |
Konfigurasi pemindaian otomatis dalam bentuk string JSON. Bidang berikut disertakan:
Catatan
Untuk informasi lebih lanjut, lihat operasi GetCloudAssetCriteria. |
"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}" |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"Success": true,
"Code": "200",
"Message": "successful",
"Data": {
"GmtCreate": "2022-10-16 18:17:16",
"GmtModified": "2026-01-09 10:19:57",
"ConfigId": "97a1fed216908e417407344e1505xxxx",
"Type": 1,
"AutoType": 1,
"AutoConfig": "\"{\\\"autoInclude\\\":true,\\\"autoRule\\\":{\\\"ruleOperator\\\":\\\"include\\\",\\\"operator\\\":\\\"or\\\",\\\"rule\\\":[{\\\"condition\\\":\\\"assetSubType\\\",\\\"ruleOperator\\\":\\\"include\\\",\\\"value\\\":[{\\\"vendor\\\":\\\"0\\\",\\\"assetType\\\":\\\"0\\\",\\\"assetSubType\\\":\\\"100\\\"}]}]}}\""
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.