From effa00e537214f39cd7b2ee1f478ee91d3059f1e Mon Sep 17 00:00:00 2001 From: ambrahma <61298407+ambrahma@users.noreply.github.com> Date: Mon, 3 Apr 2023 08:00:32 +0530 Subject: [PATCH] Fix bug where ReplicationRoles was exposing unsupported roles (#23294) * Fix bug where ReplicationRoles was exposing unsupported roles * Remove unsupported ReplicationRole from api version 2022-03-08-preview --- .../preview/2022-03-08-preview/FlexibleServers.json | 4 ---- .../stable/2022-12-01/FlexibleServers.json | 4 ---- 2 files changed, 8 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": { 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": {