ListTransitRouterMulticastDomains
Queries information about multicast domains, such as the status, multicast domain ID, and description.
Operation description
RegionId must be used in combination with CenId and cannot be used alone. Otherwise, the multicast domain information is not displayed. However, TransitRouterId and TransitRouterMulticastDomainId can be used alone.
Make sure that the input parameter values are correct when you call this operation. If the input parameters are invalid, the operation still returns RequestId, but the detailed information about the multicast domains is not displayed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ListTransitRouterMulticastDomains |
list |
*TransitRouterMulticastDomain
*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 generate a parameter value from your client to ensure that the value is unique among different requests. The ClientToken parameter supports only ASCII characters. |
123e4567-e89b-12d3-a456-426655440000 |
| CenId |
string |
No |
The Cloud Enterprise Network (CEN) instance ID. You must also specify RegionId when you use this parameter. |
cen-a7syd349kne38g**** |
| TransitRouterId |
string |
No |
The ID of the transit router instance, which is used to forward traffic and manage routing. |
tr-p0wr9p28r92d598y6**** |
| TransitRouterMulticastDomainId |
string |
No |
The ID of the multicast domain. |
tr-mcast-domain-3r3bvbypxqheej**** |
| RegionId |
string |
No |
The region ID of the transit router. You can call the DescribeChildInstanceRegions operation to query region IDs. |
cn-hangzhou |
| MaxResults |
integer |
No |
The number of entries to return on each page. Default value: 20. |
20 |
| NextToken |
string |
No |
The token that is used for the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| Tag |
array<object> |
No |
The tag information. You can specify up to 20 tags at a time. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key of the resource. If you specify this parameter, the value cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with You can specify up to 20 tag keys at a time. |
TagKey |
| Value |
string |
No |
The tag value of the resource. The tag value can be empty or a string of up to 128 characters in length. It cannot start with Each tag key corresponds to a tag value. You can specify up to 20 tag values at a time. |
TagValue |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
8A0F93D1-FD6C-56FC-B6D2-668FC92D12D2 |
| TotalCount |
integer |
The total number of entries. |
1 |
| MaxResults |
integer |
The number of entries returned on each page. |
20 |
| NextToken |
string |
The token that is used for the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| TransitRouterMulticastDomains |
array<object> |
The list of multicast domains. |
|
|
array<object> |
The information about the multicast domain. |
||
| TransitRouterMulticastDomainId |
string |
The ID of the multicast domain. |
tr-mcast-domain-3r3bvbypxqheej**** |
| TransitRouterMulticastDomainName |
string |
The name of the multicast domain. |
nametest |
| TransitRouterMulticastDomainDescription |
string |
The description of the multicast domain. |
desctest |
| Status |
string |
The status of the multicast domain. Valid values:
|
Active |
| Tags |
array<object> |
The list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
TagKey |
| Value |
string |
The tag value. |
TagValue |
| TransitRouterId |
string |
The ID of the transit router instance, which is used to forward traffic and manage routing. |
tr-bp1c23ijrl6d6c226h*** |
| RegionId |
string |
The region ID of the transit router. You can call the DescribeChildInstanceRegions operation to query region IDs. |
cn-hangzhou |
| CenId |
string |
The Cloud Enterprise Network (CEN) instance ID. |
cen-h19xdb0qy2b3ir**** |
| Options |
object |
The feature options of the multicast domain. |
|
| Igmpv2Support |
string |
Specifies whether the Internet Group Management Protocol (IGMP) feature is enabled for the multicast domain. |
enable |
| StrictSourceControl |
string |
Specifies whether the strict multicast source control feature is enabled for the multicast domain. |
enable |
Examples
Success response
JSON format
{
"RequestId": "8A0F93D1-FD6C-56FC-B6D2-668FC92D12D2",
"TotalCount": 1,
"MaxResults": 20,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"TransitRouterMulticastDomains": [
{
"TransitRouterMulticastDomainId": "tr-mcast-domain-3r3bvbypxqheej****",
"TransitRouterMulticastDomainName": "nametest",
"TransitRouterMulticastDomainDescription": "desctest",
"Status": "Active",
"Tags": [
{
"Key": "TagKey",
"Value": "TagValue"
}
],
"TransitRouterId": "tr-bp1c23ijrl6d6c226h***",
"RegionId": "cn-hangzhou",
"CenId": "cen-h19xdb0qy2b3ir****",
"Options": {
"Igmpv2Support": "enable",
"StrictSourceControl": "enable"
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The specified NextToken is illegal. | The error message returned because the NextToken parameter is set to an invalid value. |
| 400 | IllegalParam.TrInstance | The specified TrInstance is illegal. | The error message returned because the specified transit router is invalid. |
| 400 | IllegalParam.CenId | The specified CenId is illegal. | The error message returned because the specified CEN instance ID is invalid. |
| 400 | IllegalParam.MaxResults | The specified MaxResults is illegal. | MaxResults illegal. |
| 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.