Skip to content

Commit

Permalink
CodeGen from PR 14374 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 19d0e8f2959a29e9fd2c74217dc539cd4a4fc84e into 15267a1eafe1fb01e77d2b5b022c3143aede36ce
  • Loading branch information
SDKAuto committed May 12, 2021
1 parent 0ba0c65 commit 048933a
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/2018-05-01/subscriptionDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-08-06-preview/Microsoft.Security.json#/unknown_resourceDefinitions/iotSites"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#/subscription_resourceDefinitions/settings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets"
},
Expand Down
3 changes: 3 additions & 0 deletions schemas/2019-01-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
"name": {
"type": "string",
"enum": [
"current"
],
"description": "Advanced Threat Protection setting name."
},
"properties": {
Expand Down
150 changes: 150 additions & 0 deletions schemas/2021-06-01/Microsoft.Security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Security.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Security",
"description": "Microsoft Security Resource Types",
"resourceDefinitions": {},
"subscription_resourceDefinitions": {
"settings": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/DataExportSettings"
},
{
"$ref": "#/definitions/AlertSyncSettings"
}
],
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01"
]
},
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"MCAS",
"WDATP",
"Sentinel"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the setting."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Security/settings"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "Microsoft.Security/settings"
}
},
"definitions": {
"AlertSyncSettingProperties": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Is the alert sync setting enabled"
}
},
"required": [
"enabled"
],
"description": "The alert sync setting properties"
},
"AlertSyncSettings": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"AlertSyncSettings"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AlertSyncSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The alert sync setting properties"
}
},
"required": [
"kind"
],
"description": "Represents an alert sync setting"
},
"DataExportSettingProperties": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Is the data export setting enabled"
}
},
"required": [
"enabled"
],
"description": "The data export setting properties"
},
"DataExportSettings": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"DataExportSettings"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DataExportSettingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The data export setting properties"
}
},
"required": [
"kind"
],
"description": "Represents a data export setting"
}
}
}

0 comments on commit 048933a

Please sign in to comment.