Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "condition": "[equals(parameters('useRbac'), 'true')]",
- "name": "[concat(variables('storageAccountNameConvention'),'/Microsoft.Authorization/',guid(parameters('principalId'),variables('storageAccountNameConvention')))]",
- "type": "Microsoft.Storage/storageAccounts/providers/roleAssignments",
- "apiVersion": "2017-05-01",
- "properties": {
- "roleDefinitionId": "[variables('owner')]",
- "principalId": "[parameters('principalId')]",
- "scope": "[concat('/subscriptions/',subscription().subscriptionId,'/resourceGroups/',resourceGroup().name,'/providers/Microsoft.Storage/storageAccounts/',variables('storageAccountNameConvention'))]"
- },
- "dependsOn": [
- "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountNameConvention'))]"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement