Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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
 [--acquire-policy-token]
 [--change-reference]

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.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

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
 [--acquire-policy-token]
 [--change-reference]
 [--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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.


Feedback

Was this page helpful?