Standard BLB Instance Related Interfaces

BLB BLB

  • API Reference
    • Access control
    • API Service Domain Name
    • Appendix
    • Application BLB Interface
      • Application BLB Instance Related Interfaces
      • Application BLB Listener Related Interfaces
      • Application BLB Security Group Related Interfaces
      • Application BLB Server Group Related Interfaces
    • Application IPv6 BLB Interface
      • Application IPv6 BLB Instance Related Interfaces
      • Application IPv6 BLB Listener Related Interfaces
      • Application IPv6 BLB Security Group Related Interfaces
      • Application IPv6 BLB Server Group Related Interfaces
    • BLB Order Related Interfaces
      • BLB - Resize
      • BLB Charge Shift - Cancel Prepay to Postpay
      • BLB Charge Shift - Postpay to Prepay
      • BLB Charge Shift - Prepay to Postpay
      • BLB Inquiry
      • BLB Unsubscribe Interface
    • Document Update Records
    • Error code
    • Interface Specifications
    • Introduction
    • Load Balancer Dedicated Cluster LBDC Interface
      • LBDC Instance Related Interfaces
    • Service Publishing Point Interface
      • Service Publishing Point Related Interfaces
    • Standard BLB Interface
      • Standard BLB Instance Related Interfaces
      • Standard BLB Listener Related Interfaces
      • Standard BLB Real Server Related Interfaces
      • Standard BLB Security Group Related Interfaces
    • Standard IPv6 BLB Interface
      • Standard IPv6 BLB Related Interfaces
  • FAQs
    • Billing Problems
    • Common Questions Overview
    • Configuration-related questions
    • Fault-related questions
    • General Problems
    • Load Balancer Dedicated Cluster Related Issues
    • Performance-related questions
    • Security Problems
  • Function Release Records
  • Operation guide
    • Access control
    • Access Logs
    • Application BLB instance
    • Application IPv6 Instance
    • BLB metric description
    • Certification
    • Custom configuration
    • Extended domain name
    • General-purpose BLB instance
      • Creating BLB Ordinary Instance
      • Managing BLB Ordinary Instance
    • General-purpose IPv6 BLB instance
    • Identity and access management
    • IP Group Usage Guide
    • Load Balance Dedicated Cluster
    • Load Balancer Frontend and Backend Protocol Correspondence
    • Recording Access Logs Using VPC Flow Logs
    • Service Release Point
    • Tag Management
  • Product Description
    • Application scenarios
    • Basic Architecture
    • Basic concepts
    • Performance Specification Description
    • Product advantages
    • Product features
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Load Balancer Dedicated Cluster Billing
    • Load Balancer Instance Billing
  • Quick Start
  • SDK
    • GO-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Change Records
    • Java-SDK
      • Application BLB instance
      • General-purpose BLB instance
      • Initialization
      • Install the SDK Package
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Overview
      • Service Release Point
      • Version Update Description
    • PHP-SDK
      • Initialization
      • Install
      • Ordinary BLB Instance
      • Overview
    • Python-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Update Description
  • Service Level Agreement (SLA)
    • Description of Baidu AI Cloud Load Balancer Trusted Cloud certification service availability
    • LBDC Service Level Agreement SLA
    • BLB Service Level Agreement (V2.0)
  • Typical Practices
    • BLB Selection Guide
    • Health Check Exception Troubleshooting
    • Implementing BLB Association with Listeners, Real Servers, Security Groups, etc. via Terraform
    • Implementing Multi-Site Hosting via Application BLB
    • Load Balancer Security Protection Strategy
    • Managing BLB via Terraform
    • Obtaining Client Information via Application BLB Instance
    • Using IP Group Function to Mount Real Servers Across VPCs in Different Regions
    • Using IP Group Function to Mount Real Servers Across VPCs in the Same Region
All documents
menu
No results found, please re-enter

