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
Examples
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
--account-keyThe account key of the storage account.--account-nameThe name of the storage account.--storage-typeThe type of the torage.