az vmware datastore netapp-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 netapp-volume command. Learn more about extensions.

Create a new Microsoft.NetApp provided NetApp volume in a private cloud cluster.

Commands

az vmware datastore netapp-volume create

Create a new Microsoft.NetApp provided NetApp volume in a private cloud cluster.

az vmware datastore netapp-volume create

Create a new Microsoft.NetApp provided NetApp volume in a private cloud cluster.

az vmware datastore netapp-volume create --cluster
                                         --name
                                         --private-cloud
                                         --resource-group
                                         --volume-id

Examples

Create a new Microsoft.NetApp provided NetApp volume based NFSv3 datastore.

az vmware datastore netapp-volume create --name ANFDatastore1 --resource-group MyResourceGroup --cluster Cluster-1 --private-cloud MyPrivateCloud --volume-id /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1

Required Parameters

--cluster

The name of the cluster.

--name -n

The name of the 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>.

--volume-id

Azure resource ID of the NetApp volume.