From 3505c813456fecb0bcc005cd87f712ad252ad4b3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 7 Jan 2022 06:30:38 +0000 Subject: [PATCH] CodeGen from PR 17213 in Azure/azure-rest-api-specs Merge c58257efd15d1363d43f064efd8514445e0cb706 into 23ca45b7dfce24112bc686bae70c4424f33ae69e --- .../2021-06-01-preview/Microsoft.Synapse.json | 134 +++++++++++++---- schemas/2021-06-01/Microsoft.Synapse.json | 139 +++++++++++++++--- 2 files changed, 227 insertions(+), 46 deletions(-) diff --git a/schemas/2021-06-01-preview/Microsoft.Synapse.json b/schemas/2021-06-01-preview/Microsoft.Synapse.json index 6de2b1f644..1a4eec9ab6 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -733,6 +733,9 @@ "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { @@ -2150,11 +2153,6 @@ ], "description": "The cache size" }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The time when the Big Data pool was created." - }, "customLibraries": { "oneOf": [ { @@ -2744,6 +2742,28 @@ } ], "description": "Indicates whether Dynamic Executor Allocation is enabled or not." + }, + "maxExecutors": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of executors alloted" + }, + "minExecutors": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of executors alloted" } }, "description": "Dynamic Executor Allocation Properties" @@ -4298,6 +4318,17 @@ "ManagedIntegrationRuntime": { "type": "object", "properties": { + "managedVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIntegrationRuntimeManagedVirtualNetworkReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed integration runtime managed virtual network reference." + }, "type": { "type": "string", "enum": [ @@ -4322,6 +4353,24 @@ ], "description": "Managed integration runtime, including managed elastic and managed dedicated integration runtimes." }, + "ManagedIntegrationRuntimeManagedVirtualNetworkReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the managed virtual network." + }, + "referenceName": { + "type": "string", + "description": "The reference name of the managed virtual network." + }, + "type": { + "type": "string", + "description": "The type of the managed virtual network." + } + }, + "description": "Managed integration runtime managed virtual network reference." + }, "ManagedIntegrationRuntimeTypeProperties": { "type": "object", "properties": { @@ -4405,17 +4454,6 @@ } ], "description": "Indicates whether the metadata sync is enabled or disabled" - }, - "syncIntervalInMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Sync Interval in minutes." } }, "description": "Metadata Sync Config properties" @@ -4560,6 +4598,43 @@ }, "description": "Purview Configuration" }, + "ReadOnlyFollowingDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadOnlyFollowing" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read only following database." + }, + "ReadOnlyFollowingDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." + } + }, + "description": "Class representing the Kusto database properties." + }, "ReadWriteDatabase": { "type": "object", "properties": { @@ -5214,11 +5289,6 @@ ], "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "Date the SQL pool was created" - }, "maxSizeBytes": { "oneOf": [ { @@ -5252,18 +5322,13 @@ "type": "string", "description": "Source database to create from" }, - "status": { - "type": "string", - "description": "Resource status" - }, "storageAccountType": { "oneOf": [ { "type": "string", "enum": [ "GRS", - "LRS", - "ZRS" + "LRS" ] }, { @@ -5765,6 +5830,18 @@ "type": "string", "description": "SQL administrator login password" }, + "trustedServiceBypassEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is trustedServiceBypassEnabled for the workspace" + }, "virtualNetworkProfile": { "oneOf": [ { @@ -6344,6 +6421,9 @@ "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { diff --git a/schemas/2021-06-01/Microsoft.Synapse.json b/schemas/2021-06-01/Microsoft.Synapse.json index e2c7c0b913..366a77ff75 100644 --- a/schemas/2021-06-01/Microsoft.Synapse.json +++ b/schemas/2021-06-01/Microsoft.Synapse.json @@ -1729,11 +1729,6 @@ ], "description": "The cache size" }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The time when the Big Data pool was created." - }, "customLibraries": { "oneOf": [ { @@ -1851,13 +1846,13 @@ "sparkConfigProperties": { "oneOf": [ { - "$ref": "#/definitions/LibraryRequirements" + "$ref": "#/definitions/SparkConfigProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Library requirements for a Big Data pool powered by Apache Spark" + "description": "SparkConfig Properties for a Big Data pool powered by Apache Spark" }, "sparkEventsFolder": { "type": "string", @@ -2162,6 +2157,28 @@ } ], "description": "Indicates whether Dynamic Executor Allocation is enabled or not." + }, + "maxExecutors": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of executors alloted" + }, + "minExecutors": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of executors alloted" } }, "description": "Dynamic Executor Allocation Properties" @@ -2309,6 +2326,17 @@ ], "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" }, + "isDevopsAuditEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor.\r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, "isStorageSecondaryKeyInUse": { "oneOf": [ { @@ -3259,6 +3287,17 @@ "ManagedIntegrationRuntime": { "type": "object", "properties": { + "managedVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIntegrationRuntimeManagedVirtualNetworkReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed integration runtime managed virtual network reference." + }, "type": { "type": "string", "enum": [ @@ -3283,6 +3322,24 @@ ], "description": "Managed integration runtime, including managed elastic and managed dedicated integration runtimes." }, + "ManagedIntegrationRuntimeManagedVirtualNetworkReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the managed virtual network." + }, + "referenceName": { + "type": "string", + "description": "The reference name of the managed virtual network" + }, + "type": { + "type": "string", + "description": "The type of the managed virtual network." + } + }, + "description": "Managed integration runtime managed virtual network reference." + }, "ManagedIntegrationRuntimeTypeProperties": { "type": "object", "properties": { @@ -3699,6 +3756,17 @@ ], "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" }, + "isDevopsAuditEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor.\r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n" + }, "isStorageSecondaryKeyInUse": { "oneOf": [ { @@ -3913,6 +3981,35 @@ }, "description": "SQL pool SKU" }, + "SparkConfigProperties": { + "type": "object", + "properties": { + "configurationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "File", + "Artifact" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the spark config properties file." + }, + "content": { + "type": "string", + "description": "The spark config properties." + }, + "filename": { + "type": "string", + "description": "The filename of the spark config properties file." + } + }, + "description": "SparkConfig Properties for a Big Data pool powered by Apache Spark" + }, "SqlPoolBlobAuditingPolicyProperties": { "type": "object", "properties": { @@ -3933,7 +4030,8 @@ "isAzureMonitorTargetEnabled": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -4009,6 +4107,7 @@ "properties": { "collation": { "type": "string", + "default": "", "description": "Collation mode" }, "createMode": { @@ -4028,11 +4127,6 @@ ], "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "Date the SQL pool was created" - }, "maxSizeBytes": { "oneOf": [ { @@ -4066,18 +4160,13 @@ "type": "string", "description": "Source database to create from" }, - "status": { - "type": "string", - "description": "Resource status" - }, "storageAccountType": { "oneOf": [ { "type": "string", "enum": [ "GRS", - "LRS", - "ZRS" + "LRS" ] }, { @@ -4489,6 +4578,18 @@ "type": "string", "description": "SQL administrator login password" }, + "trustedServiceBypassEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is trustedServiceBypassEnabled for the workspace" + }, "virtualNetworkProfile": { "oneOf": [ {