-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Angos/msi extensionresource #7528
Merged
allenjzhang
merged 25 commits into
Azure:master
from
angosms:angos/msi-extensionresource
Feb 3, 2020
Merged
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
35152e9
Add extension resource operation to swagger
angosms efa8301
Add change to preview version
angosms d7efab7
Correct API
angosms 25701bd
Remove lists references.
angosms 4bc59bf
Clean up errors.
angosms aaa8cb7
Clean up linting errors.
angosms 18ec825
Add examples
angosms 5377423
Add content to files
angosms 7e23fdd
Fix examples and path
angosms fdefc38
Fix param
angosms 95e5e94
Format examples
angosms 7027abf
Run prettier
angosms 580d7c0
Address comments.
angosms bb830fd
Fix model.
angosms 2f0a232
Make location a required field
angosms 0518102
Address lint error
angosms 7e6070e
Remove resourceName from scope
angosms 9f436ed
Use a common resource definition
angosms eebdc5d
Run prettier
angosms a7ae188
Fix errors
angosms 843363b
Remove tags from systemassignedidentity response
angosms 4217bc2
Fix description.
angosms 09ebac4
Remove tags from response
angosms 279b143
Add error suppression
angosms c01cc28
Change array formatting
angosms File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...rosoft.ManagedIdentity/preview/2015-08-31-preview/examples/SystemAssignedIdentityGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2015-08-31-preview", | ||
"scope": "scope" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/scope/resourceName", | ||
angosms marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"location": "cus", | ||
"name": "resourceName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"clientSecretUrl": "https://serviceRoot/scope/resourceName/credentials?tid=tenantId&oid=principalId&aid=clientId", | ||
angosms marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "ResourceProvider" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...nager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/SystemAssignedIdentityGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"scope": "scope" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/scope/resourceName", | ||
angosms marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"location": "cus", | ||
"name": "resourceName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"clientSecretUrl": "https://serviceRoot/scope/resourceName/credentials?tid=tenantId&oid=principalId&aid=clientId", | ||
angosms marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "ResourceProvider" | ||
} | ||
} | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These common properties (id, name, type, location, tags) are a common definition. It's best to use in a shared definition or optimally, linked from:
azure-rest-api-specs/specification/common-types/resource-management/v1/types.json
Line 78 in fbc094f