az containerapp connected-env storage

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.53.0 or higher). The extension will automatically install the first time you run an az containerapp connected-env storage command. Learn more about extensions.

Command group 'containerapp connected-env' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage storage for the Container Apps connected environment.

Commands

Name Description Type Status
az containerapp connected-env storage list

List the storages for a connected environment.

Extension Preview
az containerapp connected-env storage remove

Remove a storage from a connected environment.

Extension Preview
az containerapp connected-env storage set

Create or update a storage.

Extension Preview
az containerapp connected-env storage show

Show the details of a storage.

Extension Preview

az containerapp connected-env storage list

Preview

Command group 'containerapp connected-env storage' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the storages for a connected environment.

az containerapp connected-env storage list --name
                                           --resource-group

Examples

List the storages for a connected environment.

az containerapp connected-env storage list -g MyResourceGroup -n MyConnectedEnv

Required Parameters

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

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 containerapp connected-env storage remove

Preview

Command group 'containerapp connected-env storage' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Remove a storage from a connected environment.

az containerapp connected-env storage remove --name
                                             --resource-group
                                             --storage-name
                                             [--no-wait]
                                             [--yes]

Examples

Remove a storage from a Container Apps connected environment.

az containerapp connected-env storage remove -g MyResourceGroup --storage-name MyStorageName -n MyConnectedEnv

Required Parameters

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

--storage-name

Name of the storage.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

default value: False
--yes -y

Do not prompt for confirmation.

default value: False
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 containerapp connected-env storage set

Preview

Command group 'containerapp connected-env storage' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create or update a storage.

az containerapp connected-env storage set --name
                                          --resource-group
                                          --storage-name
                                          [--access-mode {ReadOnly, ReadWrite}]
                                          [--account-name]
                                          [--azure-file-account-key]
                                          [--azure-file-share-name]
                                          [--no-wait]

Examples

Create a storage.

az containerapp connected-env storage set -g MyResourceGroup -n MyEnv --storage-name MyStorageName --access-mode ReadOnly --azure-file-account-key MyAccountKey --azure-file-account-name MyAccountName --azure-file-share-name MyShareName

Required Parameters

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

--storage-name

Name of the storage.

Optional Parameters

--access-mode

Access mode for the AzureFile storage.

accepted values: ReadOnly, ReadWrite
--account-name --azure-file-account-name -a

Name of the AzureFile storage account.

--azure-file-account-key --storage-account-key -k

Key of the AzureFile storage account.

--azure-file-share-name --file-share -f

Name of the share on the AzureFile storage.

--no-wait

Do not wait for the long-running operation to finish.

default value: False
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 containerapp connected-env storage show

Preview

Command group 'containerapp connected-env storage' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show the details of a storage.

az containerapp connected-env storage show --name
                                           --resource-group
                                           --storage-name

Examples

Show the details of a storage.

az containerapp connected-env storage show -g MyResourceGroup --storage-name MyStorageName -n MyConnectedEnv

Required Parameters

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

--storage-name

Name of the storage.

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.