Package cn.ucloud.cube.client
Class CubeClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.cube.client.CubeClient
-
- All Implemented Interfaces:
Client,CubeClientInterface,Closeable,AutoCloseable
public class CubeClient extends DefaultClient implements CubeClientInterface
This client is used to call actions of **Cube** service
-
-
Constructor Summary
Constructors Constructor Description CubeClient(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
-
CubeClient
public CubeClient(Config config, Credential credential)
-
-
Method Detail
-
createCubeDeployment
public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) throws UCloudException
CreateCubeDeployment - 创建容器实例Deployment- Specified by:
createCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createCubePod
public CreateCubePodResponse createCubePod(CreateCubePodRequest request) throws UCloudException
CreateCubePod - 创建容器实例- Specified by:
createCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteCubeDeployment
public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) throws UCloudException
DeleteCubeDeployment - 删除容器实例Deployment- Specified by:
deleteCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteCubePod
public DeleteCubePodResponse deleteCubePod(DeleteCubePodRequest request) throws UCloudException
DeleteCubePod - 删除容器实例- Specified by:
deleteCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeDeployment
public GetCubeDeploymentResponse getCubeDeployment(GetCubeDeploymentRequest request) throws UCloudException
GetCubeDeployment - 获取容器实例Deployment详细信息- Specified by:
getCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeExecToken
public GetCubeExecTokenResponse getCubeExecToken(GetCubeExecTokenRequest request) throws UCloudException
GetCubeExecToken - 获取容器实例执行token- Specified by:
getCubeExecTokenin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeExtendInfo
public GetCubeExtendInfoResponse getCubeExtendInfo(GetCubeExtendInfoRequest request) throws UCloudException
GetCubeExtendInfo - 获取容器实例附加信息- Specified by:
getCubeExtendInfoin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeMetrics
public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) throws UCloudException
GetCubeMetrics - 获取容器实例指标- Specified by:
getCubeMetricsin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeToken
public GetCubeTokenResponse getCubeToken(GetCubeTokenRequest request) throws UCloudException
GetCubeToken - 获取容器实例Token- Specified by:
getCubeTokenin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listCubePod
public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException
ListCubePod - 获取容器实例详细列表- Specified by:
listCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
renewCubePod
public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException
RenewCubePod - 更新容器实例- Specified by:
renewCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-