Panggil operasi DeleteRouteServiceInCen untuk menghapus konfigurasi layanan Alibaba Cloud dari Router transit Edisi Dasar.
Deskripsi operasi
DeleteRouteServiceInCen adalah operasi asinkron. Setelah Anda mengirim permintaan, sistem akan mengembalikan RequestId, meskipun operasi tersebut masih berjalan di latar belakang. Sistem tetap mengembalikan ID permintaan bahkan jika Anda menentukan parameter yang tidak valid; dalam kasus ini, konfigurasi layanan Alibaba Cloud tidak dihapus. Anda dapat memanggil operasi DescribeRouteServicesInCen untuk memeriksa status layanan Alibaba Cloud tersebut.
Jika layanan Alibaba Cloud berada dalam status Deleting, Anda hanya dapat memeriksa konfigurasinya dan tidak dapat melakukan operasi lain.
Jika konfigurasi layanan Alibaba Cloud yang ditentukan tidak ditemukan, berarti konfigurasi tersebut telah dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteRouteServiceInCen |
delete |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans Cloud Enterprise Network (CEN). |
cen-7qthudw0ll6jmc**** |
| Host |
string |
Yes |
Alamat IP atau Blok CIDR layanan Alibaba Cloud. |
100.118.28.0/24 |
| HostRegionId |
string |
Yes |
ID Wilayah layanan Alibaba Cloud. Anda dapat memanggil operasi DescribeRegions untuk menanyakan ID wilayah. |
cn-hangzhou |
| AccessRegionId |
string |
Yes |
ID Wilayah tempat layanan Alibaba Cloud diakses. |
cn-hangzhou |
| HostVpcId |
string |
No |
ID VPC yang terkait dengan layanan Alibaba Cloud. |
vpc-bp1t36rn9l53iwbsf**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2315DEB7-5E92-423A-91F7-4C1EC9AD97C3 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOperation.CloudRouteNumberInvalid | Cloud route number is invalid | The error message returned because the number of cloud service routes is invalid. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 403 | InvalidOperation.CloudRouteStatusNotAllow | Operation is prohibited because status of cloud route is invalid. | The error message returned because the status of the specified cloud service does not support this operation. Try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.