list-resource-templates

subtitle

Get default resource allocation templates.

version

0.9.121

Description

This command provides a predefined set of available resource configuration in CDW. Users allowed to tailor these default CPU and Memory settings according their needs using the ‘update-resource’ command. Setting up these values correctly is crucial when creating a Hive / Impala and DataViz instances using the ‘create-vw’ / ‘create-data-visualisation’ commands. The ‘id’ of the response object has to be supplied in the ‘create-vw’ / ‘create-data-visualisation’ command ‘template’ field respectively, in order to specify the chosen resource allocation size. Please note, the ‘default’ fields in the response denotes default supplied value if the ‘template’ not specified in the create commands. These templates are versioned, so users are able to roll-back to a particular version. Existing resources not affected by roll-back. Learn more about each of the resource allocations with the ‘describe-resource’ command.

Synopsis

  list-resource-templates
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--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

templates -> (array)

Array of the resource templates.

item -> (object)

Resource template.

Form Factors: private

id -> (string)

Identifier of the template.

name -> (string)

Name of the template.

version -> (integer)

Version number.

entityType -> (string)

The type of the entity, which can be one of the following: Hive, Impala, Hue, DataViz.

description -> (string)

Short description.

isDefault -> (boolean)

Denotes whether it is the default template or not.

Form Factors

private