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
Name of the cluster in the private cloud.
Name of the datastore in the private cloud cluster.
Name of the LUN to be used for datastore.
| Property | Value |
|---|---|
| Parameter group: | DiskPoolVolume Arguments |
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
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
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |