az mesh volume

Manage volumes.

Commands

az mesh volume create

Create a volume.

az mesh volume delete

Delete a volume.

az mesh volume list

List volumes.

az mesh volume show

Get the details of a volume.

az mesh volume create

Create a volume.

az mesh volume create --location
                      --name
                      --resource-group
                      [--template-file]
                      [--template-uri]

Examples

Create a volume with a template file on a remote URL.

az mesh volume create --location westus --name myvolume --resource-group mygroup --template-uri https://mystorage.blob.core.windows.net/templates/volumeDescription.json

Create a volume with a template file on local disk.

az mesh volume create --location westus --name myvolume --resource-group mygroup --template-file ./volumeDescription.json

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

The name of the volume.

--resource-group -g

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

Optional Parameters

--template-file

The full file path of creation template.

--template-uri

The full file path of creation template on a http or https link.

az mesh volume delete

Delete a volume.

az mesh volume delete --name
                      --resource-group
                      [--yes]

Required Parameters

--name -n

The name of the volume.

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

az mesh volume list

List volumes.

az mesh volume list [--resource-group]

Optional Parameters

--resource-group -g

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

az mesh volume show

Get the details of a volume.

az mesh volume show --name
                    --resource-group

Required Parameters

--name -n

The name of the volume.

--resource-group -g

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