You need to enable JavaScript to run this app.
导航

DeleteLoadBalancer

最近更新时间2024.01.09 07:35:04

首次发布时间2021.08.31 10:37:27

调用 DeleteLoadBalancer 接口删除一个负载均衡实例。

使用说明

包年包月类型的CLB实例到期关停之前不支持调用该接口进行删除。

调试

请求参数

名称类型是否必填示例值
描述
ActionStringDeleteLoadBalancer要执行的操作,取值为DeleteLoadBalancer。
VersionString2020-04-01API版本信息,当前版本为:2020-04-01。
LoadBalancerIdStringclb-bp1b6c719dfa08ex****负载均衡实例ID。您可以调用DescribeLoadBalancers接口获取负载均衡实例ID。

返回参数

字段类型示例值描述
RequestIdString2021081115332201042142000A01EA****请求ID。

请求示例

GET /?Action=DeleteLoadBalancer&Version=2020-04-01&LoadBalancerId=clb-bp1b6c719dfa08ex**** HTTP/1.1
Host: open.volcengineapi.com
Region: cn-beijing
Service: clb

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2021081115332201042142000A01EA****",
        "Action": "DeleteLoadBalancer",
        "Version": "2020-04-01",
        "Service": "clb",
        "Region": "cn-beijing"
    },   
    "Result": {
        "RequestId": "2021081115332201042142000A01EA****"
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HttpCode错误码错误信息描述

400

MissingParameter

The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the LoadBalancerId.

该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如XXX

说明

其中,XXX表示缺少的参数名称。

400InvalidListener.InUseThe specified Listener is in use.指定的负载均衡存在监听器在占用中。
400InvalidServerGroup.InUseThe specified ServerGroup is in use.指定的负载均衡存在后端服务器组在占用中。
400InvalidEip.InUseThe specified EIP has dependent resource of a BandwidthPackage.指定的EIP被共享带宽引用,无法释放。
400InvalidLoadBalancer.InvalidStatusThe specified LoadBalancer is not in the correct status for the request.指定的负载均衡所处状态无法响应该请求。
400UnSupportedOperation.AssociatedByPrivateLinkThe specified LoadBalancer associated by PrivateLink.指定的负载均衡被私网连接绑定。
400OrderError.OrderPayFailed to create order and pay.下单支付失败。
400OrderError.PreOrderFailed to create a preorder.下单失败。
403InvalidResourceType.ServcieManagedThe specified ResourceType is managed by a service.指定的资源是服务托管资源。
404InvalidLoadBalancer.NotFoundThe specified LoadBalancer does not exist.指定的负载均衡不存在。
412InvalidLoadBalancer.InvalidBillingTypeThe specified LoadBalancer is not in the correct BillingType for the request.指定的负载均衡所处计费类型无法响应该请求。