BLB BLB

  • API Reference
    • Access control
    • API Service Domain Name
    • Appendix
    • Application BLB Interface
      • Application BLB Instance Related Interfaces
      • Application BLB Listener Related Interfaces
      • Application BLB Security Group Related Interfaces
      • Application BLB Server Group Related Interfaces
    • Application IPv6 BLB Interface
      • Application IPv6 BLB Instance Related Interfaces
      • Application IPv6 BLB Listener Related Interfaces
      • Application IPv6 BLB Security Group Related Interfaces
      • Application IPv6 BLB Server Group Related Interfaces
    • BLB Order Related Interfaces
      • BLB - Resize
      • BLB Charge Shift - Cancel Prepay to Postpay
      • BLB Charge Shift - Postpay to Prepay
      • BLB Charge Shift - Prepay to Postpay
      • BLB Inquiry
      • BLB Unsubscribe Interface
    • Document Update Records
    • Error code
    • Interface Specifications
    • Introduction
    • Load Balancer Dedicated Cluster LBDC Interface
      • LBDC Instance Related Interfaces
    • Service Publishing Point Interface
      • Service Publishing Point Related Interfaces
    • Standard BLB Interface
      • Standard BLB Instance Related Interfaces
      • Standard BLB Listener Related Interfaces
      • Standard BLB Real Server Related Interfaces
      • Standard BLB Security Group Related Interfaces
    • Standard IPv6 BLB Interface
      • Standard IPv6 BLB Related Interfaces
  • FAQs
    • Billing Problems
    • Common Questions Overview
    • Configuration-related questions
    • Fault-related questions
    • General Problems
    • Load Balancer Dedicated Cluster Related Issues
    • Performance-related questions
    • Security Problems
  • Function Release Records
  • Operation guide
    • Access control
    • Access Logs
    • Application BLB instance
    • Application IPv6 Instance
    • BLB metric description
    • Certification
    • Custom configuration
    • Extended domain name
    • General-purpose BLB instance
      • Creating BLB Ordinary Instance
      • Managing BLB Ordinary Instance
    • General-purpose IPv6 BLB instance
    • Identity and access management
    • IP Group Usage Guide
    • Load Balance Dedicated Cluster
    • Load Balancer Frontend and Backend Protocol Correspondence
    • Recording Access Logs Using VPC Flow Logs
    • Service Release Point
    • Tag Management
  • Product Description
    • Application scenarios
    • Basic Architecture
    • Basic concepts
    • Performance Specification Description
    • Product advantages
    • Product features
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Load Balancer Dedicated Cluster Billing
    • Load Balancer Instance Billing
  • Quick Start
  • SDK
    • GO-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Change Records
    • Java-SDK
      • Application BLB instance
      • General-purpose BLB instance
      • Initialization
      • Install the SDK Package
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Overview
      • Service Release Point
      • Version Update Description
    • PHP-SDK
      • Initialization
      • Install
      • Ordinary BLB Instance
      • Overview
    • Python-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Update Description
  • Service Level Agreement (SLA)
    • Description of Baidu AI Cloud Load Balancer Trusted Cloud certification service availability
    • LBDC Service Level Agreement SLA
    • BLB Service Level Agreement (V2.0)
  • Typical Practices
    • BLB Selection Guide
    • Health Check Exception Troubleshooting
    • Implementing BLB Association with Listeners, Real Servers, Security Groups, etc. via Terraform
    • Implementing Multi-Site Hosting via Application BLB
    • Load Balancer Security Protection Strategy
    • Managing BLB via Terraform
    • Obtaining Client Information via Application BLB Instance
    • Using IP Group Function to Mount Real Servers Across VPCs in Different Regions
    • Using IP Group Function to Mount Real Servers Across VPCs in the Same Region
  • Document center
  • arrow
  • BLBBLB
  • arrow
  • API Reference
  • arrow
  • Standard BLB Interface
  • arrow
  • Standard BLB Instance Related Interfaces
Table of contents on this page
  • CreateLoadBalancer: Create an instance
  • DescribeLoadBalancers: Query existing BLB instances
  • DescribeLoadBalancerDetail: Query BLB instance details
  • UpdateLoadBalancer: Update the instance
  • DeleteLoadBalancer: Delete the BLB instance
  • UpdateLoadBalancerAcl: Update instance ACL function

Standard BLB Instance Related Interfaces

Updated at:2025-10-16

CreateLoadBalancer: Create an instance

Description

  • Create a LoadBalancer and return the allocated service address and instance ID.
  • Billing type: Postpay.
  • Certification is required. Those who have not passed certification can go to the certification under security certification in the Baidu AI Cloud Official Website Console for certification.

Request structure

Plain Text
1POST /v{version}/blb?clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
4
5{
6    "name": name,
7	"desc": desc,
8	"vpcId": vpcId,
9	"subnetId": subnetId,
10    "address": address,
11    "type": type,
12    "eip":eip,
13    "tags":[
14        {
15            "tagKey": tagKey,
16            "tagValue": tagValue
17        }
18    ]
19}

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
version String Yes URL parameter API version number, current value is 1.
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
name String No RequestBody Provide a LoadBalancer name for easy identification. The name should be 1 to 65 bytes long, start with a letter, and may contain letters, numbers, and the characters -\_/ . If not specified, it will be automatically generated.
desc String No RequestBody Add a description for the LoadBalancer instance to include detailed information. It can be 0 to 450 bytes long, supports Chinese, and defaults to empty.
vpcId String Yes RequestBody VPC ID to which the LoadBalancer instance belongs.
subnetId String Yes RequestBody Subnet ID to which the LoadBalancer instance belongs
address String No RequestBody Specify the private IP address of the LoadBalancer instance, ensuring it falls within the subnet's network range.
type String No RequestBody Specify the type of LoadBalancer instance. If not defined, it defaults to general-purpose. Uploading "ipv6" creates an IPv6 BLB.
eip String No RequestBody Bind an existing EIP by specifying its IP address.
tags List<[TagModel](BLB/API Reference/Appendix.md#TagModel)> No RequestBody List of tag key-value pairs to be created
billing [BillingForCreate](BLB/API Reference/Appendix.md#BillingForCreate) No RequestBody Order-related information. It is required when the prepaid BLB is purchased.
performanceLevel String No RequestBody Define the performance specification. It defaults to a shared type. Available values are: "small1" Standard 1, "small2" Standard 2, "medium1" Enhance 1, "medium2" Enhance 2, "large1" Extra Large 1, "large2" Extra Large 2, and "large3" Extra Large 3. If using pay-as-you-go, the value "unlimited" may also be used for unlimited speed.
autoRenewLength int No RequestBody Support creating prepaid BLB with auto-renewal enabled. It value ranges vary by autoRenewTimeUnit, with 1-9 for month and 1-3 for year.
autoRenewTimeUnit String No RequestBody Support enabling auto-renewal when creating BLB, with values being month or year (month by default)
resourceGroupId String No RequestBody Support binding resource group ID when creating BLB
allowDelete Boolean No RequestBody Indicate whether deletion is allowed. The default value is true, meaning deletion is permitted.
allocateIpv6 Boolean No RequestBody Specify whether to allocate an IPv6 address. A value of true allocates an IPv6 address, while false does not.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](BLB/API Reference/Error code.md)

Response headers

No special headers beyond common headers.

Response parameters

Parameter name Types Description
address string Assigned Intranet server address IP, through which the instance can be accessed via the Intranet
name string LoadBalancer name
blbId string Provide the LoadBalancer ID, which is required for subsequent operations on this instance.
desc string LoadBalancer description

Request example

Plain Text
1POST /v1/blb?clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2HOST blb.bj.baidubce.com
3Authorization: authorization string
4
5 Create a postpaid BLB instance
6{
7    "name":"blb-for-test",
8	"desc": "myblb",
9	"vpcId": "vpc-fy6vdykpwkqb",
10	"subnetId": "sbn-a34td0pxcucd",
11    "address": "192.168.0.24",
12    "eip": "100.88.8.139"
13}
14
15 Create a prepaid BLB instance
16{
17    "vpcId":"vpc-fbsxgfs9ty60",
18    "subnetId":"sbn-3317rkjfq8j9",
19    "name":"ccq20240223_ccq",
20    "billing": {
21        "paymentTiming":"Prepaid",
22        "reservation": {
23            "reservationLength":2
24        }
25    },
26    "performanceLevel":"small1"
27}

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Wed, 10 Apr 2016 08:26:52 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS
7
8{
9    "blbId": "lb-BLuOPSLZ",
10    "name": "blb-for-test",
11    "address": "192.168.0.24",
12	 "desc": "myblb"
13}

DescribeLoadBalancers: Query existing BLB instances

Description

  • Query information of all LoadBalancers under a user account
  • Fuzzy query by LoadBalancer name or address
  • Exact query by LoadBalancer ID
  • Query using a bccId. Currently, only single bccId queries are supported with exact matches. The query result will reveal the LoadBalancer instance containing the real server.
  • The response result is the intersection of multiple query conditions.
  • If the BLB instance has public network access enabled, the response result will include the public IP.
  • Results support marker-based pagination, with a default page size of 1000, which can be specified via the maxKeys parameter.

Request structure

Plain Text
1GET /v{version}/blb?address={address}&name={name}&blbId={blbId}&bccId={bccId}&marker={marker}&maxKeys={maxKeys} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
version String Yes URL parameter API version number, current value is 1.
address String No Query Intranet server address of the LoadBalancer to be queried, in dotted decimal format
name String No Query LoadBalancer name to be queried
blbId String No Query LoadBalancer ID to be queried (only exact query supported)
bccId String No Query LoadBalancer bound to this BCC (only exact query supported)
exactlyMatch Boolean No Query Set the query match type: true for exact match and false for fuzzy match. The default value is false.
marker String No Query The starting position of the batch list query is a system-generated string
maxKeys int No Query Maximum number of items per page is 1,000, with a default value of 1000.
type String No Query Define the type of LoadBalancer instance to query. If not specified, it defaults to general-purpose. Uploading "ipv6" queries an IPv6 BLB.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](BLB/API Reference/Error code.md)

