Skip to content

Commit

Permalink
Settings API (#4969)
Browse files Browse the repository at this point in the history
  • Loading branch information
toweinbe authored and praries880 committed Jan 2, 2019
1 parent df18403 commit d60524d
Showing 1 changed file with 19 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1492,10 +1492,7 @@
"properties": {},
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"$ref": "#/definitions/SettingKind"
"$ref": "#/definitions/SettingResource"
}
]
},
Expand All @@ -1516,27 +1513,40 @@
}
]
},
"SettingKind": {
"SettingResource": {
"type": "object",
"description": "The kind of the security setting",
"properties": {
"kind": {
"type": "string",
"description": "the kind of the settings string",
"description": "the kind of the settings string (DataExportSetting)",
"enum": [
"DataExportSetting"
"DataExportSetting",
"AlertSuppressionSetting"
],
"x-ms-enum": {
"name": "SettingKind",
"modelAsString": true,
"values": [
{
"value": "DataExportSetting"
},
{
"value": "AlertSuppressionSetting"
}
]
}

}
}
},
"required": [
"kind"
],
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
},
"DataExportSettingProperties": {
"type": "object",
Expand Down Expand Up @@ -1783,7 +1793,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "Name of setting",
"description": "Name of setting: (MCAS/WDATP)",
"enum": [
"MCAS",
"WDATP"
Expand Down

0 comments on commit d60524d

Please sign in to comment.