From c42b2d7d3b8cdbf41e113f41bd090f377da42dae Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 4 Jan 2022 21:45:49 +0000 Subject: [PATCH] CodeGen from PR 17107 in Azure/azure-rest-api-specs Merge 2a975203b1a7773d746f9aef6ba180e6d1378110 into fc59c63a825be4d9d5da3b5bd90ba62c22b7401f --- .../Microsoft.Security.json | 63 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 66 insertions(+) create mode 100644 schemas/2021-12-01-preview/Microsoft.Security.json diff --git a/schemas/2021-12-01-preview/Microsoft.Security.json b/schemas/2021-12-01-preview/Microsoft.Security.json new file mode 100644 index 0000000000..ce8ecd191e --- /dev/null +++ b/schemas/2021-12-01-preview/Microsoft.Security.json @@ -0,0 +1,63 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.Security.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Security", + "description": "Microsoft Security Resource Types", + "resourceDefinitions": { + "scanners": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-12-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Entity tag is used for comparing two or more entities from the same requested resource." + }, + "kind": { + "type": "string", + "description": "Kind of the resource" + }, + "location": { + "type": "string", + "description": "Location where the resource is stored" + }, + "name": { + "type": "string", + "description": "Security scanner name" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of key value pairs that describe the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/scanners" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Security/scanners" + } + }, + "definitions": {} +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 896953579e..9aea121405 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11398,6 +11398,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.Security.json#/resourceDefinitions/standards" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.Security.json#/resourceDefinitions/scanners" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-11/Microsoft.SecurityAndCompliance.json#/resourceDefinitions/privateLinkServicesForEDMUpload" },