Cosmos db - How to set diagnostic full-text query using Azure CLI
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
## Azure CLI equivalent

**Related command**
```powershell
# The az cosmosdb update command documentation does not provide all the capabilities
az cosmosdb update --help
```
The online documentation on the Azure CLI command `az cosmosdb update` does not list the options either
https://learn.microsoft.com/en-us/cli/azure/cosmosdb?view=azure-cli-latest#az-cosmosdb-update
```powershell
#The show command does not list the name of the capability which corresponds to the "Diagnostic full-text query" setting on the portal
az cosmosdb show --name "COSMOS ACCOUNT NAME" --resource-group "RESOURCE GROUP NAME"
```
## Sample output from az cosmosdb show

**Is your feature request related to a problem? Please describe.**
I am unable to find the right Azure CLI option which will help me accomplish via scripting that is already possibile via the portal.
T
**Describe the solution you'd like**
Please list down all the optins that are acceptable by the `--capabilities` parameter of teh `az cosmosdb update` command
**Describe alternatives you've considered**
I have considered Azure REST API. But, did not get much help there either.
https://learn.microsoft.com/en-us/cli/azure/cosmosdb?view=azure-cli-latest#az-cosmosdb-update

Contributor guide
Assessment
This issue has not been assessed yet.