/
CreateDatabasePITRMode.json
98 lines (98 loc) · 3.61 KB
/
CreateDatabasePITRMode.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "Default-SQL-SouthEastAsia",
"serverName": "testsvr",
"databaseName": "dbpitr",
"api-version": "2023-02-01-preview",
"parameters": {
"location": "southeastasia",
"properties": {
"createMode": "PointInTimeRestore",
"sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SoutheastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
"restorePointInTime": "2020-10-22T05:35:31.503Z"
}
}
},
"responses": {
"200": {
"body": {
"sku": {
"name": "Standard",
"tier": "Standard",
"capacity": 10
},
"kind": "v12.0,user",
"properties": {
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": 268435456000,
"status": "Online",
"databaseId": "2463ef48-53e2-4c26-9781-2d7138080bfd",
"creationDate": "2020-10-23T20:31:35.807Z",
"currentServiceObjectiveName": "S0",
"requestedServiceObjectiveName": "S0",
"defaultSecondaryLocation": "SoutheastAsia",
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
"isInfraEncryptionEnabled": false,
"zoneRedundant": false,
"earliestRestoreDate": "2020-10-23T20:47:37Z",
"readScale": "Disabled",
"currentSku": {
"name": "Standard",
"tier": "Standard",
"capacity": 10
},
"currentBackupStorageRedundancy": "Geo",
"requestedBackupStorageRedundancy": "Geo",
"isLedgerOn": false
},
"location": "SoutheastAsia",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SoutheastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
"name": "dbpitr",
"type": "Microsoft.Sql/servers/databases"
}
},
"201": {
"body": {
"sku": {
"name": "Standard",
"tier": "Standard",
"capacity": 10
},
"kind": "v12.0,user",
"properties": {
"collation": "SQL_Latin1_General_CP1_CI_AS",
"maxSizeBytes": 268435456000,
"status": "Online",
"databaseId": "2463ef48-53e2-4c26-9781-2d7138080bfd",
"creationDate": "2020-10-23T20:31:35.807Z",
"currentServiceObjectiveName": "S0",
"requestedServiceObjectiveName": "S0",
"defaultSecondaryLocation": "SoutheastAsia",
"catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
"isInfraEncryptionEnabled": false,
"zoneRedundant": false,
"earliestRestoreDate": "2020-10-23T20:47:37Z",
"readScale": "Disabled",
"currentSku": {
"name": "Standard",
"tier": "Standard",
"capacity": 10
},
"currentBackupStorageRedundancy": "Geo",
"requestedBackupStorageRedundancy": "Geo",
"isLedgerOn": false
},
"location": "SoutheastAsia",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SoutheastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
"name": "dbpitr",
"type": "Microsoft.Sql/servers/databases"
}
},
"202": {
"headers": {
"Location": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/11111111-1111-1111-1111-111111111111"
}
}
}
}