{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/8651","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/8651/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/8651/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/8651/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/8651","id":323350497,"number":8651,"title":"Creating a collection that can scale past 10K RU","user":{"login":"MikeWasson","id":3992422,"avatar_url":"https://avatars2.githubusercontent.com/u/3992422?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeWasson","html_url":"https://github.com/MikeWasson","followers_url":"https://api.github.com/users/MikeWasson/followers","following_url":"https://api.github.com/users/MikeWasson/following{/other_user}","gists_url":"https://api.github.com/users/MikeWasson/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeWasson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeWasson/subscriptions","organizations_url":"https://api.github.com/users/MikeWasson/orgs","repos_url":"https://api.github.com/users/MikeWasson/repos","events_url":"https://api.github.com/users/MikeWasson/events{/privacy}","received_events_url":"https://api.github.com/users/MikeWasson/received_events","type":"User","site_admin":false},"labels":[{"id":646552245,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cosmos-db","name":"cosmos-db","color":"90ccff","default":false},{"id":836703193,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":853283851,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":836702742,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-15T19:24:42Z","updated_at":"2018-05-15T21:57:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It's not clear how the `az cosmosdb collection create` command works with respect to scaling. \r\n\r\n1. Create a collection with a partition key, and don't specify throughput. Result: Cannot scale the collection past 10K RU. Error message:\r\n\r\n    ```\r\n    Operation Failed: Invalid Arg {\"Errors\":[\"The offer should have valid throughput values between 400 \r\n    and 10000 inclusive in increments of 100.\"]}\r\n    ```\r\n\r\n2. Create a collection with a partition key, and specify `--throughput 2500`. Result: Able to scale past 10K RU\r\n\r\n3. Create a collection with a partition key, and specify `--throughput 1000`.  Result: Cannot scale past 10K RU (same error as previous)\r\n\r\nIs there some magic throughput number in the initial creation that determines this?\r\n\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 7d7a9388-6068-0685-cb7b-d6a152ab92ca\r\n* Version Independent ID: 300973d9-1fed-8354-a081-f674c271b9e6\r\n* Content: [Azure CLI Script-Scale Azure Cosmos DB container throughput](https://docs.microsoft.com/en-us/azure/cosmos-db/scripts/scale-collection-throughput-cli)\r\n* Content Source: [articles/cosmos-db/scripts/scale-collection-throughput-cli.md](https://github.com/Microsoft/azure-docs/blob/master/articles/cosmos-db/scripts/scale-collection-throughput-cli.md)\r\n* Service: **cosmos-db**\r\n* GitHub Login: @SnehaGunda\r\n* Microsoft Alias: **sngun**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/389326677","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/8651#issuecomment-389326677","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/8651","id":389326677,"user":{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T21:57:53Z","updated_at":"2018-05-15T21:57:53Z","author_association":"CONTRIBUTOR","body":"@MikeWasson Thanks for the feedback. Can you provide the specific commands you were trying to use. \r\n\r\nI was successful in using the 'create' option to initially create a new collection, followed by 'update' to change the --throughput value from **1000** -> **400** --> **1000**. \r\n\r\nmike@Azure:~$ az cosmosdb collection **create** --collection-name Test --name miubezzicdb --db-name ToDoList --resource-group miubezzi --throughput **1000**\r\n\r\nmike@Azure:~$ az cosmosdb collection **update** --collection-name Test --name miubezzicdb --db-name ToDoList --resource-group miubezzi --throughput **400**\r\n\r\nmike@Azure:~$ az cosmosdb collection **update** --collection-name Test --name miubezzicdb --db-name ToDoList --resource-group miubezzi --throughput **1000**\r\n\r\nSince the document does not reference anything about, \"Create a collection with a partition key\", can I get an example of what you are attempting to accomplish. Thank you! \r\n"}}
{"actor":{"display_login":"Mike-Ubezzi-MSFT"}}