Modifies the name, description, and feature options of a multicast domain.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyTransitRouterMulticastDomain |
update |
*TransitRouterMulticastDomain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The ClientToken parameter supports only ASCII characters. |
123e4567-e89b-12d3-a456-4266**** |
| TransitRouterMulticastDomainId |
string |
Yes |
The ID of the multicast domain. |
tr-mcast-domain-40cwj0rgzgdtam**** |
| TransitRouterMulticastDomainName |
string |
No |
The new name of the multicast domain. The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://. |
nametest |
| TransitRouterMulticastDomainDescription |
string |
No |
The new description of the multicast domain. The description can be empty or 1 to 256 characters in length, and cannot start with http:// or https://. |
desctest |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| Options |
object |
No |
The feature options of the multicast domain. |
|
| Igmpv2Support |
string |
No |
Specifies whether to enable the IGMP feature for the multicast domain. After this feature is enabled, hosts can dynamically join or leave multicast groups by using Internet Group Management Protocol (IGMP). Valid values: enable. Note
|
enable |
| StrictSourceControl |
string |
No |
Specifies whether to enable the strict multicast source control feature. If this feature is disabled, all ECS instances in the associated vSwitch can serve as multicast sources. If this feature is enabled, only ENIs that are statically configured or have sent IGMP Join messages can serve as multicast sources. Valid values:
Note
|
enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
26273D23-5CB0-5EFC-AF5F-78A5448084C9 |
Examples
Success response
JSON format
{
"RequestId": "26273D23-5CB0-5EFC-AF5F-78A5448084C9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Illegal.Name | Name is illegal. | The error message returned because the name is invalid. |
| 400 | Illegal.Description | Description is illegal. | The error message returned because the description is invalid. |
| 400 | InvalidMulticastDomainId.NotFound | The specified MulticastDomainId is not found. | The error message returned because the specified multicast domain does not exist. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | The error message returned because the dry run request passed the precheck. |
| 400 | IllegalParam.Igmpv2Support | The specified Igmpv2Support is illegal. Valid values are [enable, disable]. | The parameter Igmpv2Support is invalid. Value range: enable, disable. |
| 400 | OperationUnsupported.Igmpv2Support | The current UID does not allow the creation of a igmpv2 multicast domain. Please submit a ticket. | The current UID does not allow the creation of a multicast domain of the igmpv2 type. Please submit a ticket. |
| 400 | OperationUnsupported.NotAllowedDisableIgmpv2Support | The operation is not permitted because Igmpv2Support is not currently available to be disabled. | The operation is not permitted because Igmpv2Support is not currently available to be disabled. |
| 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. |
| 400 | InvalidParameter.TransitRouterMulticastDomainId | The specified parameter TransitRouterMulticastDomainId is invalid. | The parameter TransitRouterMulticastDomainId entered is illegal. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.