Skip to content

Commit f593169

Browse files
Merge pull request #4833 from MicrosoftDocs/main
Auto Publish – main to live - 2026-04-15 17:05 UTC
2 parents 30c8e98 + afc0b68 commit f593169

19 files changed

Lines changed: 28 additions & 27 deletions

articles/cosmos-db/access-key-vault-managed-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Azure Cosmos DB may need to read secret/key data from Azure Key Vault. For examp
3131
1. In a terminal or command window, store the names of your Azure Key Vault resource, Azure Cosmos DB account, and resource group as shell variables named ``keyVaultName``, ``cosmosName``, and ``resourceGroupName``.
3232

3333
```azurecli-interactive
34-
# Variable for function app name
34+
# Variable for Key Vault name
3535
keyVaultName="msdocs-keyvault"
3636
3737
# Variable for Azure Cosmos DB account name

articles/cosmos-db/data-explorer-shortcuts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ These shortcuts are used with the toolbar present in the Data Explorer.
2222

2323
| | Windows | macOS |
2424
| --- | --- | --- |
25-
| **Close tab** | <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>W</kbd> | <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>W |
25+
| **Close tab** | <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>W</kbd> | <kbd>Cmd</kbd>+<kbd>Opt</kbd>+<kbd>W</kbd> |
2626
| **Discard edit Query/Item/Stored Procedure/Trigger/UDF** | <kbd>Esc</kbd> | <kbd>Esc</kbd> |
2727
| **Download Query to Disk** | <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> | <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> |
2828
| **Enable/Disable Copilot** | <kbd>Ctrl</kbd>+<kbd>P</kbd> | <kbd>Cmd</kbd>+<kbd>P</kbd> |

articles/cosmos-db/diagnostic-queries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
108108
AzureDiagnostics
109109
| where Category == "QueryRuntimeStatistics"
110110
//specify collection and database
111-
//| where databasename_s == "DBNAME" and collectioname_s == "COLLECTIONNAME"
111+
//| where databasename_s == "DBNAME" and collectionname_s == "COLLECTIONNAME"
112112
| join kind=inner operationsbyUserAgent on activityId_g
113113
| summarize max(responseLength_s1) by querytext_s
114114
| order by max_responseLength_s1 desc
@@ -138,7 +138,7 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
138138
| where TimeGenerated >= now(-1d)
139139
| where Category == 'PartitionKeyRUConsumption'
140140
//specify collection and database
141-
//| where databasename_s == "DBNAME" and collectioname_s == "COLLECTIONNAME"
141+
//| where databasename_s == "DBNAME" and collectionname_s == "COLLECTIONNAME"
142142
// filter by operation type
143143
//| where operationType_s == 'Create'
144144
| summarize sum(todouble(requestCharge_s)) by toint(partitionKeyRangeId_s)
@@ -169,7 +169,7 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
169169
| where TimeGenerated >= now(-1d)
170170
| where Category == 'PartitionKeyRUConsumption'
171171
//specify collection and database
172-
//| where databasename_s == "DBNAME" and collectioname_s == "COLLECTIONNAME"
172+
//| where databasename_s == "DBNAME" and collectionname_s == "COLLECTIONNAME"
173173
// filter by operation type
174174
//| where operationType_s == 'Create'
175175
| summarize sum(todouble(requestCharge_s)) by partitionKey_s, partitionKeyRangeId_s

articles/cosmos-db/find-request-unit-charge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ request_charge = container.client_connection.last_response_headers["x-ms-request
169169

170170
```python
171171
existing_item = container.read_item(
172-
item="aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
172+
item="aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
173173
partition_key="61dba35b-4f02-45c5-b648-c6badc0cbd79"
174174
)
175175

articles/cosmos-db/free-tier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ If the option to create a free-tier account is disabled or if you receive an err
9999

100100
After you create a free tier account, you can start building apps with Azure Cosmos DB.
101101

102-
* [Quickstart: Use Azure Cosmos DB for NoSQL with Azure SDK for .NET](create-sql-api-dotnet-v4.md)
102+
* [Quickstart: Use Azure Cosmos DB for NoSQL with Azure SDK for .NET](quickstart-dotnet.md)
103103
* [Quickstart: Use Azure Cosmos DB for MongoDB with Node.js](mongodb/quickstart-nodejs.md)
104104
* [Tutorial: Create a Jupyter Notebook to analyze data in your Azure Cosmos DB for NoSQL account](tutorial-create-notebook-vscode.md)
105105
* [Understand your Azure Cosmos DB bill](understand-your-bill.md)

articles/cosmos-db/get-started-change-data-capture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Now create and configure a source to flow data from the Azure Cosmos DB account'
104104

105105
### Working with source options
106106

107-
When you check any of the `Capture intermediate updates`, `Capture Deltes`, and `Capture Transactional store TTLs` options, your CDC process will create and populate the `__usr_opType` field in sink with the following values:
107+
When you check any of the `Capture intermediate updates`, `Capture Deletes`, and `Capture Transactional store TTLs` options, your CDC process will create and populate the `__usr_opType` field in sink with the following values:
108108

