Package cn.ucloud.ulb.client
Class ULBClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.ulb.client.ULBClient
-
- All Implemented Interfaces:
Client,ULBClientInterface,Closeable,AutoCloseable
public class ULBClient extends DefaultClient implements ULBClientInterface
This client is used to call actions of **ULB** service
-
-
Constructor Summary
Constructors Constructor Description ULBClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
ULBClient
public ULBClient(Config config, Credential credential)
-
-
Method Detail
-
addTargets
public AddTargetsResponse addTargets(AddTargetsRequest request) throws UCloudException
AddTargets - 添加应用型负载均衡的后端服务节点- Specified by:
addTargetsin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
allocateBackend
public AllocateBackendResponse allocateBackend(AllocateBackendRequest request) throws UCloudException
AllocateBackend - 添加传统型负载均衡的后端实例- Specified by:
allocateBackendin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
bindSSL
public BindSSLResponse bindSSL(BindSSLRequest request) throws UCloudException
BindSSL - 传统型负载均衡绑定SSL证书- Specified by:
bindSSLin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createListener
public CreateListenerResponse createListener(CreateListenerRequest request) throws UCloudException
CreateListener - 创建应用型负载均衡监听器- Specified by:
createListenerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createLoadBalancer
public CreateLoadBalancerResponse createLoadBalancer(CreateLoadBalancerRequest request) throws UCloudException
CreateLoadBalancer - 创建应用型负载均衡实例- Specified by:
createLoadBalancerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createPolicy
public CreatePolicyResponse createPolicy(CreatePolicyRequest request) throws UCloudException
CreatePolicy - 传统型负载均衡创建内容转发策略- Specified by:
createPolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createSSL
public CreateSSLResponse createSSL(CreateSSLRequest request) throws UCloudException
CreateSSL - 创建SSL证书- Specified by:
createSSLin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createSecurityPolicy
public CreateSecurityPolicyResponse createSecurityPolicy(CreateSecurityPolicyRequest request) throws UCloudException
CreateSecurityPolicy - 创建安全策略- Specified by:
createSecurityPolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createULB
public CreateULBResponse createULB(CreateULBRequest request) throws UCloudException
CreateULB - 创建传统型负载均衡负载均衡- Specified by:
createULBin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createVServer
public CreateVServerResponse createVServer(CreateVServerRequest request) throws UCloudException
CreateVServer - 创建CLB的VServer- Specified by:
createVServerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteListener
public DeleteListenerResponse deleteListener(DeleteListenerRequest request) throws UCloudException
DeleteListener - 删除应用型负载均衡监听器- Specified by:
deleteListenerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteLoadBalancer
public DeleteLoadBalancerResponse deleteLoadBalancer(DeleteLoadBalancerRequest request) throws UCloudException
DeleteLoadBalancer - 删除应用型负载均衡实例- Specified by:
deleteLoadBalancerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deletePolicy
public DeletePolicyResponse deletePolicy(DeletePolicyRequest request) throws UCloudException
DeletePolicy - 删除传统型负载均衡的内容转发策略- Specified by:
deletePolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteRule
public DeleteRuleResponse deleteRule(DeleteRuleRequest request) throws UCloudException
DeleteRule - 删除应用型负载均衡的转发规则- Specified by:
deleteRulein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSSL
public DeleteSSLResponse deleteSSL(DeleteSSLRequest request) throws UCloudException
DeleteSSL - 删除SSL证书- Specified by:
deleteSSLin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSecurityPolicy
public DeleteSecurityPolicyResponse deleteSecurityPolicy(DeleteSecurityPolicyRequest request) throws UCloudException
DeleteSecurityPolicy - 删除安全策略- Specified by:
deleteSecurityPolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteULB
public DeleteULBResponse deleteULB(DeleteULBRequest request) throws UCloudException
DeleteULB - 删除传统型负载均衡- Specified by:
deleteULBin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteVServer
public DeleteVServerResponse deleteVServer(DeleteVServerRequest request) throws UCloudException
DeleteVServer - 删除CLB的VServer- Specified by:
deleteVServerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSSL
public DescribeSSLResponse describeSSL(DescribeSSLRequest request) throws UCloudException
DescribeSSL - 获取SSL证书信息- Specified by:
describeSSLin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSSLV2
public DescribeSSLV2Response describeSSLV2(DescribeSSLV2Request request) throws UCloudException
DescribeSSLV2 - 获取SSL证书信息- Specified by:
describeSSLV2in interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSecurityPolicies
public DescribeSecurityPoliciesResponse describeSecurityPolicies(DescribeSecurityPoliciesRequest request) throws UCloudException
DescribeSecurityPolicies - 获取安全策略的信息- Specified by:
describeSecurityPoliciesin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSecurityPoliciesV2
public DescribeSecurityPoliciesV2Response describeSecurityPoliciesV2(DescribeSecurityPoliciesV2Request request) throws UCloudException
DescribeSecurityPoliciesV2 - 获取安全策略的信息- Specified by:
describeSecurityPoliciesV2in interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSupportCiphers
public DescribeSupportCiphersResponse describeSupportCiphers(DescribeSupportCiphersRequest request) throws UCloudException
DescribeSupportCiphers - 描述支持的加密套件- Specified by:
describeSupportCiphersin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeULB
public DescribeULBResponse describeULB(DescribeULBRequest request) throws UCloudException
DescribeULB - 获取传统型负载均衡信息- Specified by:
describeULBin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeULBSimple
public DescribeULBSimpleResponse describeULBSimple(DescribeULBSimpleRequest request) throws UCloudException
DescribeULBSimple - 获取传统型负载均衡信息- Specified by:
describeULBSimplein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVServer
public DescribeVServerResponse describeVServer(DescribeVServerRequest request) throws UCloudException
DescribeVServer - 获取CLB下的VServer信息- Specified by:
describeVServerin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
releaseBackend
public ReleaseBackendResponse releaseBackend(ReleaseBackendRequest request) throws UCloudException
ReleaseBackend - 释放传统型负载均衡的后端实例- Specified by:
releaseBackendin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
removeTargets
public RemoveTargetsResponse removeTargets(RemoveTargetsRequest request) throws UCloudException
RemoveTargets - 删除应用型负载均衡的后端服务节点- Specified by:
removeTargetsin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unBindSecurityPolicy
public UnBindSecurityPolicyResponse unBindSecurityPolicy(UnBindSecurityPolicyRequest request) throws UCloudException
UnBindSecurityPolicy - 解绑安全策略- Specified by:
unBindSecurityPolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unbindSSL
public UnbindSSLResponse unbindSSL(UnbindSSLRequest request) throws UCloudException
UnbindSSL - 传统型负载均衡解绑SSL证书- Specified by:
unbindSSLin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateBackendAttribute
public UpdateBackendAttributeResponse updateBackendAttribute(UpdateBackendAttributeRequest request) throws UCloudException
UpdateBackendAttribute - 更新传统型负载均衡的后端实例属性- Specified by:
updateBackendAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateBackendBatch
public UpdateBackendBatchResponse updateBackendBatch(UpdateBackendBatchRequest request) throws UCloudException
UpdateBackendBatch - 批量更新后端实例属性- Specified by:
updateBackendBatchin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateListenerAttribute
public UpdateListenerAttributeResponse updateListenerAttribute(UpdateListenerAttributeRequest request) throws UCloudException
UpdateListenerAttribute - 更新应用型负载均衡监听器属性- Specified by:
updateListenerAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateLoadBalancerAttribute
public UpdateLoadBalancerAttributeResponse updateLoadBalancerAttribute(UpdateLoadBalancerAttributeRequest request) throws UCloudException
UpdateLoadBalancerAttribute - 更新应用型负载均衡实例属性- Specified by:
updateLoadBalancerAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updatePolicy
public UpdatePolicyResponse updatePolicy(UpdatePolicyRequest request) throws UCloudException
UpdatePolicy - 更新传统型负载均衡内容转发规则- Specified by:
updatePolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateRuleAttribute
public UpdateRuleAttributeResponse updateRuleAttribute(UpdateRuleAttributeRequest request) throws UCloudException
UpdateRuleAttribute - 更新应用型负载均衡的转发规则属性- Specified by:
updateRuleAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateSSLAttribute
public UpdateSSLAttributeResponse updateSSLAttribute(UpdateSSLAttributeRequest request) throws UCloudException
UpdateSSLAttribute - 更新SSL属性- Specified by:
updateSSLAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateSSLBinding
public UpdateSSLBindingResponse updateSSLBinding(UpdateSSLBindingRequest request) throws UCloudException
UpdateSSLBinding - 更换证书绑定关系- Specified by:
updateSSLBindingin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateSecurityPolicy
public UpdateSecurityPolicyResponse updateSecurityPolicy(UpdateSecurityPolicyRequest request) throws UCloudException
UpdateSecurityPolicy - 更新安全策略- Specified by:
updateSecurityPolicyin interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateTargetsAttribute
public UpdateTargetsAttributeResponse updateTargetsAttribute(UpdateTargetsAttributeRequest request) throws UCloudException
UpdateTargetsAttribute - 更新应用型负载均衡的后端服务节点属性- Specified by:
updateTargetsAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateULBAttribute
public UpdateULBAttributeResponse updateULBAttribute(UpdateULBAttributeRequest request) throws UCloudException
UpdateULBAttribute - 更新传统型负载均衡属性- Specified by:
updateULBAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateVServerAttribute
public UpdateVServerAttributeResponse updateVServerAttribute(UpdateVServerAttributeRequest request) throws UCloudException
UpdateVServerAttribute - 更新传统型负载均衡VServer属性- Specified by:
updateVServerAttributein interfaceULBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-