CmdID / az / az fileshare
az fileshare create
Create a file share. Azure CLI extensions reference
17 options Its page in the Azure CLI extensions reference
Options
--allowed-subnetsThe allowed set of subnets when access is restricted.--encryption-in-transit-required, --encryption-in-transitEncryption in transit defines whether data is encrypted for NFS shares.--encryptionEncryption settings for the file share.--media-tierThe storage media tier of the file share.--mi-system-assigned, --system-assignedSet the system managed identity.--mi-user-assigned, --user-assignedSet the user managed identities.--mount-nameThe name of the file share as seen by the end user when mounting the share, such as in a URI or UNC format in their operating system.--protocolThe file sharing protocol for this file share.--provisioned-io-per-sec, --provisioned-iopsThe provisioned IO / sec of the share.--provisioned-storage-gi-b, --provisioned-storage-gib, --storage-gibThe provisioned storage size of the share in GiB (1 GiB is 1024^3 bytes or 1073741824 bytes).--provisioned-throughput-mi-b-per-sec, --provisioned-throughput-mib, --throughput-mibpsThe provisioned throughput / sec of the share.--public-network-accessGets or sets allow or disallow public network access to azure managed file share--redundancyThe chosen redundancy level of the file share.--resource-name, --name, -nThe resource name of the file share, as seen by the administrator through Azure Resource Manager.--root-squashRoot squash defines how root users on clients are mapped to the NFS share.--scale-modeThe scale mode selected when the file share is created.--tagsResource tags.