public class ClbClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
ClbClient(Credential credential,
String region) |
ClbClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
AutoRewriteResponse |
AutoRewrite(AutoRewriteRequest req)
An HTTPS:443 listener needs to be created first, along with a forwarding rule.
|
BatchDeregisterTargetsResponse |
BatchDeregisterTargets(BatchDeregisterTargetsRequest req)
This API is used to unbind layer-4/layer-7 real servers in batches.
|
BatchModifyTargetWeightResponse |
BatchModifyTargetWeight(BatchModifyTargetWeightRequest req)
This API (BatchModifyTargetWeight) is used to batch modify the forwarding weights of real servers bound to a listener.
|
BatchRegisterTargetsResponse |
BatchRegisterTargets(BatchRegisterTargetsRequest req)
This API is used to bind CVM instances or ENIs in batches.
|
CreateListenerResponse |
CreateListener(CreateListenerRequest req)
This API is used to create a listener for a CLB instance.
|
CreateLoadBalancerResponse |
CreateLoadBalancer(CreateLoadBalancerRequest req)
This API (CreateLoadBalancer) is used to create a CLB instance.
|
CreateRuleResponse |
CreateRule(CreateRuleRequest req)
This API (CreateRule) is used to create a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.
|
DeleteListenerResponse |
DeleteListener(DeleteListenerRequest req)
This API is used to delete a listener from a CLB instance (layer-4 or layer-7).
|
DeleteLoadBalancerResponse |
DeleteLoadBalancer(DeleteLoadBalancerRequest req)
This API (DeleteLoadBalancer) is used to delete one or more specified CLB instances.
|
DeleteRewriteResponse |
DeleteRewrite(DeleteRewriteRequest req)
This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.
|
DeleteRuleResponse |
DeleteRule(DeleteRuleRequest req)
This API (DeleteRule) is used to delete a forwarding rule under a layer-7 CLB instance listener
This is an async API.
|
DeregisterTargetsResponse |
DeregisterTargets(DeregisterTargetsRequest req)
This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule.
|
DeregisterTargetsFromClassicalLBResponse |
DeregisterTargetsFromClassicalLB(DeregisterTargetsFromClassicalLBRequest req)
This API (DeregisterTargetsFromClassicalLB) is used to unbind real servers from a classic load balancer.
|
DescribeClassicalLBByInstanceIdResponse |
DescribeClassicalLBByInstanceId(DescribeClassicalLBByInstanceIdRequest req)
This API (DescribeClassicalLBByInstanceId) is used to get the list of classic CLB IDs through the real server instance ID.
|
DescribeClassicalLBHealthStatusResponse |
DescribeClassicalLBHealthStatus(DescribeClassicalLBHealthStatusRequest req)
This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB
|
DescribeClassicalLBListenersResponse |
DescribeClassicalLBListeners(DescribeClassicalLBListenersRequest req)
This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.
|
DescribeClassicalLBTargetsResponse |
DescribeClassicalLBTargets(DescribeClassicalLBTargetsRequest req)
This API (DescribeClassicalLBTargets) is used to get the real servers bound to a classic CLB.
|
DescribeListenersResponse |
DescribeListeners(DescribeListenersRequest req)
This API (DescribeListeners) is used to get the list of listeners by CLB IDs, listener protocol, or port.
|
DescribeLoadBalancersResponse |
DescribeLoadBalancers(DescribeLoadBalancersRequest req)
This API is used to query the list of CLB instances.
|
DescribeRewriteResponse |
DescribeRewrite(DescribeRewriteRequest req)
This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID.
|
DescribeTargetHealthResponse |
DescribeTargetHealth(DescribeTargetHealthRequest req)
This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.
|
DescribeTargetsResponse |
DescribeTargets(DescribeTargetsRequest req)
This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.
|
DescribeTaskStatusResponse |
DescribeTaskStatus(DescribeTaskStatusRequest req)
This API is used to query the execution status of an async task.
|
ManualRewriteResponse |
ManualRewrite(ManualRewriteRequest req)
After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path.
|
ModifyDomainResponse |
ModifyDomain(ModifyDomainRequest req)
This API (ModifyDomain) is used to modify a domain name under a layer-7 CLB listener.
|
ModifyDomainAttributesResponse |
ModifyDomainAttributes(ModifyDomainAttributesRequest req)
This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.
|
ModifyListenerResponse |
ModifyListener(ModifyListenerRequest req)
This API (ModifyListener) is used to modify the attributes of a CLB listener, such as listener name, health check parameter, certificate information, and forwarding policy.
|
ModifyLoadBalancerAttributesResponse |
ModifyLoadBalancerAttributes(ModifyLoadBalancerAttributesRequest req)
This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.
|
ModifyRuleResponse |
ModifyRule(ModifyRuleRequest req)
This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.
|
ModifyTargetPortResponse |
ModifyTargetPort(ModifyTargetPortRequest req)
This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.
|
ModifyTargetWeightResponse |
ModifyTargetWeight(ModifyTargetWeightRequest req)
This API (ModifyTargetWeight) is used to modify the forwarding weight of a real server bound to a CLB instance.
|
RegisterTargetsResponse |
RegisterTargets(RegisterTargetsRequest req)
This API (RegisterTargets) is used to bind one or more real servers to a CLB listener or layer-7 forwarding rule.
|
RegisterTargetsWithClassicalLBResponse |
RegisterTargetsWithClassicalLB(RegisterTargetsWithClassicalLBRequest req)
This API (RegisterTargetsWithClassicalLB) is used to bind real servers to a classic CLB.
|
ReplaceCertForLoadBalancersResponse |
ReplaceCertForLoadBalancers(ReplaceCertForLoadBalancersRequest req)
This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance.
|
SetLoadBalancerSecurityGroupsResponse |
SetLoadBalancerSecurityGroups(SetLoadBalancerSecurityGroupsRequest req)
This API (SetLoadBalancerSecurityGroups) is used to bind/unbind security groups for a public network CLB instance.
|
SetSecurityGroupForLoadbalancersResponse |
SetSecurityGroupForLoadbalancers(SetSecurityGroupForLoadbalancersRequest req)
This API is used to bind or unbind a security group for multiple public network CLB instances.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic ClbClient(Credential credential, String region)
public ClbClient(Credential credential, String region, ClientProfile profile)
public AutoRewriteResponse AutoRewrite(AutoRewriteRequest req) throws TencentCloudSDKException
req - AutoRewriteRequestTencentCloudSDKExceptionpublic BatchDeregisterTargetsResponse BatchDeregisterTargets(BatchDeregisterTargetsRequest req) throws TencentCloudSDKException
req - BatchDeregisterTargetsRequestTencentCloudSDKExceptionpublic BatchModifyTargetWeightResponse BatchModifyTargetWeight(BatchModifyTargetWeightRequest req) throws TencentCloudSDKException
req - BatchModifyTargetWeightRequestTencentCloudSDKExceptionpublic BatchRegisterTargetsResponse BatchRegisterTargets(BatchRegisterTargetsRequest req) throws TencentCloudSDKException
req - BatchRegisterTargetsRequestTencentCloudSDKExceptionpublic CreateListenerResponse CreateListener(CreateListenerRequest req) throws TencentCloudSDKException
req - CreateListenerRequestTencentCloudSDKExceptionpublic CreateLoadBalancerResponse CreateLoadBalancer(CreateLoadBalancerRequest req) throws TencentCloudSDKException
req - CreateLoadBalancerRequestTencentCloudSDKExceptionpublic CreateRuleResponse CreateRule(CreateRuleRequest req) throws TencentCloudSDKException
req - CreateRuleRequestTencentCloudSDKExceptionpublic DeleteListenerResponse DeleteListener(DeleteListenerRequest req) throws TencentCloudSDKException
req - DeleteListenerRequestTencentCloudSDKExceptionpublic DeleteLoadBalancerResponse DeleteLoadBalancer(DeleteLoadBalancerRequest req) throws TencentCloudSDKException
req - DeleteLoadBalancerRequestTencentCloudSDKExceptionpublic DeleteRewriteResponse DeleteRewrite(DeleteRewriteRequest req) throws TencentCloudSDKException
req - DeleteRewriteRequestTencentCloudSDKExceptionpublic DeleteRuleResponse DeleteRule(DeleteRuleRequest req) throws TencentCloudSDKException
req - DeleteRuleRequestTencentCloudSDKExceptionpublic DeregisterTargetsResponse DeregisterTargets(DeregisterTargetsRequest req) throws TencentCloudSDKException
req - DeregisterTargetsRequestTencentCloudSDKExceptionpublic DeregisterTargetsFromClassicalLBResponse DeregisterTargetsFromClassicalLB(DeregisterTargetsFromClassicalLBRequest req) throws TencentCloudSDKException
req - DeregisterTargetsFromClassicalLBRequestTencentCloudSDKExceptionpublic DescribeClassicalLBByInstanceIdResponse DescribeClassicalLBByInstanceId(DescribeClassicalLBByInstanceIdRequest req) throws TencentCloudSDKException
req - DescribeClassicalLBByInstanceIdRequestTencentCloudSDKExceptionpublic DescribeClassicalLBHealthStatusResponse DescribeClassicalLBHealthStatus(DescribeClassicalLBHealthStatusRequest req) throws TencentCloudSDKException
req - DescribeClassicalLBHealthStatusRequestTencentCloudSDKExceptionpublic DescribeClassicalLBListenersResponse DescribeClassicalLBListeners(DescribeClassicalLBListenersRequest req) throws TencentCloudSDKException
req - DescribeClassicalLBListenersRequestTencentCloudSDKExceptionpublic DescribeClassicalLBTargetsResponse DescribeClassicalLBTargets(DescribeClassicalLBTargetsRequest req) throws TencentCloudSDKException
req - DescribeClassicalLBTargetsRequestTencentCloudSDKExceptionpublic DescribeListenersResponse DescribeListeners(DescribeListenersRequest req) throws TencentCloudSDKException
req - DescribeListenersRequestTencentCloudSDKExceptionpublic DescribeLoadBalancersResponse DescribeLoadBalancers(DescribeLoadBalancersRequest req) throws TencentCloudSDKException
req - DescribeLoadBalancersRequestTencentCloudSDKExceptionpublic DescribeRewriteResponse DescribeRewrite(DescribeRewriteRequest req) throws TencentCloudSDKException
req - DescribeRewriteRequestTencentCloudSDKExceptionpublic DescribeTargetHealthResponse DescribeTargetHealth(DescribeTargetHealthRequest req) throws TencentCloudSDKException
req - DescribeTargetHealthRequestTencentCloudSDKExceptionpublic DescribeTargetsResponse DescribeTargets(DescribeTargetsRequest req) throws TencentCloudSDKException
req - DescribeTargetsRequestTencentCloudSDKExceptionpublic DescribeTaskStatusResponse DescribeTaskStatus(DescribeTaskStatusRequest req) throws TencentCloudSDKException
req - DescribeTaskStatusRequestTencentCloudSDKExceptionpublic ManualRewriteResponse ManualRewrite(ManualRewriteRequest req) throws TencentCloudSDKException
req - ManualRewriteRequestTencentCloudSDKExceptionpublic ModifyDomainResponse ModifyDomain(ModifyDomainRequest req) throws TencentCloudSDKException
req - ModifyDomainRequestTencentCloudSDKExceptionpublic ModifyDomainAttributesResponse ModifyDomainAttributes(ModifyDomainAttributesRequest req) throws TencentCloudSDKException
req - ModifyDomainAttributesRequestTencentCloudSDKExceptionpublic ModifyListenerResponse ModifyListener(ModifyListenerRequest req) throws TencentCloudSDKException
req - ModifyListenerRequestTencentCloudSDKExceptionpublic ModifyLoadBalancerAttributesResponse ModifyLoadBalancerAttributes(ModifyLoadBalancerAttributesRequest req) throws TencentCloudSDKException
req - ModifyLoadBalancerAttributesRequestTencentCloudSDKExceptionpublic ModifyRuleResponse ModifyRule(ModifyRuleRequest req) throws TencentCloudSDKException
req - ModifyRuleRequestTencentCloudSDKExceptionpublic ModifyTargetPortResponse ModifyTargetPort(ModifyTargetPortRequest req) throws TencentCloudSDKException
req - ModifyTargetPortRequestTencentCloudSDKExceptionpublic ModifyTargetWeightResponse ModifyTargetWeight(ModifyTargetWeightRequest req) throws TencentCloudSDKException
req - ModifyTargetWeightRequestTencentCloudSDKExceptionpublic RegisterTargetsResponse RegisterTargets(RegisterTargetsRequest req) throws TencentCloudSDKException
req - RegisterTargetsRequestTencentCloudSDKExceptionpublic RegisterTargetsWithClassicalLBResponse RegisterTargetsWithClassicalLB(RegisterTargetsWithClassicalLBRequest req) throws TencentCloudSDKException
req - RegisterTargetsWithClassicalLBRequestTencentCloudSDKExceptionpublic ReplaceCertForLoadBalancersResponse ReplaceCertForLoadBalancers(ReplaceCertForLoadBalancersRequest req) throws TencentCloudSDKException
req - ReplaceCertForLoadBalancersRequestTencentCloudSDKExceptionpublic SetLoadBalancerSecurityGroupsResponse SetLoadBalancerSecurityGroups(SetLoadBalancerSecurityGroupsRequest req) throws TencentCloudSDKException
req - SetLoadBalancerSecurityGroupsRequestTencentCloudSDKExceptionpublic SetSecurityGroupForLoadbalancersResponse SetSecurityGroupForLoadbalancers(SetSecurityGroupForLoadbalancersRequest req) throws TencentCloudSDKException
req - SetSecurityGroupForLoadbalancersRequestTencentCloudSDKExceptionCopyright © 2019. All rights reserved.