VPC を削除します。
説明
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - DeleteVpc への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:DeleteVpc |
delete |
*VPC。
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| VpcId |
string |
必須 |
||
| RegionId |
string |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
例
成功レスポンス
JSONJSON
{
"RequestId": ""
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | DependencyViolation.RouteTable | VPC cannot be deleted when custom route table exists. | |
| 400 | IncorrectVpcStatus | Current VPC status does not support this operation. | VPC の現在の状態では、この操作はサポートされていません。 |
| 400 | DependencyViolation.RouteEntry | Specified object has dependent resources | |
| 400 | DependencyViolation.Instance | Specified object has dependent resources | VPC に未削除のクラウドサービスインスタンスが残っているため、VPC を削除できません。 |
| 400 | DependencyViolation.VSwitch | Specified object has dependent resources | VPC 内に未削除の vSwitch が残っているため、VPC を削除できません。VPC 内の vSwitch を削除してから再試行してください。 |
| 400 | DependencyViolation.SecurityGroup | Specified object has dependent resources SecurityGroup. | VPC に未削除のセキュリティグループが含まれているため、VPC を削除できません。まず VPC 内のセキュリティグループを削除してから、VPC を削除してください。指定された vSwitch はセキュリティグループに関連付けられているため、削除できません。 |
| 400 | DependencyViolation.RouteInterface | Specified object has dependent route interface . | 指定された vSwitch はルーターインターフェイスに接続されているため、削除できません。 |
| 400 | DependencyViolation.Tunnel | Specified object has dependent tunnel. | 指定された vSwitch はデータチャンネルに関連付けられているため、削除できません。 |
| 400 | DependencyViolation.NatGateway | Specified object has dependent resources NatGateway. | VPC にまだ NAT ゲートウェイが含まれているため、VPC を削除できません。まず VPC 内の NAT ゲートウェイを削除してから、VPC を削除してください。 |
| 400 | DependencyViolation.RouterInterface | Specified object has dependent resources RouterInterface. | |
| 400 | Forbidden.VpcNotFound | Specified VPC can not found. | |
| 400 | Forbbiden | Active custom route in vpc. | ユーザーは指定されたリソースに対するフォームを実行する権限がありません。 |
| 400 | TaskConflict | The eip operate too frequent, TaskConflict. | EIP の操作が頻繁すぎます。 |
| 400 | InvalidAction | The VPC has been connected to the classic network ECS. Please cancel the connection before proceeding. | 操作が無効です。 |
| 400 | DependencyViolation.Ipv6Gateway | %s | |
| 400 | IncorrectStatus.cbnStatus | Current CBN status does not support this operation. | |
| 400 | DependencyViolation.CloudServiceResource | %s | |
| 400 | DependencyViolation.ClassicLinkInstance | Specified object has active classicLink instance. | |
| 400 | IllegalParam.RegionId | The specified RegionId is illegal. | |
| 400 | DependencyViolation.NetworkAcl | Specified object has dependent resources network acl. | |
| 400 | InvalidRegionInstance | The specified InstanceId does not exist in given region. | 指定されたリージョンにインスタンスが存在しません。パラメーターが正しいかどうかを確認してください。 |
| 400 | DependencyViolation.Ipv4Gateway | The VPC cannot be deleted when it has ipv4Gateway. | |
| 400 | OperationDenied.VpcPeerExists | The operation is not allowed because the VpcPeer exists. | VPC 内に VPC ピアリング接続が存在するため、指定された操作は禁止されています。 |
| 400 | DependencyViolation.GatewayRouteTable | Specified object has dependent resources gatewayRouteTable. | ゲートウェイルートテーブルの依存関係が存在するため、VPC を削除できません。 |
| 400 | DependencyViolation.DhcpOptionsSet | The VPC cannot be deleted when it is associated with dhcpOptionsSet. | VPC 内に未削除の DHCP オプションセットインスタンスが残っているため、VPC を削除できません。 |
| 400 | InternalError | The request processing has failed due to some unknown error | 内部エラーが発生しました。もう一度お試しください。 |
| 400 | IncorrectStatus.VpcDnsHostnameStatus | The DnsHostname status of vpc does not support this operation. | |
| 400 | InvalidRegionId.NotFound | Specified value of regionId is not supported. | 指定された RegionId が存在しません。このリージョンでプロダクトが利用可能かどうかを確認してください。 |
| 401 | DependencyViolation.RouterInterface | Specified object has dependent resources RouterInterface. | 指定された vSwitch がルーターインターフェイスに接続されているため、削除できません。 |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | OperationDenied | The operation is not supported in this status. | 指定されたスナップショットではデータボリュームの作成が許可されていません。 |
| 404 | InvalidVpcId.NotFound | Specified VPC does not exist. | 指定された VPC ID が存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。