az netappfiles

Manage Azure NetApp Files (ANF) Resources.

Commands

az netappfiles account Manage Azure NetApp Files (ANF) Account Resources.
az netappfiles account ad Manage Azure NetApp Files (ANF) Account active directories.
az netappfiles account ad add Add an active directory to the account.
az netappfiles account ad list List the active directories of an account.
az netappfiles account ad remove Remove an active directory from the account.
az netappfiles account create Create a new Azure NetApp Files (ANF) account. Note that active directories are added using the subgroup commands.
az netappfiles account delete Delete the specified ANF account.
az netappfiles account list List ANF accounts.
az netappfiles account show Get the specified ANF account.
az netappfiles account update Set/modify the tags for a specified ANF account.
az netappfiles list-mount-targets List the mount targets of an Azure NetApp Files (ANF) volume.
az netappfiles pool Manage Azure NetApp Files (ANF) Pool Resources.
az netappfiles pool create Create a new Azure NetApp Files (ANF) pool.
az netappfiles pool delete Delete the specified ANF pool.
az netappfiles pool list L:ist the ANF pools for the specified account.
az netappfiles pool show Get the specified ANF pool.
az netappfiles pool update Update the tags of the specified ANF pool.
az netappfiles snapshot Manage Azure NetApp Files (ANF) Snapshot Resources.
az netappfiles snapshot create Create a new Azure NetApp Files (ANF) snapshot.
az netappfiles snapshot delete Delete the specified ANF snapshot.
az netappfiles snapshot list List the snapshots of an ANF volume.
az netappfiles snapshot show Get the specified ANF snapshot.
az netappfiles volume Manage Azure NetApp Files (ANF) Volume Resources.
az netappfiles volume create Create a new Azure NetApp Files (ANF) volume. Export policies are applied with the subgroup commands but note that volumes are always created with a default export policy.
az netappfiles volume delete Delete the specified ANF volume.
az netappfiles volume export-policy Manage Azure NetApp Files (ANF) Volume export policies.
az netappfiles volume export-policy add Add a new rule to the export policy for a volume.
az netappfiles volume export-policy list List the export policy rules for a volume.
az netappfiles volume export-policy remove Remove a rule from the export policy for a volume by rule index. The current rules can be obtained by performing the subgroup list command.
az netappfiles volume list List the ANF Pools for the specified account.
az netappfiles volume show Get the specified ANF volume.
az netappfiles volume update Update the specified ANF volume with the values provided. Unspecified values will remain unchanged. Export policies are amended/created with the subgroup commands.

az netappfiles list-mount-targets

List the mount targets of an Azure NetApp Files (ANF) volume.

az netappfiles list-mount-targets [--account-name]
[--ids]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]

Examples

list the mount targets of an ANF volume

az netappfiles list-mount-targets -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname

Optional Parameters

--account-name -a

The name of the ANF account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. If provided, no other 'Resource Id' arguments should be specified.

--pool-name -p

The name of the ANF pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--volume-name -v

The name of the ANF pool.