CLI Command Reference (V2)
SSL Certificate Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying SSL Certificates | hcloud ELB ListCertificates/v2 | This API is used to query the certificate. Filter query and pagination query are supported. | |
| Creating an SSL Certificate | hcloud ELB CreateCertificate/v2 | This API is used to create an SSL certificate. After an SSL certificate is bound to a listener, the load balancer authenticates the client using this certificate, and backend servers can establish secure and reliable HTTP connections with the client. | |
| Querying Details of an SSL Certificate | hcloud ELB ShowCertificate/v2 | This API is used to query details of a specific SSL certificate. | |
| Updating an SSL Certificate | hcloud ELB UpdateCertificate/v2 | This API is used to update a specific SSL certificate. | |
| Deleting an SSL Certificate | hcloud ELB DeleteCertificate/v2 | This API is used to delete a specific SSL certificate. |
Health Check
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Health Checks | hcloud ELB ListHealthmonitors/v2 | This API is used to query the health checks. | |
| Configuring a Health Check | hcloud ELB CreateHealthmonitor/v2 | This API is used to configure a health check for a backend server group. | |
| Querying Details of a Health Check | hcloud ELB ShowHealthmonitors/v2 | This API is used to query details about a health check using its ID. | |
| Updating a Health Check | hcloud ELB UpdateHealthmonitor/v2 | This API is used to update a health check. | |
| Deleting a Health Check | hcloud ELB DeleteHealthmonitor/v2 | This API is used to delete a health check. |
Backend Server
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Backend Servers | hcloud ELB ListMembers/v2 | This API is used to query backend servers in a specific backend server group. | |
| Adding a Backend Server | hcloud ELB CreateMember/v2 | This API is used to add a backend server to a specific backend server group. | |
| Querying Details of a Backend Server | hcloud ELB ShowMember/v2 | This API is used to query details about a backend server using its ID. | |
| Updating a Backend Server | hcloud ELB UpdateMember/v2 | This API is used to update a backend server. | |
| Removing a Backend Server | hcloud ELB DeleteMember/v2 | This API is used to remove a backend server. |
Backend Server Group
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Backend Server Groups | hcloud ELB ListPools/v2 | This API is used to query the backend server groups. | |
| Adding a Backend Server Group | hcloud ELB CreatePool/v2 | This API is used to add a backend server group. After multiple backend servers are added to a backend server group, requests are distributed among backend servers based on the load balancing algorithm configured for the backend server group and the weight set for each backend server. | |
| Querying Details of a Backend Server Group | hcloud ELB ShowPool/v2 | This API is used to query details about a backend server group using its ID. | |
| Updating a Backend Server Group | hcloud ELB UpdatePool/v2 | This API is used to update a backend server group. | |
| Deleting a Backend Server Group | hcloud ELB DeletePool/v2 | This API is used to delete a backend server group. |
Whitelist
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Whitelists | hcloud ELB ListWhitelists/v2 | This API is used to query the whitelists. Filter query and pagination query are supported. | |
| Adding a Whitelist | hcloud ELB CreateWhitelist/v2 | This API is used to add a whitelist to control access to a specific listener. After a whitelist is added, only IP addresses in the whitelist can access the listener. | |
| Querying Details of a Whitelist | hcloud ELB ShowWhitelist/v2 | This API is used to query details about a whitelist using its ID | |
| Updating a Whitelist | hcloud ELB UpdateWhitelist/v2 | This API is used to update a whitelist. You can enable or disable the whitelist function or change IP addresses in the whitelist. | |
| Deleting a Whitelist | hcloud ELB DeleteWhitelist/v2 | This API is used to delete a whitelist. |
Listener
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Listeners | hcloud ELB ListListeners/v2 | This API is used to query listeners. Filter query and pagination query are supported. You can query listeners by ID, protocol, port number, and backend server's IP address. | |
| Creating a Listener | hcloud ELB CreateListener/v2 | This API is used to add a listener to a specific load balancer. | |
| Querying Details of a Listener | hcloud ELB ShowListener/v2 | This API is used to query details of a listener using its ID. | |
| Updating a Listener | hcloud ELB UpdateListener/v2 | This API is used to update a listener. | |
| Deleting a Listener | hcloud ELB DeleteListener/v2 | This API is used to delete a listener using its ID. |
Load Balancer
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Load Balancers | hcloud ELB ListLoadbalancers/v2 | This API is used to query load balancers. | |
| Creating a Load Balancer | hcloud ELB CreateLoadbalancer/v2 | This API is used to create a private enhanced network load balancer. After the load balancer is created, its details, such as load balancer ID, IP address, and subnet ID, are returned. To create a public network load balancer, you also need to call the API for assigning an EIP and associate this IP address to the port bound to the IP address of the private network load balancer. | |
| Querying Details of a Load Balancer | hcloud ELB ShowLoadbalancer/v2 | This API is used to query details of a load balancer using its ID. | |
| Updating a Load Balancer | hcloud ELB UpdateLoadbalancer/v2 | This API is used to update a load balancer. | |
| Deleting a Load Balancer | hcloud ELB DeleteLoadbalancer/v2 | This API is used to delete a load balancer using its ID. | |
| Querying the Status Tree of a Load Balancer | hcloud ELB ShowLoadbalancersStatus/v2 | This API is used to query the status tree of a load balancer. You can use this API to query details about the associated listeners, backend server groups, backend servers, health checks, forwarding policies, and forwarding rules, helping you understand the topology of resources associated with the load balancer. |
Forwarding Policy
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Forwarding Policies | hcloud ELB ListL7policies/v2 | This API is used to query the forwarding policies. Filter query and pagination query are supported. | |
| Adding a Forwarding Policy | hcloud ELB CreateL7policy/v2 | This API is used to add a forwarding policy to a listener. | |
| Querying Details of a Forwarding Policy | hcloud ELB ShowL7policy/v2 | This API is used to query details about a forwarding policy using its ID. | |
| Updating a Forwarding Policy | hcloud ELB UpdateL7policies/v2 | This API is used to update a forwarding policy. | |
| Deleting a Forwarding Policy | hcloud ELB DeleteL7policy/v2 | Deleting a Forwarding Policy |
Forwarding Rule
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Forwarding Rules | hcloud ELB ListL7rules/v2 | This API is used to query the forwarding rules in the forwarding policy. | |
| Adding a Forwarding Rule | hcloud ELB CreateL7rule/v2 | This API is used to add a forwarding rule. | |
| Querying Details of a Forwarding Rule | hcloud ELB ShowL7rule/v2 | This API is used to query details about a forwarding rule in a forwarding policy using its ID. | |
| Updating a Forwarding Rule | hcloud ELB UpdateL7rule/v2 | This API is used to update a specific forwarding rule. | |
| Deleting a Forwarding Rule | hcloud ELB DeleteL7rule/v2 | This API is used to delete a forwarding rule. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot