Azure / Azure/azure-powershell

[Doc]: Get-AzCosmosDBMongoDBCollectionThroughput returns 404 if run on a shared throughput collection

Aperta
#22,653 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
act-codegen-extensibility-squad bug CosmosDB Service Attention
Lingua principale
C#
Stelle
4.8k
Fork
4.3k
Merge medio
2g 17h
PR unite (30g)
51

Descrizione

### Description

As titled, if the command is run on a shared throughput collection, we would only get the generic 404 error. The behavior is the same for both PS and bash CLI.

```text
Get-AzCosmosDBMongoDBCollectionThroughput: Entity with the specified id does not exist in the system. More info: https://aka.ms/cosmosdb-tsg-not-found
```

The ask here is to improve the self-help error message to make it stand out more.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing Get-AzCosmosDBMongoDBCollectionThroughput against a shared-throughput collection in PowerShell and the equivalent bash CLI command, then trace where the generic 404 self-help error is produced. Done means the error clearly identifies the shared-throughput case and provides more useful guidance in both command-line experiences.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, bash, powershell
Ambito
cli, databases
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.