Skip to content

Commit

Permalink
Add properties of Identity. (Azure#8647)
Browse files Browse the repository at this point in the history
* Add missed properties of Identity.

* Fix prettier check.

* Add read only according to comment.
  • Loading branch information
dandanwang0320 authored and 00Kai0 committed Oct 12, 2020
1 parent bf781bd commit aca5ad1
Showing 1 changed file with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1606,16 +1606,41 @@
"type": "string",
"description": "The identity type.",
"enum": [
"SystemAssigned"
"SystemAssigned",
"UserAssigned",
"SystemAssigned, UserAssigned",
"None"
],
"x-ms-enum": {
"name": "ResourceIdentityType",
"modelAsString": false
}
},
"userAssignedIdentities": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/userAssignedResourceIdentity"
},
"description": "The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
}
},
"description": "Identity for the resource."
},
"userAssignedResourceIdentity": {
"properties": {
"principalId": {
"readOnly": true,
"type": "string",
"description": "The principal id of user assigned identity."
},
"tenantId": {
"readOnly": true,
"type": "string",
"description": "The tenant id of user assigned identity."
}
},
"description": "Represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity"
},
"Resource": {
"properties": {
"id": {
Expand Down

0 comments on commit aca5ad1

Please sign in to comment.