az hpc-cache nfs-storage-target
Note
This reference is part of the hpc-cache extension for the Azure CLI (version 2.3.0 or higher). The extension will automatically install the first time you run an az hpc-cache nfs-storage-target command. Learn more about extensions.
Commands to create hpc cache nfs storage target.
Commands
Name | Description | Type | Status |
---|---|---|---|
az hpc-cache nfs-storage-target add |
Create or update a nfs Storage Target. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache is healthy again. |
Extension | GA |
az hpc-cache nfs-storage-target update |
Create or update a nfs Storage Target. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache is healthy again. |
Extension | GA |
az hpc-cache nfs-storage-target add
Create or update a nfs Storage Target. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache is healthy again.
az hpc-cache nfs-storage-target add --cache-name
--junction
--name
--nfs3-target
--nfs3-usage-model
--resource-group
Examples
StorageTargets_CreateOrUpdate
az hpc-cache nfs-storage-target add --resource-group "scgroup" --cache-name "sc1" --name "st1" --nfs3-target 10.7.0.24 --nfs3-usage-model WRITE_AROUND --junction namespace-path="/nt2" nfs-export="/export/a" target-path="/1" --junction namespace-path="/nt3" nfs-export="/export/b"
Required Parameters
Name of Cache.
List of Cache namespace junctions to target for namespace associations.The sub parameters contains: (1) --namespace-path: Namespace path on a Cache for a Storage Target (2) --nfs-export: NFS export where targetPath exists (3) --target-path(Optional): Path in Storage Target to which namespacePath points.
Name of the Storage Target.
IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
Identify the primary usage model to be used for this Storage Target. You can use command az hpc-cache usage-model list
to see the names of usage models. For more details about usage models, please refer to https://docs.microsoft.com/azure/hpc-cache/hpc-cache-add-storage?tabs=azure-cli#choose-a-usage-model.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
az hpc-cache nfs-storage-target update
Create or update a nfs Storage Target. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache is healthy again.
az hpc-cache nfs-storage-target update --cache-name
--name
--resource-group
[--junction]
[--nfs3-target]
[--nfs3-usage-model]
Required Parameters
Name of Cache.
Name of the Storage Target.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List of Cache namespace junctions to target for namespace associations.The sub parameters contains: (1) --namespace-path: Namespace path on a Cache for a Storage Target (2) --nfs-export: NFS export where targetPath exists (3) --target-path(Optional): Path in Storage Target to which namespacePath points.
IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
Identify the primary usage model to be used for this Storage Target. You can use command az hpc-cache usage-model list
to see the names of usage models. For more details about usage models, please refer to https://docs.microsoft.com/azure/hpc-cache/hpc-cache-add-storage?tabs=azure-cli#choose-a-usage-model.
Global Parameters
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.