类 BesClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.bes.BesClient
-
public class BesClient extends AbstractBceClient
Provides the client for accessing the Baidu Elasticsearch service
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 BesClient()BesClient(BceClientConfiguration clientConfiguration)BesClient(BceClientConfiguration clientConfiguration, String region)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BesCreateAutoRenewRuleResponsecreateAutoRenewRule(BesCreateAutoRenewRuleRequest request)Create auto renew rule by the authenticated user.BesCreateClusterResponsecreateCluster(BesCreateClusterRequest request)Create a cluster Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.BesDeleteAutoRenewRuleResponsedeleteAutoRenewRule(BesDeleteAutoRenewRuleRequest request)Delete auto renew rule owned by the authenticated user.BesDeleteClusterResponsedeleteCluster(BesDeleteClusterRequest besDeleteClusterRequest)Delete cluster owned by the authenticated user.BesGetAutoRenewRuleListResponsegetAutoRenewRuleList()Get BES auto renew list owned by the authenticated user.BesGetClusterDetailResponsegetClusterDetail(BesGetClusterDetailRequest besGetClusterDetailRequest)Get cluster detail owned by the authenticated user.BesGetClusterListResponsegetClusterList(BesGetClusterListRequest besGetClusterListRequest)List BES clusters owned by the authenticated user.BesGetRenewListResponsegetRenewList(BesGetRenewListRequest request)Get BES renew list owned by the authenticated user.BesRenewClusterResponserenewCluster(BesRenewClusterRequest request)Renew cluster owned by the authenticated user.BesCreateClusterResponseresizeCluster(BesResizeClusterRequest request)Resize cluster detail owned by the authenticated user.BesStartClusterResponsestartCluster(BesStartClusterRequest besStartClusterRequest)Start cluster owned by the authenticated user.BesStartInstanceResponsestartClusterInstance(BesStartInstanceRequest request)Start cluster instance owned by the authenticated user.BesStopClusterResponsestopCluster(BesStopClusterRequest besStopClusterRequest)Stop cluster owned by the authenticated user.BesStopInstanceResponsestopClusterInstance(BesStopInstanceRequest request)Stop cluster instance owned by the authenticated user.BesUpdateAutoRenewRuleResponseupdateAutoRenewRule(BesUpdateAutoRenewRuleRequest request)Update auto renew rule owned by the authenticated user.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
BesClient
public BesClient()
-
BesClient
public BesClient(BceClientConfiguration clientConfiguration)
- 参数:
clientConfiguration- The BCE client configuration options.
-
BesClient
public BesClient(BceClientConfiguration clientConfiguration, String region)
- 参数:
clientConfiguration- The BCE client configuration options.region- client configuration options Defaults to bj
-
-
方法详细资料
-
stopCluster
public BesStopClusterResponse stopCluster(BesStopClusterRequest besStopClusterRequest)
Stop cluster owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
besStopClusterRequest-- 返回:
- Returns a request response code or error message
-
startCluster
public BesStartClusterResponse startCluster(BesStartClusterRequest besStartClusterRequest)
Start cluster owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
besStartClusterRequest-- 返回:
- Returns a request response code or error message
-
deleteCluster
public BesDeleteClusterResponse deleteCluster(BesDeleteClusterRequest besDeleteClusterRequest)
Delete cluster owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
besDeleteClusterRequest-- 返回:
- Returns a request response code or error message
-
getClusterList
public BesGetClusterListResponse getClusterList(BesGetClusterListRequest besGetClusterListRequest)
List BES clusters owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
besGetClusterListRequest-- 返回:
- The response containing a list of the BES clusters owned by the authenticated sender of the request.
-
getClusterDetail
public BesGetClusterDetailResponse getClusterDetail(BesGetClusterDetailRequest besGetClusterDetailRequest)
Get cluster detail owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
besGetClusterDetailRequest-- 返回:
- Get cluster information or error code
-
createCluster
public BesCreateClusterResponse createCluster(BesCreateClusterRequest request)
Create a cluster Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Create the order ID for the cluster
-
resizeCluster
public BesCreateClusterResponse resizeCluster(BesResizeClusterRequest request)
Resize cluster detail owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Create the order ID for the cluster
-
startClusterInstance
public BesStartInstanceResponse startClusterInstance(BesStartInstanceRequest request)
Start cluster instance owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
stopClusterInstance
public BesStopInstanceResponse stopClusterInstance(BesStopInstanceRequest request)
Stop cluster instance owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
getRenewList
public BesGetRenewListResponse getRenewList(BesGetRenewListRequest request)
Get BES renew list owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
renewCluster
public BesRenewClusterResponse renewCluster(BesRenewClusterRequest request)
Renew cluster owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
getAutoRenewRuleList
public BesGetAutoRenewRuleListResponse getAutoRenewRuleList()
Get BES auto renew list owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 返回:
- Returns a request response code or error message
-
createAutoRenewRule
public BesCreateAutoRenewRuleResponse createAutoRenewRule(BesCreateAutoRenewRuleRequest request)
Create auto renew rule by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
updateAutoRenewRule
public BesUpdateAutoRenewRuleResponse updateAutoRenewRule(BesUpdateAutoRenewRuleRequest request)
Update auto renew rule owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
deleteAutoRenewRule
public BesDeleteAutoRenewRuleResponse deleteAutoRenewRule(BesDeleteAutoRenewRuleRequest request)
Delete auto renew rule owned by the authenticated user. Users must authenticate with a valid BCE Access Key ID, and the response contains all the BES clusters owned by the user.- 参数:
request-- 返回:
- Returns a request response code or error message
-
-