Skip to content

Commit f35cb57

Browse files
Sedolsjovannikolov-msft
authored andcommitted
Changing Identity definition reference to common type (Azure#16197)
This also adds the necessary user assigned identity definitions
1 parent 06c649c commit f35cb57

File tree

1 file changed

+2
-30
lines changed
  • specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/preview/2020-03-01-preview

1 file changed

+2
-30
lines changed

specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/preview/2020-03-01-preview/deviceupdate.json

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@
10191019
}
10201020
},
10211021
"identity": {
1022-
"$ref": "#/definitions/Identity",
1022+
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
10231023
"description": "The type of identity used for the resource."
10241024
}
10251025
}
@@ -1146,34 +1146,6 @@
11461146
}
11471147
}
11481148
},
1149-
"Identity": {
1150-
"description": "Identity for the resource.",
1151-
"type": "object",
1152-
"properties": {
1153-
"principalId": {
1154-
"readOnly": true,
1155-
"type": "string",
1156-
"description": "The principal ID of resource identity."
1157-
},
1158-
"tenantId": {
1159-
"readOnly": true,
1160-
"type": "string",
1161-
"description": "The tenant ID of resource."
1162-
},
1163-
"type": {
1164-
"enum": [
1165-
"SystemAssigned",
1166-
"None"
1167-
],
1168-
"x-ms-enum": {
1169-
"name": "ResourceIdentityType",
1170-
"modelAsString": false
1171-
},
1172-
"type": "string",
1173-
"description": "The identity type."
1174-
}
1175-
}
1176-
},
11771149
"IotHubSettings": {
11781150
"type": "object",
11791151
"description": "Device Update account integration with IoT Hub settings.",
@@ -1204,7 +1176,7 @@
12041176
"type": "object",
12051177
"properties": {
12061178
"identity": {
1207-
"$ref": "#/definitions/Identity",
1179+
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity",
12081180
"description": "The type of identity used for the resource."
12091181
},
12101182
"location": {

0 commit comments

Comments
 (0)