@@ -43,7 +43,7 @@ A user-assigned managed identity can be defined in the resources section of an A
43
43
{
44
44
"type" : " Microsoft.ManagedIdentity/userAssignedIdentities" ,
45
45
"name" : " [parameters('userAssignedIdentityName')]" ,
46
- "apiVersion" : " 2018-11-30 " ,
46
+ "apiVersion" : " 2023-01-31 " ,
47
47
"location" : " [resourceGroup().location]"
48
48
}
49
49
```
@@ -90,14 +90,14 @@ This role assignment can be defined in the resources section template using the
90
90
``` json
91
91
{
92
92
"type" : " Microsoft.Authorization/roleAssignments" ,
93
- "apiVersion" : " 2020 -04-01-preview " ,
93
+ "apiVersion" : " 2022 -04-01" ,
94
94
"name" : " [parameters('vmIdentityRoleNameGuid')]" ,
95
95
"scope" : " [concat('Microsoft.ManagedIdentity/userAssignedIdentities', '/', parameters('userAssignedIdentityName'))]" ,
96
96
"dependsOn" : [
97
97
" [concat('Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('userAssignedIdentityName'))]"
98
98
],
99
99
"properties" : {
100
- "roleDefinitionId" : " [concat('/subscriptions/', subscription().subscriptionId, '/providers/ Microsoft.Authorization/roleDefinitions/ ', 'f1a07417-d97a-45cb-824c-7a7467783830')]" ,
100
+ "roleDefinitionId" : " [resourceId(' Microsoft.Authorization/roleDefinitions', 'f1a07417-d97a-45cb-824c-7a7467783830')]" ,
101
101
"principalId" : " <Service Fabric Resource Provider ID>"
102
102
}
103
103
}
@@ -126,8 +126,8 @@ Finally, add the `vmManagedIdentity` and `userAssignedIdentities` properties to
126
126
127
127
``` json
128
128
{
129
- "type" : " Microsoft.ServiceFabric/managedclusters/nodetypes " ,
130
- "apiVersion" : " 2021-05 -01" ,
129
+ "type" : " Microsoft.ServiceFabric/managedClusters/nodeTypes " ,
130
+ "apiVersion" : " 2022-01 -01" ,
131
131
"properties" : {
132
132
"isPrimary" : true ,
133
133
"vmInstanceCount" : 5 ,
0 commit comments