Panggil operasi DisassociateTransitRouterMulticastDomain untuk memutuskan asosiasi vSwitch dari domain multicast.
Deskripsi operasi
-
Sebelum Anda memutus asosiasi vSwitch dari domain multicast, pastikan tidak ada sumber atau anggota multicast pada vSwitch tersebut. Untuk informasi lebih lanjut tentang cara menghapus sumber multicast dan anggota multicast, lihat DeregisterTransitRouterMulticastGroupSources dan DeregisterTransitRouterMulticastGroupMembers.
-
Jika Anda memberikan parameter yang tidak valid, sistem mengembalikan ID permintaan tetapi tidak memutus asosiasi vSwitch dari domain multicast.
-
DisassociateTransitRouterMulticastDomain adalah operasi asinkron. Setelah Anda mengirim permintaan, sistem mengembalikan RequestId, tetapi vSwitch tidak langsung diputus dari domain multicast. Sistem menjalankan tugas pemutusan asosiasi di latar belakang. Anda dapat memanggil operasi ListTransitRouterMulticastDomainAssociations untuk meng-query status asosiasi vSwitch dan domain multicast.
-
Jika status asosiasi adalah Dissociating, vSwitch sedang diputus dari domain multicast. Dalam status ini, Anda hanya dapat meng-query vSwitch. Anda tidak dapat melakukan operasi lain.
-
Jika vSwitch tidak dapat ditemukan dalam domain multicast, vSwitch telah berhasil diputus dari domain multicast.
-
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DisassociateTransitRouterMulticastDomain |
delete |
*TransitRouterMulticastDomain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Hasilkan token dari klien Anda untuk memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII. |
123e4567-e89b-12d3-a456-426655440000 |
| TransitRouterMulticastDomainId |
string |
Yes |
ID domain multicast. |
tr-mcast-domain-91wpg6wbhchjeq**** |
| TransitRouterAttachmentId |
string |
Yes |
ID koneksi VPC. Koneksi VPC dibuat setelah Virtual Private Cloud (VPC) yang menjadi tempat vSwitch terhubung ke transit router. |
tr-attach-g3kz2k3u76amsk**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| VSwitchIds |
array |
No |
Daftar ID vSwitch. |
|
|
string |
Yes |
ID vSwitch. Anda dapat memutus asosiasi domain multicast dari hingga 5 vSwitch sekaligus. |
vsw-p0w9s2ig1jnwgrbzl**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| RequestId |
string |
ID permintaan. |
6F6B3FF0-45D1-5416-B189-C45A42A0222B |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6F6B3FF0-45D1-5416-B189-C45A42A0222B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidMulticastDomainId.NotFound | The specified MulticastDomainId is not found. | The error message returned because the specified multicast domain does not exist. |
| 400 | IncorrectStatus.MulticastDomain | The status of MulticastDomain is incorrect. | The error message returned because the status of the specified multicast domain does not support this operation. Try again later. |
| 400 | InstanceStatusNotSupport | The status of instance not support the operation. | The error message returned because the operation is not supported while the instance is in the current state. |
| 400 | InvalidAttachmentId.NotFound | The specified AttachmentId is not found. | |
| 400 | IncorrectStatus.Attachment | The status of Attachment is incorrect. | The error message returned because the status of the attachment does not support this operation. Try again later. |
| 400 | IllegalParam.AttachmentId | The specified AttachmentId is illegal. | The error message returned because the specified attachment ID is invalid. |
| 400 | InvalidOperation.MulticastGroupExist | Operation is invalid because multicast groups exist. | The error message returned because this operation is not supported when a multicast domain group exists. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | The error message returned because the dry run request passed the precheck. |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.