Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"replica": {
"promoteMode": "Switchover",
"promoteOption": "Forced"
}
},
"sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"
Comment thread
nasc17 marked this conversation as resolved.
}
},
"resourceGroupName": "exampleresourcegroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"replica": {
"promoteMode": "Switchover",
"promoteOption": "Planned"
}
},
"sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"
Comment thread
nasc17 marked this conversation as resolved.
}
},
"resourceGroupName": "exampleresourcegroup",
Expand Down
11 changes: 11 additions & 0 deletions specification/postgresql/DBforPostgreSQL.Management/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -3424,6 +3424,17 @@ model ServerPropertiesForPatch {
@visibility(Lifecycle.Update)
createMode?: CreateModeForPatch;

/**
* Identifier of the server to be used as the source of the new server.
*/
@added(Versions.v2026_04_01)
@visibility(Lifecycle.Update)
sourceServerResourceId?: armResourceIdentifier<[
{
type: "Microsoft.DBforPostgreSQL/flexibleServers";
}
]>;

/**
* Role of the server in a replication set.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"replica": {
"promoteMode": "Switchover",
"promoteOption": "Forced"
}
},
"sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"
Comment thread
nasc17 marked this conversation as resolved.
}
},
"resourceGroupName": "exampleresourcegroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"replica": {
"promoteMode": "Switchover",
"promoteOption": "Planned"
}
},
"sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"
Comment thread
ravimeda marked this conversation as resolved.
}
},
"resourceGroupName": "exampleresourcegroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9588,6 +9588,21 @@
"update"
]
},
"sourceServerResourceId": {
"type": "string",
"format": "arm-id",
"description": "Identifier of the server to be used as the source of the new server.",
"x-ms-mutability": [
"update"
],
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
]
}
},
"replicationRole": {
"$ref": "#/definitions/ReplicationRole",
"description": "Role of the server in a replication set."
Expand Down
Loading