You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/how-to-read-replicas-portal.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -351,7 +351,7 @@ Replace `<source-server-name>`, and `<resource-group>` with your specific values
351
351
352
352
#### [REST API](#tab/restapi)
353
353
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):
355
355
356
356
```http
357
357
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
369
369
}
370
370
```
371
371
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):
373
373
374
374
```http
375
375
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
774
774
775
775
#### [REST API](#tab/restapi)
776
776
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):
778
778
779
779
```http
780
780
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 \
990
990
Replace `<resource-group>` and `<server-name>` with the name of your resource group name and the replica server name you wish to delete.
991
991
992
992
#### [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.
@@ -1028,7 +1028,7 @@ az postgres flexible-server delete \
1028
1028
Replace `<resource-group>` and `<server-name>` with the name of your resource group name and the primary server name you wish to delete.
1029
1029
1030
1030
#### [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.
0 commit comments