CmdID

CmdID / az / az spring / az spring storage

az spring storage add

Create a new storage in the Azure Spring Apps. Azure CLI extensions reference

1 example 3 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a Storage resource with your own storage account.

az spring storage add --storage-type StorageAccount --account-name MyAccountName --account-key MyAccountKey -g MyResourceGroup -s MyService -n MyStorageNameIdentify
--storage-typeThe type of the torage.
--account-nameThe name of the storage account.
--account-keyThe account key of the storage account.
-gName of resource group.
-sThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.
-nThe name of Azure Spring Apps instance.

Options

3 in the Azure CLI extensions reference
--account-keyThe account key of the storage account.
--account-nameThe name of the storage account.
--storage-typeThe type of the torage.