You need to enable JavaScript to run this app.
文档中心
负载均衡

负载均衡

复制全文
下载 pdf
实例
LoadBalancerLeaveSecurityGroup - ALB实例移出安全组
复制全文
下载 pdf
LoadBalancerLeaveSecurityGroup - ALB实例移出安全组
调用 LoadBalancerLeaveSecurityGroup 接口,将 ALB实例移出安全组。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:LoadBalancerLeaveSecurityGroup​
要执行的操作,取值:LoadBalancerLeaveSecurityGroup。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
SecurityGroupIds.N string[] 必选 示例值:sg-xh1jksdn8***​
要移出的安全组 ID​
  • 参数 - N:表示安全组 ID的序号。​
  • 一个ALB实例最多可加入4个自定义安全组。​
​
LoadBalancerId string 必选 示例值:alb-bp1b6c719dfa08ex****​
ALB实例ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId string 示例值:20210811152539010225146063030****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=LoadBalancerLeaveSecurityGroup&Version=2020-04-01&SecurityGroupIds.1=sg-xh1jksdn8***&LoadBalancerId=alb-bp1b6c719dfa08ex**** HTTP/1.1​
Host: alb.cn-beijing.volcengineapi.com​
X-Date: 20260312T023520Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260312/cn-beijing/alb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20260312103546198074102192568038",​
"Action": "LoadBalancerLeaveSecurityGroup",​
"Version": "2020-04-01",​
"Service": "alb",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "20210811152539010225146063030****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
Invalid%s.Malformed​
MismatchThe specified %s is malformed.​
指定的 %s 参数格式不合法。​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, '%s'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如: %s。​
400​
InvalidParameter​
Data unmarshal failed.​
请求解析失败。​
400​
InvalidLoadBalancer.InvalidStatus​
The specified LoadBalancer is not in the correct status for the request.​
指定的 ALB 实例所处状态无法响应该请求。​
400​
InvalidSecurityGroup.NotFound​
The specified SecurityGroup does not exist.​
指定的安全组不存在。​
400​
InvalidSecurityGroupId.Duplicated​
The specified SecurityGroupId is duplicated.​
指定的 SecurityGroupId 重复。​
400​
OperationDenied.LeaveSecurityGroupUnsupported​
The request on the specified LoadBalancer is denied due to the specified LoadBalancer does not support leaving SecurityGroups.​
因指定的 ALB 实例不支持移出安全组,对于该 ALB 实例的操作请求被拒绝。​
404​
InvalidLoadBalancer.NotFound​
The specified LoadBalancer does not exist.​
指定的 ALB 实例不存在。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。请稍后重试或联系工程师进一步咨询。​
​
​
最近更新时间:2026.03.17 16:00:28
这个页面对您有帮助吗?
有用
有用
无用
无用