This topic lists available Server Load Balancer (SLB) APIs.

SLB instances

API Description
CreateLoadBalancer Creates an SLB instance.
ModifyLoadBalancerInternetSpec Modifies the billing method of an Internet SLB instance.
DeleteLoadBalancer Deletes a Pay-As-You-Go SLB instance.
SetLoadBalancerStatus Sets the status of an SLB instance.
SetLoadBalancerName Modifies the name of an SLB instance.
DescribeLoadBalancers Queries created SLB instances.
DescribeLoadBalancerAttribute Queries the details of an SLB instance.
DescribeRegions Queries available regions.
DescribeZones Queries the zones in a region.
ModifyLoadBalancerInstanceSpec Modifies the specification of an SLB instance.

UDP listeners

API Description
CreateLoadBalancerUDPListener Creates a UDP listener.
SetLoadBalancerUDPListenerAttribute Modifies the configurations of a UDP listener.
DescribeLoadBalancerUDPListenerAttribute Queries the configurations of a UDP listener.

TCP listeners

API Description
CreateLoadBalancerTCPListener Creates a TCP listener.
SetLoadBalancerTCPListenerAttribute Modifies the configurations of a TCP listener.
DescribeLoadBalancerTCPListenerAttribute Queries the configurations of a TCP listener.

HTTP listeners

API Description
SetLoadBalancerHTTPListenerAttribute Modifies the configurations of an HTTP listener.
CreateLoadBalancerHTTPListener Creates an HTTP listener.
DescribeLoadBalancerHTTPListenerAttribute Queries the configurations of an HTTP listener.

HTTPS listeners

API Description
SetLoadBalancerHTTPSListenerAttribute Modifies the configurations of an HTTPS listener.
DescribeLoadBalancerHTTPSListenerAttribute Queries the configurations of an HTTPS listener.
CreateLoadBalancerHTTPSListener Creates an HTTPS listener.

Listeners

API Description
StartLoadBalancerListener Starts a listener.
StopLoadBalancerListener Stops a listener.
DeleteLoadBalancerListener Deletes a listener.

Backend servers

API Description
SetBackendServers Sets the weights of backend severs.
AddBackendServers Adds backend servers.
RemoveBackendServers Removes backend servers.
DescribeHealthStatus Queries the health status of a backend server.

VServer groups

API Description
DescribeVServerGroupAttribute Queries the details of a VServer group.
CreateVServerGroup Creates a VServer group.
AddVServerGroupBackendServers Adds backend servers to a VServer group.
SetVServerGroupAttribute Modifies the configurations of a VServer group.
RemoveVServerGroupBackendServers Removes backend servers from a VServer group.
ModifyVServerGroupBackendServers Replaces backend servers in a VServer group.
DeleteVServerGroup Deletes a VServer group.
DescribeVServerGroups Queries the list of VServer groups.

Active/standby server groups

API Description
CreateMasterSlaveServerGroup Creates an active/standby server group. An active/standby server group can only contain two ECS instances. One is the active backend server and the other one is the standby backend server.
DeleteMasterSlaveServerGroup Deletes an active/standby server group.
DescribeMasterSlaveServerGroupAttribute Queries the details of an active/standby server group.
DescribeMasterSlaveServerGroups Queries created active/standby server groups.

Server certificates

API Description
UploadServerCertificate Uploads a server certificate.
DeleteServerCertificate Deletes a server certificate.
DescribeServerCertificates Queries the server certificates of a region.
SetServerCertificateName Sets the name of a server certificate.
UploadCACertificate Uploads a CA certificate.
DeleteCACertificate Deletes a CA certificate.
DescribeCACertificates Queries the list of CA certificates.
SetCACertificateName Sets the name of a CA Certificate.

Domain name extensions (Beta)

API Description
CreateDomainExtension Creates a domain name extension.
SetDomainExtensionAttribute Modifies the certificate of a domain name extension.
DescribeDomainExtensions Queries added domain name extensions.
DeleteDomainExtension Deletes a domain name extension.

Query resources

API Description
DescribeAvailableResource Queries the resources available for purchase in a region.

Tags

API Description
RemoveTags Remove tags that are associated with an SLB instance.
AddTags Adds tags to an SLB instance.
DescribeTags Queries details of specified tags.

Forwarding rules

API Description
CreateRules Adds forwarding rules for an HTTP or HTTPS listener.
DeleteRules Deletes forwarding rules.
SetRule Changes the destination VServer group of a forwarding rule.
DescribeRuleAttribute Queries the settings of a forwarding rule.
DescribeRules Queries the forwarding rules that have been configured for a listener.

Access control

API Description
CreateAccessControlList Creates an access control list.
DeleteAccessControlList Deletes an access control list.
DescribeAccessControlLists Queries created access control lists.
DescribeAccessControlListAttribute Queries the settings of an access control list.
SetAccessControlListAttribute Modifies the name of an access control list.
AddAccessControlListEntry Adds IP entries to an access control list.
RemoveAccessControlListEntry Deletes IP entries from an access control list.

Access control (earlier version)

API Description
RemoveListenerWhiteListItem Deletes IP addresses from a listener whitelist.
AddListenerWhiteListItem Adds IP addresses to a listener whitelist.
DescribeListenerAccessControlAttribute Queries the whitelist settings of a listener.
SetListenerAccessControlStatus Enables or disables the access control whitelist function for a listener.