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

Setting offer throughput or autopilot on container is not supported for serverless accounts #17

Open
tomgron opened this issue Mar 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tomgron
Copy link

tomgron commented Mar 10, 2021

When trying to create a collection in a serverless CosmosDb I get this error :

2021-03-10T04:32:56.3140412Z ##[error]Setting offer throughput or autopilot on container is not supported for serverless accounts.

I believe the "Throughput" setting in the task should be optional if one uses serverless version of CosmosDb to be used.

@tomgron
Copy link
Author

tomgron commented Mar 10, 2021

Maybe this line should be changed from default 400 (as throughput) to something else:

let offer = (throughput == null || throughput.length === 0) ? 400 : Number(throughput);

@ppluijten ppluijten added the enhancement New feature or request label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants