create-cluster-template¶
- subtitle
Creates a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.
- version
0.9.125
Description¶
Creates a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.
Synopsis¶
create-cluster-template
--cluster-template-name <value>
--cluster-template-content <value>
[--description <value>]
[--tags <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--cluster-template-name
(string)
The name of the cluster template. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
--cluster-template-content
(string)
The cluster template content.
--description
(string)
The description of the cluster template. The description can have a maximum of 1000 characters.
--tags
(array)
Tags to be added to the cluster template.
Shorthand Syntax:
key=string,value=string ... (separate items with spaces)
JSON Syntax:
[
{
"key": "string",
"value": "string"
}
...
]
--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¶
clusterTemplate -> (object)
Information about a cluster template.
clusterTemplateName -> (string)
The name of the cluster template.
crn -> (string)
The CRN of the cluster template.
description -> (string)
The description of the cluster template.
instanceGroupCount -> (integer)
The instance group count of the cluster.
status -> (string)
The status of the cluster template.
tags -> (array)
Tags added to the cluster template.
item -> (object)
Tag for a datahub resource.
key -> (string)
The key of tag.
value -> (string)
The value of the tag.
clusterTemplateContent -> (string)
The content of the cluster template.
Form Factors¶
public