DeleteVpc_云服务器 ECS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:DeleteVpc
Delete
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag

请求参数

字段名称字段详情
VpcIdstring
RegionIdstring

返回参数

字段名称字段详情
RequestIdstring

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
DependencyViolation.RouteTable
VPC cannot be deleted when custom route table exists.诊断
400
IncorrectVpcStatus
Current VPC status does not support this operation.诊断
400
DependencyViolation.RouteEntry
Specified object has dependent resources诊断
400
DependencyViolation.Instance
Specified object has dependent resources诊断
400
DependencyViolation.VSwitch
Specified object has dependent resources诊断
400
DependencyViolation.SecurityGroup
Specified object has dependent resources SecurityGroup.诊断
400
DependencyViolation.RouteInterface
Specified object has dependent route interface .诊断
400
DependencyViolation.Tunnel
Specified object has dependent tunnel.诊断
400
DependencyViolation.NatGateway
Specified object has dependent resources NatGateway.诊断
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.诊断
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.诊断
400
DependencyViolation.GatewayRouteTable
Specified object has dependent resources gatewayRouteTable.诊断
400
DependencyViolation.DhcpOptionsSet
The VPC cannot be deleted when it is associated with dhcpOptionsSet.诊断
400
InternalError
The request processing has failed due to some unknown error诊断
401
DependencyViolation.RouterInterface
Specified object has dependent resources RouterInterface.诊断
403
OperationDenied
The operation is not supported in this status.诊断
404
InvalidVpcId.NotFound
Specified VPC does not exist.诊断
500
InternalError
The request processing has failed due to some unknown error.诊断

变更历史

变更时间变更内容概要操作
2023-12-20
变更错误码400
新增错误码401
2023-07-12
变更错误码400
2023-06-12
变更错误码400
2023-03-24
变更错误码400
2022-10-28
变更错误码400
2021-06-11
变更错误码400

相关示例