Skip to content

Commit 0c50dd2

Browse files
gansvvGanesh Viswanathan
authored andcommitted
[Hub Generated] Review request for Microsoft.IoTCentral to add version stable/2021-06-01 (Azure#16139)
* [IoT-Central] Added identity request and response objects for IoT Central APIs to support Managed Identities * Updated model as string * Updated case for none * Updated ArmIdentity to ManagedIdentity * Added description and title for ManagedIdentity * Updated casing for mI type * Reset casing for MI type * Updated comments for principalId and tenantId * Use common-types for supported system-assigned managed identities Co-authored-by: Ganesh Viswanathan <[email protected]>
1 parent 0124ce8 commit 0c50dd2

File tree

6 files changed

+44
-0
lines changed

6 files changed

+44
-0
lines changed

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_CreateOrUpdate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"displayName": "My IoT Central App",
1414
"subdomain": "my-iot-central-app",
1515
"template": "[email protected]"
16+
},
17+
"identity": {
18+
"type": "SystemAssigned"
1619
}
1720
}
1821
},
@@ -39,6 +42,11 @@
3942
},
4043
"sku": {
4144
"name": "ST2"
45+
},
46+
"identity": {
47+
"type": "SystemAssigned",
48+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
49+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
4250
}
4351
}
4452
},
@@ -65,6 +73,11 @@
6573
},
6674
"sku": {
6775
"name": "ST2"
76+
},
77+
"identity": {
78+
"type": "SystemAssigned",
79+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
80+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
6881
}
6982
}
7083
},

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_Get.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
},
2929
"sku": {
3030
"name": "F1"
31+
},
32+
"identity": {
33+
"type": "SystemAssigned",
34+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
35+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
3136
}
3237
}
3338
},

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_ListByResourceGroup.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
},
2929
"sku": {
3030
"name": "F1"
31+
},
32+
"identity": {
33+
"type": "SystemAssigned",
34+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
35+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
3136
}
3237
}
3338
],

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_ListBySubscription.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
},
2828
"sku": {
2929
"name": "F1"
30+
},
31+
"identity": {
32+
"type": "SystemAssigned",
33+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
34+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
3035
}
3136
}
3237
],

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_Update.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"AppPatch": {
88
"properties": {
99
"displayName": "My IoT Central App 2"
10+
},
11+
"identity": {
12+
"type": "SystemAssigned"
1013
}
1114
}
1215
},
@@ -34,6 +37,11 @@
3437
},
3538
"sku": {
3639
"name": "ST2"
40+
},
41+
"identity": {
42+
"type": "SystemAssigned",
43+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
44+
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
3745
}
3846
}
3947
},

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-01/iotcentral.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,10 @@
567567
"sku": {
568568
"description": "A valid instance SKU.",
569569
"$ref": "#/definitions/AppSkuInfo"
570+
},
571+
"identity": {
572+
"description": "The managed identities for the IoT Central application.",
573+
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/SystemAssignedServiceIdentity"
570574
}
571575
},
572576
"allOf": [
@@ -597,6 +601,10 @@
597601
"description": "The common properties of an IoT Central application.",
598602
"x-ms-client-flatten": true,
599603
"$ref": "#/definitions/AppProperties"
604+
},
605+
"identity": {
606+
"description": "The managed identities for the IoT Central application.",
607+
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/SystemAssignedServiceIdentity"
600608
}
601609
}
602610
},

0 commit comments

Comments
 (0)