調(diào)用DisassociateTransitRouterMulticastDomain接口解除交換機(jī)與組播域的關(guān)聯(lián)關(guān)系。
接口說明
-
交換機(jī)和組播域解除關(guān)聯(lián)前,請確保交換機(jī)下不存在組播源和組播成員。刪除組播源和刪除組播成員的操作,請參見 DeregisterTransitRouterMulticastGroupSources 和 DeregisterTransitRouterMulticastGroupMembers 。
-
如果您輸入的參數(shù)有誤調(diào)用接口后仍然會(huì)返回 RequestId,但不會(huì)解除交換機(jī)與組播域的關(guān)聯(lián)關(guān)系。
-
DisassociateTransitRouterMulticastDomain 接口屬于異步接口,即系統(tǒng)會(huì)先返回一個(gè) RequestId,但交換機(jī)和組播域并未完全解除關(guān)聯(lián)關(guān)系,系統(tǒng)后臺的解除任務(wù)仍在進(jìn)行。您可以調(diào)用 ListTransitRouterMulticastDomainAssociations 接口查詢交換機(jī)和組播域的關(guān)聯(lián)狀態(tài)。
- 當(dāng)關(guān)聯(lián)狀態(tài)為 Dissociating 時(shí),表示交換機(jī)和組播域正在解除關(guān)聯(lián)關(guān)系,在該狀態(tài)下,您只能對交換機(jī)執(zhí)行查詢操作,不能執(zhí)行其他操作。
- 當(dāng)在組播域下查詢不到該交換機(jī)的信息時(shí),表示交換機(jī)和組播域已成功解除關(guān)聯(lián)關(guān)系。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
請求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClientToken | string | 否 | 客戶端 Token,用于保證請求的冪等性。 從您的客戶端生成一個(gè)參數(shù)值,確保不同請求間該參數(shù)值唯一。ClientToken 只支持 ASCII 字符。 | 123e4567-e89b-12d3-a456-426655440000 |
TransitRouterMulticastDomainId | string | 是 | 組播域 ID。 | tr-mcast-domain-91wpg6wbhchjeq**** |
TransitRouterAttachmentId | string | 是 | VPC 連接 ID。 本參數(shù)為交換機(jī)所屬的專有網(wǎng)絡(luò) VPC(Virtual Private Cloud)被連接至轉(zhuǎn)發(fā)路由器實(shí)例后生成的 VPC 連接的 ID。 | tr-attach-g3kz2k3u76amsk**** |
DryRun | boolean | 否 | 是否只預(yù)檢此次請求。取值:
| false |
VSwitchIds | array | 是 | 交換機(jī) ID 列表。 | |
string | 是 | 交換機(jī) ID。 一次最多支持與 5 個(gè)交換機(jī)解除關(guān)聯(lián)關(guān)系。 | vsw-p0w9s2ig1jnwgrbzl**** |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"RequestId": "6F6B3FF0-45D1-5416-B189-C45A42A0222B"
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | InvalidMulticastDomainId.NotFound | The specified MulticastDomainId is not found. | 參數(shù)中指定的MulticastDomain不存在。 |
400 | IncorrectStatus.MulticastDomain | The status of MulticastDomain is incorrect. | 當(dāng)前MulticastDomain的狀態(tài)不支持該操作,請稍后重試。 |
400 | InstanceStatusNotSupport | The status of instance not support the operation. | 當(dāng)前實(shí)例狀態(tài)不支持該操作。 |
400 | InvalidAttachmentId.NotFound | The specified AttachmentId is not found. | AttachmentId不存在。 |
400 | IncorrectStatus.Attachment | The status of Attachment is incorrect. | 當(dāng)前Attachment的狀態(tài)不支持該操作,請稍后重試。 |
400 | IllegalParam.AttachmentId | The specified AttachmentId is illegal. | 參數(shù)中指定的AttachmentId不合法。 |
400 | InvalidOperation.MulticastGroupExist | Operation is invalid because multicast groups exist. | 組播組存在,無法支持當(dāng)前操作。 |
400 | DryRunOperation | Request validation has been passed with DryRun flag set. | DryRun請求驗(yàn)證通過。 |
400 | InvalidParameter | Invalid parameter. | 參數(shù)不合法。 |
400 | Unauthorized | The AccessKeyId is unauthorized. | 賬號無權(quán)限操作。 |
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|