Skip to content

Commit 542cfcc

Browse files
authored
Added subscriptionId and resourceGroupName in Server properties (#13059)
* Added subscriptionId and resourceGroupName in properties to enable cross-sub restore * fix for preview version
1 parent 0f59438 commit 542cfcc

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/examples/ServerCreatePointInTimeRestore.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"properties": {
1010
"createMode": "PointInTimeRestore",
1111
"sourceServerName": "sourcePgServerName",
12+
"sourceSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
13+
"sourceResourceGroupName": "RestoreFromResourceGroup",
1214
"pointInTimeUTC": "2020-06-30T23:41:49.000Z"
1315
}
1416
}

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,6 +1270,14 @@
12701270
"type": "string",
12711271
"description": "The source PostgreSQL server name to restore from."
12721272
},
1273+
"sourceSubscriptionId": {
1274+
"type": "string",
1275+
"description": "The subscription id of source serve PostgreSQL server name to restore from."
1276+
},
1277+
"sourceResourceGroupName": {
1278+
"type": "string",
1279+
"description": "The resource group name of source serve PostgreSQL server name to restore from."
1280+
},
12731281
"pointInTimeUTC": {
12741282
"type": "string",
12751283
"format": "date-time",

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"properties": {
1010
"createMode": "PointInTimeRestore",
1111
"sourceServerName": "sourcePgServerName",
12+
"sourceSubscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
13+
"sourceResourceGroupName": "RestoreFromResourceGroup",
1214
"pointInTimeUTC": "2020-06-30T23:41:49.000Z"
1315
}
1416
}

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/postgresql.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,14 @@
15481548
"type": "string",
15491549
"description": "The source PostgreSQL server name to restore from."
15501550
},
1551+
"sourceSubscriptionId": {
1552+
"type": "string",
1553+
"description": "The subscription id of source PostgreSQL server name to restore from."
1554+
},
1555+
"sourceResourceGroupName": {
1556+
"type": "string",
1557+
"description": "The resource group name of source PostgreSQL server name to restore from."
1558+
},
15511559
"pointInTimeUTC": {
15521560
"type": "string",
15531561
"format": "date-time",

0 commit comments

Comments
 (0)