I have an ARM template that is used to create resources in the location of a given Resource Group. Here is how I can deploy a SignalR service:
{
"apiVersion": "2018-10-01",
"name": "[variables('signalRName')]",
"type": "Microsoft.SignalRService/signalR",
"location": "[resourceGroup().location]",
"tags": {},
"sku": {
"name": "Free_F1",
"tier": "Free"
},
"properties": { }
}
Being in Canada, I have access to two locations: Canada East
and Canada Central
. However SignalR that is not available in Canada Central
yet but it is in Canada East
:
ew-AzResourceGroupDeployment: 11:40:32 AM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'canadacentral' is not available for resource type 'Microsoft.SignalRService/SignalR'. List of available regions for the resource type is 'eastus,westus,southeastasia,westeurope,westus2,eastus2,northeurope,australiaeast,canadaeast,centralus,japaneast,uksouth,southcentralus,brazilsouth,francecentral,koreacentral'.
Question
What can I do to deploy the resource unavailable in the primary location into some secondary / fallback location?