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
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
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 - 创建Cube的Deployment- Specified by:
createCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createCubePod
public CreateCubePodResponse createCubePod(CreateCubePodRequest request) throws UCloudException
CreateCubePod - 创建Pod- Specified by:
createCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteCubeDeployment
public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) throws UCloudException
DeleteCubeDeployment - 删除Cube的Deployment- Specified by:
deleteCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteCubePod
public DeleteCubePodResponse deleteCubePod(DeleteCubePodRequest request) throws UCloudException
DeleteCubePod - 删除Pod- 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 - 获取Cube的额外信息- Specified by:
getCubeExtendInfoin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeMetrics
public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) throws UCloudException
GetCubeMetrics - 获取Cube实例监控数据- Specified by:
getCubeMetricsin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubePod
public GetCubePodResponse getCubePod(GetCubePodRequest request) throws UCloudException
GetCubePod - 获取Pod的详细信息- Specified by:
getCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubePrice
public GetCubePriceResponse getCubePrice(GetCubePriceRequest request) throws UCloudException
GetCubePrice - 获取cube的价格- Specified by:
getCubePricein interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCubeToken
public GetCubeTokenResponse getCubeToken(GetCubeTokenRequest request) throws UCloudException
GetCubeToken - 获取Cube的token- Specified by:
getCubeTokenin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listCubeDeployment
public ListCubeDeploymentResponse listCubeDeployment(ListCubeDeploymentRequest request) throws UCloudException
ListCubeDeployment - 获取Cube的Deployment列表- Specified by:
listCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listCubePod
public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException
ListCubePod - 获取Pods列表- Specified by:
listCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyCubeExtendInfo
public ModifyCubeExtendInfoResponse modifyCubeExtendInfo(ModifyCubeExtendInfoRequest request) throws UCloudException
ModifyCubeExtendInfo - 修改Cube额外信息- Specified by:
modifyCubeExtendInfoin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyCubeTag
public ModifyCubeTagResponse modifyCubeTag(ModifyCubeTagRequest request) throws UCloudException
ModifyCubeTag - 修改业务组- Specified by:
modifyCubeTagin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
rebootCubePod
public RebootCubePodResponse rebootCubePod(RebootCubePodRequest request) throws UCloudException
RebootCubePod - 重启Cube Pod- Specified by:
rebootCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
renewCubePod
public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException
RenewCubePod - 更新Pod- Specified by:
renewCubePodin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateCubeDeployment
public UpdateCubeDeploymentResponse updateCubeDeployment(UpdateCubeDeploymentRequest request) throws UCloudException
UpdateCubeDeployment - 更新Deployment- Specified by:
updateCubeDeploymentin interfaceCubeClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-