Skip to content

Instantly share code, notes, and snippets.

@arsenvlad
Created May 15, 2018 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arsenvlad/e1da3f78aec0cbfc16c33c814c651428 to your computer and use it in GitHub Desktop.
Save arsenvlad/e1da3f78aec0cbfc16c33c814c651428 to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"azureStorageAccountResourceGroup": {
"type": "string",
"metadata": {
"description": "Resource group of Azure Storage account to synchronize with."
}
},
"azureStorageAccountName": {
"type": "string",
"metadata": {
"description": "The name of the storage account to synchronise with."
}
}
},
"variables": {
"azureStorageAccountID": "[resourceId(parameters('azureStorageAccountResourceGroup'), 'Microsoft.Storage/storageAccounts', parameters('azureStorageAccountName'))]"
},
"resources": [
],
"outputs": {
"storageAccountUri": {
"type": "string",
"value": "[reference(variables('azureStorageAccountID'), '2018-02-01').primaryEndpoints.blob]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment