az batchai file-server
This command group is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Commands to manage file servers.
Commands
Name | Description | Type | Status |
---|---|---|---|
az batchai file-server create |
Create a file server. |
Core | Deprecated |
az batchai file-server list |
List file servers. |
Core | Deprecated |
az batchai file-server create
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Create a file server.
az batchai file-server create --name
--resource-group
--workspace
[--caching-type {none, readonly, readwrite}]
[--config-file]
[--disk-count]
[--disk-size]
[--generate-ssh-keys]
[--no-wait]
[--password]
[--ssh-key]
[--storage-sku {Premium_LRS, Standard_LRS}]
[--subnet]
[--user-name]
[--vm-size]
Examples
Create a NFS file server using a configuration file.
az batchai file-server create -g MyResourceGroup -w MyWorkspace -n MyNFS -f nfs.json
Create a NFS manually providing parameters.
az batchai file-server create -g MyResourceGroup -w MyWorkspace -n MyNFS \
-s Standard_D14 --disk-count 4 --disk-size 512 \
--storage-sku Premium_LRS --caching-type readonly \
-u $USER -k ~/.ssh/id_rsa.pub
Required Parameters
Name of file server.
Name of resource group. You can configure a default value by setting up default workspace using az batchai workspace set-default
.
Name or ARM ID of the workspace. You can configure default workspace using az batchai workspace set-default
.
Optional Parameters
Caching type for premium disks. If not provided via command line or in configuration file, no caching will be used.
A path to a json file containing file server create parameters (json representation of azure.mgmt.batchai.models.FileServerCreateParameters). Note, parameters given via command line will overwrite parameters specified in the configuration file.
Number of disks.
Disk size in Gb.
Generate SSH public and private key files in ~/.ssh directory (if missing).
Do not wait for the long-running operation to finish.
Optional password for the admin user created on the NFS node.
Optional SSH public key value or path. If ommited and no password specified, default SSH key (~/.ssh/id_rsa.pub) will be used.
The sku of storage account to persist VM.
ARM ID of a virtual network subnet to put the file server in. If not provided via command line or in the configuration file, Batch AI will create a new virtual network and subnet under your subscription.
Name of admin user account to be created on NFS node. If the value is not provided and no user configuration is provided in the config file, current user's name will be used.
VM size.
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 batchai file-server list
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
List file servers.
az batchai file-server list --resource-group
--workspace
Examples
List all file servers in the given workspace.
az batchai file-server list -g MyResourceGroup -w MyWorkspace -o table
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of workspace.
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.