EnableVpcEndpointConnection 操作を呼び出し、エンドポイントサービスがエンドポイントからの接続リクエストを受け入れます。
操作説明
-
EnableVpcEndpointConnection is an asynchronous operation. After a request is sent, the system returns a request ID. However, the endpoint service connection is not yet established, and the connection task is still being run in the background. You can call the GetVpcEndpointAttribute operation to query the status of the endpoint service connection:
If the connection is in the Connecting state, the endpoint service connection is being established.
If the connection is in the Connected state, the endpoint service connection is established.
-
The EnableVpcEndpointConnection operation does not support concurrently accepting endpoint connection requests under the same Alibaba Cloud account (primary account).
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:EnableVpcEndpointConnection |
update |
*VpcEndpointService
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
受け入れるエンドポイント接続のリージョン ID。 DescribeRegions 操作を呼び出して、リージョン ID をクエリできます。 |
cn-huhehaote |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。 クライアントを使用して値を生成できますが、異なるリクエスト間で一意であることを確認する必要があります。ClientToken には ASCII 文字のみを含めることができます。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
任意 |
実際のリクエストを実行せずに、ドライランのみを実行するかどうかを指定します。有効な値:
|
false |
| ServiceId |
string |
必須 |
エンドポイントサービス ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointId |
string |
必須 |
エンドポイント ID。 |
ep-hp33b2e43fays7s8**** |
| Bandwidth |
integer |
任意 |
エンドポイント接続の帯域幅。単位: Mbit/s。 説明
有効な値はサービスリソースタイプによって異なります:
|
3072 |
| RegionId |
string |
必須 |
The region ID of the endpoint connection to be accepted. You can call the DescribeRegions operation to query the region IDs. |
cn-huhehaote |
| TrafficControlMode |
string |
任意 |
説明
|
BandwidthLimit |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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 | OperationDenied.NoAvailableServiceResource | The operation is not allowed because of there are no resource in some available zones of endpoint service. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。