From e6a7f63c6e7c0a7ddce67fc3ba697f73698cdcae Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 22 Jan 2021 06:24:48 +0000 Subject: [PATCH] CodeGen from PR 12118 in Azure/azure-rest-api-specs Merge 94d48fe66c85388dcd1765894186e980e42a3bbe into 12b41f4c0ff9814429a6dcfc4a72d5f9d52d1f62 --- .../2019-06-01-preview/Microsoft.Synapse.json | 347 +++++++++++++++++- .../2020-04-01-preview/Microsoft.Synapse.json | 2 +- 2 files changed, 344 insertions(+), 5 deletions(-) diff --git a/schemas/2019-06-01-preview/Microsoft.Synapse.json b/schemas/2019-06-01-preview/Microsoft.Synapse.json index 71a7213267..2dfe98f900 100644 --- a/schemas/2019-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2019-06-01-preview/Microsoft.Synapse.json @@ -666,6 +666,12 @@ { "$ref": "#/definitions/workspaces_sqlPools_metadataSync_childResource" }, + { + "$ref": "#/definitions/workspaces_sqlPools_geoBackupPolicies_childResource" + }, + { + "$ref": "#/definitions/workspaces_sqlPools_maintenancewindows_childResource" + }, { "$ref": "#/definitions/workspaces_sqlPools_transparentDataEncryption_childResource" }, @@ -922,6 +928,99 @@ ], "description": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings" }, + "workspaces_sqlPools_geoBackupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/Default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the geo backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GeoBackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the geo backup policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + }, + "workspaces_sqlPools_maintenancewindows": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindowsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance windows resource properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + }, "workspaces_sqlPools_metadataSync": { "type": "object", "properties": { @@ -1457,25 +1556,50 @@ ], "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" + }, "creationDate": { "type": "string", "format": "date-time", "description": "The time when the Big Data pool was created." }, + "customLibraries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LibraryResourceProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of custom libraries/packages associated with the spark pool." + }, "defaultSparkLogFolder": { "type": "string", "description": "The default folder where Spark logs will be written." }, - "haveLibraryRequirementsChanged": { + "dynamicExecutorAllocation": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/DynamicExecutorAllocation" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether library requirements changed." + "description": "Dynamic Executor Allocation Properties" }, "isComputeIsolationEnabled": { "oneOf": [ @@ -1825,6 +1949,23 @@ ], "description": "The properties of a Sql pool data masking rule." }, + "DynamicExecutorAllocation": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether Dynamic Executor Allocation is enabled or not." + } + }, + "description": "Dynamic Executor Allocation Properties" + }, "EncryptionDetails": { "type": "object", "properties": { @@ -2124,6 +2265,30 @@ ], "description": "Properties of an extended Sql pool blob auditing policy." }, + "GeoBackupPolicyProperties": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the geo backup policy." + } + }, + "required": [ + "state" + ], + "description": "The properties of the geo backup policy." + }, "IntegrationRuntime": { "type": "object", "oneOf": [ @@ -2579,6 +2744,11 @@ }, "description": "Library requirements for a Big Data pool powered by Apache Spark" }, + "LibraryResourceProperties": { + "type": "object", + "properties": {}, + "description": "Library/package properties" + }, "LicensedComponentSetupTypeProperties": { "type": "object", "properties": { @@ -2663,6 +2833,59 @@ "properties": {}, "description": "The base definition of a linked integration runtime." }, + "MaintenanceWindowsProperties": { + "type": "object", + "properties": { + "timeRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MaintenanceWindowTimeRange" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Maintenance windows resource properties." + }, + "MaintenanceWindowTimeRange": { + "type": "object", + "properties": { + "dayOfWeek": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of maintenance window." + }, + "duration": { + "type": "string", + "description": "Duration of maintenance window in minutes." + }, + "startTime": { + "type": "string", + "description": "Start time minutes offset from 12am." + } + }, + "description": "Maintenance window time range." + }, "ManagedIdentity": { "type": "object", "properties": { @@ -3105,6 +3328,23 @@ "labelName": { "type": "string", "description": "The label name." + }, + "rank": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] } }, "description": "Properties of a sensitivity label." @@ -3890,6 +4130,10 @@ "type": "string", "description": "GitHub Enterprise host name. For example: https://github.mydomain.com" }, + "lastCommitId": { + "type": "string", + "description": "The last commit ID" + }, "projectName": { "type": "string", "description": "VSTS project name" @@ -3902,6 +4146,18 @@ "type": "string", "description": "Root folder to use in the repository" }, + "tenantId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The VSTS tenant ID" + }, "type": { "type": "string", "description": "Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration" @@ -4569,6 +4825,89 @@ ], "description": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings" }, + "workspaces_sqlPools_geoBackupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-06-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "Default" + ], + "description": "The name of the geo backup policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GeoBackupPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the geo backup policy." + }, + "type": { + "type": "string", + "enum": [ + "geoBackupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies" + }, + "workspaces_sqlPools_maintenancewindows_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-06-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "current" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindowsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance windows resource properties." + }, + "type": { + "type": "string", + "enum": [ + "maintenancewindows" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" + }, "workspaces_sqlPools_metadataSync_childResource": { "type": "object", "properties": { @@ -4857,4 +5196,4 @@ "description": "Microsoft.Synapse/workspaces/vulnerabilityAssessments" } } -} \ No newline at end of file +} diff --git a/schemas/2020-04-01-preview/Microsoft.Synapse.json b/schemas/2020-04-01-preview/Microsoft.Synapse.json index ca0f96833e..44155674a0 100644 --- a/schemas/2020-04-01-preview/Microsoft.Synapse.json +++ b/schemas/2020-04-01-preview/Microsoft.Synapse.json @@ -179,4 +179,4 @@ "description": "The sql pool's properties." } } -} \ No newline at end of file +}