-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Azure Search: Add resource identity (MSI) support #3377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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.", | ||
|
|
@@ -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." | ||
| }, | ||
| "tenantId": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The tenant ID of resource." | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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": { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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": { | ||
|
|
||
There was a problem hiding this comment.
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.