仮想プライベートクラウド (VPC) の vSwitch をマルチキャストドメインに関連付けます。
操作説明
-
A vSwitch can be associated with only one multicast domain. Make sure that the vSwitch is not associated with other multicast domains. For more information about how to disassociate a vSwitch from a multicast domain, see DisassociateTransitRouterMulticastDomain.
-
AssociateTransitRouterMulticastDomain is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the ListTransitRouterMulticastDomainAssociations operation to query whether a vSwitch is associated with the specified multicast domain.
If the status is Associating, it indicates that the vSwitch is being associated with the specified multicast domain. You can query the vSwitch but cannot perform other operations on the vSwitch.
If the status is Associated, the vSwitch is associated with the specified multicast domain.
-
The VPC of the vSwitch must be associated with an Enterprise Edition transit router. For more information about how to associate a VPC with an Enterprise Edition transit router, see CreateTransitRouterVpcAttachment.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:AssociateTransitRouterMulticastDomain |
update |
*TransitRouterMulticastDomain
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用して値を生成できますが、すべてのリクエスト間で一意であることを確認する必要があります。クライアントトークンには ASCII 文字のみを含めることができます。 |
123e4567-e89b-12d3-a456-426655440000 |
| TransitRouterMulticastDomainId |
string |
必須 |
マルチキャストドメインの ID。 |
tr-mcast-domain-91wpg6wbhchjeq**** |
| TransitRouterAttachmentId |
string |
必須 |
VPC 接続の ID。 |
tr-attach-g3kz2k3u76amsk**** |
| VSwitchIds |
array |
必須 |
vSwitch の ID。 |
|
|
string |
必須 |
The vSwitch IDs. You can specify at most five vSwitches in each call. A multicast domain can be associated with at most 10 vSwitches. |
vsw-p0wxk12u6okfkr8xy**** |
|
| DryRun |
boolean |
任意 |
実際のリクエストを送信せずにドライランを実行するかどうかを指定します。有効な値:
|
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
F88AC12C-943B-50E9-A344-4F8820BB07A7 |
例
成功レスポンス
JSONJSON
{
"RequestId": "F88AC12C-943B-50E9-A344-4F8820BB07A7"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidMulticastDomain.NotFound | The specified MulticastDomain is not found. | |
| 400 | IncorrectStatus.MulticastDomain | The status of MulticastDomain is incorrect. | |
| 400 | InvalidAttachmentId.NotFound | The specified AttachmentId is not found. | |
| 400 | IllegalParam.AttachmentId | The specified AttachmentId is illegal. | |
| 400 | IncorrectStatus.Attachment | The status of Attachment is incorrect. | |
| 400 | MissingParam.VSwitchIds | The parameter VSwitchIds is mandatory. | |
| 400 | InstanceNotExist | The instance is not exist. | |
| 400 | OperationUnsupported.CloudBoxVpc | The specified CloudBoxVpc does not support the operation. | |
| 400 | AssociationExist.VSwitchIds | The association already exists. | |
| 400 | QuotaFull.VswitchPerMulticastDomain | The number of vswitch associated with multicast domain has exceed the maximum value that can be created. | |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | OperationUnsupported.VpcRegion | The specified Region is not support for this operation. | |
| 400 | OperationUnsupported.AdvancedFeature | The specified vpc does not support the operation. | |
| 400 | QuotaFull.MulticastDomainPerVpc | The number of multicast domain that vpc associated has exceed the maximum value that can be associated. | |
| 400 | IllegalParam.VSwitchIds | The parameter VSwitchIds is illegal. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。