全部产品
Search
文档中心

Cloud Enterprise Network:DeleteTransitRouterMulticastDomain

更新时间:Dec 14, 2025

Anda dapat memanggil operasi DeleteTransitRouterMulticastDomain untuk menghapus domain multicast.

Deskripsi operasi

Sebelum menghapus domain multicast, pastikan persyaratan berikut terpenuhi:

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:DeleteTransitRouterMulticastDomain

delete

*TransitRouterMulticastDomain

acs:cen:*:{#accountId}:centransitroutermulticast/{#centransitroutermulticastId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ClientToken

string

No

Token klien yang digunakan untuk memastikan idempotensi permintaan.

Buat token pada client Anda untuk memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII.

123e4567-e89b-12d3-a456-4266****

TransitRouterMulticastDomainId

string

Yes

ID domain multicast.

tr-mcast-domain-40cwj0rgzgdtam****

DryRun

boolean

No

Menentukan apakah akan melakukan dry run. Nilai yang valid:

  • true: melakukan dry run. Sistem memeriksa parameter yang diperlukan, format permintaan, dan batas layanan. Jika permintaan gagal dalam dry run, pesan kesalahan akan dikembalikan. Jika permintaan lolos dry run, kode kesalahan DryRunOperation akan dikembalikan.

  • false (default): melakukan permintaan normal. Jika permintaan lolos pemeriksaan, domain multicast akan dihapus.

false

Elemen respons

Element

Type

Description

Example

object

Parameter respons.

RequestId

string

ID permintaan.

40194E53-2484-5831-BB53-E11D123C1A32

Contoh

Respons sukses

JSONformat

{
  "RequestId": "40194E53-2484-5831-BB53-E11D123C1A32"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

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 InstanceNotExist The instance is not exist. The error message returned because the specified instance does not exist.
400 IncorrectStatus.Cen The status of Cen is incorrect. The error message returned because the status of the specified CEN instance does not support this operation. Try again later.
400 IncorrectStatus.TransitRouter The status of TransitRouter is incorrect. The error message returned because the status of the transit router does not support this operation. Try again later.
400 InvalidOperation.MulticastDomainAssociationExist Operation is invalid because multicast domain associations exist. The error message returned because this operation is not supported when the multicast domain is associated with a resource.
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 InvalidOperation.MulticastDomainInGroup Operation is invalid because multicast domain has registered as multicast group member. The error message returned because the specified multicast domain is added to a multicast group as a multicast member.
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.