API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (Slb/2014-05-15) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Resources
|
API |
Title |
Description |
| DescribeAvailableResource | DescribeAvailableResource | Queries the available resources and resources that are available for purchase in the zones of a region. |
Regions and zones
|
API |
Title |
Description |
| DescribeRegions | DescribeRegions | Queries available regions. |
| DescribeZones | DescribeZones | Queries the zones in a region. |
Instances
|
API |
Title |
Description |
| CreateLoadBalancer | Create a Classic Load Balancer instance | Creates an SLB instance. |
| DeleteLoadBalancer | DeleteLoadBalancer | Deletes a pay-as-you-go Server Load Balancer (SLB) instance. |
| ModifyLoadBalancerInstanceSpec | Modify the specification of an SLB instance | Modifies the specification of a Server Load Balancer (SLB) instance. |
| ModifyLoadBalancerInternetSpec | ModifyLoadBalancerInternetSpec | Modifies the metering method of an Internet-facing Classic Load Balancer (CLB) instance. |
| ModifyLoadBalancerPayType | ModifyLoadBalancerPayType | Changes the billing method of a Classic Load Balancer (CLB) instance from pay-as-you-go to subscription. |
| SetLoadBalancerDeleteProtection | SetLoadBalancerDeleteProtection | Enables or disables deletion protection for an SLB instance. |
| SetLoadBalancerModificationProtection | Set the configuration read-only mode status of an instance | Sets the configuration read-only mode for a Server Load Balancer instance. |
| SetLoadBalancerName | SetLoadBalancerName | Changes the name of a Classic Load Balancer (CLB) instance. |
| SetLoadBalancerStatus | SetLoadBalancerStatus | Modifies the state of a Classic Load Balancer (CLB) instance. |
| ModifyLoadBalancerInstanceChargeType | ModifyLoadBalancerInstanceChargeType | Changes the metering method of a pay-as-you-go Classic Load Balancer (CLB) instance. |
| DescribeLoadBalancerAttribute | DescribeLoadBalancerAttribute | Queries the detail of a Classic Load Balancer (CLB) instance. |
| DescribeLoadBalancers | DescribeLoadBalancers | You can query created SLB instances. |
Listeners
|
API |
Title |
Description |
| DeleteLoadBalancerListener | DeleteLoadBalancerListener | Deletes a listener. |
| StartLoadBalancerListener | StartLoadBalancerListener | Enables a listener. |
| StopLoadBalancerListener | StopLoadBalancerListener | Stops a listener. |
| DescribeLoadBalancerListeners | Query SLB listeners | Queries the details of SLB listeners. |
TCP listeners
|
API |
Title |
Description |
| CreateLoadBalancerTCPListener | Create a TCP listener | Creates a TCP listener. |
| SetLoadBalancerTCPListenerAttribute | Modify the configuration of a TCP listener | Modifies the configuration of a TCP listener. |
| DescribeLoadBalancerTCPListenerAttribute | Query TCP listener configuration | Queries the configuration of a TCP listener. |
UDP listeners
|
API |
Title |
Description |
| CreateLoadBalancerUDPListener | Create a UDP listener | Creates a UDP listener. |
| SetLoadBalancerUDPListenerAttribute | Modify the configuration of a UDP listener | Modifies the configuration of a UDP listener. |
| DescribeLoadBalancerUDPListenerAttribute | Query UDP listener configuration | Queries the configuration of a UDP listener. |
HTTP listeners
|
API |
Title |
Description |
| CreateLoadBalancerHTTPListener | Create an HTTP listener | Creates an HTTP listener. |
| SetLoadBalancerHTTPListenerAttribute | Modify the configurations of an HTTP listener | Modifies the configurations of an HTTP listener. |
| DescribeLoadBalancerHTTPListenerAttribute | Query HTTP listener configuration | Queries the configuration of an HTTP listener. |
HTTPS listeners
|
API |
Title |
Description |
| CreateLoadBalancerHTTPSListener | Create an HTTPS listener | Creates an HTTPS listener. |
| SetLoadBalancerHTTPSListenerAttribute | Modify the configurations of an HTTPS listener | Modifies the configurations of an HTTPS listener. |
| DescribeLoadBalancerHTTPSListenerAttribute | Query HTTPS listener configuration | Queries the configuration of an HTTPS listener. |
Forwarding rules
|
API |
Title |
Description |
| CreateRules | Add forwarding rules to an HTTP or HTTPS listener | Adds forwarding rules to a specified HTTP or HTTPS listener. |
| SetRule | Modify the forwarding rule of a vServer group | Modifies the forwarding rule of a specified vServer group. |
| DeleteRules | DeleteRules | Deletes forwarding rules. |
| DescribeRuleAttribute | DescribeRuleAttribute | Queries the configurations of a specified forwarding rule. |
| DescribeRules | DescribeRules | Queries the forwarding rules that are configured for a specified listener. |
Default server groups
|
API |
Title |
Description |
| AddBackendServers | Add backend servers | Adds backend servers. |
| DescribeHealthStatus | DescribeHealthStatus | Queries the health status of backend servers. |
| RemoveBackendServers | RemoveBackendServers | Removes backend servers. |
| SetBackendServers | Set backend server weight | Sets the backend server weight. |
vServer groups
|
API |
Title |
Description |
| CreateVServerGroup | CreateVServerGroup | Creates a vServer group and adds backend servers to the vServer group. |
| DeleteVServerGroup | DeleteVServerGroup | Deletes a VServer group. |
| SetVServerGroupAttribute | SetVServerGroupAttribute | Modifies the configurations of a vServer group. |
| DescribeVServerGroups | DescribeVServerGroups | Queries vServer groups. |
| DescribeVServerGroupAttribute | DescribeVServerGroupAttribute | Queries the detailed information about a vServer group. |
| AddVServerGroupBackendServers | AddVServerGroupBackendServers | Adds backend servers to a vServer group. |
| ModifyVServerGroupBackendServers | ModifyVServerGroupBackendServers | Replaces backend servers in a vServer group. |
| RemoveVServerGroupBackendServers | RemoveVServerGroupBackendServers | Removes backend servers from a vServer group. |
Primary/secondary server groups
|
API |
Title |
Description |
| CreateMasterSlaveServerGroup | Create a primary/secondary server group | Creates a primary/secondary server group. A primary/secondary server group can contain only two backend servers: one primary server and one secondary server. |
| DeleteMasterSlaveServerGroup | DeleteMasterSlaveServerGroup | Deletes a primary/secondary server group. |
| DescribeMasterSlaveServerGroupAttribute | DescribeMasterSlaveServerGroupAttribute | Queries the detailed information about a primary/secondary server group. |
| DescribeMasterSlaveServerGroups | DescribeMasterSlaveServerGroups | Queries primary/secondary server groups. |
Certificates
|
API |
Title |
Description |
| DeleteCACertificate | DeleteCACertificate | Deletes a certificate authority (CA) certificate. |
| DeleteServerCertificate | DeleteServerCertificate | Deletes a server certificate. |
| SetCACertificateName | SetCACertificateName | Specifies a name for a CA certificate. |
| SetServerCertificateName | SetServerCertificateName | Sets a name for a server certificate. |
| DescribeCACertificates | Query CA certificates | Queries a list of CA certificates. |
| DescribeServerCertificates | Query server certificates in a specified region | Queries the list of server certificates in a specified region. |
| UploadCACertificate | Upload a CA certificate | Uploads a CA certificate. |
| UploadServerCertificate | Upload a server certificate | Uploads a server certificate. |
Additional domain names
|
API |
Title |
Description |
| CreateDomainExtension | Create an additional domain name | Creates an additional domain name. |
| SetDomainExtensionAttribute | Modify the certificate of an additional domain name | Modifies the certificate of an additional domain name. |
| DeleteDomainExtension | DeleteDomainExtension | Deletes an additional domain name. |
| DescribeDomainExtensionAttribute | Query the attributes of an added additional domain name | Queries the attributes of an added additional domain name. |
| DescribeDomainExtensions | Query added additional domain names | Queries the additional domain names that have been added. |
Security policies
|
API |
Title |
Description |
| CreateTLSCipherPolicy | Create a TLS security policy | Creates a TLS security policy. |
| DeleteTLSCipherPolicy | Delete a TLS policy | Deletes a TLS policy. |
| SetTLSCipherPolicyAttribute | Configure a TLS security policy | Configures a TLS security policy. |
| ListTLSCipherPolicies | Query TLS policies | Queries TLS policies. |
Access control
|
API |
Title |
Description |
| CreateAccessControlList | CreateAccessControlList | Creates an access control list (ACL). |
| AddAccessControlListEntry | Add IP entries to an access control policy group | Adds IP entries to an access control policy group. |
| DeleteAccessControlList | DeleteAccessControlList | Deletes an access control list (ACL). |
| SetAccessControlListAttribute | SetAccessControlListAttribute | Renames an access control list (ACL). |
| DescribeAccessControlListAttribute | Query the configuration of an access control policy group | Queries the configuration of an access control policy group. |
| DescribeAccessControlLists | Query created access control policy groups | Queries created access control policy groups. |
| RemoveAccessControlListEntry | RemoveAccessControlListEntry | Removes IP entries from the network access control list (ACL) of a Classic Load Balancer (CLB) instance. |
Access control (legacy)
|
API |
Title |
Description |
| SetListenerAccessControlStatus | SetListenerAccessControlStatus | Enables or disables the whitelist of a listener. |
| RemoveListenerWhiteListItem | RemoveListenerWhiteListItem | Removes IP addresses or CIDR blocks from the whitelist of a listener. |
| AddListenerWhiteListItem | AddListenerWhiteListItem | Adds IP addresses to the whitelist of a listener. |
| DescribeListenerAccessControlAttribute | DescribeListenerAccessControlAttribute | Queries the whitelist configurations of a listener. |
Tags
|
API |
Title |
Description |
| AddTags | AddTags | Adds tags to an SLB instance. |
| DescribeTags | DescribeTags | Queries tags. |
| ListTagResources | ListTagResources | Queries the tags that are added to resources. |
| TagResources | TagResources | Creates tags and adds the tags to resources. |
| UntagResources | UntagResources | Removes tags from a resource. |
| RemoveTags | RemoveTags | Removes tags from a Server Load Balancer (SLB) instance. |
Access logs
|
API |
Title |
Description |
| DeleteAccessLogsDownloadAttribute | DeleteAccessLogsDownloadAttribute | Deletes the access log of a Classic Load Balancer (CLB) instance. |
| SetAccessLogsDownloadAttribute | SetAccessLogsDownloadAttribute | Adds an access log forwarding rule to a Classic Load Balancer (CLB) instance. |
| DescribeAccessLogsDownloadAttribute | DescribeAccessLogsDownloadAttribute | Queries the access log of a Classic Load Balancer (CLB) instance. |
Second-level monitoring
|
API |
Title |
Description |
| EnableHighDefinationMonitor | Enable second-level monitoring for an instance | Enables the second-level monitoring feature in the current region. |
| ModifyHighDefinationMonitor | Modify second-level monitoring configuration | Modifies the configuration of high-precision second-level monitoring. |
| DescribeHighDefinationMonitor | Query instance service monitoring data | Queries the second-level monitoring configuration of a specified region. |
Resource groups
|
API |
Title |
Description |
| MoveResourceGroup | MoveResourceGroup | Moves a resource to another resource group. |