Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.IoTCentral to add versio…
Browse files Browse the repository at this point in the history
…n 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 <gaviswan@microsoft.com>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent 0124ce8 commit 0c50dd2
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"displayName": "My IoT Central App",
"subdomain": "my-iot-central-app",
"template": "iotc-pnp-preview@1.0.0"
},
"identity": {
"type": "SystemAssigned"
}
}
},
Expand All @@ -39,6 +42,11 @@
},
"sku": {
"name": "ST2"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
},
Expand All @@ -65,6 +73,11 @@
},
"sku": {
"name": "ST2"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
},
"sku": {
"name": "F1"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
},
"sku": {
"name": "F1"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
},
"sku": {
"name": "F1"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"AppPatch": {
"properties": {
"displayName": "My IoT Central App 2"
},
"identity": {
"type": "SystemAssigned"
}
}
},
Expand Down Expand Up @@ -34,6 +37,11 @@
},
"sku": {
"name": "ST2"
},
"identity": {
"type": "SystemAssigned",
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
"principalId": "8988ab15-3e7a-4586-8a1c-ed07a73a53e9"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,10 @@
"sku": {
"description": "A valid instance SKU.",
"$ref": "#/definitions/AppSkuInfo"
},
"identity": {
"description": "The managed identities for the IoT Central application.",
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/SystemAssignedServiceIdentity"
}
},
"allOf": [
Expand Down Expand Up @@ -597,6 +601,10 @@
"description": "The common properties of an IoT Central application.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AppProperties"
},
"identity": {
"description": "The managed identities for the IoT Central application.",
"$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/SystemAssignedServiceIdentity"
}
}
},
Expand Down

0 comments on commit 0c50dd2

Please sign in to comment.