調用ModifyTransitRouterMulticastDomain介面修改組播域的名稱、描述資訊以及功能選項。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cen:ModifyTransitRouterMulticastDomain |
update |
*TransitRouterMulticastDomain
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 |
123e4567-e89b-12d3-a456-4266**** |
| TransitRouterMulticastDomainId |
string |
是 |
組播域 ID。 |
tr-mcast-domain-40cwj0rgzgdtam**** |
| TransitRouterMulticastDomainName |
string |
否 |
組播域的新名稱。 名稱可以為空白或長度為 1~128 個字元,不能以 http://或 https://開頭。 |
nametest |
| TransitRouterMulticastDomainDescription |
string |
否 |
組播域新的描述資訊。 描述可以為空白或長度為 1~256 個字元,不能以 http://或 https://開頭。 |
desctest |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
| Options |
object |
否 |
組播域功能選項。 |
|
| Igmpv2Support |
string |
否 |
是否為組播域開啟 IGMP 功能,開啟該功能後主機可以通過互連網組管理協議 IGMP(Internet Group Management Protocol)協議動態加入或離開組播組。取值:enable。 說明
|
enable |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結果。 |
||
| RequestId |
string |
請求 ID。 |
26273D23-5CB0-5EFC-AF5F-78A5448084C9 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "26273D23-5CB0-5EFC-AF5F-78A5448084C9"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Illegal.Name | Name is illegal. | 名字不合法。 |
| 400 | Illegal.Description | Description is illegal. | 描述不合法。 |
| 400 | InvalidMulticastDomainId.NotFound | The specified MulticastDomainId is not found. | 參數中指定的MulticastDomain不存在。 |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | DryRun請求驗證通過。 |
| 400 | IllegalParam.Igmpv2Support | The specified Igmpv2Support is illegal. Valid values are [enable, disable]. | 參數Igmpv2Support不合法,取值範圍:enable、disable。 |
| 400 | OperationUnsupported.Igmpv2Support | The current UID does not allow the creation of a igmpv2 multicast domain. Please submit a ticket. | 當前UID不允許建立igmpv2類型的組播域,請提工單處理。 |
| 400 | OperationUnsupported.NotAllowedDisableIgmpv2Support | The operation is not permitted because Igmpv2Support is not currently available to be disabled. | 當前不支援關閉igmpv2。 |
| 400 | InvalidParameter | Invalid parameter. | 參數不合法。 |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | 帳號無許可權操作。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。