Skip to content

Commit 6168c13

Browse files
Fix URL to Replicas List By Server REST API
1 parent 5553eb2 commit 6168c13

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/postgresql/flexible-server/how-to-read-replicas-portal.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ Replace `<source-server-name>`, and `<resource-group>` with your specific values
351351

352352
#### [REST API](#tab/restapi)
353353

354-
Initiate an `HTTP PUT` request by using the [create API](/rest/api/postgresql/flexibleserver/servers/create):
354+
Initiate an `HTTP PUT` request by using the [servers create API](/rest/api/postgresql/flexibleserver/servers/create):
355355

356356
```http
357357
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{replicaserverName}?api-version=2022-12-01
@@ -369,7 +369,7 @@ Here, you need to replace `{subscriptionId}`, `{resourceGroupName}`, and `{repli
369369
}
370370
```
371371

372-
After the read replica is created, the properties of all servers which are replicas of a primary replica can be obtained by initiating an `HTTP GET` request by using [list by server replicas API](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/Replicas.json):
372+
After the read replica is created, the properties of all servers which are replicas of a primary replica can be obtained by initiating an `HTTP GET` request by using [replicas list by server API](/rest/api/postgresql/flexibleserver/replicas/list-by-server):
373373

374374
```http
375375
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{sourceserverName}/replicas?api-version=2022-12-01
@@ -774,7 +774,7 @@ Replace `<resource-group>`, `<source-server-name>` and `<location>` with your sp
774774

775775
#### [REST API](#tab/restapi)
776776

777-
You can create a secondary read replica by using the [create API](/rest/api/postgresql/flexibleserver/servers/create):
777+
You can create a secondary read replica by using the [servers create API](/rest/api/postgresql/flexibleserver/servers/create):
778778

779779
```http
780780
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{replicaserverName}?api-version=2022-12-01
@@ -990,7 +990,7 @@ az postgres flexible-server delete \
990990
Replace `<resource-group>` and `<server-name>` with the name of your resource group name and the replica server name you wish to delete.
991991

992992
#### [REST API](#tab/restapi)
993-
To delete a primary or replica server, use the [delete API](/rest/api/postgresql/flexibleserver/servers/delete). If server has read replicas then read replicas should be deleted first before deleting the primary server.
993+
To delete a primary or replica server, use the [servers delete API](/rest/api/postgresql/flexibleserver/servers/delete). If server has read replicas then read replicas should be deleted first before deleting the primary server.
994994

995995
```http
996996
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{replicaserverName}?api-version=2022-12-01
@@ -1028,7 +1028,7 @@ az postgres flexible-server delete \
10281028
Replace `<resource-group>` and `<server-name>` with the name of your resource group name and the primary server name you wish to delete.
10291029

10301030
#### [REST API](#tab/restapi)
1031-
To delete a primary or replica server, use the [delete API](/rest/api/postgresql/flexibleserver/servers/delete). If server has read replicas then read replicas should be deleted first before deleting the primary server.
1031+
To delete a primary or replica server, use the [servers delete API](/rest/api/postgresql/flexibleserver/servers/delete). If server has read replicas then read replicas should be deleted first before deleting the primary server.
10321032

10331033
```http
10341034
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{sourceserverName}?api-version=2022-12-01

0 commit comments

Comments
 (0)