Azure / Azure/azure-quickstart-templates

101-cosmosdb-table-ru-update needs sample for account-wide throughput

Open
#6,489 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

[Update RU/s for Azure Cosmos Table - Table API
](https://github.com/Azure/azure-quickstart-templates/tree/master/101-cosmosdb-table-ru-update)

### Issue Details

The template names a table, which is mapped to a container AFAIK. I'm looking to apply the throughput to the whole database.

How does one compose a `name` to identify the whole database/Cosmos account?

```
"name": "[concat(variables('accountName'), '/table/', parameters('tableName'), '/throughput')]",
```

Note that there is a database-level example for "SQL mode" which uses this to identify the database. It contains `/sql/` so it doesn't look appropriate.

```
"name": "[concat(variables('accountName'), '/sql/', parameters('databaseName'), '/throughput')]",
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the 101-cosmosdb-table-ru-update template linked in the issue and compare its table-level throughput name with the SQL-mode database example shown. Investigate how the Azure Cosmos Table API identifies account-wide throughput, then update the sample so the supported name format and intended scope are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, databases
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.