Skip to content

Commit 457cfba

Browse files
author
SDKAuto
committed
CodeGen from PR 11703 in Azure/azure-rest-api-specs
Merge 22a93e1606a9bc01e7cae1b4da9df12622e024b5 into 8a1b32ac45e52534e2c794a66ce927bc4c576fde
1 parent 55caa1a commit 457cfba

File tree

9 files changed

+5507
-1394
lines changed

9 files changed

+5507
-1394
lines changed

schemas/2015-06-01-preview/Microsoft.Security.json

Lines changed: 597 additions & 206 deletions
Large diffs are not rendered by default.

schemas/2017-08-01-preview/Microsoft.Security.json

Lines changed: 1253 additions & 480 deletions
Large diffs are not rendered by default.

schemas/2018-06-01/Microsoft.Security.json

Lines changed: 29 additions & 708 deletions
Large diffs are not rendered by default.

schemas/2019-01-01-preview/Microsoft.Security.json

Lines changed: 898 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Security.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Security",
5+
"description": "Microsoft Security Resource Types",
6+
"resourceDefinitions": {},
7+
"subscription_resourceDefinitions": {
8+
"settings": {
9+
"type": "object",
10+
"oneOf": [
11+
{
12+
"$ref": "#/definitions/DataExportSettings"
13+
}
14+
],
15+
"properties": {
16+
"apiVersion": {
17+
"type": "string",
18+
"enum": [
19+
"2019-01-01"
20+
]
21+
},
22+
"name": {
23+
"oneOf": [
24+
{
25+
"type": "string",
26+
"enum": [
27+
"MCAS",
28+
"WDATP"
29+
]
30+
},
31+
{
32+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
33+
}
34+
],
35+
"description": "Name of setting: (MCAS/WDATP)."
36+
},
37+
"type": {
38+
"type": "string",
39+
"enum": [
40+
"Microsoft.Security/settings"
41+
]
42+
}
43+
},
44+
"required": [
45+
"apiVersion",
46+
"name",
47+
"type"
48+
],
49+
"description": "Microsoft.Security/settings"
50+
}
51+
},
52+
"unknown_resourceDefinitions": {
53+
"advancedThreatProtectionSettings": {
54+
"type": "object",
55+
"properties": {
56+
"apiVersion": {
57+
"type": "string",
58+
"enum": [
59+
"2019-01-01"
60+
]
61+
},
62+
"name": {
63+
"type": "string",
64+
"description": "Advanced Threat Protection setting name."
65+
},
66+
"properties": {
67+
"oneOf": [
68+
{
69+
"$ref": "#/definitions/AdvancedThreatProtectionProperties"
70+
},
71+
{
72+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
73+
}
74+
],
75+
"description": "The Advanced Threat Protection settings."
76+
},
77+
"type": {
78+
"type": "string",
79+
"enum": [
80+
"Microsoft.Security/advancedThreatProtectionSettings"
81+
]
82+
}
83+
},
84+
"required": [
85+
"apiVersion",
86+
"name",
87+
"properties",
88+
"type"
89+
],
90+
"description": "Microsoft.Security/advancedThreatProtectionSettings"
91+
}
92+
},
93+
"definitions": {
94+
"AdvancedThreatProtectionProperties": {
95+
"type": "object",
96+
"properties": {
97+
"isEnabled": {
98+
"oneOf": [
99+
{
100+
"type": "boolean"
101+
},
102+
{
103+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
104+
}
105+
],
106+
"description": "Indicates whether Advanced Threat Protection is enabled."
107+
}
108+
},
109+
"description": "The Advanced Threat Protection settings."
110+
},
111+
"DataExportSettingProperties": {
112+
"type": "object",
113+
"properties": {
114+
"enabled": {
115+
"oneOf": [
116+
{
117+
"type": "boolean"
118+
},
119+
{
120+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
121+
}
122+
],
123+
"description": "Is the data export setting is enabled"
124+
}
125+
},
126+
"required": [
127+
"enabled"
128+
],
129+
"description": "The data export setting properties"
130+
},
131+
"DataExportSettings": {
132+
"type": "object",
133+
"properties": {
134+
"kind": {
135+
"type": "string",
136+
"enum": [
137+
"DataExportSettings"
138+
]
139+
},
140+
"properties": {
141+
"oneOf": [
142+
{
143+
"$ref": "#/definitions/DataExportSettingProperties"
144+
},
145+
{
146+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
147+
}
148+
],
149+
"description": "The data export setting properties"
150+
}
151+
},
152+
"required": [
153+
"kind"
154+
],
155+
"description": "Represents a data export setting"
156+
}
157+
}
158+
}

0 commit comments

Comments
 (0)