DisableVpcClassicLink_专有网络_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.

流控信息

请求速率为300/60(s)。

授权信息

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

具体说明如下:展开详情

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

请求参数

字段名称字段详情
RegionIdstring

要关闭 ClassicLink 功能的 VPC 所在的地域。展开详情

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
VpcIdstring

要关闭 ClassicLink 功能的 VPC 的 ID。

示例值:vpc-bp1m7v25emi1h5mtc****参考取值来源:
    CreateVpc
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:123e4567-e89b-12d3-a456-426655440000

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:54B48E3D-DF70-471B-AA93-08E683A1B45

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidAction
The VPC has been connected to the classic network ECS. Please cancel the connection before proceeding.诊断
400
IncorrectVpcStatus
Current VPC status does not support this operation.诊断
400
Forbbiden
the specified resource does not support this operation.诊断
403
Forbbiden
User not authorized to operate on the specified resource.诊断
404
InvalidRegionId.NotFound
Specified value of "regionId" is not supported.诊断
404
InvalidVpcId.NotFound
Specified VPC does not exist.诊断
404
DependencyViolation.Instance
ClassicLink Instances exist in VPC.诊断
500
InternalError
The request processing has failed due to some unknown error.诊断

变更历史

暂无变更历史

相关示例

查询VPC --> 关闭ClassicLink
2021-12-17