Skip to content

Commit 858b110

Browse files
author
SDKAuto
committed
CodeGen from PR 14374 in Azure/azure-rest-api-specs
Merge 61d132fca8f6b9fa84a32a698e248c1d23d493f1 into 5f9965cd81e1651c38651ddc9a964a7f1ba4b218
1 parent f6dd80a commit 858b110

File tree

3 files changed

+156
-0
lines changed

3 files changed

+156
-0
lines changed

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@
474474
{
475475
"$ref": "https://schema.management.azure.com/schemas/2021-01-15-preview/Microsoft.Security.json#/subscription_resourceDefinitions/ingestionSettings"
476476
},
477+
{
478+
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings"
479+
},
477480
{
478481
"$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets"
479482
},

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
},
6262
"name": {
6363
"type": "string",
64+
"enum": [
65+
"current"
66+
],
6467
"description": "Advanced Threat Protection setting name."
6568
},
6669
"properties": {
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2021-06-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+
"$ref": "#/definitions/AlertSyncSettings"
16+
}
17+
],
18+
"properties": {
19+
"apiVersion": {
20+
"type": "string",
21+
"enum": [
22+
"2021-06-01"
23+
]
24+
},
25+
"name": {
26+
"oneOf": [
27+
{
28+
"type": "string",
29+
"enum": [
30+
"MCAS",
31+
"WDATP",
32+
"Sentinel"
33+
]
34+
},
35+
{
36+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
37+
}
38+
],
39+
"description": "The name of the setting."
40+
},
41+
"type": {
42+
"type": "string",
43+
"enum": [
44+
"Microsoft.Security/settings"
45+
]
46+
}
47+
},
48+
"required": [
49+
"apiVersion",
50+
"name",
51+
"type"
52+
],
53+
"description": "Microsoft.Security/settings"
54+
}
55+
},
56+
"definitions": {
57+
"AlertSyncSettingProperties": {
58+
"type": "object",
59+
"properties": {
60+
"enabled": {
61+
"oneOf": [
62+
{
63+
"type": "boolean"
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
],
69+
"description": "Is the alert sync setting enabled"
70+
}
71+
},
72+
"required": [
73+
"enabled"
74+
],
75+
"description": "The alert sync setting properties"
76+
},
77+
"AlertSyncSettings": {
78+
"type": "object",
79+
"properties": {
80+
"kind": {
81+
"type": "string",
82+
"enum": [
83+
"AlertSyncSettings"
84+
]
85+
},
86+
"properties": {
87+
"oneOf": [
88+
{
89+
"$ref": "#/definitions/AlertSyncSettingProperties"
90+
},
91+
{
92+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
93+
}
94+
],
95+
"description": "The alert sync setting properties"
96+
}
97+
},
98+
"required": [
99+
"kind"
100+
],
101+
"description": "Represents an alert sync setting"
102+
},
103+
"DataExportSettingProperties": {
104+
"type": "object",
105+
"properties": {
106+
"enabled": {
107+
"oneOf": [
108+
{
109+
"type": "boolean"
110+
},
111+
{
112+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
113+
}
114+
],
115+
"description": "Is the data export setting enabled"
116+
}
117+
},
118+
"required": [
119+
"enabled"
120+
],
121+
"description": "The data export setting properties"
122+
},
123+
"DataExportSettings": {
124+
"type": "object",
125+
"properties": {
126+
"kind": {
127+
"type": "string",
128+
"enum": [
129+
"DataExportSettings"
130+
]
131+
},
132+
"properties": {
133+
"oneOf": [
134+
{
135+
"$ref": "#/definitions/DataExportSettingProperties"
136+
},
137+
{
138+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
139+
}
140+
],
141+
"description": "The data export setting properties"
142+
}
143+
},
144+
"required": [
145+
"kind"
146+
],
147+
"description": "Represents a data export setting"
148+
}
149+
}
150+
}

0 commit comments

Comments
 (0)