VPN ゲートウェイを削除します。
操作説明
既存の IPsec 接続に関連付けられている VPN ゲートウェイは削除できません。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
VPN ゲートウェイが配置されているリージョン ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-hangzhou |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 クライアント側でトークンを生成できますが、異なるリクエスト間で一意であることを保証する必要があります。トークンには ASCII 文字のみを使用でき、長さは 64 文字以内である必要があります。 説明
このパラメーターを指定しない場合、システムは自動的に リクエスト ID を クライアントトークン として使用します。リクエスト ID は各リクエストごとに異なる可能性があります。 |
02fb3da4-130e-11e9-8e44-0016e04115b |
| VpnGatewayId |
string |
必須 |
VPN ゲートウェイの ID です。 |
vpn-bp1q8bgx4xnkm2ogj**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
>0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
例
成功レスポンス
JSONJSON
{
"RequestId": ">0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーレスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | DependencyViolation.VpnConnection | There are vpn connections on specified customer gateway not deleted. | |
| 400 | DependencyViolation.SslVpnServer | There is SSL VPN server on specified vpn gateway not deleted. | |
| 400 | VpnGateway.Configuring | The specified service is configuring. | |
| 400 | DependencyViolation.GreTunnel | There is Gre tunnel on specified vpn gateway not deleted. | |
| 400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 400 | TaskConflict | The eip operate too frequent, TaskConflict. | |
| 400 | InvalidVpnGatewayInstanceId.NotFound | The specified vpn gateway instance id does not exist. | |
| 400 | DependencyViolation.IpsecServer | the resource cannot be deleted because the resource has an ipsec server dependency. | |
| 403 | Forbidden.SubUser | User not authorized to operate on the specified resource as your account is created by another user. | |
| 403 | Forbidden | User not authorized to operate on the specified resource. | |
| 403 | ForbiddenRelease | Forbidden to release a prepaid instance within validity period | |
| 404 | InvalidVpnGatewayInstanceId.NotFound | The specified vpn gateway instance id does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。