From b1160b765f9caa7fa53ee7422b5ddb0babd13695 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 2 Feb 2023 05:49:19 +0000 Subject: [PATCH] CodeGen from PR 22303 in Azure/azure-rest-api-specs Swagger Correctness BigDataPool (#22303) * Swagger Correctness BigDataPool * WorkspaceAadAdmins 2021-06-01-preview update * Resolve Model Validaiton Error --- .../2021-06-01-preview/Microsoft.Synapse.json | 16 ---- schemas/2021-06-01/Microsoft.Synapse.json | 76 +++++++++++-------- 2 files changed, 44 insertions(+), 48 deletions(-) diff --git a/schemas/2021-06-01-preview/Microsoft.Synapse.json b/schemas/2021-06-01-preview/Microsoft.Synapse.json index 3b704c29db..4559b437d2 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -2229,17 +2229,6 @@ ], "description": "Auto-scaling properties of a Big Data pool powered by Apache Spark" }, - "cacheSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cache size" - }, "customLibraries": { "oneOf": [ { @@ -4188,11 +4177,6 @@ "type": { "type": "string", "description": "Type of the library." - }, - "uploadedTimestamp": { - "type": "string", - "format": "date-time", - "description": "The last update time of the library." } }, "description": "Library/package information of a Big Data pool powered by Apache Spark" diff --git a/schemas/2021-06-01/Microsoft.Synapse.json b/schemas/2021-06-01/Microsoft.Synapse.json index c35d39b094..ded4d16a24 100644 --- a/schemas/2021-06-01/Microsoft.Synapse.json +++ b/schemas/2021-06-01/Microsoft.Synapse.json @@ -1768,17 +1768,6 @@ ], "description": "Auto-scaling properties of a Big Data pool powered by Apache Spark" }, - "cacheSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cache size" - }, "customLibraries": { "oneOf": [ { @@ -3125,11 +3114,6 @@ "type": { "type": "string", "description": "Type of the library." - }, - "uploadedTimestamp": { - "type": "string", - "format": "date-time", - "description": "The last update time of the library." } }, "description": "Library/package information of a Big Data pool powered by Apache Spark" @@ -4006,7 +3990,7 @@ "recurringScans": { "oneOf": [ { - "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties" + "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansPropertiesModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -4408,6 +4392,49 @@ }, "description": "Properties of a Vulnerability Assessment recurring scans." }, + "VulnerabilityAssessmentRecurringScansPropertiesModel": { + "type": "object", + "properties": { + "emails": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of e-mail addresses to which the scan notification is sent." + }, + "emailSubscriptionAdmins": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the schedule scan notification will be is sent to the subscription administrators." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurring scans state." + } + }, + "description": "Properties of a Vulnerability Assessment recurring scans." + }, "WorkloadClassifierProperties": { "type": "object", "properties": { @@ -4539,21 +4566,6 @@ ], "description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource" }, - "connectivityEndpoints": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connectivity endpoints" - }, "cspWorkspaceAdminProperties": { "oneOf": [ {