DetachSecurityGroupFromVpcEndpoint_私网连接_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.

接口说明

  • DetachSecurityGroupFromVpcEndpoint 接口属于异步接口,即系统会返回一个请求 ID,但终端节点尚未从安全组中移除,系统后台的移除任务仍在进行。您可以调用 ListVpcEndpoints 查询终端节点的移除状态:

    • 当终端节点处于 Pending 状态时,表示终端节点正在移除中。
    • 当在安全组中查询不到该终端节点时,表示终端节点移除完成。
  • DetachSecurityGroupFromVpcEndpoint 接口不支持将同一个终端节点实例并发移除安全组。

流控信息

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

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
privatelink:DetachSecurityGroupFromVpcEndpoint
Update
VpcEndpoint
acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}
SecurityGroup
acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}

请求参数

字段名称字段详情
RegionIdstring

要移除安全组的终端节点所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。

示例值:eu-west-1参考取值来源:
    DescribeRegions
SecurityGroupIdstring

要移除的安全组的 ID。

示例值:sg-hp3c8qj1tyct90ej****参考取值来源:
    ListVpcEndpointSecurityGroups
EndpointIdstring

要移除安全组的终端节点的 ID。

示例值:ep-hp33b2e43fays7s8****参考取值来源:
    ListVpcEndpoints
    AddZoneToVpcEndpoint
    CreateVpcEndpoint
DryRunboolean

是否只预检此次请求。取值:展开详情

示例值:false
ClientTokenstring

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

示例值:0c593ea1-3bea-11e9-b96b-88e9fe637760

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:8D778FF9-7640-4C13-BCD6-9265CA9A2F81

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
SecurityGroupNotFound
The specified security group does not exist.诊断
400
EndpointMustContainSecurityGroup
The specified endpoint must have at least one security group.诊断
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
EndpointServiceDeleted
The specified Service is already deleted.诊断
400
GatewayLoadBalancerNotSupportSecurityGroup
The gateway load balancer not support security group.诊断

变更历史

变更时间变更内容概要操作
2024-09-18
变更错误码400

相关示例

安全组示例
2022-12-29