From 3912844e8e60c41ea7d2cff90a4effe731e1182c Mon Sep 17 00:00:00 2001 From: Amit Brahma Date: Sun, 26 Mar 2023 20:28:29 +0530 Subject: [PATCH 1/2] Fix bug where ReplicationRoles was exposing unsupported roles --- .../stable/2022-12-01/FlexibleServers.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json index 50d66a4fb9d7..eb61e90ce0da 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json @@ -838,11 +838,7 @@ "enum": [ "None", "Primary", - "Secondary", - "WalReplica", - "SyncReplica", "AsyncReplica", - "GeoSyncReplica", "GeoAsyncReplica" ], "x-ms-enum": { From eb00a45248a1e20983e89d618c2b01f1ebbe4b20 Mon Sep 17 00:00:00 2001 From: Amit Brahma Date: Mon, 27 Mar 2023 08:47:35 +0530 Subject: [PATCH 2/2] Remove unsupported ReplicationRole from api version 2022-03-08-preview --- .../preview/2022-03-08-preview/FlexibleServers.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2022-03-08-preview/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2022-03-08-preview/FlexibleServers.json index f2d84990032c..ef947469b928 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2022-03-08-preview/FlexibleServers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2022-03-08-preview/FlexibleServers.json @@ -817,11 +817,7 @@ "enum": [ "None", "Primary", - "Secondary", - "WalReplica", - "SyncReplica", "AsyncReplica", - "GeoSyncReplica", "GeoAsyncReplica" ], "x-ms-enum": {