Share via


az hpc-cache blob-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 blob-storage-target command. Learn more about extensions.

Commands to create hpc cache blob storage target.

Commands

Name Description Type Status
az hpc-cache blob-storage-target add

Create or update a blob 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 blob-storage-target update

Create or update a blob 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 blob-storage-target add

Create or update a blob 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 blob-storage-target add --cache-name
                                     --container-name
                                     --name
                                     --resource-group
                                     --storage-account
                                     --virtual-namespace-path

Examples

StorageTargets_CreateOrUpdate

az hpc-cache blob-storage-target add --resource-group "scgroup" --cache-name "sc1" --name "st1" --storage-account "/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Storage/storageAccounts/{acount_name}" --container-name "cn" --virtual-namespace-path "/test"

Required Parameters

--cache-name

Name of Cache.

--container-name

Name of target storage container.

--name

Name of the Storage Target.

--resource-group -g

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

--storage-account

Resource ID or Name of target storage account.

--virtual-namespace-path -v

Path to create for this storage target in the client-facing virtual filesystem.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az hpc-cache blob-storage-target update

Create or update a blob 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 blob-storage-target update --cache-name
                                        --name
                                        --resource-group
                                        [--container-name]
                                        [--storage-account]
                                        [--virtual-namespace-path]

Required Parameters

--cache-name

Name of Cache.

--name

Name of the Storage Target.

--resource-group -g

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

Optional Parameters

--container-name

Name of target storage container.

--storage-account

Resource ID or Name of target storage account.

--virtual-namespace-path -v

Path to create for this storage target in the client-facing virtual filesystem.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.