-
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
[READY TO MERGE] Adding workspace level quota management APIs in version 2019-06-01 #6366
[READY TO MERGE] Adding workspace level quota management APIs in version 2019-06-01 #6366
Conversation
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-jsA PR has been created for you: |
In Testing, Please Ignore[Logs] (Generated from c89caf9, Iteration 19).NET: test-repo-billy/azure-sdk-for-net [Logs] [Diff]
Go: test-repo-billy/azure-sdk-for-go [Logs] [Diff]
Python: test-repo-billy/azure-sdk-for-python [Logs] [Diff]
JavaScript: test-repo-billy/azure-sdk-for-js [Logs] [Diff]
|
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Can one of the admins verify this patch? |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
@leizhaoPS , please fix CI errors. |
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.
Please fix CI errors
@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. |
…ttps://github.com/leizhaoPS/azure-rest-api-specs into leizhao/workspaceQuotaManagementInVersion2019-05-01
@KrisBash - please let me know if you are good to sign off on this. |
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.
thanks for the changes
@leizhaoPS , please let me know when PR is ready for merge. |
@leizhaoPS , any process for this PR? |
@@leizhaoPS , I added DoNotMerge for this PR, please let me know when it is ready for merge. |
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 |
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:
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.