Response headers

No special headers beyond common headers.

Response parameters

Parameter name Types Description
blbList List<[BLBModel](BLB/API Reference/Appendix.md#BLBModel)> List containing query results
marker string Marker indicating the starting position of the query. If the result list is empty, this field does not exist.
isTruncated boolean true indicates there is more data later, false indicates it is the last page
nextMarker String The marker value needed to fetch the next page. This field is absent when isTruncated is false.
maxKeys int Maximum number of items included per page

Request example

Plain Text
1GET /v1/blb?name=test&maxKeys=2 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Wed, 10 Apr 2016 08:26:52 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS
7
8{
9    "blbList": [
10        {
11            "blbId": "lb-a7e5zPPk",
12            "status": available,
13            "name": "test-blb",
14			"desc": desc,
15            "address": "192.168.0.23"
16        },
17        {
18            "blbId": "lb-gj5gVpeq",
19            "status": available,
20            "name": "nametest",
21			"desc": desc,
22            "address": "192.168.0.24",
23			"publicIp": "123.2.3.4"
24        }
25    ],
26    "marker": "blb-0A20F971",
27    "nextMarker": "blb-0A20FB09",
28    "isTruncated": true,
29    "maxKeys": 2
30}

DescribeLoadBalancerDetail: Query BLB instance details

Description

  • Query detailed information of all LoadBalancers under a user account by ID.
  • Contain all listener port information of the LoadBalancer

Request structure

Plain Text
1GET /v{version}/blb/{blbId}?type={type} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter Identifier of LoadBalancer to be queried
type String No Query Specify the type of LoadBalancer instance for the query. Defaults to general-purpose if left undefined. Uploading "ipv6" creates an IPv6 BLB.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](BLB/API Reference/Error code.md)

Response headers

No special headers beyond common headers.

Response parameters

