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

Add Support for Database Throughput Provisioning #110

Closed
PlagueHO opened this issue Jun 5, 2018 · 6 comments
Closed

Add Support for Database Throughput Provisioning #110

PlagueHO opened this issue Jun 5, 2018 · 6 comments
Assignees
Labels
enhancement The issue is an enhancement request. in progress The issue is being actively worked on by someone.

Comments

@PlagueHO
Copy link
Owner

PlagueHO commented Jun 5, 2018

Azure Cosmos DB now supports sharing reserved throughput across multiple collections in a database:
https://docs.microsoft.com/en-us/azure/cosmos-db/set-throughput#provision-throughput-for-a-set-of-containers-or-at-the-database-level

This is not yet documented in the REST APIs:
https://docs.microsoft.com/en-us/rest/api/cosmos-db/create-a-database

When this is documented/available support should be added.

@PlagueHO PlagueHO added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jun 5, 2018
@smneal
Copy link
Contributor

smneal commented Jun 11, 2018

I have just been looking at this and wondered whether there is support here. The portal request for this includes an additional header "x-ms-offer-throughput: 50000".

@PlagueHO
Copy link
Owner Author

Oh right - so it looks to use the same header as the new collection does? If that is the case then it should be easy enough to add. I'd assume the lower & upper limits are the same as in the portal.

@lanndoc
Copy link

lanndoc commented Jun 19, 2019

I could really use this functionality soon.

@PlagueHO
Copy link
Owner Author

Thanks for reminding me about this one @lanndoc - I'll see if I can get it done over the weekend.

@PlagueHO PlagueHO self-assigned this Jun 27, 2019
@PlagueHO PlagueHO added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Jun 27, 2019
@PlagueHO
Copy link
Owner Author

Onto this now @lanndoc

@PlagueHO
Copy link
Owner Author

This has now been published to PSGallery @lanndoc and @smneal as 3.4.0.411: https://www.powershellgallery.com/packages/CosmosDB/3.4.0.411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

No branches or pull requests

3 participants