az vmware datastore disk-pool-volume
Note
This reference is part of the vmware extension for the Azure CLI (version 2.11.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.
Create a VMFS datastore in a private cloud cluster using Microsoft.StoragePool provided iSCSI target.
Commands
| 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
Create a VMFS datastore in a private cloud cluster using Microsoft.StoragePool provided iSCSI target.
az vmware datastore disk-pool-volume create --cluster
--lun-name
--name
--private-cloud
--resource-group
--target-id
[--mount-option {ATTACH, MOUNT}]
[--path]
Examples
Create a new Microsoft.StoragePool provided disk pool based iSCSI datastore.
az vmware datastore disk-pool-volume create --name iSCSIDatastore1 --resource-group MyResourceGroup --cluster Cluster-1 --private-cloud MyPrivateCloud --target-id /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/mpio-diskpool/iscsiTargets/mpio-iscsi-target --lun-name lun0
Required Parameters
The name of the cluster.
Name of the LUN to be used.
The name of the datastore.
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.
Optional Parameters
Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.
Device path.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