Share via


az csvmware vm-template

Note

This reference is part of the csvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az csvmware vm-template command. Learn more about extensions.

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage VMware virtual machine templates.

Commands

Name Description Type Status
az csvmware vm-template list

List details of VMware virtual machines templates in a private cloud.

Extension Preview
az csvmware vm-template show

Get the details of a VMware virtual machines template in a private cloud.

Extension Preview

az csvmware vm-template list

Preview

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List details of VMware virtual machines templates in a private cloud.

az csvmware vm-template list --location
                             --private-cloud
                             --resource-pool

Examples

List details of VM templates.

az csvmware vm-template list -p MyPrivateCloud -r MyResourcePool --location eastus

Required Parameters

--location -l

Region in which the private cloud is present.

--private-cloud -p

Name or ID of the CloudSimple private cloud.

--resource-pool -r

ID of the VMware resource pool in your CloudSimple Private Cloud. You can also pass the basename of the ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az csvmware vm-template show

Preview

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get the details of a VMware virtual machines template in a private cloud.

az csvmware vm-template show --location
                             --name
                             --private-cloud

Examples

Get the details of a VM template.

az csvmware vm-template show  -n MyVmTemplate -p MyPrivateCloud --location eastus

Required Parameters

--location -l

Region in which the private cloud is present.

--name -n

ID of the vSphere virtual machine template. You can also pass the basename of the ID.

--private-cloud -p

Name or ID of the CloudSimple private cloud.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.