list-available-clusters¶
- subtitle
Lists available clusters
- version
0.9.147
Description¶
Provides a list of available clusters.
list-available-clusters
is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate
argument.
Synopsis¶
list-available-clusters
--environment <value>
[--type <value>]
[--application-version <value>]
[--max-items <value>]
[--starting-token <value>]
[--page-size <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--environment
(string)
The name or CRN of the environment to list clusters for.
--type
(string)
CDP Application Type. AIRFLOW - Airflow CSS - Cloudera Semantic Search NOTEBOOK - Standalone Notebook Service RAY - Standalone Ray Service HTTPBIN - HTTPBin Service
Possible values:
AIRFLOW
CSS
--application-version
(string)
The version of the application.
--max-items
(integer)
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
nextToken
will be provided in the output that you can use to resume pagination. ThisnextToken
response element should not be used directly outside of the CDP CLI. This option cannnot be combined with theno-paginate
CLI option. If no max-items value is specified, then a default value of 20 is used.
--starting-token
(string)
A token to specify where to start paginating. This is the
nextToken
from a previously truncated response.
--page-size
(integer)
The size of each page. Generally this does not need to be set and the default page size used is appropriate.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton
(boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json
.
Output¶
clusters -> (array)
A detailed list of available clusters in the environment.
item -> (object)
Cluster information for an application.
clusterCrn -> (string)
The CRN of the cluster.
name -> (string)
The name of the cluster.
environmentName -> (string)
The environment name.
cloudProvider -> (string)
The cloud provider of the cluster, e.g. “AWS”, “AZURE”, “GCP”.
statusMessage -> (object)
Cluster status message detail.
status -> (string)
The status. e.g. “RUNNING”, “CREATING”.
message -> (string)
The status message. Typically an error message.
platformMessageDetails -> (object)
Platform message details for a cluster status message.
errorMessage -> (string)
Error message from the cloud provider.
nextPageToken -> (string)
The token to use when requesting the next set of results. If not present, there are no additional results.
Form Factors¶
public