Class NLBClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.nlb.client.NLBClient
- All Implemented Interfaces:
Client,NLBClientInterface,Closeable,AutoCloseable
This client is used to call actions of **NLB** service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNLBTargets(AddNLBTargetsRequest request) AddNLBTargets - 添加后端服务节点CreateNetworkLoadBalancer - 创建网络型负载均衡CreateNLBListener - 创建监听器DeleteNetworkLoadBalancer - 删除负载均衡实例DeleteNLBListener - 删除一个网络型负载均衡监听器DescribeNetworkLoadBalancers - 描述负载均衡实例DescribeNLBListeners - 描述监听器GetNetworkLoadBalancerPrice - 获取负载均衡价格removeNLBTargets(RemoveNLBTargetsRequest request) RemoveNLBTargets - 删除后端服务节点UpdateNetworkLoadBalancerAttribute - 更新负载均衡实例属性UpdateNLBListenerAttribute - 更新监听器属性UpdateNLBTargetsAttribute - 更新后端服务节点属性Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
NLBClient
-
-
Method Details
-
addNLBTargets
AddNLBTargets - 添加后端服务节点- Specified by:
addNLBTargetsin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNLBListener
public CreateNLBListenerResponse createNLBListener(CreateNLBListenerRequest request) throws UCloudException CreateNLBListener - 创建监听器- Specified by:
createNLBListenerin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNetworkLoadBalancer
public CreateNetworkLoadBalancerResponse createNetworkLoadBalancer(CreateNetworkLoadBalancerRequest request) throws UCloudException CreateNetworkLoadBalancer - 创建网络型负载均衡- Specified by:
createNetworkLoadBalancerin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNLBListener
public DeleteNLBListenerResponse deleteNLBListener(DeleteNLBListenerRequest request) throws UCloudException DeleteNLBListener - 删除一个网络型负载均衡监听器- Specified by:
deleteNLBListenerin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNetworkLoadBalancer
public DeleteNetworkLoadBalancerResponse deleteNetworkLoadBalancer(DeleteNetworkLoadBalancerRequest request) throws UCloudException DeleteNetworkLoadBalancer - 删除负载均衡实例- Specified by:
deleteNetworkLoadBalancerin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNLBListeners
public DescribeNLBListenersResponse describeNLBListeners(DescribeNLBListenersRequest request) throws UCloudException DescribeNLBListeners - 描述监听器- Specified by:
describeNLBListenersin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkLoadBalancers
public DescribeNetworkLoadBalancersResponse describeNetworkLoadBalancers(DescribeNetworkLoadBalancersRequest request) throws UCloudException DescribeNetworkLoadBalancers - 描述负载均衡实例- Specified by:
describeNetworkLoadBalancersin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getNetworkLoadBalancerPrice
public GetNetworkLoadBalancerPriceResponse getNetworkLoadBalancerPrice(GetNetworkLoadBalancerPriceRequest request) throws UCloudException GetNetworkLoadBalancerPrice - 获取负载均衡价格- Specified by:
getNetworkLoadBalancerPricein interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
removeNLBTargets
public RemoveNLBTargetsResponse removeNLBTargets(RemoveNLBTargetsRequest request) throws UCloudException RemoveNLBTargets - 删除后端服务节点- Specified by:
removeNLBTargetsin interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNLBListenerAttribute
public UpdateNLBListenerAttributeResponse updateNLBListenerAttribute(UpdateNLBListenerAttributeRequest request) throws UCloudException UpdateNLBListenerAttribute - 更新监听器属性- Specified by:
updateNLBListenerAttributein interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNLBTargetsAttribute
public UpdateNLBTargetsAttributeResponse updateNLBTargetsAttribute(UpdateNLBTargetsAttributeRequest request) throws UCloudException UpdateNLBTargetsAttribute - 更新后端服务节点属性- Specified by:
updateNLBTargetsAttributein interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNetworkLoadBalancerAttribute
public UpdateNetworkLoadBalancerAttributeResponse updateNetworkLoadBalancerAttribute(UpdateNetworkLoadBalancerAttributeRequest request) throws UCloudException UpdateNetworkLoadBalancerAttribute - 更新负载均衡实例属性- Specified by:
updateNetworkLoadBalancerAttributein interfaceNLBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-