Memanggil operasi DeleteRouteServiceInCen untuk menghapus konfigurasi layanan Alibaba Cloud dari Router transit Edisi Dasar.
Deskripsi operasi
DeleteRouteServiceInCen is an asynchronous operation. After you send a request, the system returns a RequestId, but the operation continues in the background. The system returns a request ID even if you specify an invalid parameter. In this case, the Alibaba Cloud service configuration is not deleted. You can call the DescribeRouteServicesInCen operation to query the status of the Alibaba Cloud service.
-
If the Alibaba Cloud service is in the Deleting state, you can only query its configuration. You cannot perform other operations.
-
If the specified Alibaba Cloud service configuration is not found, the configuration has been deleted.
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 mengkueri 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 |
The request ID. |
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.