[BUG] Microsoft.DocumentDB/databaseAccounts - GET DatabaseAccount : sqlEndpoint, configurationOverrides -- additional properties #31317
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-02-15-preview/cosmos-db.json
API Spec version
2024-02-15-preview, 2023-11-15
Describe the bug
Operation
DatabaseAccounts_Get
in cosmos-db.json, so simple GET DatabaseAccountAs example CosmosDBDatabaseAccountGet.json, response describing a resource, it should be without:
properties.sqlEndpoint
properties.configurationOverrides: {...}
properties.defaultPriorityLevel
properties.enablePerRegionPerPartitionAutoscale
properties.enablePriorityBasedExecution
minMaxThresholdsForPriorityBasedExecution: {...}
There are also examples in Azure REST API for Database Accounts - Get. Found with Microsoft.DocumentDB ARM template/Bicep description.
Using it with Azure Cosmos DB for MongoDB account (RU).
Expected behavior
Actual behavior
Reproduction Steps
az rest --method get --header "Accept=application/json" --url 'https://management.azure.com/subscriptions/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb/resourceGroups/my-rg/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb?api-version=2024-02-15-preview'
||
GET
https://management.azure.com/subscriptions/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb/resourceGroups/my-rg/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb?api-version=2024-02-15-preview
also with
api-version=2023-11-15
Environment
No response
The text was updated successfully, but these errors were encountered: