エンドポイントにゾーンを追加します。
操作説明
-
AddZoneToVpcEndpoint は非同期操作です。リクエストを送信すると、システムはリクエスト ID を返し、バックグラウンドでタスクを実行します。ListVpcEndpointZones 操作を呼び出して、ゾーンの状態をクエリできます。
ゾーンの状態が Creating の場合、ゾーンは追加中です。
ゾーンの状態が Wait の場合、ゾーンは追加されています。
-
指定された期間内に AddZoneToVpcEndpoint 操作を繰り返し呼び出して、ゾーンをエンドポイントに追加することはできません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
privatelink:AddZoneToVpcEndpoint |
create |
*VpcEndpoint
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
エンドポイントのリージョン ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| ZoneId |
string |
必須 |
追加するゾーンの ID。 |
cn-hangzhou-b |
| VSwitchId |
string |
必須 |
追加するゾーン内の vSwitch の ID。システムは、vSwitch にエンドポイント ENI を自動的に作成します。 |
vsw-hjkshjvdkdvd**** |
| ip |
string |
任意 |
追加するゾーンのエンドポイント ENI の IP アドレス。 |
192.XX.XX.32 |
| EndpointId |
string |
必須 |
ゾーンを追加するエンドポイントの ID。 |
ep-hp33b2e43fays7s8**** |
| DryRun |
boolean |
任意 |
実際のリクエストを実行せずに、ドライランのみを実行するかどうかを指定します。有効な値:
|
false |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。 クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。トークンには ASCII 文字のみを含めることができます。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| RegionId |
string |
必須 |
エンドポイントのリージョン ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| Ipv6Address |
string |
任意 |
追加するゾーンのエンドポイント ENI の IPv6 アドレス。 |
2408:4005:3b6:****:6955:c3cb:34c:**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0c593ea1-3bea-11e9-b96b-88e9fe637760"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | EndpointLocked | The specified Endpoint is locked. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointZoneDuplicated | The zone is duplicated for the Endpoint. | |
| 400 | EndpointServiceNotSupportedZone | The specified endpoint service does not support the zone. | |
| 400 | QuotaMisMatched | The resource you applied for has exceeded the quota. | |
| 400 | EndpointDuplicated | The endpoint of the service already exists and cannot be created again. | |
| 400 | EndpointServiceDeleted | The specified Service is already deleted. | |
| 400 | EndpointServiceResourceNotFound | The specified service resource is not found. | |
| 400 | VSwitchNotFound | The specified VSwitch does not exist. | |
| 400 | EniIpUnavailable | The specified IP address is unavailable. | |
| 400 | EndpointProtected | The specified Endpoint is protected. | |
| 400 | VSwitchStatusNotAllowed | The specified vswitch status is not Available. | |
| 400 | VpcNatServiceException | The vpcNat service is busy | |
| 400 | ResourceNotEnough.VSwitchIp | The specified resource of VSwitchIp is not enough. | |
| 400 | OperationDenied.VSwitchNotSupportDualstack | The specified VSwitch does not support dualstack. | |
| 400 | OperationDenied.AddressIpVersionNotSupportSpecifyIpv6 | The AddressIpVersion of the endpoint does not support specifying IPv6 address. | |
| 400 | IllegalParam.Ip | The specified parameter IP is invalid. | |
| 400 | IllegalParam.Ipv6Address | The specified parameter Ipv6Address is invalid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。