For your follow up question - Can you also let me know what parameter to be chosen en in creating storage account command to choose replication type such as ZRS, LRS or GRS. I do not find these in the documentation.
When creating a General-purpose v1 (GPv1) storage account using PowerShell, you can specify the replication type using the -SkuName parameter. Here are the options you can use:
- Locally Redundant Storage (LRS): Standard_LRS
- Geo-Redundant Storage (GRS): Standard_GRS
- Read-Access Geo-Redundant Storage (RA-GRS): Standard_RAGRS
Unfortunately, GPv1 storage accounts do not support Zone-Redundant Storage (ZRS). If you need ZRS, you will need to use a General-purpose v2 (GPv2) storage account.
Here is an example of how you can create a GPv1 storage account with GRS replication:
New-AzStorageAccount -ResourceGroupName "YourResourceGroupName" -Name "YourStorageAccountName" -Location "YourLocation" -SkuName "Standard_GRS" -Kind "Storage"