Skip to content

Commit 2632b70

Browse files
authored
Merge pull request #120514 from abatishchev/patch-1
Bumped all API versions to latest stable
2 parents 8ab4944 + 059d9bb commit 2632b70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/service-fabric/how-to-managed-identity-managed-cluster-virtual-machine-scale-sets.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ A user-assigned managed identity can be defined in the resources section of an A
4343
{
4444
"type": "Microsoft.ManagedIdentity/userAssignedIdentities",
4545
"name": "[parameters('userAssignedIdentityName')]",
46-
"apiVersion": "2018-11-30",
46+
"apiVersion": "2023-01-31",
4747
"location": "[resourceGroup().location]"
4848
}
4949
```
@@ -90,14 +90,14 @@ This role assignment can be defined in the resources section template using the
9090
```json
9191
{
9292
"type": "Microsoft.Authorization/roleAssignments",
93-
"apiVersion": "2020-04-01-preview",
93+
"apiVersion": "2022-04-01",
9494
"name": "[parameters('vmIdentityRoleNameGuid')]",
9595
"scope": "[concat('Microsoft.ManagedIdentity/userAssignedIdentities', '/', parameters('userAssignedIdentityName'))]",
9696
"dependsOn": [
9797
"[concat('Microsoft.ManagedIdentity/userAssignedIdentities/', parameters('userAssignedIdentityName'))]"
9898
],
9999
"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')]",
101101
"principalId": "<Service Fabric Resource Provider ID>"
102102
}
103103
}
@@ -126,8 +126,8 @@ Finally, add the `vmManagedIdentity` and `userAssignedIdentities` properties to
126126

127127
```json
128128
{
129-
"type": "Microsoft.ServiceFabric/managedclusters/nodetypes",
130-
"apiVersion": "2021-05-01",
129+
"type": "Microsoft.ServiceFabric/managedClusters/nodeTypes",
130+
"apiVersion": "2022-01-01",
131131
"properties": {
132132
"isPrimary": true,
133133
"vmInstanceCount": 5,

0 commit comments

Comments
 (0)