Menghapus set penyebaran.
Deskripsi operasi
Sebelum menghapus set penyebaran, pastikan tidak ada instans di dalam set penyebaran tersebut. Jika terdapat instans, Anda harus menghapus atau merilis instans tersebut sebelum dapat menghapus set penyebaran. Untuk informasi selengkapnya, lihat Mengubah set penyebaran instans dan Merilis Instance ECS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteDeploymentSet |
delete |
*DeploymentSet
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah set penyebaran. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| DeploymentSetId |
string |
Yes |
ID set penyebaran yang akan dihapus. |
ds-bp1g5ahlkal88d7x**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Respons error
JSONformat
04F0F334-1335-436C-A1D7-6C044FE73368
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter "DeploymentSetId" that is mandatory for processing this request is not supplied. | |
| 403 | DependencyViolation.NotEmpty | There are still instance(s) in the specified DeploymentSetId. | Masih terdapat instance di dalam ID deployment set yang ditentukan. |
| 403 | DependencyViolation.ReferByHPC | The specified deployment set is still referred by an HPC cluster. | Deployment set yang ditentukan masih terkait dengan cluster HPC lain. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.