-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add new API version for Server AAD Admin #7652
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
Conversation
In Testing, Please Ignore[Logs] (Generated from 447f626, Iteration 3)
|
Automation for azure-sdk-for-goA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
|
Can one of the admins verify this patch? |
|
@amolagar5 , could you take a look at the tool check error? It seems "$ref": "#/definitions/ProxyResource" is not defined. |
|
@amolagar5 , I still see a lot of check error, fix take a look at them and do the proper fix. And let me know if you have any questions. |
|
Thanks @lirenhe I will take a look and update the request. |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
|
@lirenhe , can you please help me figure out why checks are failing. I keep getting something like this. INFO:swaggertosdk.autorest_tools:- ServerAdministrators INFO:swaggertosdk.autorest_tools:, --- INFO:swaggertosdk.autorest_tools:- Administrators INFO:swaggertosdk.autorest_tools:). |
|
@amolagar, could you first fix the problem in Avocado and ModelValidation check? This may help to solve the problem for autorest. |
|
@lirenhe thanks Renhe for taking a look, Looks like swaggers for 2014-04-01 and 2018-06-01-preview have to be exactly same for create or update. Any idea why that is needed. ? |
Not quite sure about this. What item do you think is 'not needed'? |
|
@amolagar, there are a couple of failures in prettier check, could you also fix the code style issue? |
|
@lirenhe how do I fix these prettier check failures, it only says check fails. Does not say why and how to fix them. Can you please share more details on what to fix and how to run tool locally or on git to find more information. |
|
@qiaozha @amolagar5 Fixed. |
| "$ref": "#/parameters/ServerNameParameter" | ||
| }, | ||
| { | ||
| "name": "administratorName", |
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.
| } | ||
| } | ||
| }, | ||
| "AdministratorListResult": { |
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.
For compatibility this should be ServerAdministratorListResult
|
@lirenhe whom should I ask for merge now. Is it ARM team. ? |
| @@ -1,314 +0,0 @@ | |||
| { | |||
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.
Have you gone through the deprecation process for these APIs?
https://armwiki.azurewebsites.net/api_contracts/APIDeprecationPolicy.html
| "swagger": "2.0", | ||
| "info": { | ||
| "version": "2018-06-01-preview", | ||
| "title": "SqlManagementClient", |
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.
Title should be human readable
| "type": "string", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "SqlVirtualMachineContainerNameParameter": { |
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.
unused
| ], | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "SqlVirtualMachineInstanceNameParameter": { |
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.
unused
| "type": "string", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "VirtualClusterNameParameter": { |
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.
unused
| "type": "string", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "BlobAuditingPolicyNameParameter": { |
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.
unused
| "type": "string", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "ManagedInstanceNameParameter": { |
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.
unused
| "type": "string", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "DatabaseNameParameter": { |
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.
unused
| - Microsoft.Sql/stable/2014-04-01/importExport.json | ||
| - Microsoft.Sql/stable/2014-04-01/metrics.json | ||
| - Microsoft.Sql/stable/2014-04-01/replicationLinks.json | ||
| - Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json |
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.
Should not remove
| - Microsoft.Sql/stable/2014-04-01/importExport.json | ||
| - Microsoft.Sql/stable/2014-04-01/metrics.json | ||
| - Microsoft.Sql/stable/2014-04-01/replicationLinks.json | ||
| - Microsoft.Sql/stable/2014-04-01/serverAzureADAdministrators.json |
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.
Should not remove
|
@ryansbenson added old files back, for title. - @jaredmoo said its generic one for all SQL, unused params are generated by automation and not worth removing manually. |
ryansbenson
left a comment
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.
Approved from ARMs side
|
@lirenhe , can you please merge. thanks @ryansbenson for signing off. |
|
@amolagar5, I am unable to merge it because of the conflicts. Please help to resolve the conflicts. |
…aggerChanges # Conflicts: # specification/sql/resource-manager/readme.md
|
@lirenhe , Sure. Merge complete, pls try again. |
* Add new API for Server AAD Admin * Add new Serer AAD Admin API version * Add new API version to Server AAD Admin API * Add new API version to Server AAD Admin API * New Server AAD Admin API * fix examples * fix AAD example errors * fix AAD example errors * fix AAD example errors 2 * fix AAD json * fix tags in json * update json * update server admin jsons * update server admin jsons * updates * fix 2014 AAD Admin json * fix 2014 AAD Admin json * fix AAD Admin json * fix AAD Admin json * fix AAD Admin json * fix create example * remove new example files. * add back new example files. * add back new example files. * add back new example files. * fixing example files * fix tag in old Server AAD Admin json * use common values * remove extra value * use common values * use common values * remove old api version docs * adding new serverAzureADADministrator.json * adding new serverAzureADADministrator.json * Doing Prettier fixes * Make administratorName an enum. as ActiveDirectory is constant. * fixing syntax * update example files with right casing for ActiveDirectory enum * add backing 2014 version files and updating readme.md * fix a few things. * extra spaces. * Add back json and update readme.md
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.