/
ServerThreatProtectionSettingsCreateOrUpdate.json
39 lines (39 loc) · 1.35 KB
/
ServerThreatProtectionSettingsCreateOrUpdate.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
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "threatprotection-4799",
"serverName": "threatprotection-6440",
"threatProtectionName": "Default",
"api-version": "2023-12-01-preview",
"parameters": {
"properties": {
"state": "Enabled"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
"name": "Default",
"type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
"properties": {
"state": "Enabled",
"creationTime": "2023-09-03T04:41:33.937Z"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
"name": "Default",
"type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
"properties": {
"state": "Enabled",
"creationTime": "2023-09-03T04:41:33.937Z"
}
}
},
"202": {}
}
}