Skip to content

Commit e67977d

Browse files
Merge pull request #4782 from MicrosoftDocs/main
Auto Publish – main to live - 2026-04-13 17:11 UTC
2 parents 5f80308 + b83d370 commit e67977d

File tree

3 files changed

+50
-13
lines changed

3 files changed

+50
-13
lines changed

articles/cosmos-db/quickstart-vector-store-dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ To provision resources:
8484
git clone https://github.com/Azure-Samples/cosmos-db-vector-samples.git
8585
```
8686

87-
1. Navigate to the root folder of the cloned repository (where `azure.yml` is located), for example:
87+
1. Navigate to the root folder of the cloned repository (where `azure.yaml` is located), for example:
8888

8989
```bash
9090
cd cosmos-db-vector-samples
@@ -103,7 +103,7 @@ Follow the prompts to select your Azure subscription and environment.
103103
* **Azure Cosmos DB**: Serverless account with the `Hotels` database and containers
104104
* **Azure OpenAI**: Resource with deployments for:
105105
* Embedding model: `text-embedding-3-small`
106-
* Chat model: `gpt-4o-mini`
106+
* Chat model: `gpt-4.1-mini`
107107
* **Managed Identity**: User-assigned identity for secure access.
108108
* Azure RBAC role assignments that enable Microsoft Entra ID (passwordless) access for the managed identity to Azure Cosmos DB and Azure OpenAI.
109109

