Azure / Azure/azure-powershell
[Doc]: Get-AzCosmosDBMongoDBCollectionThroughput returns 404 if run on a shared throughput collection
- Vorherrschende Sprache
- C#
- Sterne
- 4.8k
- Forks
- 4.3k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, Get-AzCosmosDBMongoDBCollectionThroughput für eine Collection mit gemeinsamem Durchsatz in PowerShell und den entsprechenden bash CLI-Befehl zu reproduzieren, und verfolge anschließend, wo der generische 404-Selbsthilfe-Fehler erzeugt wird. Als abgeschlossen gilt die Aufgabe, wenn der Fehler den Fall mit gemeinsamem Durchsatz eindeutig identifiziert und in beiden Befehlszeilenerfahrungen nützlichere Hinweise liefert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, bash, powershell
- Bereich
- cli, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100