Menghapus gateway.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:DeleteGateway |
delete |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DeleteSlb |
boolean |
No |
Menentukan apakah instance SLB yang dibeli untuk gateway akan dihapus saat Anda menghapus gateway tersebut. |
true |
| GatewayUniqueId |
string |
Yes |
ID unik gateway. |
gw-0fe488252dc44d55a9dd57875193a1d7 |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| RequestId |
string |
ID permintaan. |
2FFEA345-BE30-5FE0-8885-42E2DEFD5FE6 |
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan.
|
The request is successfully processed. |
| Code |
integer |
Kode status HTTP yang dikembalikan. Nilai 200 menunjukkan bahwa permintaan berhasil. Nilai lain menunjukkan bahwa permintaan gagal. |
200 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Data |
object |
Detail data. |
|
| Id |
integer |
ID kunci primer. |
12 |
| Name |
string |
Nama gateway. |
mse-bc1a29b0-reg-center-0-1 |
| GatewayUniqueId |
string |
ID unik gateway. ID ini dihasilkan secara otomatis oleh sistem. |
gw-7ea3da97b96543e19f6c597c**** |
| Region |
string |
ID wilayah. |
cn-hangzhou |
| PrimaryUser |
string |
Informasi tentang pengguna. |
1231254 |
| Status |
integer |
Status gateway. Nilai yang valid: 0: Gateway sedang dibuat. 1: Gagal membuat gateway. 2: Gateway berjalan. 3: Gateway sedang berubah. 4: Gateway sedang diskalakan turun. 6: Gateway sedang diskalakan naik. 8: Gateway sedang dihapus. 10: Gateway sedang dimulai ulang. 11: Gateway sedang dibangun ulang. 12: Gateway sedang diperbarui. 13: Gagal memperbarui gateway. |
1 |
| Vpc |
string |
ID virtual private cloud (VPC) tempat gateway berada. |
vpc-bp1328cm01m6uel42b5zb |
| Vswitch |
string |
ID vSwitch. |
vsw-bp18zeqxx6mpuq843z4n5 |
| SecurityGroup |
string |
ID security group. |
sg-bp11ufzqn6mmb8dtzz82 |
| Spec |
string |
Spesifikasi gateway. |
MSE_GTW_16_32_200_c |
| Replica |
integer |
Jumlah replika gateway. |
2 |
| GmtCreate |
string |
Waktu pembuatan. |
2022-01-07T10:07:57.000+0000 |
| GmtModified |
string |
Waktu terakhir gateway diperbarui. |
2022-01-07T10:07:57.000+0000 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2FFEA345-BE30-5FE0-8885-42E2DEFD5FE6",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": {
"Id": 12,
"Name": "mse-bc1a29b0-reg-center-0-1",
"GatewayUniqueId": "gw-7ea3da97b96543e19f6c597c****",
"Region": "cn-hangzhou",
"PrimaryUser": "1231254",
"Status": 1,
"Vpc": "vpc-bp1328cm01m6uel42b5zb",
"Vswitch": "vsw-bp18zeqxx6mpuq843z4n5",
"SecurityGroup": "sg-bp11ufzqn6mmb8dtzz82",
"Spec": "MSE_GTW_16_32_200_c",
"Replica": 2,
"GmtCreate": "2022-01-07T10:07:57.000+0000",
"GmtModified": "2022-01-07T10:07:57.000+0000"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.