109109
| Value | Description | Option
110110
| --- | --- | --- |

articles/cosmos-db/how-to-always-encrypted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ await database.DefineContainer("my-container", "/partition-key")
282282

283283
```java
284284
ClientEncryptionIncludedPath path1 = new ClientEncryptionIncludedPath();
285-
path1.setClientEncryptionKeyId("my-key"):
285+
path1.setClientEncryptionKeyId("my-key");
286286
path1.setPath("/property1");
287287
path1.setEncryptionType(CosmosEncryptionType.DETERMINISTIC.getName());
288288
path1.setEncryptionAlgorithm(CosmosEncryptionAlgorithm.AEAES_256_CBC_HMAC_SHA_256.getName());
289289

290290
ClientEncryptionIncludedPath path2 = new ClientEncryptionIncludedPath();
291-
path2.setClientEncryptionKeyId("my-key"):
291+
path2.setClientEncryptionKeyId("my-key");
292292
path2.setPath("/property2");
293293
path2.setEncryptionType(CosmosEncryptionType.RANDOMIZED.getName());
294294
path2.setEncryptionAlgorithm(CosmosEncryptionAlgorithm.AEAES_256_CBC_HMAC_SHA_256.getName());

articles/cosmos-db/how-to-define-unique-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article presents the different ways to define [unique keys](unique-keys.md)
2020

2121
1. Sign in to the [Azure portal](https://portal.azure.com/).
2222

23-
1. [Create a new Azure Cosmos DB account](create-sql-api-dotnet.md#create-account) or select an existing one.
23+
1. [Create a new Azure Cosmos DB account](how-to-create-account.md) or select an existing one.
2424

2525
1. Open the **Data Explorer** pane and select the container that you want to work on.
2626

articles/cosmos-db/how-to-develop-emulator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To get started, get the Windows-variant of the container image from the [Microso
7272
To get started, download and install the latest version of Azure Cosmos DB Emulator on your local computer.
7373

7474
> [!TIP]
75-
> The [emulator release notes](local-emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
75+
> The [emulator release notes](emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
7676

7777
1. Download the [Azure Cosmos DB emulator](https://aka.ms/cosmosdb-emulator).
7878

@@ -111,7 +111,7 @@ The Docker (Windows) container image doesn't support the API for MongoDB.
111111
To get started, download and install the latest version of Azure Cosmos DB Emulator on your local computer.
112112
113113
> [!TIP]
114-
> The [emulator release notes](local-emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
114+
> The [emulator release notes](emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
115115
116116
1. Download the [Azure Cosmos DB emulator](https://aka.ms/cosmosdb-emulator).
117117
@@ -134,7 +134,7 @@ The Docker container variant (Linux or Windows) of the emulator doesn't support
134134
To get started, download and install the latest version of Azure Cosmos DB Emulator on your local computer.
135135

136136
> [!TIP]
137-
> The [emulator release notes](local-emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
137+
> The [emulator release notes](emulator-release-notes.md) article lists all the available versions and the feature updates that were made in each release.
138138

139139
1. Download the [Azure Cosmos DB emulator](https://aka.ms/cosmosdb-emulator).
140140

articles/cosmos-db/how-to-dotnet-read-item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The following example point reads a single item asynchronously and returns a des
4141

4242
:::code language="csharp" source="~/cosmos-db-nosql-dotnet-samples/275-read-item/Program.cs" id="read_item" :::
4343

44-
The [``Database.ReadItemAsync<>``](/dotnet/api/microsoft.azure.cosmos.container.readitemasync) method reads an item and returns an object of type [``ItemResponse<>``](/dotnet/api/microsoft.azure.cosmos.itemresponse-1). The **ItemResponse<>** type inherits from the [``Response<>``](/dotnet/api/microsoft.azure.cosmos.response-1) type, which contains an implicit conversion operator to convert the object into the generic type. To learn more about implicit operators, see [user-defined conversion operators](/dotnet/csharp/language-reference/operators/user-defined-conversion-operators).
44+
The [``Container.ReadItemAsync<>``](/dotnet/api/microsoft.azure.cosmos.container.readitemasync) method reads an item and returns an object of type [``ItemResponse<>``](/dotnet/api/microsoft.azure.cosmos.itemresponse-1). The **ItemResponse<>** type inherits from the [``Response<>``](/dotnet/api/microsoft.azure.cosmos.response-1) type, which contains an implicit conversion operator to convert the object into the generic type. To learn more about implicit operators, see [user-defined conversion operators](/dotnet/csharp/language-reference/operators/user-defined-conversion-operators).
4545

4646
Alternatively, you can return the **ItemResponse<>** generic type and explicitly get the resource. The more general **ItemResponse<>** type also contains useful metadata about the underlying API operation. In this example, metadata about the request unit charge for this operation is gathered using the **RequestCharge** property.
4747

0 commit comments

Comments
 (0)