Azure-Samples / Azure-Samples/KeyVault-Rotation-SQLPassword-Csharp
Is this JSON relevant?
- 主要語言
- C#
- 星號
- 11
- 分支
- 18
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
Does the [following JSON](https://github.com/Azure-Samples/KeyVault-Rotation-SQLPassword-Csharp/blob/main/ARM-Templates/Add-Event-Subscriptions/azuredeploy.json#L35-L45) matter in this sample:
```json
"type": "Microsoft.Sql/servers/providers/roleAssignments",
"apiVersion": "2018-09-01-preview",
"name": "[concat(parameters('sqlServerName'), '/Microsoft.Authorization/', guid(uniqueString(parameters('sqlServerName'))))]",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('functionAppName'))]"
],
"properties": {
"roleDefinitionId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', '6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437')]",
"principalId": "[reference(resourceId('Microsoft.Web/sites', parameters('functionAppName')),'2019-08-01', 'Full').identity.principalId]"
}
},
```
It doesn't seem like the role is needed anywhere.
貢獻指南
評估
這個 Issue 還沒有評估資料。