{Cosmos DB} az cosmosdb: Add support for API version 2026-03-15 - #33303
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| cosmosdb fleet create | cmd cosmosdb fleet create removed property is_preview |
||
| cosmosdb fleet delete | cmd cosmosdb fleet delete removed property is_preview |
||
| cosmosdb fleet list | cmd cosmosdb fleet list removed property is_preview |
||
| cosmosdb fleet show | cmd cosmosdb fleet show removed property is_preview |
||
| cosmosdb fleetspace account create | cmd cosmosdb fleetspace account create removed property is_preview |
||
| cosmosdb fleetspace account delete | cmd cosmosdb fleetspace account delete removed property is_preview |
||
| cosmosdb fleetspace account list | cmd cosmosdb fleetspace account list removed property is_preview |
||
| cosmosdb fleetspace account show | cmd cosmosdb fleetspace account show removed property is_preview |
||
| cosmosdb fleetspace create | cmd cosmosdb fleetspace create removed property is_preview |
||
| cosmosdb fleetspace delete | cmd cosmosdb fleetspace delete removed property is_preview |
||
| cosmosdb fleetspace list | cmd cosmosdb fleetspace list removed property is_preview |
||
| cosmosdb fleetspace show | cmd cosmosdb fleetspace show removed property is_preview |
||
| cosmosdb fleetspace update | cmd cosmosdb fleetspace update removed property is_preview |
||
| cosmosdb restore | cmd cosmosdb restore added parameter disable_local_auth |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
Updates Azure CLI’s CosmosDB management SDK dependency to a newer version, presumably to pick up support for a newer CosmosDB ARM API version.
Changes:
- Bump
azure-mgmt-cosmosdbfrom9.9.0to9.10.0insetup.py. - Bump
azure-mgmt-cosmosdbfrom9.9.0to9.10.0in OS-specific pinned requirements (Windows/Linux/macOS).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/azure-cli/setup.py |
Updates the CosmosDB management SDK dependency version used by the CLI package. |
src/azure-cli/requirements.py3.windows.txt |
Updates the pinned CosmosDB management SDK version for Windows builds. |
src/azure-cli/requirements.py3.Linux.txt |
Updates the pinned CosmosDB management SDK version for Linux builds. |
src/azure-cli/requirements.py3.Darwin.txt |
Updates the pinned CosmosDB management SDK version for macOS builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 'azure-mgmt-containerservice~=41.1.0', | ||
| 'azure-mgmt-cosmosdb==9.9.0', | ||
| 'azure-mgmt-cosmosdb==9.10.0', | ||
| 'azure-mgmt-datalake-store~=1.1.0b1', |
There was a problem hiding this comment.
The PR title indicates CosmosDB API version "2026-03-15" updates, but this diff only bumps the azure-mgmt-cosmosdb dependency. Please either (a) update the PR title/description to reflect that this is a dependency bump, or (b) include the actual code changes that adopt the new API version (and note where it is used/tested).
|
Please fix CI issues |
- Fix Restorable*Operations.list() keyword-only rid args in custom.py
- Fix Mongo role/user PascalCase body serialization via _convert_mongo_{privileges,roles}
- Fix _transformers network-rule output for typespec models (core todict)
- Add --disable-local-auth to 'cosmosdb restore'; re-record latest test cassettes
- Co-locate private_endpoint account with PE region (eastus2) to fix restore/PE 404
- Skip service-deprecated analytical-storage-on-create tests and RP-blocked XRR/gremlin-db-restore scenarios
# Conflicts: # src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_fleet_fleetspace_fleetspaceAccount.yaml # src/azure-cli/setup.py
|
CosmosDB |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
…0 (storage api-version 2025-08-01)
…5 (network/security private-link + ATP tests)
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
az cosmosdb: Add support for API version 2026-03-15
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
…3-15 (Azure#33303)" This reverts commit 51bcb92.
az cosmosdb: Add support for API version 2026-03-15az cosmosdb: Add support for API version 2026-03-15
Related command
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.