Skip to content

Commit

Permalink
[CosmosDB] Updated to version 2023-03-15-preview (#6462)
Browse files Browse the repository at this point in the history
* [CosmosDB] Updated to version 2023-03-15-preview

* Revert "[CosmosDB] Updated to version 2023-03-15-preview"

This reverts commit fd9a8b8.

* [CosmosDB] Updated to version 2023-03-15-preview

* [CosmosDB] Updated to version 2023-03-15-preview

* Save changes

* adding materializedview option for container create and update

* adding tests for cli extensions

* modifying test to verify MV definition content in response

* minor changes

* fixing static analysis error

* Save test recording

* Save Recordings

* Save changes

* Save changes

* Save Recordings

* Save Recordings

* Save Recordings

* Update src/cosmosdb-preview/azext_cosmosdb_preview/_help.py

Co-authored-by: Yishi Wang <[email protected]>

* Save changes

* Address code changes.

---------

Co-authored-by: Chandrasekhar Gunturi <[email protected]>
Co-authored-by: Yishi Wang <[email protected]>
  • Loading branch information
3 people authored Jul 28, 2023
1 parent 2491e8d commit f1bb89b
Show file tree
Hide file tree
Showing 142 changed files with 25,599 additions and 38,982 deletions.
4 changes: 4 additions & 0 deletions src/cosmosdb-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Release History
===============
0.25.0
* Add support for performing database merge for Sql and MongoDB database account.

++++++
0.24.0
* Create and manage mongo clusters.
* Add 'source_backup_location' parameter to 'cosmosdb restore' command
Expand Down
18 changes: 18 additions & 0 deletions src/cosmosdb-preview/azext_cosmosdb_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,24 @@
az cosmosdb mongodb collection merge -g my-resource-group -a my-account -d my-db --name my-mongodb-collection
"""

helps['cosmosdb sql database merge'] = """
type: command
short-summary: "Merge the partitions of a sql database."
examples:
- name: Merge partitions of database my-database
text: |-
az cosmosdb sql database merge -g my-resource-group -a my-account --name my-database
"""

helps['cosmosdb mongodb database merge'] = """
type: command
short-summary: "Merges the partitions of a mongodb database."
examples:
- name: merge partitions of database my-mongodb-database
text: |-
az cosmosdb mongodb database merge -g my-resource-group -a my-account --name my-mongodb-collection
"""

helps['cosmosdb sql container retrieve-partition-throughput'] = """
type: command
short-summary: "Retrieve the partition throughput of a sql container."
Expand Down
1,062 changes: 562 additions & 500 deletions src/cosmosdb-preview/azext_cosmosdb_preview/_params.py

Large diffs are not rendered by default.

542 changes: 279 additions & 263 deletions src/cosmosdb-preview/azext_cosmosdb_preview/commands.py

Large diffs are not rendered by default.

Loading

0 comments on commit f1bb89b

Please sign in to comment.