Azure / Azure/azure-rest-api-specs

[Azure Cosmos DB account]Request to remove the deprecated `Parse` of `kind` in `DatabaseAccounts_CreateOrUpdate` API

Open
#20,268 5 comments 0 reactions 0 assignees View on GitHub
Cosmos customer-reported question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

It seems that [Parse](https://github.com/Azure/azure-rest-api-specs/blob/e686ed79e9b0bbc10355fd8d7ba36d1a07e4ba28/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json#L5460) is deprecated. However, it still exists in the[ latest version of DatabaseAccounts_CreateOrUpdate API](https://github.com/Azure/azure-rest-api-specs/blob/e686ed79e9b0bbc10355fd8d7ba36d1a07e4ba28/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json#L111). Given that terraform is based on it to create the Azure Cosmos DB Account resource, may I ask for it to be deleted so that we can delete it completely in terraform?

Contributor guide

Open the contributing guide

Research direction

Inspect specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json, especially the `kind` definition and the `DatabaseAccounts_CreateOrUpdate` API at the referenced lines. Confirm the deprecated `Parse` entry and remove it so the latest API specification no longer exposes it for Terraform-based account creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi, terraform
Domain
api, cloud, databases
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.