类 BesClient


  • public class BesClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Elasticsearch service
    • 构造器详细资料

      • 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