禁用專線網關ECR(Express Connect Router)路由項。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
expressconnectrouter:DisableExpressConnectRouterRouteEntries |
update |
*ExpressConnectRouter
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| EcrId |
string |
是 |
專線網關執行個體 ID。 |
ecr-mezk2idmsd0vx2**** |
| DestinationCidrBlock |
string |
是 |
網關路由表中路由條目的目標網段。 |
10.153.32.**/** |
| NexthopInstanceId |
string |
是 |
下一跳執行個體 ID |
tr-hp3u4u5f03tfuljis**** |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
true |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 不一樣。 |
FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg== |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
RpcResponse |
||
| RequestId |
string |
請求 ID。 |
6FABF516-FED3-5697-BDA2-B18C5D9A**** |
| Success |
boolean |
是否調用成功。取值:
|
True |
| Code |
string |
判斷調用是否成功。傳回值為 200 表示載入成功,返回其他值表示載入失敗,失敗原因參見錯誤碼。 |
200 |
| Message |
string |
操作返回資訊。 |
OK |
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| DynamicCode |
string |
動態錯誤碼。 |
IllegalParamFormat.EcrId |
| DynamicMessage |
string |
動態錯誤資訊,用於替換返回參數 ErrMessage 錯誤資訊中的 說明
如果 ErrMessage 返回The Value of Input Parameter %s is not valid,且 DynamicMessage 返回 DtsJobId,則代表所傳入的請求參數 DtsJobId 不合法。 |
The param format of EcrId **** is illegal. |
| AccessDeniedDetail |
string |
訪問被拒絕詳細資料。 |
Authentication is failed for **** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "6FABF516-FED3-5697-BDA2-B18C5D9A****",
"Success": true,
"Code": "200",
"Message": "OK",
"HttpStatusCode": 200,
"DynamicCode": "IllegalParamFormat.EcrId",
"DynamicMessage": "The param format of EcrId **** is illegal.",
"AccessDeniedDetail": "Authentication is failed for ****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ResourceNotFound.NexthopInstanceId | The next hop instance does not exist. | 下一跳執行個體不存在 |
| 400 | IllegalParamFormat.DestinationCidrBlock | The format of the specified destination Cidr route parameter is incorrect. | 您當前指定的目的Cidr路由參數格式錯誤,請核對後重新輸入。 |
| 400 | MissingParam.%s | The param of %s is missing. | 請求參數未填寫,請核對對應的參數後重試。 |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | 參數格式非法 |
| 400 | Conflict.Lock | There are other unfinished operations. | 您當前有其他未完成的操作,請稍後重試 |
| 400 | ResourceInCreating.NexthopInstanceId | The next hop instance is being created. | 您當前所指的下一跳執行個體正在建立中 |
| 404 | ResourceNotFound.EcrId | EcrId not found. | ECR執行個體不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。