You can call the DeleteTransitRouterMulticastDomain operation to delete a multicast domain.
Operation description
Before you delete a multicast domain, ensure that the following requirements are met:
The multicast domain is not associated with any vSwitch. For more information, see DisassociateTransitRouterMulticastDomain.
No multicast source or member exists in the multicast domain. For more information, see DeregisterTransitRouterMulticastGroupSources and DeregisterTransitRouterMulticastGroupMembers.
The multicast domain is not associated with another multicast domain as a member. To disassociate the domains, delete the member from the other multicast domain. For more information, see DeregisterTransitRouterMulticastGroupMembers.
Ensure that you enter the correct parameter values when you call the operation. If you enter an incorrect parameter value, a request ID is returned, but the multicast domain is not deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteTransitRouterMulticastDomain |
delete |
*TransitRouterMulticastDomain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client token that is used to ensure the idempotence of the request. Generate a token on your client to make sure that it is unique among different requests. The token can contain only ASCII characters. |
123e4567-e89b-12d3-a456-4266**** |
| TransitRouterMulticastDomainId |
string |
Yes |
The ID of the multicast domain. |
tr-mcast-domain-40cwj0rgzgdtam**** |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40194E53-2484-5831-BB53-E11D123C1A32 |
Examples
Success response
JSON format
{
"RequestId": "40194E53-2484-5831-BB53-E11D123C1A32"
}
Error codes
|
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.