articles/cosmos-db/quickstart-vector-store-nodejs.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ms.author: diberry
77
ms.reviewer: jcodella
88
ms.devlang: typescript
99
ms.service: azure-cosmos-db
10+
ms.subservice: nosql
1011
ms.topic: quickstart-sdk
1112
ms.date: 02/11/2026
1213
ai-usage: ai-assisted
@@ -58,11 +59,35 @@ Find the sample code with resource provisioning on [GitHub](https://github.com/A
5859

5960
1. Create a new data directory for the hotels data file:
6061

62+
### [Linux/macOS](#tab/tab-data-linux)
63+
6164
```bash
6265
mkdir data
6366
```
6467

65-
1. Copy the [raw data file with vectors](https://raw.githubusercontent.com/Azure-Samples/cosmos-db-vector-samples/refs/heads/main/data/HotelsData_toCosmosDB_Vector.json) to your `data` directory.
68+
### [Windows](#tab/tab-data-windows)
69+
70+
```powershell
71+
New-Item -ItemType Directory -Force -Path data
72+
```
73+
74+
---
75+
76+
1. Download the [raw data file with vectors](https://raw.githubusercontent.com/Azure-Samples/cosmos-db-vector-samples/refs/heads/main/data/HotelsData_toCosmosDB_Vector.json) to your `data` directory:
77+
78+
### [Linux/macOS](#tab/tab-curl-linux)
79+
80+
```bash
81+
curl -o data/HotelsData_toCosmosDB_Vector.json https://raw.githubusercontent.com/Azure-Samples/cosmos-db-vector-samples/refs/heads/main/data/HotelsData_toCosmosDB_Vector.json
82+
```
83+
84+
### [Windows](#tab/tab-curl-windows)
85+
86+
```powershell
87+
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Azure-Samples/cosmos-db-vector-samples/refs/heads/main/data/HotelsData_toCosmosDB_Vector.json" -OutFile "data/HotelsData_toCosmosDB_Vector.json"
88+
```
89+
90+
---
6691

6792
## Create a Node.js project
6893

@@ -190,12 +215,24 @@ Use these scripts to compile TypeScript files and run the Quantized flat index i
190215
191216
Create a `src` directory for your TypeScript files. Add two files: `vector-search.ts` and `utils.ts` for your vector search implementation:
192217
218+
### [Linux/macOS](#tab/tab-touch-linux)
219+
193220
```bash
194-
mkdir src
221+
mkdir src
195222
touch src/vector-search.ts
196223
touch src/utils.ts
197224
```
198225
226+
### [Windows](#tab/tab-touch-windows)
227+
228+
```powershell
229+
New-Item -ItemType Directory -Force -Path src | Out-Null
230+
New-Item -ItemType File -Path src/vector-search.ts | Out-Null
231+
New-Item -ItemType File -Path src/utils.ts | Out-Null
232+
```
233+
234+
---
235+
199236
## Create code for vector search
200237
201238
@@ -282,7 +319,7 @@ This utility module provides these **key** functions:
282319
283320
Sign in to Azure CLI before you run the application so the app can access Azure resources securely.
284321
285-
```bash
322+
```azurecli
286323
az login
287324
```
288325

articles/postgresql/read-replica/concepts-read-replicas.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article describes the read replica feature usage for an Azure
44
author: gkasar
55
ms.author: gkasar
66
ms.reviewer: maghan
7-
ms.date: 07/16/2025
7+
ms.date: 04/6/2026
88
ms.service: azure-database-postgresql
99
ms.subservice: replication
1010
ms.topic: how-to
@@ -85,20 +85,20 @@ Certain functionalities are restricted to primary servers and can't be set up on
8585

8686
If your source Azure Database for PostgreSQL flexible server instance is encrypted with customer-managed keys, see the [documentation](../security/security-data-encryption.md) for other considerations.
8787

88-
## Create cascading read replicas (Preview)
88+
## Create cascading read replicas
8989

90-
Cascading read replicas can help distribute read workloads, reducing the load on the primary server. Deploying read replicas in different regions (cross-region read replicas) can help distribute read traffic closer to users in various geographies. You can add cascading read replicas to Azure Database for PostgreSQL flexible server instance, this feature is supported in public preview capacity. This allows you to create new read replicas on top of an existing read replica, with the existing read replica acting as the source for the next level.
90+
Cascading read replicas can help distribute read workloads, reducing the load on the primary server. Deploying read replicas in different regions (cross-region read replicas) can help distribute read traffic closer to users in various geographies. You can add cascading read replicas to Azure Database for PostgreSQL server. This allows you to create new read replicas on top of an existing read replica, with the existing read replica acting as the source for the next level.
9191

9292
The first-level read replica asynchronously replicates data from the primary server. A second-level read replica can then be created using the first-level replica as its source, forming a two-tier replication hierarchy. This architecture increases scalability, supporting up to 30 read replica servers with the primary server allowing up to 5 read replicas, and each of those replicas supporting 5 additional replicas. To add a cascading read replica to Azure Database for PostgreSQL flexible server instance, select the existing read replica (created from the primary server), and navigate to the 'Replication' tab and click 'Create replica'.
9393

9494
For example, your primary server can have up to 5 read replicas (level 1). One of these, say read-replica-1, can act as the source for another replica read-replica-2 which becomes part of (level 2).
9595

96-
#### Preview considerations:
96+
#### Key considerations:
9797
1. Up to 5 read replicas can be created per source read replica, with support for 2 levels of replication.
98-
2. Promote operation is not supported for intermediate read replicas with cascading read replicas.
99-
3. Virtual endpoints are not supported for cascading replicas.
100-
4. Cascading read replicas are supported on intermediate replicas with PostgreSQL version 14 and above.
101-
5. This feature is supported in: West US, Spain Central, Australia East, South Central US, UK West, Poland Central, Italy North, West US 2, East US 2, East Asia and Canada Central.
98+
2. Switchover operation is supported between intermediate read replica (source) and cascading read replica.
99+
3. Promote to primary operation is not supported for intermediate read replicas with cascading read replicas.
100+
4. Virtual endpoints are not supported for cascading replicas.
101+
5. Cascading read replicas are supported on intermediate replicas with PostgreSQL version 14 and above.
102102

103103
## Connect to a replica
104104

0 commit comments

Comments
 (0)