get-vm-types¶
- subtitle
Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.
- version
0.9.128
Description¶
Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.
Synopsis¶
get-vm-types
--cluster-template <value>
--credential <value>
--region <value>
[--availability-zone <value>]
[--cluster-definition-name <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--cluster-template
(string)
The name of the given cluster template.
--credential
(string)
The name or CRN of the credential that is required to access the cloud provider.
--region
(string)
The region where we should look for the supported VM types.
--availability-zone
(string)
The selected availability zone.
--cluster-definition-name
(string)
The name of the cluster definition.
--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¶
vmTypes -> (array)
The supported VM types based on the given parameters.
item -> (string)
vmTypesWithMetadata -> (array)
The supported VM types based on the given parameters with metadata.
item -> (object)
Response object containing vm types and its metadata.
name -> (string)
Name of the vm type.
properties -> (string)
JSON string with metadata as key value pairs.
Form Factors¶
public