Share via


az vmware datastore disk-pool-volume

Note

This reference is part of the vmware extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az vmware datastore disk-pool-volume command. Learn more about extensions.

Manage disk pool volume resource.

Commands

Name Description Type Status
az vmware datastore disk-pool-volume create

Create a VMFS datastore in a private cloud cluster using Microsoft.StoragePool provided iSCSI target.

Extension GA

az vmware datastore disk-pool-volume create

Create a VMFS datastore in a private cloud cluster using Microsoft.StoragePool provided iSCSI target.

az vmware datastore disk-pool-volume create --cluster --cluster-name
                                            --datastore-name --name
                                            --lun-name
                                            --private-cloud
                                            --resource-group
                                            --target-id
                                            [--mount-option {ATTACH, MOUNT}]

Required Parameters

--cluster --cluster-name

Name of the cluster in the private cloud.

--datastore-name --name -n

Name of the datastore in the private cloud cluster.

--lun-name

Name of the LUN to be used for datastore.

Property Value
Parameter group: DiskPoolVolume Arguments
--private-cloud -c

Name of the private cloud.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--target-id

Azure resource ID of the iSCSI target.

Property Value
Parameter group: DiskPoolVolume Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--mount-option

Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.

Property Value
Parameter group: DiskPoolVolume Arguments
Default value: MOUNT
Accepted values: ATTACH, MOUNT
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False