diff --git a/docs/static/img/datasource-reference/cosmosdb/connection-v3.png b/docs/static/img/datasource-reference/cosmosdb/connection-v3.png new file mode 100644 index 0000000000..076ffd286a Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/connection-v3.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/delete-op.png b/docs/static/img/datasource-reference/cosmosdb/delete-op.png new file mode 100644 index 0000000000..85f338daa8 Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/delete-op.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/insert-op.png b/docs/static/img/datasource-reference/cosmosdb/insert-op.png new file mode 100644 index 0000000000..d400b05a11 Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/insert-op.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/list-container-op.png b/docs/static/img/datasource-reference/cosmosdb/list-container-op.png new file mode 100644 index 0000000000..a36a049948 Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/list-container-op.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/list-db-op.png b/docs/static/img/datasource-reference/cosmosdb/list-db-op.png new file mode 100644 index 0000000000..57ee64beae Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/list-db-op.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/listops-v3.png b/docs/static/img/datasource-reference/cosmosdb/listops-v3.png new file mode 100644 index 0000000000..604376614a Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/listops-v3.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/query-db-op.png b/docs/static/img/datasource-reference/cosmosdb/query-db-op.png new file mode 100644 index 0000000000..31764c128d Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/query-db-op.png differ diff --git a/docs/static/img/datasource-reference/cosmosdb/read-item-op.png b/docs/static/img/datasource-reference/cosmosdb/read-item-op.png new file mode 100644 index 0000000000..b16fc35cde Binary files /dev/null and b/docs/static/img/datasource-reference/cosmosdb/read-item-op.png differ diff --git a/docs/versioned_docs/version-3.16.0-LTS/data-sources/cosmosdb.md b/docs/versioned_docs/version-3.16.0-LTS/data-sources/cosmosdb.md index 2b792319e2..da4797ba94 100644 --- a/docs/versioned_docs/version-3.16.0-LTS/data-sources/cosmosdb.md +++ b/docs/versioned_docs/version-3.16.0-LTS/data-sources/cosmosdb.md @@ -22,7 +22,7 @@ You can find the endpoint and key in the **[Azure Portal](https://portal.azure.c
+
+
@@ -45,8 +45,8 @@ You can find the endpoint and key in the **[Azure Portal](https://portal.azure.c
- **[List databases](#list-databases)**
- **[List containers](#list-containers)**
-- **[Insert items](#insert-items)**
- **[Read item](#read-item)**
+- **[Insert items](#insert-items)**
- **[Delete item](#delete-item)**
- **[Query database](#query-database)**
@@ -54,7 +54,7 @@ You can find the endpoint and key in the **[Azure Portal](https://portal.azure.c
This query lists all the databases in a Cosmos DB.
-
+
### List Containers
@@ -63,7 +63,19 @@ This query lists all the containers of a database in a Cosmos DB.
#### Required Parameter
- **Database**
-
+
+
+
+### Read Item
+
+To read a single item from a container of a database in a Cosmos DB, use the following query.
+
+#### Required Parameter
+- **Database**
+- **Container**
+- **Item ID**
+
+
### Insert Items
@@ -74,7 +86,7 @@ This query inserts one or more items in a container of a database in a Cosmos DB
- **Container**
- **Items**
-
+
#### Example
@@ -87,17 +99,6 @@ This query inserts one or more items in a container of a database in a Cosmos DB
}
```
-### Read Item
-
-To read a single item from a container of a database in a Cosmos DB, use the following query.
-
-#### Required Parameter
-- **Database**
-- **Container**
-- **Item ID**
-
-
-
### Delete Item
To delete an item from a container of a database in a Cosmos DB, use the following query.
@@ -106,8 +107,9 @@ To delete an item from a container of a database in a Cosmos DB, use the followi
- **Database**
- **Container**
- **Item ID**
+- **Partition Key**
-
+
### Query Database
@@ -118,7 +120,7 @@ To query documents from a container of a database in a Cosmos DB using SQL-like
- **Container**
- **Query**
-
+
#### Example
```yaml