Application IPv6 BLB Security Group 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
  • Application IPv6 BLB Interface
  • arrow
  • Application IPv6 BLB Security Group Related Interfaces
Table of contents on this page
  • BindSecurityGroups: Bind regular security group
  • UnbindSecurityGroups: Unbind regular security group
  • DescribeSecurityGroups: Query regular security group list of BLB instances
  • BindEnterpriseSecurityGroups: Bind enterprise security groups
  • UnbindEnterpriseSecurityGroups: Unbind enterprise security groups
  • DescribeEnterpriseSecurityGroups: Query enterprise security group list of BLB instances

Application IPv6 BLB Security Group Related Interfaces

Updated at:2025-10-16

BindSecurityGroups: Bind regular security group

Description

Bind regular security group for specified LoadBalancer (standard, application and IPv6), supporting batch binding.

Request structure

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

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter LoadBalancer identifier
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
action String Yes Query Parameter value for this API: bind
securityGroupIds List Yes RequestBody List of bound regular security group IDs

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/securitygroup?bind&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
4
5{
6	"securityGroupIds": ["g-4NxWoxeq", "g-4NxWoxea"]
7}

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 70b6324a-7b10-4736-8872-4c29be8ef474

UnbindSecurityGroups: Unbind regular security group

Description

Unbind regular security group for specified LoadBalancer (standard, application and IPv6), supporting batch unbinding.

Request structure

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

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter LoadBalancer identifier
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
action String Yes Query Parameter value for this API: unbind
securityGroupIds List Yes RequestBody List of unbound regular security group IDs

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/securitygroup?unbind&clientToken=be31b98c-5e41-4838-9830-9be700de5a21 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf17
4
5{
6	"securityGroupIds": ["g-4NxWoxeq", "g-4NxWoxea"]
7}

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 70b6324a-7b10-4736-8872-4c29be8ef478

DescribeSecurityGroups: Query regular security group list of BLB instances

Description

Query security group information of specified LoadBalancer under user account by ID

Request structure

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

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required 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

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
securityGroups List<[BlbSecurityGroupModel](BLB/API Reference/Appendix.md#BlbSecurityGroupModel)> Regular security group information, a collection composed of BlbSecurityGroupModel

Request example

Plain Text
1GET /v1/blb/lb-j8UqijYf/securitygroup HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: dfd5d01f-a869-49eb-aba5-d853a3350428
6
7{
8    "blbSecurityGroups": [
9        {
10            "securityGroupDesc": "",
11            "securityGroupId": "g-4NxWoxeq",
12            "securityGroupName": "securitygroup-name",
13            "vpcName":"vpc-name",
14            "securityGroupRules": [
15                {
16                    "destGroupId": "",
17                    "destIp": "all",
18                    "direction": "egress",
19                    "ethertype": "IPv6",
20                    "portRange": "1-65535",
21                    "protocol": "all",
22                    "securityGroupRuleId": "r-gkv8yupumvx2"
23                }
24            ]
25        }
26    ]
27}

BindEnterpriseSecurityGroups: Bind enterprise security groups

Description

Bind enterprise security groups to specified LoadBalancer (standard, application and IPv6) (currently, each BLB instance supports binding up to 1 enterprise security group)

Request structure

Plain Text
1PUT /v{version}/blb/{blbId}/enterprise/securitygroup?action={action}&clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
4
5{
6    "enterpriseSecurityGroupIds": enterpriseSecurityGroupIds
7}

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter LoadBalancer identifier
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
action String Yes Query Parameter value for this API: bind
enterpriseSecurityGroupIds List Yes RequestBody List of bound enterprise security group IDs

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/enterprise/securitygroup?bind&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
4
5{
6  "enterpriseSecurityGroupIds": ["esg-g8z4qfj0m0bu"]
7}

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 70b6324a-7b10-4736-8872-4c29be8ef474

UnbindEnterpriseSecurityGroups: Unbind enterprise security groups

Description

Unbind enterprise security group for specified LoadBalancer (standard, application and IPv6), supporting batch unbinding.

Request structure

Plain Text
1PUT /v{version}/blb/{blbId}/enterprise/securitygroup?action={action}&clientToken={clientToken} HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization: authorization string
4
5{
6    "enterpriseSecurityGroupIds": enterpriseSecurityGroupIds
7}

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required Parameter location Description
version String Yes URL parameter API version number, current value is 1.
blbId String Yes URL parameter LoadBalancer identifier
clientToken String Yes Query Idempotency Token, with length no more than 64 characters.
action String Yes Query Parameter value for this API: unbind
enterpriseSecurityGroupIds List Yes RequestBody List of unbound enterprise security group IDs

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/enterprise/securitygroup?unbind&clientToken=be31b98c-5e41-4838-9830-9be700de5a21 HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf17
4
5{
6  "enterpriseSecurityGroupIds": ["esg-gzsqygs59nxp"]
7}

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 70b6324a-7b10-4736-8872-4c29be8ef478

DescribeEnterpriseSecurityGroups: Query enterprise security group list of BLB instances

Description

Query enterprise security group information of specified LoadBalancer under user account by ID

Request structure

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

Request headers

No special headers beyond common headers.

Request parameters

Parameter name Types Whether required 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

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
enterpriseSecurityGroups List<[BlbEnterpriseSecurityGroupModel](BLB/API Reference/Appendix.md#BlbSecurityGroupModel)> Enterprise security group information, a collection composed of BlbEnterpriseSecurityGroupModel

Request example

Plain Text
1GET /v1/blb/lb-j8UqijYf/enterprise/securitygroup HTTP/1.1
2Host: blb.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16

Response example

Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: dfd5d01f-a869-49eb-aba5-d853a3350428
6
7{
8  "enterpriseSecurityGroups": [{
9	"enterpriseSecurityGroupId": "esg-g8z4qfj0m0bu",
10	"enterpriseSecurityGroupName": "test0627",
11	"enterpriseSecurityGroupDesc": "",
12	"enterpriseSecurityGroupRules": [{
13 "remark": "All protocols",
14			"direction": "egress",
15			"action": "allow",
16			"priority": 1000,
17			"ethertype": "IPv6",
18			"portRange": "",
19			"sourceIp": "",
20			"destIp": "all",
21			"enterpriseSecurityGroupRuleId": "esgr-9tzd4yijcwqu",
22			"protocol": "all"
23		}]
24    }]
25}

Previous
Application IPv6 BLB Listener Related Interfaces
Next
Application IPv6 BLB Server Group Related Interfaces