Skip to content

Commit

Permalink
Added subscriptionId and resourceGroupName in Server properties (#13059)
Browse files Browse the repository at this point in the history
* Added subscriptionId and resourceGroupName in properties to enable cross-sub restore

* fix for preview version
  • Loading branch information
melihmutlu authored Mar 2, 2021
1 parent 0f59438 commit 542cfcc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"properties": {
"createMode": "PointInTimeRestore",
"sourceServerName": "sourcePgServerName",
"sourceSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"sourceResourceGroupName": "RestoreFromResourceGroup",
"pointInTimeUTC": "2020-06-30T23:41:49.000Z"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1270,6 +1270,14 @@
"type": "string",
"description": "The source PostgreSQL server name to restore from."
},
"sourceSubscriptionId": {
"type": "string",
"description": "The subscription id of source serve PostgreSQL server name to restore from."
},
"sourceResourceGroupName": {
"type": "string",
"description": "The resource group name of source serve PostgreSQL server name to restore from."
},
"pointInTimeUTC": {
"type": "string",
"format": "date-time",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"properties": {
"createMode": "PointInTimeRestore",
"sourceServerName": "sourcePgServerName",
"sourceSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"sourceResourceGroupName": "RestoreFromResourceGroup",
"pointInTimeUTC": "2020-06-30T23:41:49.000Z"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,14 @@
"type": "string",
"description": "The source PostgreSQL server name to restore from."
},
"sourceSubscriptionId": {
"type": "string",
"description": "The subscription id of source PostgreSQL server name to restore from."
},
"sourceResourceGroupName": {
"type": "string",
"description": "The resource group name of source PostgreSQL server name to restore from."
},
"pointInTimeUTC": {
"type": "string",
"format": "date-time",
Expand Down

0 comments on commit 542cfcc

Please sign in to comment.