-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 19334 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.Security to add version stable/2022-05-01 (#19334) * Adds base for updating Microsoft.Security from version stable/2021-07-01 to version 2022-05-01 * Updates readme * Updates API version in new specs and examples * add Microsoft.Security Settings API version 2022-05-01 Co-authored-by: Shahaf Alkaslassy <[email protected]>
- Loading branch information
SDKAuto
and
Shahaf Alkaslassy
committed
Jun 9, 2022
1 parent
781c10c
commit 63733b0
Showing
2 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2022-05-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": [ | ||
"2022-05-01" | ||
] | ||
}, | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"MCAS", | ||
"WDATP", | ||
"WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW", | ||
"WDATP_UNIFIED_SOLUTION", | ||
"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" | ||
} | ||
} | ||
} |