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

中转路由器

复制全文
下载 pdf
组播
CreateTransitRouterMulticastGroupSource-添加组播源
复制全文
下载 pdf
CreateTransitRouterMulticastGroupSource-添加组播源
调用CreateTransitRouterMulticastGroupSource接口,为指定的组播域添加组播源。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:CreateTransitRouterMulticastGroupSource​
接口名称。当前 API 的名称为CreateTransitRouterMulticastGroupSource。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
TransitRouterMulticastDomainId String 必选 示例值:tr-md-hy13n2l4c6c0v****​
组播域的ID。您可以调用DescribeTransitRouterMulticastDomains接口获取带宽包ID。​
​
GroupIpAddress String 必选 示例值:224.0.1.0​
组播组的IP地址。取值范围为224.0.1.0~239.255.255.254。​
​
NetworkInterfaceId String 必选 示例值:eni-p2wedal3eds2hwese****​
网卡的ID。​
​
ClientToken String 可选 示例值:123e4567-e89b-12d3-a456-42665544****​
客户端Token,用于保证请求的幂等性。​
  • 该参数值由客户端自动生成,确保不同请求的取值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。​
  • 取值仅支持ASCII字符,最大不超过64个字符。​
  • 未指定该参数值时,不进行幂等校验。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=CreateTransitRouterMulticastGroupSource&Version=2020-04-01&TransitRouterMulticastDomainId=tr-md-hy13n2l4c6c0v****&GroupIpAddress=224.0.1.0&NetworkInterfaceId=eni-p2wedal3eds2hwese**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250721T122417Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250721/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2025050917473406218724306355****",​
"Action": "CreateTransitRouterMulticastGroupSource",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
此幂等请求的参数与前一个请求中使用的参数不一致。​
400​
InvalidIPAddress.Malformed​
The specified ip address is malformed.​
指定的IP地址格式不合法。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
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​
InvalidTransitRouterMulticastEni.NotSupport​
The specified elastic network interface does not support joining multicast group. Only available elastic network interfaces and those used on ECS or VCI support joining multicast group.​
指定的弹性网卡不允许加入到组播组,仅支持未挂载和已挂载至ECS或VCI实例的弹性网卡加入组播组。​
400​
InvalidTransitRouterMulticastGroup.GroupIPAddressIsIPv6​
The specified ip address of multicast group is IPv6, only IPv4 multicast group ip address is supported.​
指定的组播组IP地址为IPv6,当前仅支持IPv4组播组地址。​
400​
InvalidTransitRouterMulticastGroup.InvalidGroupIPAddress​
The specified multicast group IP address is not within the multicast cidr block.​
指定的组播组IP地址不在组播网段内。​
400​
QuotaExceeded.TransitRouterMulticastGroupSource​
You've reached the limit on the number of multicast group sources that you can create on one multicast group.​
已达到单个组播组可创建的组播源数量上限。​
400​
QuotaExceeded.TransitRouterMulticastSourceAndMember​
You've reached the limit on the number of multicast sources and members that you can create on one Transit Router.​
已达到单个中转路由器可创建的组播源和成员总数上限。​
403​
Forbidden.NoPermissionToOperate​
You are not authorized to operate the specified resource.​
无权限操作指定的资源。​
404​
InvalidEni.NotFound​
The specified elastic network interface does not exist.​
指定的弹性网卡不存在。​
404​
InvalidSubnet.MulticastDomainNotAssociated​
The subnet of the specified elastic network interface is not associated to the multicast domain, and the join operation is invalid.​
指定的弹性网卡所在子网未关联该组播域,不允许加入组播组。​
404​
InvalidTransitRouter.NotFound​
The specified Transit Router does not exist.​
指定的中转路由器不存在。​
404​
InvalidTransitRouterMulticastDomain.NotFound​
The specified Transit Router multicast domain does not exist.​
指定的组播域不存在。​
404​
InvalidTransitRouterMulticastEni.VpcNotAttached​
The VPC of the specified elastic network interface is not attached to the Transit Router of the multicast domain.​
指定的弹性网卡所在私有网络未挂载至组播域所在中转路由器。​
409​
InvalidTransitRouterMulticastGroupSource.Conflict​
The specified Transit Router multicast group source has already been existed.​
指定的组播源已存在,不支持重复操作。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
最近更新时间:2026.03.23 19:11:38
这个页面对您有帮助吗?
有用
有用
无用
无用