-
Notifications
You must be signed in to change notification settings - Fork 5.8k
update Role based calls to new api version to support dataActions #2356
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
25bc2cc
add 2018 preview version
darshanhs90 4340b78
update calls with new versions
darshanhs90 3fe7452
move provider operations to new api
darshanhs90 aa1e9fb
address some of the comments
darshanhs90 d00dab0
add disambiguation path
darshanhs90 d2d5d99
add missed out batch api in readme
darshanhs90 42f52c7
fix testing error
darshanhs90 1206046
merge conflicts resolved
darshanhs90 4e86c80
add missed out quotes
darshanhs90 dc3eead
fix linter issues
darshanhs90 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
140 changes: 140 additions & 0 deletions
140
...r/Microsoft.Authorization/preview/2018-01-01-preview/authorization-ClassicAdminCalls.json
This file contains hidden or 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,140 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "AuthorizationManagementClient", | ||
| "version": "2015-07-01", | ||
| "description": "Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users." | ||
| }, | ||
| "host": "management.azure.com", | ||
| "schemes": [ | ||
| "https" | ||
| ], | ||
| "consumes": [ | ||
| "application/json" | ||
| ], | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "paths": { | ||
| "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators": { | ||
| "get": { | ||
| "tags": [ | ||
| "ClassicAdministrators" | ||
| ], | ||
| "operationId": "ClassicAdministrators_List", | ||
| "description": "Gets service administrator, account administrator, and co-administrators for the subscription.", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Returns an array of administrators.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ClassicAdministratorListResult" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| }, | ||
| "x-ms-examples": { | ||
| "GetConfigurations": { | ||
| "$ref": "./examples/GetClassicAdministrators.json" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
| "ClassicAdministratorProperties": { | ||
| "properties": { | ||
| "emailAddress": { | ||
| "type": "string", | ||
| "description": "The email address of the administrator." | ||
| }, | ||
| "role": { | ||
| "type": "string", | ||
| "description": "The role of the administrator." | ||
| } | ||
| }, | ||
| "description": "Classic Administrator properties." | ||
| }, | ||
| "ClassicAdministrator": { | ||
| "properties": { | ||
| "id": { | ||
| "type": "string", | ||
| "description": "The ID of the administrator." | ||
| }, | ||
| "name": { | ||
| "type": "string", | ||
| "description": "The name of the administrator." | ||
| }, | ||
| "type": { | ||
| "type": "string", | ||
| "description": "The type of the administrator." | ||
| }, | ||
| "properties": { | ||
| "x-ms-client-flatten": true, | ||
| "$ref": "#/definitions/ClassicAdministratorProperties", | ||
| "description": "Properties for the classic administrator." | ||
| } | ||
| }, | ||
| "description": "Classic Administrators" | ||
| }, | ||
| "ClassicAdministratorListResult": { | ||
| "properties": { | ||
| "value": { | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/ClassicAdministrator" | ||
| }, | ||
| "description": "An array of administrators." | ||
| }, | ||
| "nextLink": { | ||
| "type": "string", | ||
| "description": "The URL to use for getting the next set of results." | ||
| } | ||
| }, | ||
| "description": "ClassicAdministrator list result information." | ||
| } | ||
| }, | ||
| "parameters": { | ||
| "SubscriptionIdParameter": { | ||
| "name": "subscriptionId", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The ID of the target subscription." | ||
| }, | ||
| "ApiVersionParameter": { | ||
| "name": "api-version", | ||
| "in": "query", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The API version to use for this operation." | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Why not use the API version parameter already defined in the parameters section? #Resolved