Parameter name Types Description
blbId String LoadBalancer identifier
status [blbStatus](BLB/API Reference/Appendix.md#blbStatus) BLB status
name String LoadBalancer name
desc String LoadBalancer description
address String LoadBalancer Intranet address
publicIp String public IP address of LoadBalancer
cidr String Network CIDR where the LoadBalancer is located
vpcName String VPC name to which the LoadBalancer belongs
vpcId String VPC ID to which the LoadBalancer belongs
createTime String LoadBalancer creation time
releaseTime String LoadBalancer auto-release time
listener List<[ListenerModel](BLB/API Reference/Appendix.md#ListenerModel)> List of listeners mounted under the LoadBalancer
tags List<[TagModel](BLB/API Reference/Appendix.md#TagModel)> List of tag key-value pairs
allowDelete Boolean Is deletion allowed
paymentTiming String Payment time: Prepaid or Postpaid. Currently, only Prepaid is supported.
billingMethod String Charge type: "ByCapacityUnit" for pay-as-you-go mode, and "BySpec" for fixed specification mode.
performanceLevel String Performance specifications include: "small1" Standard 1, "small2" Standard 2, "medium1" Enhance 1, "medium2" Enhance 2, "large1" Extra Large 1, "large2" Extra Large 2, and "large3" Extra Large 3.
expireTime String Expiration time of prepay instance
eipRouteType String EIP Internet connection type
publicIpv6 String This item is displayed if the Load Balancer is bound to an EIPv6; otherwise, it is not displayed
eipV6RouteType String EIPV6 Internet Connection Type

Request example

Plain Text
1GET /v1/blb/lb-7fb1e926 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Wed, 10 Apr 2016 08:26:52 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS
7
8{
9    "blbId":"lb-gj5gVpeq",
10    "status":"available",
11    "name":"nametest",
12    "desc":"",     
13    "address":"192.168.0.2",
14    "publicIp":"123.2.3.4",
15    "cidr":"192.168.0.0/16",
16    "vpcName":"test",         
17    "createTime":"2019-03-07T02:35:31Z",    
18    "releaseTime":"2019-03-07T02:35:31Z",
19    "paymentTiming":"Postpaid",   
20    "billingMethod":"ByCapacityUnit",  
21    "listener":[                            
22    {
23        "port":80,                      
24        "backendPort":90,               
25        "type": "TCP",                  
26        "healthCheckType": "TCP",       
27        "healthCheckstatus": "Alive"       
28    }
29    ]
30}

UpdateLoadBalancer: Update the instance

Description

Update the configuration of a specified LoadBalancer, including its name and description.

Request structure

Plain Text
1PUT /v{version}/blb/{blbId}?clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
4
5{
6    "name": name,
7    "desc": desc
8}

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter ID of LoadBalancer to be updated
name String No RequestBody Name of LoadBalancer for easy memorization. Length: 1 – 65 bytes, starting with a letter. It can contain letters, numbers and the characters -_/. If this parameter is not specified, it will be generated automatically.
desc String No RequestBody Provide a description for the LoadBalancer instance with a length of 0 to 450 bytes. It supports Chinese and is empty by default.
allowDelete Boolean No RequestBody Indicate whether deletion is allowed. The default value is true, meaning deletion is permitted.
allocateIpv6 Boolean No RequestBody Specify whether to allocate an IPv6 address. A value of true allocates an IPv6 address, while false does not.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](BLB/API Reference/Error code.md)

Response headers

No special headers beyond common headers.

Response parameters

None

Request example

Plain Text
1PUT /v1/blb/lb-j8UqijYf?clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2HOST blb.bj.baidubce.com
3Authorization bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
4
5{
6	"name":"blb-for-test",
7 "desc": "For test"
8}

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Wed, 10 Apr 2016 08:26:52 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS

DeleteLoadBalancer: Delete the BLB instance

Description

  • Delete specified LoadBalancer. Deleted LoadBalancers cannot be recovered

Request structure

Plain Text
1DELETE /v{version}/blb/{blbId}?clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter ID of LoadBalancer to be released.
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](BLB/API Reference/Error code.md)

Response headers

No special headers beyond common headers.

Response parameters

None

Request example

Plain Text
1DELETE /v1/blb/lb-j8UqijYf?clientToken=aabbccdd HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Fri, 03 Jun 2016 07:09:45 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS

UpdateLoadBalancerAcl: Update instance ACL function

Description

Whether updated the specified LoadBalancer supports ACL function, supporting update types (general-purpose, application and IPv6)

Request structure

Plain Text
1PUT /v{version}/blb/acl/{blbId}?clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
4{
5    "supportAcl": supportAcl
6}

Request headers

There are no special headers required beyond the common headers.

Request parameters

Parameter name Type Is it required Parameter position Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter ID of LoadBalancer to be updated
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
supportAcl Boolean No RequestBody Whether ACL is supported. The default value is true, indicating that it is supported.

Response Status Code

Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](EIP/API Reference/Error code.md).

Response headers

No special headers beyond common headers.

Response parameters

None

Request example

Plain Text
1PUT /v1/blb/acl/lb-9f59e197?clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2HOST blb.bj.baidubce.com
3Authorization bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2021-09-10T10:00:00Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
4{
5	"supportAcl":true
6}

Response example

Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Fri, 10 Sep 2021 10:00:10 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS

Previous
Service Publishing Point Interface
Next
Standard BLB Listener Related Interfaces