Share via


az vmware datastore disk-pool-volume

Note

This reference is part of the vmware extension for the Azure CLI (version 2.54.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
                                            --datastore-name
                                            --lun-name
                                            --private-cloud
                                            --resource-group
                                            --target-id
                                            [--mount-option {ATTACH, MOUNT}]
                                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

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.

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

Optional Parameters

--mount-option

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

Accepted values: ATTACH, MOUNT
Default value: MOUNT
--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
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.