diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json index cc982655fbb6..6bb4771bad21 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json @@ -910,6 +910,11 @@ "name": "IdentityType", "modelAsString": true } + }, + "tenantId": { + "type": "string", + "description": "Tenant id of the server.", + "readOnly": true } }, "required": [ 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 d2ae9ea298be..54aab9f75b33 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 @@ -484,9 +484,10 @@ } ] }, - "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'.", + "description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server", "x-ms-mutability": [ - "create" + "create", + "read" ] }, "pointInTimeUTC": { @@ -513,7 +514,8 @@ "replicaCapacity": { "type": "integer", "format": "int32", - "description": "Replicas allowed for a server." + "description": "Replicas allowed for a server.", + "readOnly": true }, "createMode": { "type": "string", @@ -816,7 +818,7 @@ }, "type": { "type": "string", - "description": "the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'", + "description": "the types of identities associated with this resource; currently restricted to 'None and UserAssigned'", "enum": [ "None", "UserAssigned" @@ -825,6 +827,11 @@ "name": "IdentityType", "modelAsString": true } + }, + "tenantId": { + "type": "string", + "description": "Tenant id of the server.", + "readOnly": true } }, "required": [ diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/examples/ServerCreateReplica.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/examples/ServerCreateReplica.json index 22568b9b85a5..cad075ffdc49 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/examples/ServerCreateReplica.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/examples/ServerCreateReplica.json @@ -55,6 +55,7 @@ "startHour": 0, "startMinute": 0 }, + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername", "replicationRole": "AsyncReplica", "replicaCapacity": 0 }, @@ -108,6 +109,7 @@ "startHour": 0, "startMinute": 0 }, + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername", "replicationRole": "AsyncReplica", "replicaCapacity": 0 },