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
This client is used to call actions of **Cube** service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreateCubeDeployment - 创建容器实例DeploymentcreateCubePod(CreateCubePodRequest request) CreateCubePod - 创建容器实例DeleteCubeDeployment - 删除容器实例DeploymentdeleteCubePod(DeleteCubePodRequest request) DeleteCubePod - 删除容器实例GetCubeDeployment - 获取容器实例Deployment详细信息getCubeExecToken(GetCubeExecTokenRequest request) GetCubeExecToken - 获取容器实例执行tokenGetCubeExtendInfo - 获取容器实例附加信息getCubeMetrics(GetCubeMetricsRequest request) GetCubeMetrics - 获取容器实例指标getCubeToken(GetCubeTokenRequest request) GetCubeToken - 获取容器实例TokenlistCubePod(ListCubePodRequest request) ListCubePod - 获取容器实例详细列表renewCubePod(RenewCubePodRequest request) RenewCubePod - 更新容器实例Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
CubeClient
-
-
Method Details
-
createCubeDeployment
public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) throws UCloudException CreateCubeDeployment - 创建容器实例Deployment- Specified by:
createCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createCubePod
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
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
GetCubeMetrics - 获取容器实例指标- Specified by:
getCubeMetricsin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeToken
GetCubeToken - 获取容器实例Token- Specified by:
getCubeTokenin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listCubePod
ListCubePod - 获取容器实例详细列表- Specified by:
listCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
renewCubePod
RenewCubePod - 更新容器实例- Specified by:
renewCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-