Package cn.ucloud.uk8s.client
Class UK8SClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.uk8s.client.UK8SClient
-
- All Implemented Interfaces:
Client,UK8SClientInterface
public class UK8SClient extends DefaultClient implements UK8SClientInterface
This client is used to call actions of **UK8S** service
-
-
Constructor Summary
Constructors Constructor Description UK8SClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UK8SClient
public UK8SClient(Config config, Credential credential)
-
-
Method Detail
-
addUK8SExistingUHost
public AddUK8SExistingUHostResponse addUK8SExistingUHost(AddUK8SExistingUHostRequest request) throws UCloudException
AddUK8SExistingUHost - 添加Node节点(已有云主机)- Specified by:
addUK8SExistingUHostin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addUK8SNodeGroup
public AddUK8SNodeGroupResponse addUK8SNodeGroup(AddUK8SNodeGroupRequest request) throws UCloudException
AddUK8SNodeGroup - 添加UK8S节点池- Specified by:
addUK8SNodeGroupin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addUK8SPHostNode
public AddUK8SPHostNodeResponse addUK8SPHostNode(AddUK8SPHostNodeRequest request) throws UCloudException
AddUK8SPHostNode - 添加Node节点(物理云主机)- Specified by:
addUK8SPHostNodein interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addUK8SUHostNode
public AddUK8SUHostNodeResponse addUK8SUHostNode(AddUK8SUHostNodeRequest request) throws UCloudException
AddUK8SUHostNode - 添加Node节点(云主机)- Specified by:
addUK8SUHostNodein interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUK8SClusterV2
public CreateUK8SClusterV2Response createUK8SClusterV2(CreateUK8SClusterV2Request request) throws UCloudException
CreateUK8SClusterV2 - 创建UK8S集群V2版- Specified by:
createUK8SClusterV2in interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
delUK8SCluster
public DelUK8SClusterResponse delUK8SCluster(DelUK8SClusterRequest request) throws UCloudException
DelUK8SCluster - 删除UK8S集群- Specified by:
delUK8SClusterin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
delUK8SClusterNodeV2
public DelUK8SClusterNodeV2Response delUK8SClusterNodeV2(DelUK8SClusterNodeV2Request request) throws UCloudException
DelUK8SClusterNodeV2 - 删除Node节点- Specified by:
delUK8SClusterNodeV2in interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUK8SCluster
public DescribeUK8SClusterResponse describeUK8SCluster(DescribeUK8SClusterRequest request) throws UCloudException
DescribeUK8SCluster - 获取集群信息- Specified by:
describeUK8SClusterin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUK8SImage
public DescribeUK8SImageResponse describeUK8SImage(DescribeUK8SImageRequest request) throws UCloudException
DescribeUK8SImage - 获取可用镜像- Specified by:
describeUK8SImagein interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUK8SNode
public DescribeUK8SNodeResponse describeUK8SNode(DescribeUK8SNodeRequest request) throws UCloudException
DescribeUK8SNode - 获取 UK8S 节点详情- Specified by:
describeUK8SNodein interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUK8SClusterNodeV2
public ListUK8SClusterNodeV2Response listUK8SClusterNodeV2(ListUK8SClusterNodeV2Request request) throws UCloudException
ListUK8SClusterNodeV2 - 获取UK8S集群节点信息- Specified by:
listUK8SClusterNodeV2in interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUK8SClusterV2
public ListUK8SClusterV2Response listUK8SClusterV2(ListUK8SClusterV2Request request) throws UCloudException
ListUK8SClusterV2 - 获取UK8S集群信息- Specified by:
listUK8SClusterV2in interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listUK8SNodeGroup
public ListUK8SNodeGroupResponse listUK8SNodeGroup(ListUK8SNodeGroupRequest request) throws UCloudException
ListUK8SNodeGroup - 列出UK8S节点池- Specified by:
listUK8SNodeGroupin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
removeUK8SNodeGroup
public RemoveUK8SNodeGroupResponse removeUK8SNodeGroup(RemoveUK8SNodeGroupRequest request) throws UCloudException
RemoveUK8SNodeGroup - 删除UK8S节点池- Specified by:
removeUK8SNodeGroupin interfaceUK8SClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-