az containerapp connected-env storage
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.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
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 of the Container Apps connected environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 containerapp connected-env storage remove
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 of the Container Apps connected environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the storage.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
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 containerapp connected-env storage set
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 of the Container Apps connected environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the storage.
Optional Parameters
Access mode for the AzureFile storage.
Name of the AzureFile storage account.
Key of the AzureFile storage account.
Name of the share on the AzureFile storage.
Do not wait for the long-running operation to finish.
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 containerapp connected-env storage show
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 of the Container Apps connected environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the storage.
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.