Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,10 @@
"type": "string"
},
"description": "Tags to help categorize the resource in the Azure portal."
},
"identity": {
"$ref": "#/definitions/Identity",
"description": "The identity of the resource."
}
},
"description": "Base type for all Azure resources.",
Expand Down Expand Up @@ -1000,6 +1004,35 @@
"description": "The URL to get the next set of operation list results, if any."
}
}
},
"Identity": {
"properties": {
"principalId": {
"readOnly": true,
"type": "string",
"description": "The principal ID of resource identity."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The principal ID of the resource identity.

},
"tenantId": {
"readOnly": true,
"type": "string",
"description": "The tenant ID of resource."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tenant ID of the resource.

},
"type": {
"type": "string",
"description": "The identity type.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there more detail we can add here so the generated documentation will be more self-explanatory?

"enum": [
"SystemAssigned"
],
"x-ms-enum": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed, let's see if we really need this

"name": "IdentityType",
"modelAsString": false
}
}
},
"required": [
"type"
],
"description": "Identity for the resource."
}
},
"parameters": {
Expand Down