Menghapus instans sandbox.
Deskripsi operasi
This operation is only available for the 2021-01-01 version of the DBS API.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DeleteSandboxInstance |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
ID rencana cadangan. Catatan
Jika instans Anda adalah instans ApsaraDB RDS for MySQL, gunakan fitur auto-add Sumber data untuk menambahkan instans RDS ke DBS lalu memperoleh ID rencana cadangan. |
1hxxxx8xxxxxa |
| InstanceId |
string |
Yes |
ID instans sandbox. |
1jxxxxnxxx1xc |
| ZoneId |
string |
No |
ID zona instans sandbox tujuan. Zona harus didukung oleh PrivateLink. Panggil operasi DescribeZones untuk mengkueri daftar zona di wilayah tertentu. Catatan
Sebelum menggunakan fitur sandbox, aktifkan PrivateLink. Panggil operasi OpenPrivateLinkService untuk mengaktifkan PrivateLink. |
cn-hangzhou-b |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The error message. |
operation forbidden due to sandbox is creating. |
| RequestId |
string |
The request ID. |
4F1888AC-1138-4995-B9FE-D2734F61C058 |
| ErrCode |
string |
The error code. |
Param.NotFound |
| Success |
string |
Indicates whether the request is successful. |
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| Code |
string |
The error code. |
Param.NotFound |
| Message |
string |
The error message. |
The specified parameter %s value is not valid. |
Contoh
Respons sukses
JSONformat
{
"Data": "operation forbidden due to sandbox is creating.",
"RequestId": "4F1888AC-1138-4995-B9FE-D2734F61C058",
"ErrCode": "Param.NotFound",
"Success": "true",
"ErrMessage": "The specified parameter %s value is not valid.",
"Code": "Param.NotFound",
"Message": "The specified parameter %s value is not valid."
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.