Service Release Point

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
  • SDK
  • arrow
  • Java-SDK
  • arrow
  • Service Release Point
Table of contents on this page
  • Retrieve Endpoint
  • Retrieve AK/SK
  • Create a UserserviceClient
  • Create a service distribution point
  • Update service distribution point
  • Bind service distribution point to instance
  • Unbind service distribution point from instance
  • Add authentication information of service distribution point
  • Modify authentication information of service distribution point
  • Delete authentication information of service distribution point
  • Query service distribution point list
  • Query service distribution point details
  • Delete service distribution point
  • Appendix

Service Release Point

Updated at:2025-10-16

Retrieve Endpoint

Before configuring the Endpoint for SDK usage, please refer to the developer guide section on Service Distribution Point Domain Name to understand Endpoint-related concepts. Baidu AI Cloud currently supports multiple regions. Please refer to the service distribution point section of network products in Region Selection Guide.

Note: The service distribution point API supports both HTTP and HTTPS calling methods. To enhance data security, it is recommended to call via HTTPS.

Retrieve AK/SK

To use Baidu AI Cloud's service publishing points, you must have a valid AK (Access Key ID) and SK (Secret Access Key) for signature authentication. AK/SK are system-generated strings used for user identification and signature verification during service access. You can obtain and understand your AK/SK information by following these steps:

  1. Register a Baidu AI Cloud account
  2. Create AK/SK

Create a UserserviceClient

UserserviceClient serves the client for the service distribution point service, providing developers with a range of methods to interact with the services of the service distribution point. When creating a UserserviceClient, first configure a BceClientConfiguration-type config instance using Endpoint, AK and SK, and then use the config instance to configure the LbdcClient. The specific configuration method is as follows:

Plain Text
1String ak = "Your Ak";
2String sk = "Your Sk";
3String endpoint = "blb.bj.baidubce.com";
4BceClientConfiguration config = new BceClientConfiguration();
5config.setCredentials(new DefaultBceCredentials(ak, sk));
6config.setEndpoint(endpoint);
7UserserviceClient userserviceClient = new UserserviceClient(config);

Create a service distribution point

Function declaration

Plain Text
1public CreateUserServiceResponse createUserService(CreateUserServiceRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Create Request Parameters of Service Distribution Point

Response Value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "service" : "testService.uservice-3a76ed46.beijing.baidubce.com"
4}
  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleCreateUserService.java

Update service distribution point

Function declaration

Plain Text
1public void updateUserService(String service, UpdateUserServiceRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Update Request Parameters of Service Distribution Point

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleUpdateUserService.java

Bind service distribution point to instance

Function declaration

Plain Text
1public void bindInstance(String service, BindInstanceRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Bind Service Distribution Point to Instance Request Parameter

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleBindInstance.java

Unbind service distribution point from instance

Function declaration

Plain Text
1public void unbindInstance(String service, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Unbind Service Distribution Point from Instance Request Parameter

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleUnbindInstance.java

Add authentication information of service distribution point

Function declaration

Plain Text
1public void addAuth(String service, AddAuthRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Add Authentication Information Request Parameter of Service Distribution Point

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleAddAuth.java

Modify authentication information of service distribution point

Function declaration

Plain Text
1public void editAuth(String service, EditAuthRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Modify Authentication Information Request Parameter of Service Distribution Point

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleEditAuth.java

Delete authentication information of service distribution point

Function declaration

Plain Text
1public void removeAuth(String service, RemoveAuthRequest body, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Delete Authentication Information Request Parameter of Service Distribution Point

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleRemoveAuth.java

Query service distribution point list

Function declaration

Plain Text
1public ListUserServiceResponse listUserService(String marker, Integer maxKeys) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Query Request Parameters of Service Distribution Point List

Response Value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "services": [
4        {
5            "serviceId': "uservice-a223vc",
6            "name": "name",
7            "description": "",
8            "serviceName": "serviceName",
9            "bindType": "blb",
10            "instanceId": "lb-d3e2cf75",
11            "status": "inService",
12            "service": "xxx.baidubce.com",
13            "createTime": "2019-03-07T02:35:31Z",
14            "endpointCount": 1,
15            "endpointList": [
16                {
17                    "endpointId': "endpoint-a223vc",
18                    "uid': "e8deba4d81d3435bb4591ce97288f296",
19                    "attachTime': "2019-03-07T02:35:31Z",
20                }
21            ],
22            "authList": [
23                {
24                    "uid": "*",
25                    "auth" : "allow"
26                }
27            ]
28            
29        }
30    ],
31    "marker": "uservice-a032va",
32    "nextMarker": null,
33    "isTruncated": false,
34    "maxKeys": 100
35}
  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleListUserService.java

Query service distribution point details

Function declaration

Plain Text
1public GetUserServiceResponse getUserService(String service) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Query Request Parameters of Service Distribution Point Details

Response Value

  • Operation succeeded
Plain Text
1{
2 "metadata": For details, refer to the metadata section in the appendix,
3    "serviceId': "uservice-a223vc",
4    "name": "name",
5    "description": "",
6    "serviceName": "serviceName",
7    "bindType": "blb",
8    "instanceId": "lb-d3e2cf75",
9    "status": "inService",
10    "service": "xxx.baidubce.com",
11    "createTime": "2019-03-07T02:35:31Z",
12    "endpointCount": 1,
13    "endpointList": [
14        {
15            "endpointId': "endpoint-a223vc",
16            "uid': "e8deba4d81d3435bb4591ce97288f296",
17            "attachTime': "2019-03-07T02:35:31Z",
18        }
19    ],
20    "authList": [
21        {
22            "uid": "*",
23            "auth" : "allow"
24        }
25    ]
26}
  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleGetUserService.java

Delete service distribution point

Function declaration

Plain Text
1public void deleteUserService(String service, String clientToken) {
2}

Parameter Meaning

Refer to the OpenAPI documentation: Delete Request Parameter of Service Distribution Point

Response Value

  • Operation succeeded

No response value

  • Operation failed

For response exception list of operation failure, refer to the Baidu Load Balance (BLB) Exception List.

Code example

For specific code examples, refer to: ExampleDeleteUserService.java

Appendix

Public response information in Metadata format

Plain Text
1 {
2      "bceRequestId":"f5f0821d-45fe-439b-bbf4-fc48b639f84a",
3      "contentLength":28,
4      "contentType":"application/json;charset=UTF-8",
5      "date":1701917695000,
6      "server":"openresty/1.15.8.1"
7 }

Previous
Overview
Next
Version Update Description