/
ServerGroupCreatePITR.json
58 lines (58 loc) · 1.95 KB
/
ServerGroupCreatePITR.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "TestGroup",
"serverGroupName": "hsctestsg",
"api-version": "2020-10-05-privatepreview",
"parameters": {
"location": "westus",
"properties": {
"createMode": "PointInTimeRestore",
"pointInTimeUTC": "2017-12-14T00:00:37.467Z",
"sourceLocation": "eastus",
"sourceSubscriptionId": "dddddddd-dddd-dddd-dddd-dddddddddddd",
"sourceResourceGroupName": "SourceGroup",
"sourceServerGroupName": "pgtests-source-server-group",
"enableMx": true,
"enableZfs": false
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
"name": "hsctestsg",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {},
"location": "westus2"
}
},
"201": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
"name": "hsctestsg",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {},
"location": "westus2"
}
},
"202": {}
}
}