調用EnableVpcEndpointZoneConnection介面,允許終端節點可用性區域串連。
介面說明
-
當終端節點串連狀態為已串連且終端節點可用性區域狀態為已斷開時,才能調用此介面。
-
EnableVpcEndpointZoneConnection 介面屬於非同步介面,即系統會返回一個請求 ID,但尚未接受終端節點在此可用性區域的串連請求,系統後台接受任務仍在進行中。您可以調用 ListVpcEndpointZones 查詢終端節點可用性區域的串連請求狀態:
當終端節點可用性區域處於 Connecting 狀態時,表示串連請求正在接受中。
當終端節點可用性區域處於 Connected 狀態時,表示串連請求已接受。
-
EnableVpcEndpointZoneConnection 介面不支援在同一個終端節點執行個體下並發接受可用性區域的串連請求。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
要接受終端節點串連的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
| ServiceId |
string |
是 |
終端節點服務 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointId |
string |
是 |
終端節點 ID。 |
ep-hp33b2e43fays7s8**** |
| ZoneId |
string |
是 |
終端節點串連可用性區域 ID。 |
cn-hangzhou-b |
| RegionId |
string |
是 |
要接受終端節點串連的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | IncorrectBusinessStatus.VpcEndpoint | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.VpcEndpointService | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpoint | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointConnection | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointService | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointZone | The status of %s [%s] is incorrect. | |
| 400 | GatewayLoadBalancerNotSupportZoneConnection | The gateway load balancer not support zone connection. | |
| 404 | ResourceNotFound.VpcEndpoint | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointConnection | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointService | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointZone | The specified resource %s is not found. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。