az spring-cloud storage
Note
This reference is part of the spring-cloud extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az spring-cloud storage command. Learn more about extensions.
This command group is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Commands to manage Storages in Azure Spring Cloud.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring-cloud storage add |
Create a new storage in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage list |
List all existing storages in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage list-persistent-storage |
List all the persistent storages related to an existing storage in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage remove |
Remove an existing storage in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage show |
Get an existing storage in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage update |
Update an existing storage in the Azure Spring Cloud. |
Extension | Deprecated |
az spring-cloud storage add
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
Create a new storage in the Azure Spring Cloud.
az spring-cloud storage add --account-key
--account-name
--name
--resource-group
--service
--storage-type
Examples
Create a Storage resource with your own storage account.
az spring-cloud storage add --storage-type StorageAccount --account-name MyAccountName --account-key MyAccountKey -g MyResourceGroup -s MyService -n MyStorageName
Required Parameters
The account key of the storage account.
The name of the storage account.
Name of storage.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
The type of the torage. e.g. StorageAccount.
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 spring-cloud storage list
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
List all existing storages in the Azure Spring Cloud.
az spring-cloud storage list --resource-group
--service
Examples
List all Storage resources.
az spring-cloud storage list -g MyResourceGroup -s MyService
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
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 spring-cloud storage list-persistent-storage
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
List all the persistent storages related to an existing storage in the Azure Spring Cloud.
az spring-cloud storage list-persistent-storage --name
--resource-group
--service
Examples
list all the persistent-storage related to an existing storage.
az spring-cloud storage list-persistent-storage -g MyResourceGroup -s MyService -n MyStorageName
Required Parameters
Name of storage.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
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 spring-cloud storage remove
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
Remove an existing storage in the Azure Spring Cloud.
az spring-cloud storage remove --name
--resource-group
--service
Examples
Remove a Storage resource.
az spring-cloud storage remove -g MyResourceGroup -s MyService -n MyStorageName
Required Parameters
Name of storage.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
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 spring-cloud storage show
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
Get an existing storage in the Azure Spring Cloud.
az spring-cloud storage show --name
--resource-group
--service
Examples
Get a Storage resource.
az spring-cloud storage show -g MyResourceGroup -s MyService -n MyStorageName
Required Parameters
Name of storage.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
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 spring-cloud storage update
This command is implicitly deprecated because command group 'spring-cloud storage' is deprecated and will be removed in a future release. Use 'spring storage' instead.
Update an existing storage in the Azure Spring Cloud.
az spring-cloud storage update --account-key
--account-name
--name
--resource-group
--service
--storage-type
Examples
Update a Storage resource with new name or new key.
az spring-cloud storage update --storage-type StorageAccount --account-name MyAccountName --account-key MyAccountKey -g MyResourceGroup -s MyService -n MyStorageName
Required Parameters
The account key of the storage account.
The name of the storage account.
Name of storage.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.
The type of the torage. e.g. StorageAccount.
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.