Menghapus instance Server Load Balancer (SLB) dengan model bayar sesuai penggunaan.
Deskripsi operasi
Pendengar dan tag dari instance SLB akan dihapus bersama instance tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DeleteLoadBalancer |
delete |
*loadbalancer
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah dari instans SLB. Anda dapat memanggil operasi DescribeRegions untuk mengambil daftar wilayah terbaru. |
cn-hangzhou |
| LoadBalancerId |
string |
Yes |
ID instans SLB. |
lb-bp1h66tp5uat8******** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidChargeType | The prepay loadBalancer does not support this action. | |
| 400 | Operation.NotAllowed | Operation Denied. Unfinished order exists. | |
| 400 | OperationDenied.DeleteProtectionIsOn | The loadbalancer can not be deleted due to DeleteProtection is enabled. | |
| 400 | NoPermission.AliyunServiceRoleForSlbEipAccess | You are not authorized to create the service linked role. Role Name: AliyunServiceRoleForSlbEipAccess. Service Name: eipaccess.slb.aliyuncs.com. Please ensure the user has been granted the ram:CreateServiceLinkedRole permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.