Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d60524d

Browse files
toweinbepraries880
authored andcommitted
Settings API (Azure#4969)
1 parent df18403 commit d60524d

File tree

1 file changed

+19
-9
lines changed
  • specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview

1 file changed

+19
-9
lines changed

specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,10 +1492,7 @@
14921492
"properties": {},
14931493
"allOf": [
14941494
{
1495-
"$ref": "#/definitions/Resource"
1496-
},
1497-
{
1498-
"$ref": "#/definitions/SettingKind"
1495+
"$ref": "#/definitions/SettingResource"
14991496
}
15001497
]
15011498
},
@@ -1516,27 +1513,40 @@
15161513
}
15171514
]
15181515
},
1519-
"SettingKind": {
1516+
"SettingResource": {
15201517
"type": "object",
15211518
"description": "The kind of the security setting",
15221519
"properties": {
15231520
"kind": {
15241521
"type": "string",
1525-
"description": "the kind of the settings string",
1522+
"description": "the kind of the settings string (DataExportSetting)",
15261523
"enum": [
1527-
"DataExportSetting"
1524+
"DataExportSetting",
1525+
"AlertSuppressionSetting"
15281526
],
15291527
"x-ms-enum": {
15301528
"name": "SettingKind",
15311529
"modelAsString": true,
15321530
"values": [
15331531
{
15341532
"value": "DataExportSetting"
1533+
},
1534+
{
1535+
"value": "AlertSuppressionSetting"
15351536
}
15361537
]
15371538
}
1539+
15381540
}
1539-
}
1541+
},
1542+
"required": [
1543+
"kind"
1544+
],
1545+
"allOf": [
1546+
{
1547+
"$ref": "#/definitions/Resource"
1548+
}
1549+
]
15401550
},
15411551
"DataExportSettingProperties": {
15421552
"type": "object",
@@ -1783,7 +1793,7 @@
17831793
"in": "path",
17841794
"required": true,
17851795
"type": "string",
1786-
"description": "Name of setting",
1796+
"description": "Name of setting: (MCAS/WDATP)",
17871797
"enum": [
17881798
"MCAS",
17891799
"WDATP"

0 commit comments

Comments
 (0)