Mengaktifkan Database Autonomy Service (DAS) Edisi Profesional.
Deskripsi operasi
-
If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
-
This operation is applicable only to DAS Enterprise Edition V1.
We recommend that you call the ModifySqlLogConfig operation to activate or deactivate DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see DAS editions and supported features.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:EnableDasPro |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
No |
ID akun Alibaba Cloud yang digunakan untuk membuat Instansiasi basis data. Catatan
Parameter ini opsional. Sistem dapat secara otomatis memperoleh ID akun berdasarkan nilai InstanceId saat Anda memanggil operasi ini. |
196278346919**** |
| InstanceId |
string |
Yes |
ID Instansiasi basis data. |
rm-2ze8g2am97624**** |
| SqlRetention |
integer |
No |
Durasi penyimpanan data Penjelajah SQL. Unit: hari. Nilai default: 30. Nilai valid:
|
30 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7172BECE-588A-5961-8126-C216E16B**** |
| Message |
string |
The returned message. Catatan
If the request was successful, Successful is returned. If the request failed, an error message that contains information such as an error code is returned. |
Successful |
| Synchro |
string |
The reserved parameter. |
None |
| Data |
string |
The reserved parameter. |
None |
| Code |
string |
The HTTP status code returned. |
200 |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7172BECE-588A-5961-8126-C216E16B****",
"Message": "Successful",
"Synchro": "None",
"Data": "None",
"Code": "200",
"Success": "true"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | |
| 403 | NoPermission | You are not authorized to do this action. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.