查詢專線網關ECR(Express Connect Router)的跨地區轉寄模式。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
expressconnectrouter:DescribeExpressConnectRouterInterRegionTransitMode |
get |
*ExpressConnectRouter
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| EcrId |
string |
是 |
專線網關執行個體 ID。 |
ecr-mezk2idmsd0vx2**** |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
true |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 不一樣。 |
FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg== |
| Version |
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
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 **** |
| InterRegionTransitModeList |
array<object> |
跨域轉寄模式列表。 |
|
|
object |
|||
| RegionId |
string |
專線網關所屬的地區 ID。 |
cn-hangzhou |
| Mode |
string |
ECR 跨域轉寄模式,取值:
|
ECMP |
樣本
正常返回樣本
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 ****",
"InterRegionTransitModeList": [
{
"RegionId": "cn-hangzhou",
"Mode": "ECMP"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParam.%s | The param of %s is missing. | 請求參數未填寫,請核對對應的參數後重試。 |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | 參數格式非法 |
| 400 | IllegalParam.%s | The param of %s is illegal. | 參數非法 |
| 404 | ResourceNotFound.EcrId | EcrId not found. | ECR執行個體不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。