Memeriksa apakah fitur SQL Explorer diaktifkan untuk klaster target.
Deskripsi operasi
Catatan: Operasi API ini sudah tidak digunakan lagi (deprecated). Gunakan Query the configurations of DAS Enterprise Edition sebagai gantinya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribePolarSQLCollectorPolicy |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID klaster. Catatan
Panggil operasi DescribeDBClusters untuk meminta detail semua klaster di akun Anda. Detail tersebut mencakup ID klaster. |
pc-**************** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
3655211B-4D74-4E13-91E6-FF2AFE****** |
| SQLCollectorStatus |
string |
Menunjukkan apakah fitur SQL Explorer diaktifkan. Nilai yang valid:
|
Enable |
| DBClusterId |
string |
ID klaster. |
pc-bp1s826a1up****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3655211B-4D74-4E13-91E6-FF2AFE******",
"SQLCollectorStatus": "Enable",
"DBClusterId": "pc-bp1s826a1up******"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.