Skip to content
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

[READY TO MERGE] Adding workspace level quota management APIs in version 2019-06-01 #6366

Conversation

leizhaoPS
Copy link
Contributor

@leizhaoPS leizhaoPS commented Jun 17, 2019

This feature related changes is in 4ac4d6a
To update quota, we use the Post call with the action quota URI (similar to Usages): subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/locations/{locationName}/updateQuotas

Parameters of this call:
Subscription ID (uri)
location (uri)
vmFamily (body)
workspaceId (body)
Quota (body)
api-version (query)

To get quota, we use Get call on the quota URI: subscriptions/{subscriptionId}/providers/Microsoft.BatchAI/locations/{locationName}/listQuotas

Parameters of this call:
Subscription ID (uri)
location (uri)
api-version (query)
Changes:
Added new API for update Quotas
Added new API for list Quotas
Added two examples:
ListWorkspaceQuotasByVMFamily.json
UpdateQuota.json

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:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@AutorestCI
Copy link

AutorestCI commented Jun 17, 2019

Automation for azure-sdk-for-ruby

Nothing to generate for azure-sdk-for-ruby

@AutorestCI
Copy link

AutorestCI commented Jun 17, 2019

Automation for azure-sdk-for-python

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-python#6892

@AutorestCI
Copy link

AutorestCI commented Jun 17, 2019

Automation for azure-sdk-for-js

A PR has been created for you:
Azure/azure-sdk-for-js#3862

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jun 17, 2019

In Testing, Please Ignore

[Logs] (Generated from c89caf9, Iteration 19)

Warning .NET: test-repo-billy/azure-sdk-for-net [Logs] [Diff]
  • No packages generated.
Warning Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]
Succeeded Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
Succeeded JavaScript: test-repo-billy/azure-sdk-for-js [Logs] [Diff]

@AutorestCI
Copy link

AutorestCI commented Jun 17, 2019

Automation for azure-sdk-for-go

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-go#5674

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link

AutorestCI commented Jun 18, 2019

Automation for azure-sdk-for-java

Nothing to generate for azure-sdk-for-java

@erich-wang erich-wang added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 19, 2019
@erich-wang
Copy link
Member

@leizhaoPS , please fix CI errors.

Copy link
Member

@erich-wang erich-wang left a comment

Choose a reason for hiding this comment

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

Please fix CI errors

@leizhaoPS
Copy link
Contributor Author

@erich-wang , could you please help take a look at the design part related to workspace level quota managment API: 4ac4d6a, other validation failures we already fixed in the main branch.

@ravbhatnagar
Copy link
Contributor

@KrisBash - please let me know if you are good to sign off on this.

Copy link
Contributor

@KrisBash KrisBash left a comment

Choose a reason for hiding this comment

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

thanks for the changes

@KrisBash KrisBash added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jul 2, 2019
@erich-wang
Copy link
Member

@leizhaoPS , please let me know when PR is ready for merge.

@leizhaoPS
Copy link
Contributor Author

leizhaoPS commented Jul 4, 2019 via email

@erich-wang
Copy link
Member

@leizhaoPS , any process for this PR?

@erich-wang erich-wang added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Aug 6, 2019
@erich-wang
Copy link
Member

@@leizhaoPS , I added DoNotMerge for this PR, please let me know when it is ready for merge.

@yungezz
Copy link
Member

yungezz commented Aug 28, 2019

Hi @leizhaoPS what's your plan to proceed this PR? is it ok to close it for now, pls reopen or create a new PR when service is ready

@leizhaoPS leizhaoPS changed the title [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-06-01 Aug 28, 2019
@leizhaoPS leizhaoPS changed the title [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-06-01 [READY TO MERGE] Adding workspace level quota management APIs in version 2019-06-01 Aug 28, 2019
@raych1 raych1 self-requested a review August 29, 2019 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants