From 9436e40a8f187769d5b4a5e67cdac30caa208ba7 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 30 Aug 2022 11:30:31 +0000 Subject: [PATCH] CodeGen from PR 20469 in Azure/azure-rest-api-specs Merge 45ef2d4ef2d5c76eecea8d14a37ff2cbd35be446 into f55b43419d50f470c16c4dea5c19c16d8bc7da57 --- schemas/2020-11-01-preview/Microsoft.Sql.json | 6 +- schemas/2021-05-01-preview/Microsoft.Sql.json | 6 +- .../Microsoft.Sql.json | 1302 ++++++++++++++--- schemas/common/autogeneratedResources.json | 456 +++--- 4 files changed, 1372 insertions(+), 398 deletions(-) rename schemas/{2021-11-01 => 2022-05-01-preview}/Microsoft.Sql.json (90%) diff --git a/schemas/2020-11-01-preview/Microsoft.Sql.json b/schemas/2020-11-01-preview/Microsoft.Sql.json index c45e541f15..0b0b952c45 100644 --- a/schemas/2020-11-01-preview/Microsoft.Sql.json +++ b/schemas/2020-11-01-preview/Microsoft.Sql.json @@ -195,6 +195,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/definitions/managedInstances_databases_childResource" + }, { "$ref": "#/definitions/managedInstances_administrators_childResource" }, @@ -218,9 +221,6 @@ }, { "$ref": "#/definitions/managedInstances_sqlAgent_childResource" - }, - { - "$ref": "#/definitions/managedInstances_databases_childResource" } ] } diff --git a/schemas/2021-05-01-preview/Microsoft.Sql.json b/schemas/2021-05-01-preview/Microsoft.Sql.json index 47726d764b..8641ea631b 100644 --- a/schemas/2021-05-01-preview/Microsoft.Sql.json +++ b/schemas/2021-05-01-preview/Microsoft.Sql.json @@ -1204,6 +1204,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/definitions/servers_databases_childResource" + }, { "$ref": "#/definitions/servers_connectionPolicies_childResource" }, @@ -1213,9 +1216,6 @@ { "$ref": "#/definitions/servers_auditingSettings_childResource" }, - { - "$ref": "#/definitions/servers_databases_childResource" - }, { "$ref": "#/definitions/servers_elasticPools_childResource" }, diff --git a/schemas/2021-11-01/Microsoft.Sql.json b/schemas/2022-05-01-preview/Microsoft.Sql.json similarity index 90% rename from schemas/2021-11-01/Microsoft.Sql.json rename to schemas/2022-05-01-preview/Microsoft.Sql.json index 09e206c068..d98a07e7b3 100644 --- a/schemas/2021-11-01/Microsoft.Sql.json +++ b/schemas/2022-05-01-preview/Microsoft.Sql.json @@ -1,5 +1,5 @@ { - "id": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#", + "id": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#", "$schema": "http://json-schema.org/draft-04/schema#", "title": "Microsoft.Sql", "description": "Microsoft Sql Resource Types", @@ -10,7 +10,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -80,7 +80,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -119,7 +119,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -158,7 +158,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "identity": { @@ -204,9 +204,15 @@ { "$ref": "#/definitions/managedInstances_administrators_childResource" }, + { + "$ref": "#/definitions/managedInstances_advancedThreatProtectionSettings_childResource" + }, { "$ref": "#/definitions/managedInstances_azureADOnlyAuthentications_childResource" }, + { + "$ref": "#/definitions/managedInstances_dtc_childResource" + }, { "$ref": "#/definitions/managedInstances_encryptionProtector_childResource" }, @@ -282,7 +288,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -322,13 +328,60 @@ ], "description": "Microsoft.Sql/managedInstances/administrators" }, + "managedInstances_advancedThreatProtectionSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-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 Advanced Threat Protection state." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AdvancedThreatProtectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an Advanced Threat Protection state." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings" + }, "managedInstances_azureADOnlyAuthentications": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -375,7 +428,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -404,6 +457,9 @@ { "$ref": "#/definitions/managedInstances_databases_backupShortTermRetentionPolicies_childResource" }, + { + "$ref": "#/definitions/managedInstances_databases_advancedThreatProtectionSettings_childResource" + }, { "$ref": "#/definitions/managedInstances_databases_securityAlertPolicies_childResource" }, @@ -450,13 +506,60 @@ ], "description": "Microsoft.Sql/managedInstances/databases" }, + "managedInstances_databases_advancedThreatProtectionSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-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 Advanced Threat Protection state." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AdvancedThreatProtectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an Advanced Threat Protection state." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings" + }, "managedInstances_databases_backupLongTermRetentionPolicies": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -503,7 +606,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -550,7 +653,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -589,7 +692,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -636,7 +739,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -683,7 +786,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -730,7 +833,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -780,7 +883,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -819,7 +922,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "createDnsRecord": { @@ -851,13 +954,60 @@ ], "description": "Microsoft.Sql/managedInstances/dnsAliases" }, + "managedInstances_dtc": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/current$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the managed instance DTC." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedInstanceDtcProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of managed instance DTC." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/managedInstances/dtc" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/dtc" + }, "managedInstances_encryptionProtector": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -904,7 +1054,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -943,7 +1093,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -982,7 +1132,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1029,7 +1179,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1076,7 +1226,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1115,7 +1265,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1161,7 +1311,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1208,7 +1358,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "identity": { @@ -1305,6 +1455,9 @@ { "$ref": "#/definitions/servers_vulnerabilityAssessments_childResource" }, + { + "$ref": "#/definitions/servers_sqlVulnerabilityAssessments_childResource" + }, { "$ref": "#/definitions/servers_syncAgents_childResource" }, @@ -1351,7 +1504,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1398,7 +1551,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1445,7 +1598,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1492,7 +1645,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1539,7 +1692,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1586,7 +1739,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "identity": { @@ -1632,6 +1785,9 @@ { "$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource" }, + { + "$ref": "#/definitions/servers_databases_dataMaskingPolicies_childResource" + }, { "$ref": "#/definitions/servers_databases_advancedThreatProtectionSettings_childResource" }, @@ -1644,9 +1800,6 @@ { "$ref": "#/definitions/servers_databases_vulnerabilityAssessments_childResource" }, - { - "$ref": "#/definitions/servers_databases_dataMaskingPolicies_childResource" - }, { "$ref": "#/definitions/servers_databases_geoBackupPolicies_childResource" }, @@ -1719,7 +1872,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1766,7 +1919,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1813,7 +1966,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1860,7 +2013,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1907,7 +2060,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -1964,7 +2117,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2003,7 +2156,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2050,7 +2203,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2088,7 +2241,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2135,7 +2288,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2181,7 +2334,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2227,7 +2380,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2266,7 +2419,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2307,13 +2460,108 @@ ], "description": "Microsoft.Sql/servers/databases/securityAlertPolicies" }, + "servers_databases_sqlVulnerabilityAssessments_baselines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/servers_databases_sqlVulnerabilityAssessments_baselines_rules_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines" + }, + "servers_databases_sqlVulnerabilityAssessments_baselines_rules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The vulnerability assessment rule ID." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules" + }, "servers_databases_syncGroups": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2373,7 +2621,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2412,7 +2660,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2459,7 +2707,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2506,7 +2754,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2556,7 +2804,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2605,7 +2853,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2644,12 +2892,19 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { - "type": "string", - "description": "The name of the devops audit settings. This should always be 'default'." + "oneOf": [ + { + "type": "string", + "pattern": "^.*/Default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] }, "properties": { "oneOf": [ @@ -2683,7 +2938,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2710,7 +2965,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -2780,7 +3035,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2827,7 +3082,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2874,7 +3129,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2928,7 +3183,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -2975,7 +3230,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3014,7 +3269,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -3044,10 +3299,10 @@ "$ref": "#/definitions/servers_jobAgents_credentials_childResource" }, { - "$ref": "#/definitions/servers_jobAgents_jobs_childResource" + "$ref": "#/definitions/servers_jobAgents_targetGroups_childResource" }, { - "$ref": "#/definitions/servers_jobAgents_targetGroups_childResource" + "$ref": "#/definitions/servers_jobAgents_jobs_childResource" } ] } @@ -3100,7 +3355,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3139,7 +3394,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3191,7 +3446,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3226,7 +3481,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3265,7 +3520,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3304,7 +3559,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3343,7 +3598,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3369,7 +3624,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3408,7 +3663,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3449,36 +3704,187 @@ ], "description": "Microsoft.Sql/servers/securityAlertPolicies" }, - "servers_syncAgents": { + "servers_sqlVulnerabilityAssessments": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { - "type": "string", - "description": "The name of the sync agent." - }, - "properties": { "oneOf": [ { - "$ref": "#/definitions/SyncAgentProperties" + "type": "string", + "pattern": "^.*/default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties of an Azure SQL Database sync agent." + "description": "The name of the SQL Vulnerability Assessment." }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/servers/syncAgents" + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlVulnerabilityAssessmentPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } ] - } + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/servers_sqlVulnerabilityAssessments_baselines_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/sqlVulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments" + }, + "servers_sqlVulnerabilityAssessments_baselines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/servers_sqlVulnerabilityAssessments_baselines_rules_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines" + }, + "servers_sqlVulnerabilityAssessments_baselines_rules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The vulnerability assessment rule ID." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules" + }, + "servers_syncAgents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the sync agent." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SyncAgentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an Azure SQL Database sync agent." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Sql/servers/syncAgents" + ] + } }, "required": [ "apiVersion", @@ -3494,7 +3900,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -3533,7 +3939,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -4176,14 +4582,15 @@ "type": "string", "enum": [ "Geo", - "Named" + "Named", + "Standby" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The secondary type of the database if it is a secondary. Valid values are Geo and Named." + "description": "The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby." }, "sourceDatabaseDeletionDate": { "type": "string", @@ -4212,6 +4619,86 @@ }, "description": "The database's properties." }, + "DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties": { + "type": "object", + "properties": { + "latestScan": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The latest scan flag" + }, + "results": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rule baseline result" + } + }, + "required": [ + "latestScan", + "results" + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties": { + "type": "object", + "properties": { + "latestScan": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The latest scan flag" + }, + "results": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rule baseline result list" + } + }, + "required": [ + "latestScan", + "results" + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, "DatabaseUserIdentity": { "type": "object", "properties": {}, @@ -5044,6 +5531,21 @@ } ], "description": "Read-write endpoint of the failover group instance." + }, + "secondaryType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Geo", + "Standby" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only." } }, "required": [ @@ -5714,6 +6216,18 @@ ], "description": "Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention backup (longTermRetentionBackupResourceId required)." }, + "crossSubscriptionRestorableDroppedDatabaseId": { + "type": "string", + "description": "The restorable cross-subscription dropped database resource id to restore when creating this database." + }, + "crossSubscriptionSourceDatabaseId": { + "type": "string", + "description": "The resource identifier of the cross-subscription source database associated with create operation of this database." + }, + "crossSubscriptionTargetManagedInstanceId": { + "type": "string", + "description": "Target managed instance id used in cross-subscription restore." + }, "lastBackupName": { "type": "string", "description": "Last backup file name for restore of this managed database." @@ -5739,9 +6253,13 @@ "type": "string", "description": "The resource identifier of the source database associated with create operation of this database." }, + "storageContainerIdentity": { + "type": "string", + "description": "Conditional. If createMode is RestoreExternalBackup, this value is used. Specifies the identity used for storage container authentication. Can be 'SharedAccessSignature' or 'ManagedIdentity'; if not specified 'SharedAccessSignature' is assumed." + }, "storageContainerSasToken": { "type": "string", - "description": "Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token." + "description": "Conditional. If createMode is RestoreExternalBackup and storageContainerIdentity is not ManagedIdentity, this value is required. Specifies the storage container sas token." }, "storageContainerUri": { "type": "string", @@ -5823,6 +6341,119 @@ ], "description": "Properties of a active directory only authentication for Managed Instance." }, + "ManagedInstanceDtcProperties": { + "type": "object", + "properties": { + "dtcEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Active status of managed instance DTC." + }, + "externalDnsSuffixSearchList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External dns suffix search list of managed instance DTC." + }, + "securitySettings": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedInstanceDtcSecuritySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Security Settings of managed instance DTC." + } + }, + "description": "The properties of managed instance DTC." + }, + "ManagedInstanceDtcSecuritySettings": { + "type": "object", + "properties": { + "snaLu6point2TransactionsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow SNA LU 6.2 to managed instance DTC." + }, + "transactionManagerCommunicationSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedInstanceDtcTransactionManagerCommunicationSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Transaction Manager Communication Settings of managed instance DTC." + }, + "xaTransactionsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow XA Transactions to managed instance DTC." + } + }, + "description": "The Security Settings of managed instance DTC." + }, + "ManagedInstanceDtcTransactionManagerCommunicationSettings": { + "type": "object", + "properties": { + "allowInboundEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow Inbound traffic to managed instance DTC." + }, + "allowOutboundEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow Outbound traffic of managed instance DTC." + }, + "authentication": { + "type": "string", + "description": "Authentication type of managed instance DTC." + } + }, + "description": "The Transaction Manager Communication Settings of managed instance DTC." + }, "ManagedInstanceEncryptionProtectorProperties": { "type": "object", "properties": { @@ -6203,52 +6834,136 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80." + "description": "The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the multi-az is enabled." + } + }, + "description": "The properties of a managed instance." + }, + "managedInstances_administrators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "ActiveDirectory" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedInstanceAdministratorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a managed instance administrator." + }, + "type": { + "type": "string", + "enum": [ + "administrators" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/administrators" + }, + "managedInstances_advancedThreatProtectionSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "Default" + ], + "description": "The name of the Advanced Threat Protection state." }, - "zoneRedundant": { + "properties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/AdvancedThreatProtectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether or not the multi-az is enabled." + "description": "Properties of an Advanced Threat Protection state." + }, + "type": { + "type": "string", + "enum": [ + "advancedThreatProtectionSettings" + ] } }, - "description": "The properties of a managed instance." + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings" }, - "managedInstances_administrators_childResource": { + "managedInstances_azureADOnlyAuthentications_childResource": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { "type": "string", "enum": [ - "ActiveDirectory" - ] + "Default" + ], + "description": "The name of server azure active directory only authentication." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ManagedInstanceAdministratorProperties" + "$ref": "#/definitions/ManagedInstanceAzureADOnlyAuthProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The properties of a managed instance administrator." + "description": "Properties of a active directory only authentication for Managed Instance." }, "type": { "type": "string", "enum": [ - "administrators" + "azureADOnlyAuthentications" ] } }, @@ -6258,15 +6973,15 @@ "properties", "type" ], - "description": "Microsoft.Sql/managedInstances/administrators" + "description": "Microsoft.Sql/managedInstances/azureADOnlyAuthentications" }, - "managedInstances_azureADOnlyAuthentications_childResource": { + "managedInstances_databases_advancedThreatProtectionSettings_childResource": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6274,23 +6989,23 @@ "enum": [ "Default" ], - "description": "The name of server azure active directory only authentication." + "description": "The name of the Advanced Threat Protection state." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ManagedInstanceAzureADOnlyAuthProperties" + "$ref": "#/definitions/AdvancedThreatProtectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties of a active directory only authentication for Managed Instance." + "description": "Properties of an Advanced Threat Protection state." }, "type": { "type": "string", "enum": [ - "azureADOnlyAuthentications" + "advancedThreatProtectionSettings" ] } }, @@ -6300,7 +7015,7 @@ "properties", "type" ], - "description": "Microsoft.Sql/managedInstances/azureADOnlyAuthentications" + "description": "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings" }, "managedInstances_databases_backupLongTermRetentionPolicies_childResource": { "type": "object", @@ -6308,7 +7023,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6350,7 +7065,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6392,7 +7107,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -6451,7 +7166,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6493,7 +7208,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6535,7 +7250,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6577,7 +7292,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6616,7 +7331,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "createDnsRecord": { @@ -6648,13 +7363,55 @@ ], "description": "Microsoft.Sql/managedInstances/dnsAliases" }, + "managedInstances_dtc_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "current" + ], + "description": "The name of the managed instance DTC." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedInstanceDtcProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of managed instance DTC." + }, + "type": { + "type": "string", + "enum": [ + "dtc" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/managedInstances/dtc" + }, "managedInstances_encryptionProtector_childResource": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6696,7 +7453,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6735,7 +7492,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6774,7 +7531,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6816,7 +7573,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6855,7 +7612,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -6896,7 +7653,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7495,6 +8252,17 @@ ], "description": "Specifies whether DevOps 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 DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also 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" }, + "isManagedIdentityInUse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether Managed Identity is used to access blob storage" + }, "state": { "oneOf": [ { @@ -7755,7 +8523,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7797,7 +8565,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7839,7 +8607,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7881,7 +8649,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7923,7 +8691,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -7965,7 +8733,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8007,7 +8775,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8049,7 +8817,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8091,7 +8859,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8133,7 +8901,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "identity": { @@ -8214,7 +8982,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8256,7 +9024,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8295,7 +9063,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8337,7 +9105,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8375,7 +9143,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8417,7 +9185,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8458,7 +9226,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8499,7 +9267,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8535,13 +9303,52 @@ ], "description": "Microsoft.Sql/servers/databases/securityAlertPolicies" }, + "servers_databases_sqlVulnerabilityAssessments_baselines_rules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The vulnerability assessment rule ID." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules" + }, "servers_databases_syncGroups_childResource": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8591,7 +9398,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8630,7 +9437,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8672,7 +9479,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8714,7 +9521,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8753,7 +9560,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8792,12 +9599,14 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { "type": "string", - "description": "The name of the devops audit settings. This should always be 'default'." + "enum": [ + "Default" + ] }, "properties": { "oneOf": [ @@ -8831,7 +9640,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8858,7 +9667,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -8928,7 +9737,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -8970,7 +9779,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9012,7 +9821,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9066,7 +9875,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9108,7 +9917,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9147,7 +9956,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "location": { @@ -9217,7 +10026,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9256,7 +10065,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9295,7 +10104,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9330,7 +10139,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9369,7 +10178,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9408,7 +10217,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9447,7 +10256,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9473,7 +10282,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9512,7 +10321,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9548,13 +10357,134 @@ ], "description": "Microsoft.Sql/servers/securityAlertPolicies" }, + "servers_sqlVulnerabilityAssessments_baselines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "baselines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines" + }, + "servers_sqlVulnerabilityAssessments_baselines_rules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The vulnerability assessment rule ID." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a database Sql Vulnerability Assessment rule baseline." + }, + "type": { + "type": "string", + "enum": [ + "rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules" + }, + "servers_sqlVulnerabilityAssessments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the SQL Vulnerability Assessment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlVulnerabilityAssessmentPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "sqlVulnerabilityAssessments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/sqlVulnerabilityAssessments" + }, "servers_syncAgents_childResource": { "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9593,7 +10523,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9632,7 +10562,7 @@ "apiVersion": { "type": "string", "enum": [ - "2021-11-01" + "2022-05-01-preview" ] }, "name": { @@ -9830,6 +10760,26 @@ }, "description": "Sql agent configuration properties." }, + "SqlVulnerabilityAssessmentPolicyProperties": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server." + } + } + }, "SyncAgentProperties": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ab2369cd56..0259abb59e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -17347,222 +17347,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_vulnerabilityAssessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/instancePools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/locations_instanceFailoverGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/locations_serverTrustGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_administrators" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_azureADOnlyAuthentications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_backupLongTermRetentionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_backupShortTermRetentionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_schemas_tables_columns_sensitivityLabels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_securityAlertPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_transparentDataEncryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_vulnerabilityAssessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_vulnerabilityAssessments_rules_baselines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_distributedAvailabilityGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_dnsAliases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_encryptionProtector" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_keys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_restorableDroppedDatabases_backupShortTermRetentionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_securityAlertPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_serverTrustCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_sqlAgent" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/managedInstances_vulnerabilityAssessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_administrators" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_advancedThreatProtectionSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_auditingSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_azureADOnlyAuthentications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_connectionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_advancedThreatProtectionSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_auditingSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_backupLongTermRetentionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_backupShortTermRetentionPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_dataMaskingPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_dataMaskingPolicies_rules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_extendedAuditingSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_extensions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_geoBackupPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_ledgerDigestUploads" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_maintenanceWindows" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_schemas_tables_columns_sensitivityLabels" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_securityAlertPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_syncGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_syncGroups_syncMembers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_transparentDataEncryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_vulnerabilityAssessments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_vulnerabilityAssessments_rules_baselines" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_workloadGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_databases_workloadGroups_workloadClassifiers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_devOpsAuditingSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_dnsAliases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_elasticPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_encryptionProtector" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_extendedAuditingSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_failoverGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_ipv6FirewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_credentials" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs_executions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs_steps" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_targetGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_keys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_outboundFirewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_securityAlertPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_syncAgents" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_virtualNetworkRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.Sql.json#/resourceDefinitions/servers_vulnerabilityAssessments" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.Sql.json#/resourceDefinitions/instancePools" }, @@ -18010,6 +17794,246 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-02-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_vulnerabilityAssessments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/instancePools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/locations_instanceFailoverGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/locations_serverTrustGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_administrators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_advancedThreatProtectionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_azureADOnlyAuthentications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_advancedThreatProtectionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_backupLongTermRetentionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_backupShortTermRetentionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_schemas_tables_columns_sensitivityLabels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_transparentDataEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_vulnerabilityAssessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_databases_vulnerabilityAssessments_rules_baselines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_distributedAvailabilityGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_dnsAliases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_dtc" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_encryptionProtector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_restorableDroppedDatabases_backupShortTermRetentionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_serverTrustCertificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_sqlAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/managedInstances_vulnerabilityAssessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_administrators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_advancedThreatProtectionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_auditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_azureADOnlyAuthentications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_connectionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_advancedThreatProtectionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_auditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_backupLongTermRetentionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_backupShortTermRetentionPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_dataMaskingPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_dataMaskingPolicies_rules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_extendedAuditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_geoBackupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_ledgerDigestUploads" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_maintenanceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_schemas_tables_columns_sensitivityLabels" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_sqlVulnerabilityAssessments_baselines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_sqlVulnerabilityAssessments_baselines_rules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_syncGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_syncGroups_syncMembers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_transparentDataEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_vulnerabilityAssessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_vulnerabilityAssessments_rules_baselines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_workloadGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_databases_workloadGroups_workloadClassifiers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_devOpsAuditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_dnsAliases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_elasticPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_encryptionProtector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_extendedAuditingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_failoverGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_firewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_ipv6FirewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs_executions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_jobs_steps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_jobAgents_targetGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_keys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_outboundFirewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_securityAlertPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_sqlVulnerabilityAssessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_sqlVulnerabilityAssessments_baselines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_sqlVulnerabilityAssessments_baselines_rules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_syncAgents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_virtualNetworkRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_vulnerabilityAssessments" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-03-01-preview/Microsoft.SqlVirtualMachine.json#/resourceDefinitions/sqlVirtualMachineGroups" },