You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
组播
AssociateTransitRouterMulticastDomain-组播域关联子网
复制全文
下载 pdf
AssociateTransitRouterMulticastDomain-组播域关联子网
调用AssociateTransitRouterMulticastDomain接口,将组播域关联至指定子网。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:AssociateTransitRouterMulticastDomain​
接口名称。当前 API 的名称为AssociateTransitRouterMulticastDomain。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterMulticastDomainId String 必选 示例值:tr-md-hy13n2l4c6c0v****​
组播域的ID。您可以调用DescribeTransitRouterMulticastDomains接口获取带宽包ID。​
​
TransitRouterAttachmentId String 必选 示例值:tr-attach-12w7hruhlhlrd****​
网络实例连接的ID。您可以调用DescribeTransitRouterVpcAttachments接口获取VPC类型网络实例连接的ID。​
​
SubnetId String 必选 示例值:subnet-p0w9alkte4w2htrqe****​
子网的ID。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=AssociateTransitRouterMulticastDomain&Version=2020-04-01&TransitRouterMulticastDomainId=tr-md-hy13n2l4c6c0v****&TransitRouterAttachmentId=tr-attach-12w7hruhlhlrd****&SubnetId=subnet-p0w9alkte4w2htrqe**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250721T122315Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250721/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2025050917291215112303520182****",​
"Action": "AssociateTransitRouterMulticastDomain",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidSubnet.InvalidStatus​
The specified subnet is not in the correct status for the request.​
指定的子网所处状态无法响应该请求。​
400​
InvalidTransitRouter.InvalidBusinessStatus​
The request is denied because the specified Transit Router is shut down due to arrears.​
指定的中转路由器欠费关停,不支持当前操作。​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
指定的中转路由器所处状态无法响应该请求。​
400​
InvalidTransitRouterMulticastDomain.InvalidStatus​
The specified Transit Router multicast domain is not in the correct status for the request.​
指定的组播域所处状态无法响应该请求。​
400​
InvalidTransitRouterMulticastDomainAssociation.AttachmentTypeNotSupport​
The specified Transit Router attachment type does not support to be associated to multicast domain.​
指定的网络实例连接类型不支持关联组播域。​
400​
InvalidTransitRouterMulticastDomainAssociation.TransitRouterMismatch​
The specified attachment and multicast domain do not belong to the same Transit Router.​
指定的网络实例连接和组播域不属于同一个中转路由器。​
400​
QuotaExceeded.TransitRouterMulticastDomainAssociation​
You've reached the limit on the number of subnets that you can associated to one multicast domain.​
已达到单个组播域可关联的子网数量上限。​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
无权限操作指定的资源。​
404​
InvalidTransitRouterAttachment.NotFound​
The specified Transit Router attachment does not exist.​
指定的网络实例连接不存在。​
404​
InvalidTransitRouterAttachment.SubnetNotFound​
The specified subnet does not exist.​
指定的子网不存在。​
404​
InvalidTransitRouterMulticastDomain.NotFound​
The specified Transit Router multicast domain does not exist.​
指定的组播域不存在。​
409​
InvalidTransitRouterMulticastDomainAssociation.Conflict​
The specified subnet has already been associated to a multicast domain.​
指定的子网已关联组播域,请勿重复配置。​
​
最近更新时间:2026.03.23 19:11:38
这个页面对您有帮助吗?
有用
有用
无用
无用