From 6234c73525c85834985f08088ab3cbf055dca4a3 Mon Sep 17 00:00:00 2001
From: SDKAuto <sdkautomation@microsoft.com>
Date: Tue, 11 May 2021 18:55:22 +0000
Subject: [PATCH] CodeGen from PR 14361 in Azure/azure-rest-api-specs Merge
 bc7dc95c15e29ffa06a629507246aeb108385ce0 into
 60be518b4fa1a9fb011a0cb69ae7ca3e1cee06b1

---
 sdk/sql/arm-sql/LICENSE.txt                   |     2 +-
 sdk/sql/arm-sql/README.md                     |     9 +-
 sdk/sql/arm-sql/rollup.config.js              |     4 +-
 ...backupShortTermRetentionPoliciesMappers.ts |    83 +-
 .../arm-sql/src/models/capabilitiesMappers.ts |    15 +-
 .../src/models/dataMaskingPoliciesMappers.ts  |    83 +-
 .../src/models/dataMaskingRulesMappers.ts     |    83 +-
 ...arehouseUserActivitiesOperationsMappers.ts |   182 +
 ...sMappers.ts => databaseAdvisorsMappers.ts} |    83 +-
 ...atabaseAutomaticTuningOperationsMappers.ts |    83 +-
 .../databaseBlobAuditingPoliciesMappers.ts    |    83 +-
 .../src/models/databaseColumnsMappers.ts      |   182 +
 .../databaseExtensionsOperationsMappers.ts    |   182 +
 .../src/models/databaseOperationsMappers.ts   |    83 +-
 ...s => databaseRecommendedActionsMappers.ts} |    83 +-
 .../src/models/databaseSchemasMappers.ts      |   182 +
 .../databaseSecurityAlertPoliciesMappers.ts   |   182 +
 .../src/models/databaseTablesMappers.ts       |   182 +
 .../src/models/databaseUsagesMappers.ts       |   175 +-
 ...erabilityAssessmentRuleBaselinesMappers.ts |    83 +-
 ...baseVulnerabilityAssessmentScansMappers.ts |    83 +-
 ...databaseVulnerabilityAssessmentsMappers.ts |    83 +-
 .../arm-sql/src/models/databasesMappers.ts    |    89 +-
 .../src/models/deletedServersMappers.ts       |   182 +
 .../models/elasticPoolActivitiesMappers.ts    |    83 +-
 .../elasticPoolDatabaseActivitiesMappers.ts   |    83 +-
 .../models/elasticPoolOperationsMappers.ts    |    83 +-
 .../arm-sql/src/models/elasticPoolsMappers.ts |    83 +-
 .../src/models/encryptionProtectorsMappers.ts |    83 +-
 ...ndedDatabaseBlobAuditingPoliciesMappers.ts |    84 +-
 ...tendedServerBlobAuditingPoliciesMappers.ts |    84 +-
 .../src/models/failoverGroupsMappers.ts       |    83 +-
 .../src/models/firewallRulesMappers.ts        |    84 +-
 .../src/models/geoBackupPoliciesMappers.ts    |    83 +-
 sdk/sql/arm-sql/src/models/index.ts           | 18572 +++++++++++-----
 .../models/instanceFailoverGroupsMappers.ts   |    83 +-
 .../src/models/instancePoolsMappers.ts        |    83 +-
 .../arm-sql/src/models/jobAgentsMappers.ts    |    83 +-
 .../src/models/jobCredentialsMappers.ts       |    83 +-
 .../src/models/jobExecutionsMappers.ts        |    83 +-
 .../src/models/jobStepExecutionsMappers.ts    |    83 +-
 sdk/sql/arm-sql/src/models/jobStepsMappers.ts |    83 +-
 .../src/models/jobTargetExecutionsMappers.ts  |    83 +-
 .../src/models/jobTargetGroupsMappers.ts      |    83 +-
 .../arm-sql/src/models/jobVersionsMappers.ts  |    83 +-
 sdk/sql/arm-sql/src/models/jobsMappers.ts     |    83 +-
 .../ledgerDigestUploadsOperationsMappers.ts   |   182 +
 .../models/longTermRetentionBackupsMappers.ts |    85 +-
 ...mRetentionManagedInstanceBackupsMappers.ts |   182 +
 .../longTermRetentionPoliciesMappers.ts       |   182 +
 ...ntenanceWindowOptionsOperationsMappers.ts} |    85 +-
 ...=> maintenanceWindowsOperationsMappers.ts} |    84 +-
 ...BackupShortTermRetentionPoliciesMappers.ts |    83 +-
 .../models/managedDatabaseColumnsMappers.ts   |   182 +
 .../models/managedDatabaseQueriesMappers.ts   |   182 +
 ...baseRecommendedSensitivityLabelsMappers.ts |   182 +
 .../managedDatabaseRestoreDetailsMappers.ts   |    83 +-
 .../models/managedDatabaseSchemasMappers.ts   |   182 +
 ...gedDatabaseSecurityAlertPoliciesMappers.ts |    83 +-
 .../managedDatabaseSecurityEventsMappers.ts   |   182 +
 ...managedDatabaseSensitivityLabelsMappers.ts |    84 +-
 .../models/managedDatabaseTablesMappers.ts    |   182 +
 ...atabaseTransparentDataEncryptionMappers.ts |   182 +
 ...erabilityAssessmentRuleBaselinesMappers.ts |    83 +-
 ...baseVulnerabilityAssessmentScansMappers.ts |    83 +-
 ...DatabaseVulnerabilityAssessmentsMappers.ts |    83 +-
 .../src/models/managedDatabasesMappers.ts     |    83 +-
 .../managedInstanceAdministratorsMappers.ts   |    83 +-
 ...stanceAzureADOnlyAuthenticationsMappers.ts |   182 +
 ...agedInstanceEncryptionProtectorsMappers.ts |    83 +-
 .../src/models/managedInstanceKeysMappers.ts  |    83 +-
 ...nstanceLongTermRetentionPoliciesMappers.ts |   182 +
 .../managedInstanceOperationsMappers.ts       |   182 +
 ...stancePrivateEndpointConnectionsMappers.ts |   182 +
 ...agedInstancePrivateLinkResourcesMappers.ts |   182 +
 .../managedInstanceTdeCertificatesMappers.ts  |    83 +-
 ...InstanceVulnerabilityAssessmentsMappers.ts |    83 +-
 .../src/models/managedInstancesMappers.ts     |    86 +-
 ...BackupShortTermRetentionPoliciesMappers.ts |    83 +-
 ...nagedServerSecurityAlertPoliciesMappers.ts |    83 +-
 sdk/sql/arm-sql/src/models/mappers.ts         | 13247 +++++++----
 .../operationsHealthOperationsMappers.ts      |   182 +
 .../arm-sql/src/models/operationsMappers.ts   |     4 +-
 .../models/outboundFirewallRulesMappers.ts    |   182 +
 sdk/sql/arm-sql/src/models/parameters.ts      |   417 +-
 .../privateEndpointConnectionsMappers.ts      |    83 +-
 .../src/models/privateLinkResourcesMappers.ts |    83 +-
 .../recommendedSensitivityLabelsMappers.ts    |   182 +
 .../src/models/recoverableDatabasesMappers.ts |    83 +-
 .../recoverableManagedDatabasesMappers.ts     |    83 +-
 .../src/models/replicationLinksMappers.ts     |    86 +-
 .../restorableDroppedDatabasesMappers.ts      |    83 +-
 ...estorableDroppedManagedDatabasesMappers.ts |    83 +-
 .../src/models/restorePointsMappers.ts        |    83 +-
 .../src/models/sensitivityLabelsMappers.ts    |    84 +-
 .../src/models/serverAdvisorsMappers.ts       |   181 +
 .../serverAutomaticTuningOperationsMappers.ts |    83 +-
 .../serverAzureADAdministratorsMappers.ts     |    85 +-
 ...serverAzureADOnlyAuthenticationsMappers.ts |   182 +
 .../serverBlobAuditingPoliciesMappers.ts      |    83 +-
 .../models/serverCommunicationLinksMappers.ts |    83 +-
 .../models/serverConnectionPoliciesMappers.ts |    83 +-
 .../serverDevOpsAuditSettingsMappers.ts       |   182 +
 .../src/models/serverDnsAliasesMappers.ts     |    83 +-
 .../arm-sql/src/models/serverKeysMappers.ts   |    83 +-
 .../src/models/serverOperationsMappers.ts     |   182 +
 .../serverSecurityAlertPoliciesMappers.ts     |    83 +-
 .../src/models/serverTrustGroupsMappers.ts    |   182 +
 .../arm-sql/src/models/serverUsagesMappers.ts |     4 +-
 .../serverVulnerabilityAssessmentsMappers.ts  |    83 +-
 sdk/sql/arm-sql/src/models/serversMappers.ts  |    85 +-
 .../src/models/serviceObjectivesMappers.ts    |    83 +-
 sdk/sql/arm-sql/src/models/sqlAgentMappers.ts |   181 +
 .../src/models/subscriptionUsagesMappers.ts   |    83 +-
 .../arm-sql/src/models/syncAgentsMappers.ts   |    83 +-
 .../arm-sql/src/models/syncGroupsMappers.ts   |    83 +-
 .../arm-sql/src/models/syncMembersMappers.ts  |    83 +-
 .../src/models/tdeCertificatesMappers.ts      |    83 +-
 .../arm-sql/src/models/timeZonesMappers.ts    |   182 +
 ...nsparentDataEncryptionActivitiesMappers.ts |    83 +-
 .../transparentDataEncryptionsMappers.ts      |    83 +-
 sdk/sql/arm-sql/src/models/usagesMappers.ts   |     4 +-
 .../src/models/virtualClustersMappers.ts      |    83 +-
 .../src/models/virtualNetworkRulesMappers.ts  |    83 +-
 .../src/models/workloadClassifiersMappers.ts  |   182 +
 .../src/models/workloadGroupsMappers.ts       |   182 +
 .../backupShortTermRetentionPolicies.ts       |     8 +-
 .../arm-sql/src/operations/capabilities.ts    |     5 +-
 .../src/operations/dataMaskingPolicies.ts     |     5 +-
 .../src/operations/dataMaskingRules.ts        |     5 +-
 .../dataWarehouseUserActivitiesOperations.ts  |   212 +
 .../src/operations/databaseAdvisors.ts        |   257 +
 .../databaseAutomaticTuningOperations.ts      |     9 +-
 .../databaseBlobAuditingPolicies.ts           |    14 +-
 .../arm-sql/src/operations/databaseColumns.ts |   365 +
 .../databaseExtensionsOperations.ts           |   291 +
 .../src/operations/databaseOperations.ts      |    12 +-
 .../operations/databaseRecommendedActions.ts  |   271 +
 .../arm-sql/src/operations/databaseSchemas.ts |   218 +
 .../databaseSecurityAlertPolicies.ts          |   292 +
 .../arm-sql/src/operations/databaseTables.ts  |   228 +
 .../arm-sql/src/operations/databaseUsages.ts  |    65 +-
 ...aseVulnerabilityAssessmentRuleBaselines.ts |    11 +-
 .../databaseVulnerabilityAssessmentScans.ts   |    38 +-
 .../databaseVulnerabilityAssessments.ts       |    16 +-
 sdk/sql/arm-sql/src/operations/databases.ts   |   456 +-
 .../arm-sql/src/operations/deletedServers.ts  |   346 +
 .../src/operations/elasticPoolActivities.ts   |     5 +-
 .../elasticPoolDatabaseActivities.ts          |     5 +-
 .../src/operations/elasticPoolOperations.ts   |     8 +-
 .../arm-sql/src/operations/elasticPools.ts    |    17 +-
 .../src/operations/encryptionProtectors.ts    |    90 +-
 .../extendedDatabaseBlobAuditingPolicies.ts   |   126 +-
 .../extendedServerBlobAuditingPolicies.ts     |   121 +-
 .../arm-sql/src/operations/failoverGroups.ts  |    22 +-
 .../arm-sql/src/operations/firewallRules.ts   |   203 +-
 .../src/operations/geoBackupPolicies.ts       |     5 +-
 sdk/sql/arm-sql/src/operations/index.ts       |   133 +-
 .../src/operations/instanceFailoverGroups.ts  |     8 +-
 .../arm-sql/src/operations/instancePools.ts   |    23 +-
 sdk/sql/arm-sql/src/operations/jobAgents.ts   |    18 +-
 .../arm-sql/src/operations/jobCredentials.ts  |    16 +-
 .../arm-sql/src/operations/jobExecutions.ts   |    49 +-
 .../src/operations/jobStepExecutions.ts       |    25 +-
 sdk/sql/arm-sql/src/operations/jobSteps.ts    |    23 +-
 .../src/operations/jobTargetExecutions.ts     |    43 +-
 .../arm-sql/src/operations/jobTargetGroups.ts |    16 +-
 sdk/sql/arm-sql/src/operations/jobVersions.ts |    12 +-
 sdk/sql/arm-sql/src/operations/jobs.ts        |    16 +-
 .../ledgerDigestUploadsOperations.ts          |   359 +
 .../operations/longTermRetentionBackups.ts    |   701 +-
 ...longTermRetentionManagedInstanceBackups.ts |  1010 +
 ...licies.ts => longTermRetentionPolicies.ts} |   111 +-
 .../maintenanceWindowOptionsOperations.ts     |    99 +
 ...ies.ts => maintenanceWindowsOperations.ts} |   100 +-
 ...managedBackupShortTermRetentionPolicies.ts |    16 +-
 .../src/operations/managedDatabaseColumns.ts  |   365 +
 .../src/operations/managedDatabaseQueries.ts  |   227 +
 ...gedDatabaseRecommendedSensitivityLabels.ts |   103 +
 .../managedDatabaseRestoreDetails.ts          |     7 +-
 .../src/operations/managedDatabaseSchemas.ts  |   218 +
 .../managedDatabaseSecurityAlertPolicies.ts   |    14 +-
 .../managedDatabaseSecurityEvents.ts          |   157 +
 .../managedDatabaseSensitivityLabels.ts       |   131 +-
 .../src/operations/managedDatabaseTables.ts   |   228 +
 ...anagedDatabaseTransparentDataEncryption.ts |   301 +
 ...aseVulnerabilityAssessmentRuleBaselines.ts |     5 +-
 ...gedDatabaseVulnerabilityAssessmentScans.ts |   136 +-
 ...managedDatabaseVulnerabilityAssessments.ts |     8 +-
 .../src/operations/managedDatabases.ts        |   132 +-
 .../managedInstanceAdministrators.ts          |    22 +-
 ...nagedInstanceAzureADOnlyAuthentications.ts |   337 +
 .../managedInstanceEncryptionProtectors.ts    |     8 +-
 .../src/operations/managedInstanceKeys.ts     |    15 +-
 ...anagedInstanceLongTermRetentionPolicies.ts |   286 +
 .../operations/managedInstanceOperations.ts   |   269 +
 ...nagedInstancePrivateEndpointConnections.ts |   341 +
 .../managedInstancePrivateLinkResources.ts    |   206 +
 .../managedInstanceTdeCertificates.ts         |     5 +-
 ...managedInstanceVulnerabilityAssessments.ts |    20 +-
 .../src/operations/managedInstances.ts        |   290 +-
 ...atabaseBackupShortTermRetentionPolicies.ts |    32 +-
 .../managedServerSecurityAlertPolicies.ts     |    14 +-
 sdk/sql/arm-sql/src/operations/operations.ts  |    10 +-
 .../operations/operationsHealthOperations.ts  |   133 +
 .../src/operations/outboundFirewallRules.ts   |   340 +
 .../operations/privateEndpointConnections.ts  |    16 +-
 .../src/operations/privateLinkResources.ts    |    12 +-
 .../recommendedSensitivityLabels.ts           |   103 +
 .../src/operations/recoverableDatabases.ts    |     5 +-
 .../operations/recoverableManagedDatabases.ts |     8 +-
 .../src/operations/replicationLinks.ts        |   367 +-
 .../operations/restorableDroppedDatabases.ts  |   120 +-
 .../restorableDroppedManagedDatabases.ts      |    12 +-
 .../arm-sql/src/operations/restorePoints.ts   |    65 +-
 .../src/operations/sensitivityLabels.ts       |   131 +-
 ...endedElasticPools.ts => serverAdvisors.ts} |   138 +-
 .../serverAutomaticTuningOperations.ts        |     9 +-
 .../operations/serverAzureADAdministrators.ts |   175 +-
 .../serverAzureADOnlyAuthentications.ts       |   337 +
 .../operations/serverBlobAuditingPolicies.ts  |    14 +-
 .../operations/serverCommunicationLinks.ts    |     5 +-
 .../operations/serverConnectionPolicies.ts    |     5 +-
 .../operations/serverDevOpsAuditSettings.ts   |   284 +
 .../src/operations/serverDnsAliases.ts        |    46 +-
 sdk/sql/arm-sql/src/operations/serverKeys.ts  |    26 +-
 .../src/operations/serverOperations.ts        |   141 +
 .../operations/serverSecurityAlertPolicies.ts |    14 +-
 .../src/operations/serverTrustGroups.ts       |   455 +
 .../arm-sql/src/operations/serverUsages.ts    |     5 +-
 .../serverVulnerabilityAssessments.ts         |    20 +-
 sdk/sql/arm-sql/src/operations/servers.ts     |   296 +-
 .../src/operations/serviceObjectives.ts       |     5 +-
 .../src/operations/serviceTierAdvisors.ts     |   165 -
 sdk/sql/arm-sql/src/operations/sqlAgent.ts    |   160 +
 .../src/operations/subscriptionUsages.ts      |    12 +-
 sdk/sql/arm-sql/src/operations/syncAgents.ts  |    23 +-
 sdk/sql/arm-sql/src/operations/syncGroups.ts  |    70 +-
 sdk/sql/arm-sql/src/operations/syncMembers.ts |    25 +-
 .../arm-sql/src/operations/tdeCertificates.ts |     5 +-
 sdk/sql/arm-sql/src/operations/timeZones.ts   |   190 +
 .../transparentDataEncryptionActivities.ts    |     5 +-
 .../operations/transparentDataEncryptions.ts  |     5 +-
 sdk/sql/arm-sql/src/operations/usages.ts      |    17 +-
 .../arm-sql/src/operations/virtualClusters.ts |    86 +-
 .../src/operations/virtualNetworkRules.ts     |    16 +-
 .../src/operations/workloadClassifiers.ts     |   389 +
 .../arm-sql/src/operations/workloadGroups.ts  |   361 +
 sdk/sql/arm-sql/src/sqlManagementClient.ts    |   261 +-
 .../arm-sql/src/sqlManagementClientContext.ts |    26 +-
 250 files changed, 47993 insertions(+), 12889 deletions(-)
 create mode 100644 sdk/sql/arm-sql/src/models/dataWarehouseUserActivitiesOperationsMappers.ts
 rename sdk/sql/arm-sql/src/models/{backupLongTermRetentionPoliciesMappers.ts => databaseAdvisorsMappers.ts} (56%)
 create mode 100644 sdk/sql/arm-sql/src/models/databaseColumnsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/databaseExtensionsOperationsMappers.ts
 rename sdk/sql/arm-sql/src/models/{databaseThreatDetectionPoliciesMappers.ts => databaseRecommendedActionsMappers.ts} (56%)
 create mode 100644 sdk/sql/arm-sql/src/models/databaseSchemasMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/databaseSecurityAlertPoliciesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/databaseTablesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/deletedServersMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/ledgerDigestUploadsOperationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts
 rename sdk/sql/arm-sql/src/models/{recommendedElasticPoolsMappers.ts => maintenanceWindowOptionsOperationsMappers.ts} (56%)
 rename sdk/sql/arm-sql/src/models/{serviceTierAdvisorsMappers.ts => maintenanceWindowsOperationsMappers.ts} (56%)
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseColumnsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseQueriesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseRecommendedSensitivityLabelsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseSchemasMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseSecurityEventsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseTablesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedDatabaseTransparentDataEncryptionMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedInstancePrivateEndpointConnectionsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/managedInstancePrivateLinkResourcesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/operationsHealthOperationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/outboundFirewallRulesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/recommendedSensitivityLabelsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/serverAdvisorsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/serverOperationsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/sqlAgentMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/timeZonesMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/dataWarehouseUserActivitiesOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseAdvisors.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseColumns.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseExtensionsOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseRecommendedActions.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseSchemas.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseSecurityAlertPolicies.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/databaseTables.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/deletedServers.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/ledgerDigestUploadsOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts
 rename sdk/sql/arm-sql/src/operations/{backupLongTermRetentionPolicies.ts => longTermRetentionPolicies.ts} (64%)
 create mode 100644 sdk/sql/arm-sql/src/operations/maintenanceWindowOptionsOperations.ts
 rename sdk/sql/arm-sql/src/operations/{databaseThreatDetectionPolicies.ts => maintenanceWindowsOperations.ts} (54%)
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseColumns.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseQueries.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseRecommendedSensitivityLabels.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseSchemas.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseSecurityEvents.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseTables.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedDatabaseTransparentDataEncryption.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedInstancePrivateEndpointConnections.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/managedInstancePrivateLinkResources.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/operationsHealthOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/outboundFirewallRules.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/recommendedSensitivityLabels.ts
 rename sdk/sql/arm-sql/src/operations/{recommendedElasticPools.ts => serverAdvisors.ts} (51%)
 create mode 100644 sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/serverOperations.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/serverTrustGroups.ts
 delete mode 100644 sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/sqlAgent.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/timeZones.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/workloadClassifiers.ts
 create mode 100644 sdk/sql/arm-sql/src/operations/workloadGroups.ts

diff --git a/sdk/sql/arm-sql/LICENSE.txt b/sdk/sql/arm-sql/LICENSE.txt
index b73b4a1293c3..2d3163745319 100644
--- a/sdk/sql/arm-sql/LICENSE.txt
+++ b/sdk/sql/arm-sql/LICENSE.txt
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2019 Microsoft
+Copyright (c) 2021 Microsoft
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/sdk/sql/arm-sql/README.md b/sdk/sql/arm-sql/README.md
index 0cb82aed7cd6..4df655221a2b 100644
--- a/sdk/sql/arm-sql/README.md
+++ b/sdk/sql/arm-sql/README.md
@@ -15,7 +15,7 @@ npm install @azure/arm-sql
 
 ### How to use
 
-#### nodejs - Authentication, client creation and get recoverableDatabases as an example written in TypeScript.
+#### nodejs - client creation and get recoverableDatabases as an example written in TypeScript.
 
 ##### Install @azure/ms-rest-nodeauth
 
@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
 
 ##### Sample code
 
+While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
 ```typescript
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
-import { SqlManagementClient, SqlManagementModels, SqlManagementMappers } from "@azure/arm-sql";
+const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+const { SqlManagementClient } = require("@azure/arm-sql");
 const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
 
 msRestNodeAuth.interactiveLogin().then((creds) => {
diff --git a/sdk/sql/arm-sql/rollup.config.js b/sdk/sql/arm-sql/rollup.config.js
index 6615d95d1208..a044e7d33ee9 100644
--- a/sdk/sql/arm-sql/rollup.config.js
+++ b/sdk/sql/arm-sql/rollup.config.js
@@ -21,8 +21,8 @@ const config = {
       "@azure/ms-rest-azure-js": "msRestAzure"
     },
     banner: `/*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
diff --git a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts
index bf0add5c875c..bf7686ce7286 100644
--- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BackupShortTermRetentionPolicyListResult,
   BaseResource,
@@ -17,14 +17,21 @@ export {
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts b/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts
index 95ade0ba7550..7e34dc5863e2 100644
--- a/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts
@@ -1,29 +1,38 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  AutoPauseDelayTimeRange,
   CloudError,
   EditionCapability,
   ElasticPoolEditionCapability,
   ElasticPoolPerDatabaseMaxPerformanceLevelCapability,
   ElasticPoolPerDatabaseMinPerformanceLevelCapability,
   ElasticPoolPerformanceLevelCapability,
+  InstancePoolEditionCapability,
+  InstancePoolFamilyCapability,
+  InstancePoolVcoresCapability,
   LicenseTypeCapability,
   LocationCapabilities,
   LogSizeCapability,
+  MaintenanceConfigurationCapability,
   ManagedInstanceEditionCapability,
   ManagedInstanceFamilyCapability,
+  ManagedInstanceMaintenanceConfigurationCapability,
   ManagedInstanceVcoresCapability,
   ManagedInstanceVersionCapability,
   MaxSizeCapability,
   MaxSizeRangeCapability,
+  MinCapacityCapability,
   PerformanceLevelCapability,
+  ReadScaleCapability,
   ServerVersionCapability,
   ServiceObjectiveCapability,
-  Sku
+  Sku,
+  StorageCapability
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts
index 5f51959ea946..54581546b76d 100644
--- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts
@@ -1,23 +1,28 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
@@ -25,6 +30,8 @@ export {
   DataMaskingPolicy,
   DataMaskingRule,
   DataMaskingRuleListResult,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/dataWarehouseUserActivitiesOperationsMappers.ts b/sdk/sql/arm-sql/src/models/dataWarehouseUserActivitiesOperationsMappers.ts
new file mode 100644
index 000000000000..49eff5f85c14
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/dataWarehouseUserActivitiesOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DataWarehouseUserActivitiesListResult,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseAdvisorsMappers.ts
similarity index 56%
rename from sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts
rename to sdk/sql/arm-sql/src/models/databaseAdvisorsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseAdvisorsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts
index 208528b42b1d..b49d58bbe6d0 100644
--- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
@@ -17,14 +17,21 @@ export {
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
   DatabaseBlobAuditingPolicyListResult,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseColumnsMappers.ts b/sdk/sql/arm-sql/src/models/databaseColumnsMappers.ts
new file mode 100644
index 000000000000..9b756a4e7fff
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/databaseColumnsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseColumnListResult,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseExtensionsOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseExtensionsOperationsMappers.ts
new file mode 100644
index 000000000000..b56a833951f9
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/databaseExtensionsOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationListResult,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts
index be1316bb2af4..ce7e2829be18 100644
--- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts
@@ -1,30 +1,37 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
   DatabaseOperationListResult,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseRecommendedActionsMappers.ts
similarity index 56%
rename from sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts
rename to sdk/sql/arm-sql/src/models/databaseRecommendedActionsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseRecommendedActionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseSchemasMappers.ts b/sdk/sql/arm-sql/src/models/databaseSchemasMappers.ts
new file mode 100644
index 000000000000..33c0c14ae45c
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/databaseSchemasMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSchemaListResult,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseSecurityAlertPoliciesMappers.ts
new file mode 100644
index 000000000000..25c5f3ed635a
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/databaseSecurityAlertPoliciesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertListResult,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseTablesMappers.ts b/sdk/sql/arm-sql/src/models/databaseTablesMappers.ts
new file mode 100644
index 000000000000..cb68cd6abb83
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/databaseTablesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseTableListResult,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts b/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts
index e44bd416354e..e721557595c4 100644
--- a/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts
@@ -1,13 +1,182 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
   CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
   DatabaseUsage,
-  DatabaseUsageListResult
+  DatabaseUsageListResult,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts
index 8db2e4f353ef..83c2b78a11f7 100644
--- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,14 +161,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
   VulnerabilityAssessmentScanRecord,
-  VulnerabilityAssessmentScanRecordListResult
+  VulnerabilityAssessmentScanRecordListResult,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts
index ddd16788a720..40cc70d9a215 100644
--- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts
@@ -1,23 +1,28 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentListResult,
   DatabaseVulnerabilityAssessmentRuleBaseline,
@@ -25,6 +30,8 @@ export {
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/databasesMappers.ts b/sdk/sql/arm-sql/src/models/databasesMappers.ts
index d42e76c423cd..d349b09c7193 100644
--- a/sdk/sql/arm-sql/src/models/databasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts
@@ -1,38 +1,45 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseListResult,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
   DatabaseUpdate,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
   ElasticPoolOperation,
   ElasticPoolPerDatabaseSettings,
   EncryptionProtector,
-  ExportRequest,
+  ExportDatabaseDefinition,
   ExtendedDatabaseBlobAuditingPolicy,
   ExtendedServerBlobAuditingPolicy,
   FailoverGroup,
@@ -40,9 +47,9 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
-  ImportExtensionRequest,
-  ImportRequest,
+  ImportExistingDatabaseDefinition,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -60,18 +67,40 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
   Metric,
   MetricAvailability,
   MetricDefinition,
@@ -79,42 +108,64 @@ export {
   MetricListResult,
   MetricName,
   MetricValue,
-  OperationImpact,
+  NetworkIsolationSettings,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
   ResourceMoveDefinition,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -123,13 +174,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/deletedServersMappers.ts b/sdk/sql/arm-sql/src/models/deletedServersMappers.ts
new file mode 100644
index 000000000000..f3f8ad829daa
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/deletedServersMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  DeletedServerListResult,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts
index e208d357ba22..dd7ad8012f55 100644
--- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolActivityListResult,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts
index 9ec09441bb5b..ae260fa44323 100644
--- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts
index 42b902e5b44b..c2d96a0955e6 100644
--- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts
index 0207ecc07c86..f3c71a6365f2 100644
--- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -39,7 +46,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -57,18 +65,40 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
   Metric,
   MetricAvailability,
   MetricDefinition,
@@ -76,41 +106,62 @@ export {
   MetricListResult,
   MetricName,
   MetricValue,
-  OperationImpact,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -119,13 +170,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts
index dd2c39144b9d..23c3b3e4740d 100644
--- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts
index 7979989c60d3..077de3d99604 100644
--- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -31,13 +38,15 @@ export {
   ElasticPoolPerDatabaseSettings,
   EncryptionProtector,
   ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedDatabaseBlobAuditingPolicyListResult,
   ExtendedServerBlobAuditingPolicy,
   FailoverGroup,
   FailoverGroupReadOnlyEndpoint,
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts
index 7979989c60d3..65b36394e567 100644
--- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -32,12 +39,14 @@ export {
   EncryptionProtector,
   ExtendedDatabaseBlobAuditingPolicy,
   ExtendedServerBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicyListResult,
   FailoverGroup,
   FailoverGroupReadOnlyEndpoint,
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts
index 5b702951c0c0..dfb60740a32e 100644
--- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -39,7 +46,8 @@ export {
   FailoverGroupUpdate,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -57,53 +65,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts
index c7b1cddbce7e..110d4ed00a35 100644
--- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -36,9 +43,11 @@ export {
   FailoverGroupReadOnlyEndpoint,
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
+  FirewallRuleList,
   FirewallRuleListResult,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +65,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts
index 23569a186da1..c0e612f21ad0 100644
--- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FirewallRule,
   GeoBackupPolicy,
   GeoBackupPolicyListResult,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/index.ts b/sdk/sql/arm-sql/src/models/index.ts
index 60b18ceff4a8..8bfa8eff0f91 100644
--- a/sdk/sql/arm-sql/src/models/index.ts
+++ b/sdk/sql/arm-sql/src/models/index.ts
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -64,57 +64,6 @@ export interface RecoverableDatabase extends ProxyResource {
   readonly lastAvailableBackupDate?: Date;
 }
 
-/**
- * A restorable dropped database
- */
-export interface RestorableDroppedDatabase extends ProxyResource {
-  /**
-   * The geo-location where the resource lives
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly location?: string;
-  /**
-   * The name of the database
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly databaseName?: string;
-  /**
-   * The edition of the database
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly edition?: string;
-  /**
-   * The max size in bytes of the database
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly maxSizeBytes?: string;
-  /**
-   * The service level objective name of the database
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly serviceLevelObjective?: string;
-  /**
-   * The elastic pool name of the database
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly elasticPoolName?: string;
-  /**
-   * The creation date of the database (ISO8601 format)
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly creationDate?: Date;
-  /**
-   * The deletion date of the database (ISO8601 format)
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly deletionDate?: Date;
-  /**
-   * The earliest restore date of the database (ISO8601 format)
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly earliestRestoreDate?: Date;
-}
-
 /**
  * ARM tracked top level resource.
  */
@@ -129,43 +78,6 @@ export interface TrackedResource extends Resource {
   tags?: { [propertyName: string]: string };
 }
 
-/**
- * A request to check whether the specified name for a resource is available.
- */
-export interface CheckNameAvailabilityRequest {
-  /**
-   * The name whose availability is to be checked.
-   */
-  name: string;
-}
-
-/**
- * A response indicating whether the specified name for a resource is available.
- */
-export interface CheckNameAvailabilityResponse {
-  /**
-   * True if the name is available, otherwise false.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly available?: boolean;
-  /**
-   * A message explaining why the name is unavailable. Will be null if the name is available.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly message?: string;
-  /**
-   * The name whose availability was checked.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly name?: string;
-  /**
-   * The reason code explaining why the name is unavailable. Will be null if the name is available.
-   * Possible values include: 'Invalid', 'AlreadyExists'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly reason?: CheckNameAvailabilityReason;
-}
-
 /**
  * A server secure connection policy.
  */
@@ -186,61 +98,6 @@ export interface ServerConnectionPolicy extends ProxyResource {
   connectionType: ServerConnectionType;
 }
 
-/**
- * Contains information about a database Threat Detection policy.
- */
-export interface DatabaseSecurityAlertPolicy extends ProxyResource {
-  /**
-   * The geo-location where the resource lives
-   */
-  location?: string;
-  /**
-   * Resource kind.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly kind?: string;
-  /**
-   * Specifies the state of the policy. If state is Enabled, storageEndpoint and
-   * storageAccountAccessKey are required. Possible values include: 'New', 'Enabled', 'Disabled'
-   */
-  state: SecurityAlertPolicyState;
-  /**
-   * Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable
-   * no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly;
-   * Data_Exfiltration; Unsafe_Action.
-   */
-  disabledAlerts?: string;
-  /**
-   * Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
-   */
-  emailAddresses?: string;
-  /**
-   * Specifies that the alert is sent to the account administrators. Possible values include:
-   * 'Enabled', 'Disabled'
-   */
-  emailAccountAdmins?: SecurityAlertPolicyEmailAccountAdmins;
-  /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
-   * storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is
-   * required.
-   */
-  storageEndpoint?: string;
-  /**
-   * Specifies the identifier key of the Threat Detection audit storage account. If state is
-   * Enabled, storageAccountAccessKey is required.
-   */
-  storageAccountAccessKey?: string;
-  /**
-   * Specifies the number of days to keep in the Threat Detection audit logs.
-   */
-  retentionDays?: number;
-  /**
-   * Specifies whether to use the default server policy. Possible values include: 'Enabled',
-   * 'Disabled'
-   */
-  useServerDefault?: SecurityAlertPolicyUseServerDefault;
-}
-
 /**
  * Represents a database data masking policy.
  */
@@ -351,32 +208,6 @@ export interface DataMaskingRule extends ProxyResource {
   readonly kind?: string;
 }
 
-/**
- * Represents a server firewall rule.
- */
-export interface FirewallRule extends ProxyResource {
-  /**
-   * Kind of server that contains this firewall rule.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly kind?: string;
-  /**
-   * Location of the server that contains this firewall rule.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly location?: string;
-  /**
-   * The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to
-   * represent all Azure-internal IP addresses.
-   */
-  startIpAddress: string;
-  /**
-   * The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to
-   * startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses.
-   */
-  endIpAddress: string;
-}
-
 /**
  * A database geo backup policy.
  */
@@ -402,173 +233,6 @@ export interface GeoBackupPolicy extends ProxyResource {
   readonly location?: string;
 }
 
-/**
- * Import database parameters.
- */
-export interface ImportExtensionRequest {
-  /**
-   * The name of the extension.
-   */
-  name?: string;
-  /**
-   * The type of the extension.
-   */
-  type?: string;
-  /**
-   * The type of the storage key to use. Possible values include: 'StorageAccessKey',
-   * 'SharedAccessKey'
-   */
-  storageKeyType: StorageKeyType;
-  /**
-   * The storage key to use.  If storage key type is SharedAccessKey, it must be preceded with a
-   * "?."
-   */
-  storageKey: string;
-  /**
-   * The storage uri to use.
-   */
-  storageUri: string;
-  /**
-   * The name of the SQL administrator.
-   */
-  administratorLogin: string;
-  /**
-   * The password of the SQL administrator.
-   */
-  administratorLoginPassword: string;
-  /**
-   * The authentication type. Possible values include: 'SQL', 'ADPassword'. Default value: 'SQL'.
-   */
-  authenticationType?: AuthenticationType;
-}
-
-/**
- * Response for Import/Export Get operation.
- */
-export interface ImportExportResponse extends ProxyResource {
-  /**
-   * The request type of the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly requestType?: string;
-  /**
-   * The request type of the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly requestId?: string;
-  /**
-   * The name of the server.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly serverName?: string;
-  /**
-   * The name of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly databaseName?: string;
-  /**
-   * The status message returned from the server.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly status?: string;
-  /**
-   * The operation status last modified time.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly lastModifiedTime?: string;
-  /**
-   * The operation queued time.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly queuedTime?: string;
-  /**
-   * The blob uri.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly blobUri?: string;
-  /**
-   * The error message returned from the server.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly errorMessage?: string;
-}
-
-/**
- * Export database parameters.
- */
-export interface ExportRequest {
-  /**
-   * The type of the storage key to use. Possible values include: 'StorageAccessKey',
-   * 'SharedAccessKey'
-   */
-  storageKeyType: StorageKeyType;
-  /**
-   * The storage key to use.  If storage key type is SharedAccessKey, it must be preceded with a
-   * "?."
-   */
-  storageKey: string;
-  /**
-   * The storage uri to use.
-   */
-  storageUri: string;
-  /**
-   * The name of the SQL administrator.
-   */
-  administratorLogin: string;
-  /**
-   * The password of the SQL administrator.
-   */
-  administratorLoginPassword: string;
-  /**
-   * The authentication type. Possible values include: 'SQL', 'ADPassword'. Default value: 'SQL'.
-   */
-  authenticationType?: AuthenticationType;
-}
-
-/**
- * Import database parameters.
- */
-export interface ImportRequest extends ExportRequest {
-  /**
-   * The name of the database to import.
-   */
-  databaseName: string;
-  /**
-   * The edition for the database being created.
-   *
-   * The list of SKUs may vary by region and support offer. To determine the SKUs (including the
-   * SKU name, tier/edition, family, and capacity) that are available to your subscription in an
-   * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
-   *
-   * ```azurecli
-   * az sql db list-editions -l <location> -o table
-   * ````
-   *
-   * ```powershell
-   * Get-AzSqlServerServiceObjective -Location <location>
-   * ````
-   * . Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS',
-   * 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical',
-   * 'Hyperscale'
-   */
-  edition: DatabaseEdition;
-  /**
-   * The name of the service objective to assign to the database. Possible values include:
-   * 'System', 'System0', 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L',
-   * 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1',
-   * 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200',
-   * 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c',
-   * 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
-   * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500',
-   * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'
-   */
-  serviceObjectiveName: ServiceObjectiveName;
-  /**
-   * The maximum size for the newly imported database.
-   */
-  maxSizeBytes: string;
-}
-
 /**
  * Represents database metrics.
  */
@@ -708,181 +372,31 @@ export interface MetricDefinition {
 }
 
 /**
- * Represents recommended elastic pool metric.
+ * Represents the parameters for Unlink Replication Link request.
  */
-export interface RecommendedElasticPoolMetric {
-  /**
-   * The time of metric (ISO8601 format).
-   */
-  dateTime?: Date;
-  /**
-   * Gets or sets the DTUs (Database Transaction Units). See
-   * https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/
-   */
-  dtu?: number;
+export interface UnlinkParameters {
   /**
-   * Gets or sets size in gigabytes.
+   * Determines whether link will be terminated in a forced or a friendly way.
    */
-  sizeGB?: number;
+  forcedTermination?: boolean;
 }
 
 /**
- * Represents a recommended elastic pool.
+ * Server communication link.
  */
-export interface RecommendedElasticPool extends ProxyResource {
+export interface ServerCommunicationLink extends ProxyResource {
   /**
-   * The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all
-   * the valid editions. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose',
-   * 'BusinessCritical'
+   * The state.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseEdition?: ElasticPoolEdition;
+  readonly state?: string;
   /**
-   * The DTU for the recommended elastic pool.
+   * The name of the partner server.
    */
-  dtu?: number;
+  partnerServer: string;
   /**
-   * The minimum DTU for the database.
-   */
-  databaseDtuMin?: number;
-  /**
-   * The maximum DTU for the database.
-   */
-  databaseDtuMax?: number;
-  /**
-   * Gets storage size in megabytes.
-   */
-  storageMB?: number;
-  /**
-   * The observation period start (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly observationPeriodStart?: Date;
-  /**
-   * The observation period start (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly observationPeriodEnd?: Date;
-  /**
-   * Gets maximum observed DTU.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly maxObservedDtu?: number;
-  /**
-   * Gets maximum observed storage in megabytes.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly maxObservedStorageMB?: number;
-  /**
-   * The list of databases in this pool. Expanded property
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly databases?: TrackedResource[];
-  /**
-   * The list of databases housed in the server. Expanded property
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly metrics?: RecommendedElasticPoolMetric[];
-}
-
-/**
- * Represents a database replication link.
- */
-export interface ReplicationLink extends ProxyResource {
-  /**
-   * Location of the server that contains this firewall rule.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly location?: string;
-  /**
-   * Legacy value indicating whether termination is allowed.  Currently always returns true.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly isTerminationAllowed?: boolean;
-  /**
-   * Replication mode of this replication link.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly replicationMode?: string;
-  /**
-   * The name of the server hosting the partner database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly partnerServer?: string;
-  /**
-   * The name of the partner database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly partnerDatabase?: string;
-  /**
-   * The Azure Region of the partner database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly partnerLocation?: string;
-  /**
-   * The role of the database in the replication link. Possible values include: 'Primary',
-   * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly role?: ReplicationRole;
-  /**
-   * The role of the partner database in the replication link. Possible values include: 'Primary',
-   * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly partnerRole?: ReplicationRole;
-  /**
-   * The start time for the replication link.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly startTime?: Date;
-  /**
-   * The percentage of seeding complete for the replication link.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly percentComplete?: number;
-  /**
-   * The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING',
-   * 'CATCH_UP', 'SUSPENDED'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly replicationState?: ReplicationState;
-}
-
-/**
- * An server Active Directory Administrator.
- */
-export interface ServerAzureADAdministrator extends ProxyResource {
-  /**
-   * The server administrator login value.
-   */
-  login: string;
-  /**
-   * The server administrator Sid (Secure ID).
-   */
-  sid: string;
-  /**
-   * The server Active Directory Administrator tenant id.
-   */
-  tenantId: string;
-}
-
-/**
- * Server communication link.
- */
-export interface ServerCommunicationLink extends ProxyResource {
-  /**
-   * The state.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly state?: string;
-  /**
-   * The name of the partner server.
-   */
-  partnerServer: string;
-  /**
-   * Communication link location.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Communication link location.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly location?: string;
   /**
@@ -1118,103 +632,6 @@ export interface ElasticPoolDatabaseActivity extends ProxyResource {
   readonly state?: string;
 }
 
-/**
- * The impact of an operation, both in absolute and relative terms.
- */
-export interface OperationImpact {
-  /**
-   * The name of the impact dimension.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly name?: string;
-  /**
-   * The unit in which estimated impact to dimension is measured.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly unit?: string;
-  /**
-   * The absolute impact to dimension.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly changeValueAbsolute?: number;
-  /**
-   * The relative impact to dimension (null if not applicable)
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly changeValueRelative?: number;
-}
-
-/**
- * Represents a database recommended index.
- */
-export interface RecommendedIndex extends ProxyResource {
-  /**
-   * The proposed index action. You can create a missing index, drop an unused index, or rebuild an
-   * existing index to improve its performance. Possible values include: 'Create', 'Drop',
-   * 'Rebuild'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly action?: RecommendedIndexAction;
-  /**
-   * The current recommendation state. Possible values include: 'Active', 'Pending', 'Executing',
-   * 'Verifying', 'Pending Revert', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked',
-   * 'Success'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly state?: RecommendedIndexState;
-  /**
-   * The UTC datetime showing when this resource was created (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly created?: Date;
-  /**
-   * The UTC datetime of when was this resource last changed (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly lastModified?: Date;
-  /**
-   * The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE). Possible
-   * values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly indexType?: RecommendedIndexType;
-  /**
-   * The schema where table to build index over resides
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly schema?: string;
-  /**
-   * The table on which to build index.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly table?: string;
-  /**
-   * Columns over which to build index
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly columns?: string[];
-  /**
-   * The list of column names to be included in the index
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly includedColumns?: string[];
-  /**
-   * The full build index script
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly indexScript?: string;
-  /**
-   * The estimated impact of doing recommended index action.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly estimatedImpact?: OperationImpact[];
-  /**
-   * The values reported after index action is complete.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly reportedImpact?: OperationImpact[];
-}
-
 /**
  * Represents a database transparent data encryption configuration.
  */
@@ -1260,104 +677,29 @@ export interface SloUsageMetric {
 }
 
 /**
- * Represents a Service Tier Advisor.
+ * The impact of an operation, both in absolute and relative terms.
  */
-export interface ServiceTierAdvisor extends ProxyResource {
-  /**
-   * The observation period start (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly observationPeriodStart?: Date;
-  /**
-   * The observation period start (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly observationPeriodEnd?: Date;
-  /**
-   * The activeTimeRatio for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly activeTimeRatio?: number;
-  /**
-   * Gets or sets minDtu for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly minDtu?: number;
-  /**
-   * Gets or sets avgDtu for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly avgDtu?: number;
-  /**
-   * Gets or sets maxDtu for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly maxDtu?: number;
-  /**
-   * Gets or sets maxSizeInGB for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly maxSizeInGB?: number;
-  /**
-   * Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly serviceLevelObjectiveUsageMetrics?: SloUsageMetric[];
-  /**
-   * Gets or sets currentServiceLevelObjective for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly currentServiceLevelObjective?: string;
-  /**
-   * Gets or sets currentServiceLevelObjectiveId for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly currentServiceLevelObjectiveId?: string;
-  /**
-   * Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly usageBasedRecommendationServiceLevelObjective?: string;
-  /**
-   * Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly usageBasedRecommendationServiceLevelObjectiveId?: string;
-  /**
-   * Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly databaseSizeBasedRecommendationServiceLevelObjective?: string;
-  /**
-   * Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly databaseSizeBasedRecommendationServiceLevelObjectiveId?: string;
-  /**
-   * Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly disasterPlanBasedRecommendationServiceLevelObjective?: string;
+export interface OperationImpact {
   /**
-   * Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
+   * The name of the impact dimension.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly disasterPlanBasedRecommendationServiceLevelObjectiveId?: string;
+  readonly name?: string;
   /**
-   * Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.
+   * The unit in which estimated impact to dimension is measured.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly overallRecommendationServiceLevelObjective?: string;
+  readonly unit?: string;
   /**
-   * Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.
+   * The absolute impact to dimension.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly overallRecommendationServiceLevelObjectiveId?: string;
+  readonly changeValueAbsolute?: number;
   /**
-   * Gets or sets confidence for service tier advisor.
+   * The relative impact to dimension (null if not applicable)
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly confidence?: number;
+  readonly changeValueRelative?: number;
 }
 
 /**
@@ -1423,2417 +765,2451 @@ export interface ServerUsage {
 }
 
 /**
- * The database usages.
+ * A short term retention policy.
  */
-export interface DatabaseUsage {
-  /**
-   * The name of the usage metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly name?: string;
-  /**
-   * The name of the resource.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly resourceName?: string;
-  /**
-   * The usage metric display name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly displayName?: string;
+export interface BackupShortTermRetentionPolicy extends ProxyResource {
   /**
-   * The current value of the usage metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The backup retention period in days. This is how many days Point-in-Time Restore will be
+   * supported.
    */
-  readonly currentValue?: number;
+  retentionDays?: number;
+}
+
+/**
+ * An extended database blob auditing policy.
+ */
+export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource {
   /**
-   * The current limit of the usage metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies condition of where clause when creating an audit.
    */
-  readonly limit?: number;
+  predicateExpression?: string;
   /**
-   * The units of the usage metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the number of days to keep in the audit logs in the storage account.
    */
-  readonly unit?: string;
+  retentionDays?: number;
   /**
-   * The next reset time for the usage metric (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the Actions-Groups and Actions to audit.
+   *
+   * The recommended set of action groups to use is the following combination - this will audit all
+   * the queries and stored procedures executed against the database, as well as successful and
+   * failed logins:
+   *
+   * BATCH_COMPLETED_GROUP,
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
+   * FAILED_DATABASE_AUTHENTICATION_GROUP.
+   *
+   * This above combination is also the set that is configured by default when enabling auditing
+   * from the Azure portal.
+   *
+   * The supported action groups to audit are (note: choose only specific groups that cover your
+   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
+   * records):
+   *
+   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
+   * BACKUP_RESTORE_GROUP
+   * DATABASE_LOGOUT_GROUP
+   * DATABASE_OBJECT_CHANGE_GROUP
+   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
+   * DATABASE_OPERATION_GROUP
+   * DATABASE_PERMISSION_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
+   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
+   * FAILED_DATABASE_AUTHENTICATION_GROUP
+   * SCHEMA_OBJECT_ACCESS_GROUP
+   * SCHEMA_OBJECT_CHANGE_GROUP
+   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
+   * USER_CHANGE_PASSWORD_GROUP
+   * BATCH_STARTED_GROUP
+   * BATCH_COMPLETED_GROUP
+   *
+   * These are groups that cover all sql statements and stored procedures executed against the
+   * database, and should not be used in combination with other groups as this will result in
+   * duplicate audit logs.
+   *
+   * For more information, see [Database-Level Audit Action
+   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
+   *
+   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
+   * be specified for Server auditing policy). The supported actions to audit are:
+   * SELECT
+   * UPDATE
+   * INSERT
+   * DELETE
+   * EXECUTE
+   * RECEIVE
+   * REFERENCES
+   *
+   * The general form for defining an action to be audited is:
+   * {action} ON {object} BY {principal}
+   *
+   * Note that <object> in the above format can refer to an object like a table, view, or stored
+   * procedure, or an entire database or schema. For the latter cases, the forms
+   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
+   *
+   * For example:
+   * SELECT on dbo.myTable by public
+   * SELECT on DATABASE::myDatabase by public
+   * SELECT on SCHEMA::mySchema by public
+   *
+   * For more information, see [Database-Level Audit
+   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
    */
-  readonly nextResetTime?: Date;
-}
-
-/**
- * Automatic tuning properties for individual advisors.
- */
-export interface AutomaticTuningOptions {
+  auditActionsAndGroups?: string[];
   /**
-   * Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'
+   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
    */
-  desiredState?: AutomaticTuningOptionModeDesired;
+  isStorageSecondaryKeyInUse?: boolean;
   /**
-   * Automatic tuning option actual state. Possible values include: 'Off', 'On'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies whether audit events are sent to Azure Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and
+   * 'IsAzureMonitorTargetEnabled' as true.
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
+   * diagnostic logs category on the database should be also created.
+   * Note that for server level audit you should use the 'master' database as {databaseName}.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  readonly actualState?: AutomaticTuningOptionModeActual;
+  isAzureMonitorTargetEnabled?: boolean;
   /**
-   * Reason code if desired and actual state are different.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the amount of time in milliseconds that can elapse before audit actions are forced
+   * to be processed.
+   * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
    */
-  readonly reasonCode?: number;
+  queueDelayMs?: number;
   /**
-   * Reason description if desired and actual state are different. Possible values include:
-   * 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff',
-   * 'QueryStoreReadOnly', 'NotSupported'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of the audit. If state is Enabled, storageEndpoint or
+   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
    */
-  readonly reasonDesc?: AutomaticTuningDisabledReason;
-}
-
-/**
- * Database-level Automatic Tuning.
- */
-export interface DatabaseAutomaticTuning extends ProxyResource {
+  state: BlobAuditingPolicyState;
   /**
-   * Automatic tuning desired state. Possible values include: 'Inherit', 'Custom', 'Auto',
-   * 'Unspecified'
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
+   * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
    */
-  desiredState?: AutomaticTuningMode;
+  storageEndpoint?: string;
   /**
-   * Automatic tuning actual state. Possible values include: 'Inherit', 'Custom', 'Auto',
-   * 'Unspecified'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the identifier key of the auditing storage account.
+   * If state is Enabled and storageEndpoint is specified, not specifying the
+   * storageAccountAccessKey will use SQL server system-assigned managed identity to access the
+   * storage.
+   * Prerequisites for using managed identity authentication:
+   * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
+   * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data
+   * Contributor' RBAC role to the server identity.
+   * For more information, see [Auditing to storage using Managed Identity
+   * authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
    */
-  readonly actualState?: AutomaticTuningMode;
+  storageAccountAccessKey?: string;
   /**
-   * Automatic tuning options definition.
+   * Specifies the blob storage subscription Id.
    */
-  options?: { [propertyName: string]: AutomaticTuningOptions };
+  storageAccountSubscriptionId?: string;
 }
 
 /**
- * The server encryption protector.
+ * An extended server blob auditing policy.
  */
-export interface EncryptionProtector extends ProxyResource {
+export interface ExtendedServerBlobAuditingPolicy extends ProxyResource {
   /**
-   * Kind of encryption protector. This is metadata used for the Azure portal experience.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure
+   * Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled',
+   * 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit'
+   * diagnostic logs category on the master database should also be created.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  readonly kind?: string;
+  isDevopsAuditEnabled?: boolean;
   /**
-   * Resource location.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies condition of where clause when creating an audit.
    */
-  readonly location?: string;
+  predicateExpression?: string;
   /**
-   * Subregion of the encryption protector.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the number of days to keep in the audit logs in the storage account.
    */
-  readonly subregion?: string;
+  retentionDays?: number;
   /**
-   * The name of the server key.
+   * Specifies the Actions-Groups and Actions to audit.
+   *
+   * The recommended set of action groups to use is the following combination - this will audit all
+   * the queries and stored procedures executed against the database, as well as successful and
+   * failed logins:
+   *
+   * BATCH_COMPLETED_GROUP,
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
+   * FAILED_DATABASE_AUTHENTICATION_GROUP.
+   *
+   * This above combination is also the set that is configured by default when enabling auditing
+   * from the Azure portal.
+   *
+   * The supported action groups to audit are (note: choose only specific groups that cover your
+   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
+   * records):
+   *
+   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
+   * BACKUP_RESTORE_GROUP
+   * DATABASE_LOGOUT_GROUP
+   * DATABASE_OBJECT_CHANGE_GROUP
+   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
+   * DATABASE_OPERATION_GROUP
+   * DATABASE_PERMISSION_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
+   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
+   * FAILED_DATABASE_AUTHENTICATION_GROUP
+   * SCHEMA_OBJECT_ACCESS_GROUP
+   * SCHEMA_OBJECT_CHANGE_GROUP
+   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
+   * USER_CHANGE_PASSWORD_GROUP
+   * BATCH_STARTED_GROUP
+   * BATCH_COMPLETED_GROUP
+   *
+   * These are groups that cover all sql statements and stored procedures executed against the
+   * database, and should not be used in combination with other groups as this will result in
+   * duplicate audit logs.
+   *
+   * For more information, see [Database-Level Audit Action
+   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
+   *
+   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
+   * be specified for Server auditing policy). The supported actions to audit are:
+   * SELECT
+   * UPDATE
+   * INSERT
+   * DELETE
+   * EXECUTE
+   * RECEIVE
+   * REFERENCES
+   *
+   * The general form for defining an action to be audited is:
+   * {action} ON {object} BY {principal}
+   *
+   * Note that <object> in the above format can refer to an object like a table, view, or stored
+   * procedure, or an entire database or schema. For the latter cases, the forms
+   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
+   *
+   * For example:
+   * SELECT on dbo.myTable by public
+   * SELECT on DATABASE::myDatabase by public
+   * SELECT on SCHEMA::mySchema by public
+   *
+   * For more information, see [Database-Level Audit
+   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
    */
-  serverKeyName?: string;
+  auditActionsAndGroups?: string[];
   /**
-   * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
-   * 'ServiceManaged', 'AzureKeyVault'
+   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
    */
-  serverKeyType: ServerKeyType;
+  isStorageSecondaryKeyInUse?: boolean;
   /**
-   * The URI of the server key.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies whether audit events are sent to Azure Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and
+   * 'IsAzureMonitorTargetEnabled' as true.
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
+   * diagnostic logs category on the database should be also created.
+   * Note that for server level audit you should use the 'master' database as {databaseName}.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  readonly uri?: string;
+  isAzureMonitorTargetEnabled?: boolean;
   /**
-   * Thumbprint of the server key.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the amount of time in milliseconds that can elapse before audit actions are forced
+   * to be processed.
+   * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
    */
-  readonly thumbprint?: string;
-}
-
-/**
- * Read-write endpoint of the failover group instance.
- */
-export interface FailoverGroupReadWriteEndpoint {
-  /**
-   * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is
-   * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include:
-   * 'Manual', 'Automatic'
-   */
-  failoverPolicy: ReadWriteEndpointFailoverPolicy;
-  /**
-   * Grace period before failover with data loss is attempted for the read-write endpoint. If
-   * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
-   */
-  failoverWithDataLossGracePeriodMinutes?: number;
-}
-
-/**
- * Read-only endpoint of the failover group instance.
- */
-export interface FailoverGroupReadOnlyEndpoint {
-  /**
-   * Failover policy of the read-only endpoint for the failover group. Possible values include:
-   * 'Disabled', 'Enabled'
-   */
-  failoverPolicy?: ReadOnlyEndpointFailoverPolicy;
-}
-
-/**
- * Partner server information for the failover group.
- */
-export interface PartnerInfo {
-  /**
-   * Resource identifier of the partner server.
-   */
-  id: string;
-  /**
-   * Geo location of the partner server.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly location?: string;
-  /**
-   * Replication role of the partner server. Possible values include: 'Primary', 'Secondary'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly replicationRole?: FailoverGroupReplicationRole;
-}
-
-/**
- * A failover group.
- */
-export interface FailoverGroup extends ProxyResource {
-  /**
-   * Resource location.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly location?: string;
-  /**
-   * Resource tags.
-   */
-  tags?: { [propertyName: string]: string };
-  /**
-   * Read-write endpoint of the failover group instance.
-   */
-  readWriteEndpoint: FailoverGroupReadWriteEndpoint;
-  /**
-   * Read-only endpoint of the failover group instance.
-   */
-  readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint;
+  queueDelayMs?: number;
   /**
-   * Local replication role of the failover group instance. Possible values include: 'Primary',
-   * 'Secondary'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of the audit. If state is Enabled, storageEndpoint or
+   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
    */
-  readonly replicationRole?: FailoverGroupReplicationRole;
+  state: BlobAuditingPolicyState;
   /**
-   * Replication state of the failover group instance.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
+   * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
    */
-  readonly replicationState?: string;
+  storageEndpoint?: string;
   /**
-   * List of partner server information for the failover group.
+   * Specifies the identifier key of the auditing storage account.
+   * If state is Enabled and storageEndpoint is specified, not specifying the
+   * storageAccountAccessKey will use SQL server system-assigned managed identity to access the
+   * storage.
+   * Prerequisites for using managed identity authentication:
+   * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
+   * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data
+   * Contributor' RBAC role to the server identity.
+   * For more information, see [Auditing to storage using Managed Identity
+   * authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
    */
-  partnerServers: PartnerInfo[];
+  storageAccountAccessKey?: string;
   /**
-   * List of databases in the failover group.
+   * Specifies the blob storage subscription Id.
    */
-  databases?: string[];
+  storageAccountSubscriptionId?: string;
 }
 
 /**
- * A failover group update request.
+ * A server blob auditing policy.
  */
-export interface FailoverGroupUpdate {
-  /**
-   * Read-write endpoint of the failover group instance.
-   */
-  readWriteEndpoint?: FailoverGroupReadWriteEndpoint;
-  /**
-   * Read-only endpoint of the failover group instance.
-   */
-  readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint;
+export interface ServerBlobAuditingPolicy extends ProxyResource {
   /**
-   * List of databases in the failover group.
+   * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure
+   * Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled',
+   * 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit'
+   * diagnostic logs category on the master database should also be created.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  databases?: string[];
+  isDevopsAuditEnabled?: boolean;
   /**
-   * Resource tags.
+   * Specifies the number of days to keep in the audit logs in the storage account.
    */
-  tags?: { [propertyName: string]: string };
-}
-
-/**
- * Display metadata associated with the operation.
- */
-export interface OperationDisplay {
+  retentionDays?: number;
   /**
-   * The localized friendly form of the resource provider name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the Actions-Groups and Actions to audit.
+   *
+   * The recommended set of action groups to use is the following combination - this will audit all
+   * the queries and stored procedures executed against the database, as well as successful and
+   * failed logins:
+   *
+   * BATCH_COMPLETED_GROUP,
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
+   * FAILED_DATABASE_AUTHENTICATION_GROUP.
+   *
+   * This above combination is also the set that is configured by default when enabling auditing
+   * from the Azure portal.
+   *
+   * The supported action groups to audit are (note: choose only specific groups that cover your
+   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
+   * records):
+   *
+   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
+   * BACKUP_RESTORE_GROUP
+   * DATABASE_LOGOUT_GROUP
+   * DATABASE_OBJECT_CHANGE_GROUP
+   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
+   * DATABASE_OPERATION_GROUP
+   * DATABASE_PERMISSION_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
+   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
+   * FAILED_DATABASE_AUTHENTICATION_GROUP
+   * SCHEMA_OBJECT_ACCESS_GROUP
+   * SCHEMA_OBJECT_CHANGE_GROUP
+   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
+   * USER_CHANGE_PASSWORD_GROUP
+   * BATCH_STARTED_GROUP
+   * BATCH_COMPLETED_GROUP
+   *
+   * These are groups that cover all sql statements and stored procedures executed against the
+   * database, and should not be used in combination with other groups as this will result in
+   * duplicate audit logs.
+   *
+   * For more information, see [Database-Level Audit Action
+   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
+   *
+   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
+   * be specified for Server auditing policy). The supported actions to audit are:
+   * SELECT
+   * UPDATE
+   * INSERT
+   * DELETE
+   * EXECUTE
+   * RECEIVE
+   * REFERENCES
+   *
+   * The general form for defining an action to be audited is:
+   * {action} ON {object} BY {principal}
+   *
+   * Note that <object> in the above format can refer to an object like a table, view, or stored
+   * procedure, or an entire database or schema. For the latter cases, the forms
+   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
+   *
+   * For example:
+   * SELECT on dbo.myTable by public
+   * SELECT on DATABASE::myDatabase by public
+   * SELECT on SCHEMA::mySchema by public
+   *
+   * For more information, see [Database-Level Audit
+   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
    */
-  readonly provider?: string;
+  auditActionsAndGroups?: string[];
   /**
-   * The localized friendly form of the resource type related to this action/operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
    */
-  readonly resource?: string;
+  isStorageSecondaryKeyInUse?: boolean;
   /**
-   * The localized friendly name for the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies whether audit events are sent to Azure Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and
+   * 'IsAzureMonitorTargetEnabled' as true.
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
+   * diagnostic logs category on the database should be also created.
+   * Note that for server level audit you should use the 'master' database as {databaseName}.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  readonly operation?: string;
+  isAzureMonitorTargetEnabled?: boolean;
   /**
-   * The localized friendly description for the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the amount of time in milliseconds that can elapse before audit actions are forced
+   * to be processed.
+   * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
    */
-  readonly description?: string;
-}
-
-/**
- * SQL REST API operation definition.
- */
-export interface Operation {
+  queueDelayMs?: number;
   /**
-   * The name of the operation being performed on this particular object.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of the audit. If state is Enabled, storageEndpoint or
+   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
    */
-  readonly name?: string;
+  state: BlobAuditingPolicyState;
   /**
-   * The localized display information for this particular operation / action.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
+   * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
    */
-  readonly display?: OperationDisplay;
+  storageEndpoint?: string;
   /**
-   * The intended executor of the operation. Possible values include: 'user', 'system'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the identifier key of the auditing storage account.
+   * If state is Enabled and storageEndpoint is specified, not specifying the
+   * storageAccountAccessKey will use SQL server system-assigned managed identity to access the
+   * storage.
+   * Prerequisites for using managed identity authentication:
+   * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
+   * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data
+   * Contributor' RBAC role to the server identity.
+   * For more information, see [Auditing to storage using Managed Identity
+   * authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
    */
-  readonly origin?: OperationOrigin;
+  storageAccountAccessKey?: string;
   /**
-   * Additional descriptions for the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the blob storage subscription Id.
    */
-  readonly properties?: { [propertyName: string]: any };
+  storageAccountSubscriptionId?: string;
 }
 
 /**
- * A server key.
+ * A database blob auditing policy.
  */
-export interface ServerKey extends ProxyResource {
-  /**
-   * Kind of encryption protector. This is metadata used for the Azure portal experience.
-   */
-  kind?: string;
+export interface DatabaseBlobAuditingPolicy extends ProxyResource {
   /**
-   * Resource location.
+   * Resource kind.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly location?: string;
+  readonly kind?: string;
   /**
-   * Subregion of the server key.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the number of days to keep in the audit logs in the storage account.
    */
-  readonly subregion?: string;
+  retentionDays?: number;
   /**
-   * The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
-   * 'ServiceManaged', 'AzureKeyVault'
+   * Specifies the Actions-Groups and Actions to audit.
+   *
+   * The recommended set of action groups to use is the following combination - this will audit all
+   * the queries and stored procedures executed against the database, as well as successful and
+   * failed logins:
+   *
+   * BATCH_COMPLETED_GROUP,
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
+   * FAILED_DATABASE_AUTHENTICATION_GROUP.
+   *
+   * This above combination is also the set that is configured by default when enabling auditing
+   * from the Azure portal.
+   *
+   * The supported action groups to audit are (note: choose only specific groups that cover your
+   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
+   * records):
+   *
+   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
+   * BACKUP_RESTORE_GROUP
+   * DATABASE_LOGOUT_GROUP
+   * DATABASE_OBJECT_CHANGE_GROUP
+   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
+   * DATABASE_OPERATION_GROUP
+   * DATABASE_PERMISSION_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_CHANGE_GROUP
+   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
+   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
+   * FAILED_DATABASE_AUTHENTICATION_GROUP
+   * SCHEMA_OBJECT_ACCESS_GROUP
+   * SCHEMA_OBJECT_CHANGE_GROUP
+   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
+   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
+   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
+   * USER_CHANGE_PASSWORD_GROUP
+   * BATCH_STARTED_GROUP
+   * BATCH_COMPLETED_GROUP
+   *
+   * These are groups that cover all sql statements and stored procedures executed against the
+   * database, and should not be used in combination with other groups as this will result in
+   * duplicate audit logs.
+   *
+   * For more information, see [Database-Level Audit Action
+   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
+   *
+   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
+   * be specified for Server auditing policy). The supported actions to audit are:
+   * SELECT
+   * UPDATE
+   * INSERT
+   * DELETE
+   * EXECUTE
+   * RECEIVE
+   * REFERENCES
+   *
+   * The general form for defining an action to be audited is:
+   * {action} ON {object} BY {principal}
+   *
+   * Note that <object> in the above format can refer to an object like a table, view, or stored
+   * procedure, or an entire database or schema. For the latter cases, the forms
+   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
+   *
+   * For example:
+   * SELECT on dbo.myTable by public
+   * SELECT on DATABASE::myDatabase by public
+   * SELECT on SCHEMA::mySchema by public
+   *
+   * For more information, see [Database-Level Audit
+   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
    */
-  serverKeyType: ServerKeyType;
+  auditActionsAndGroups?: string[];
   /**
-   * The URI of the server key.
+   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
    */
-  uri?: string;
+  isStorageSecondaryKeyInUse?: boolean;
   /**
-   * Thumbprint of the server key.
+   * Specifies whether audit events are sent to Azure Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and
+   * 'IsAzureMonitorTargetEnabled' as true.
+   *
+   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
+   * diagnostic logs category on the database should be also created.
+   * Note that for server level audit you should use the 'master' database as {databaseName}.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
    */
-  thumbprint?: string;
+  isAzureMonitorTargetEnabled?: boolean;
   /**
-   * The server key creation date.
+   * Specifies the amount of time in milliseconds that can elapse before audit actions are forced
+   * to be processed.
+   * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
    */
-  creationDate?: Date;
-}
-
-/**
- * Azure Active Directory identity configuration for a resource.
- */
-export interface ResourceIdentity {
+  queueDelayMs?: number;
   /**
-   * The Azure Active Directory principal id.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of the audit. If state is Enabled, storageEndpoint or
+   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
    */
-  readonly principalId?: string;
+  state: BlobAuditingPolicyState;
   /**
-   * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an
-   * Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
+   * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
    */
-  type?: IdentityType;
+  storageEndpoint?: string;
   /**
-   * The Azure Active Directory tenant id.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the identifier key of the auditing storage account.
+   * If state is Enabled and storageEndpoint is specified, not specifying the
+   * storageAccountAccessKey will use SQL server system-assigned managed identity to access the
+   * storage.
+   * Prerequisites for using managed identity authentication:
+   * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
+   * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data
+   * Contributor' RBAC role to the server identity.
+   * For more information, see [Auditing to storage using Managed Identity
+   * authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
    */
-  readonly tenantId?: string;
+  storageAccountAccessKey?: string;
+  /**
+   * Specifies the blob storage subscription Id.
+   */
+  storageAccountSubscriptionId?: string;
 }
 
 /**
- * An Azure SQL Database server.
+ * Contains information of current state for an Azure SQL Database, Server or Elastic Pool
+ * Recommended Action.
  */
-export interface Server extends TrackedResource {
+export interface RecommendedActionStateInfo {
   /**
-   * The Azure Active Directory identity of the server.
+   * Current state the recommended action is in. Some commonly used states are: Active      ->
+   * recommended action is active and no action has been taken yet. Pending     -> recommended
+   * action is approved for and is awaiting execution. Executing   -> recommended action is being
+   * applied on the user database. Verifying   -> recommended action was applied and is being
+   * verified of its usefulness by the system. Success     -> recommended action was applied and
+   * improvement found during verification. Pending Revert  -> verification found little or no
+   * improvement so recommended action is queued for revert or user has manually reverted.
+   * Reverting   -> changes made while applying recommended action are being reverted on the user
+   * database. Reverted    -> successfully reverted the changes made by recommended action on user
+   * database. Ignored     -> user explicitly ignored/discarded the recommended action. Possible
+   * values include: 'Active', 'Pending', 'Executing', 'Verifying', 'PendingRevert',
+   * 'RevertCancelled', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Monitoring', 'Resolved',
+   * 'Success', 'Error'
    */
-  identity?: ResourceIdentity;
+  currentValue: RecommendedActionCurrentState;
   /**
-   * Kind of sql server. This is metadata used for the Azure portal experience.
+   * Gets who initiated the execution of this recommended action. Possible Value are: User    ->
+   * When user explicity notified system to apply the recommended action. System  -> When
+   * auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
+   * Possible values include: 'User', 'System'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly kind?: string;
+  readonly actionInitiatedBy?: RecommendedActionInitiatedBy;
   /**
-   * Administrator username for the server. Once created it cannot be changed.
+   * Gets the time when the state was last modified
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  administratorLogin?: string;
+  readonly lastModified?: Date;
+}
+
+/**
+ * Contains information for manual implementation for an Azure SQL Database, Server or Elastic Pool
+ * Recommended Action.
+ */
+export interface RecommendedActionImplementationInfo {
   /**
-   * The administrator login password (required for server creation).
+   * Gets the method in which this recommended action can be manually implemented. e.g., TSql,
+   * AzurePowerShell. Possible values include: 'TSql', 'AzurePowerShell'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  administratorLoginPassword?: string;
+  readonly method?: ImplementationMethod;
   /**
-   * The version of the server.
+   * Gets the manual implementation script. e.g., T-SQL script that could be executed on the
+   * database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  version?: string;
+  readonly script?: string;
+}
+
+/**
+ * Contains error information for an Azure SQL Database, Server or Elastic Pool Recommended Action.
+ */
+export interface RecommendedActionErrorInfo {
   /**
-   * The state of the server.
+   * Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff,
+   * IndexAlreadyExists
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: string;
+  readonly errorCode?: string;
   /**
-   * The fully qualified domain name of the server.
+   * Gets whether the error could be ignored and recommended action could be retried. Possible
+   * values are: Yes/No. Possible values include: 'Yes', 'No'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly fullyQualifiedDomainName?: string;
+  readonly isRetryable?: IsRetryable;
 }
 
 /**
- * An update request for an Azure SQL Database server.
+ * Contains information of estimated or observed impact on various metrics for an Azure SQL
+ * Database, Server or Elastic Pool Recommended Action.
  */
-export interface ServerUpdate {
+export interface RecommendedActionImpactRecord {
   /**
-   * Administrator username for the server. Once created it cannot be changed.
-   */
-  administratorLogin?: string;
-  /**
-   * The administrator login password (required for server creation).
+   * Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange,
+   * NumberOfQueriesAffected.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  administratorLoginPassword?: string;
+  readonly dimensionName?: string;
   /**
-   * The version of the server.
+   * Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange,
+   * NumberOfQueriesAffected.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  version?: string;
+  readonly unit?: string;
   /**
-   * The state of the server.
+   * Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: string;
+  readonly absoluteValue?: number;
   /**
-   * The fully qualified domain name of the server.
+   * Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in
+   * Megabytes
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly fullyQualifiedDomainName?: string;
+  readonly changeValueAbsolute?: number;
   /**
-   * Resource tags.
+   * Gets the relative change in the value of this dimension. e.g., Relative Disk space change in
+   * Percentage
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  tags?: { [propertyName: string]: string };
+  readonly changeValueRelative?: number;
 }
 
 /**
- * An Azure SQL Database sync agent.
+ * Contains time series of various impacted metrics for an Azure SQL Database, Server or Elastic
+ * Pool Recommended Action.
  */
-export interface SyncAgent extends ProxyResource {
-  /**
-   * Name of the sync agent.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly syncAgentName?: string;
-  /**
-   * ARM resource id of the sync database in the sync agent.
-   */
-  syncDatabaseId?: string;
+export interface RecommendedActionMetricInfo {
   /**
-   * Last alive time of the sync agent.
+   * Gets the name of the metric. e.g., CPU, Number of Queries.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly lastAliveTime?: Date;
+  readonly metricName?: string;
   /**
-   * State of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected'
+   * Gets the unit in which metric is measured. e.g., DTU, Frequency
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: SyncAgentState;
+  readonly unit?: string;
   /**
-   * If the sync agent version is up to date.
+   * Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isUpToDate?: boolean;
+  readonly timeGrain?: string;
   /**
-   * Expiration time of the sync agent version.
+   * Gets the start time of time interval given by this MetricInfo.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly expiryTime?: Date;
+  readonly startTime?: Date;
   /**
-   * Version of the sync agent.
+   * Gets the value of the metric in the time interval given by this MetricInfo.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly version?: string;
+  readonly value?: number;
 }
 
 /**
- * Properties of an Azure SQL Database sync agent key.
+ * Database, Server or Elastic Pool Recommended Action.
  */
-export interface SyncAgentKeyProperties {
+export interface RecommendedAction extends ProxyResource {
   /**
-   * Key of sync agent.
+   * Resource kind.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly syncAgentKey?: string;
-}
-
-/**
- * An Azure SQL Database sync agent linked database.
- */
-export interface SyncAgentLinkedDatabase extends ProxyResource {
+  readonly kind?: string;
   /**
-   * Type of the sync agent linked database. Possible values include: 'AzureSqlDatabase',
-   * 'SqlServerDatabase'
+   * Resource location.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseType?: SyncMemberDbType;
+  readonly location?: string;
   /**
-   * Id of the sync agent linked database.
+   * Gets the reason for recommending this action. e.g., DuplicateIndex
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseId?: string;
+  readonly recommendationReason?: string;
   /**
-   * Description of the sync agent linked database.
+   * Gets the time since when this recommended action is valid.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly description?: string;
+  readonly validSince?: Date;
   /**
-   * Server name of the sync agent linked database.
+   * Gets time when this recommended action was last refreshed.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly serverName?: string;
+  readonly lastRefresh?: Date;
   /**
-   * Database name of the sync agent linked database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Gets the info of the current state the recommended action is in.
    */
-  readonly databaseName?: string;
+  state: RecommendedActionStateInfo;
   /**
-   * User name of the sync agent linked database.
+   * Gets if this recommended action is actionable by user
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly userName?: string;
-}
-
-/**
- * Properties of the sync database id.
- */
-export interface SyncDatabaseIdProperties {
+  readonly isExecutableAction?: boolean;
   /**
-   * ARM resource id of sync database.
+   * Gets if changes applied by this recommended action can be reverted by user
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly id?: string;
-}
-
-/**
- * Properties of the column in the table of database full schema.
- */
-export interface SyncFullSchemaTableColumn {
+  readonly isRevertableAction?: boolean;
   /**
-   * Data size of the column.
+   * Gets if this recommended action was suggested some time ago but user chose to ignore this and
+   * system added a new recommended action again.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly dataSize?: string;
+  readonly isArchivedAction?: boolean;
   /**
-   * Data type of the column.
+   * Gets the time when system started applying this recommended action on the user resource. e.g.,
+   * index creation start time
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly dataType?: string;
+  readonly executeActionStartTime?: Date;
   /**
-   * Error id of the column.
+   * Gets the time taken for applying this recommended action on user resource. e.g., time taken
+   * for index creation
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorId?: string;
+  readonly executeActionDuration?: string;
   /**
-   * If there is error in the table.
+   * Gets the time when system started reverting changes of this recommended action on user
+   * resource. e.g., time when index drop is executed.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly hasError?: boolean;
+  readonly revertActionStartTime?: Date;
   /**
-   * If it is the primary key of the table.
+   * Gets the time taken for reverting changes of this recommended action on user resource. e.g.,
+   * time taken for dropping the created index.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isPrimaryKey?: boolean;
+  readonly revertActionDuration?: string;
   /**
-   * Name of the column.
+   * Gets if approval for applying this recommended action was given by user/system. Possible
+   * values include: 'User', 'System'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly name?: string;
+  readonly executeActionInitiatedBy?: RecommendedActionInitiatedBy;
   /**
-   * Quoted name of the column.
+   * Gets the time when this recommended action was approved for execution.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly quotedName?: string;
-}
-
-/**
- * Properties of the table in the database full schema.
- */
-export interface SyncFullSchemaTable {
+  readonly executeActionInitiatedTime?: Date;
   /**
-   * List of columns in the table of database full schema.
+   * Gets if approval for reverting this recommended action was given by user/system. Possible
+   * values include: 'User', 'System'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly columns?: SyncFullSchemaTableColumn[];
+  readonly revertActionInitiatedBy?: RecommendedActionInitiatedBy;
   /**
-   * Error id of the table.
+   * Gets the time when this recommended action was approved for revert.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorId?: string;
+  readonly revertActionInitiatedTime?: Date;
   /**
-   * If there is error in the table.
+   * Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium
+   * Impact and 3 - High Impact
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly hasError?: boolean;
+  readonly score?: number;
   /**
-   * Name of the table.
+   * Gets the implementation details of this recommended action for user to apply it manually.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly name?: string;
+  readonly implementationDetails?: RecommendedActionImplementationInfo;
   /**
-   * Quoted name of the table.
+   * Gets the error details if and why this recommended action is put to error state.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly quotedName?: string;
-}
-
-/**
- * Properties of the database full schema.
- */
-export interface SyncFullSchemaProperties {
+  readonly errorDetails?: RecommendedActionErrorInfo;
   /**
-   * List of tables in the database full schema.
+   * Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated
+   * Disk Space change
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly tables?: SyncFullSchemaTable[];
+  readonly estimatedImpact?: RecommendedActionImpactRecord[];
   /**
-   * Last update time of the database schema.
+   * Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual
+   * Disk Space change
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly lastUpdateTime?: Date;
+  readonly observedImpact?: RecommendedActionImpactRecord[];
+  /**
+   * Gets the time series info of metrics for this recommended action e.g., CPU consumption time
+   * series
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly timeSeries?: RecommendedActionMetricInfo[];
+  /**
+   * Gets the linked objects, if any.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly linkedObjects?: string[];
+  /**
+   * Gets additional details specific to this recommended action.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly details?: { [propertyName: string]: any };
 }
 
 /**
- * Properties of an Azure SQL Database sync group log.
+ * Database, Server or Elastic Pool Advisor.
  */
-export interface SyncGroupLogProperties {
+export interface Advisor extends ProxyResource {
   /**
-   * Timestamp of the sync group log.
+   * Resource kind.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly timestamp?: Date;
+  readonly kind?: string;
   /**
-   * Type of the sync group log. Possible values include: 'All', 'Error', 'Warning', 'Success'
+   * Resource location.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly type?: SyncGroupLogType;
+  readonly location?: string;
   /**
-   * Source of the sync group log.
+   * Gets the status of availability of this advisor to customers. Possible values are 'GA',
+   * 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. Possible values include: 'GA',
+   * 'PublicPreview', 'LimitedPublicPreview', 'PrivatePreview'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly source?: string;
+  readonly advisorStatus?: AdvisorStatus;
   /**
-   * Details of the sync group log.
+   * Gets the auto-execute status (whether to let the system execute the recommendations) of this
+   * advisor. Possible values are 'Enabled' and 'Disabled'. Possible values include: 'Enabled',
+   * 'Disabled', 'Default'
+   */
+  autoExecuteStatus: AutoExecuteStatus;
+  /**
+   * Gets the resource from which current value of auto-execute status is inherited. Auto-execute
+   * status can be set on (and inherited from) different levels in the resource hierarchy. Possible
+   * values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is
+   * not explicitly set on any level). Possible values include: 'Default', 'Subscription',
+   * 'Server', 'ElasticPool', 'Database'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly details?: string;
+  readonly autoExecuteStatusInheritedFrom?: AutoExecuteStatusInheritedFrom;
   /**
-   * TracingId of the sync group log.
+   * Gets that status of recommendations for this advisor and reason for not having any
+   * recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations
+   * available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing
+   * well), etc.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly tracingId?: string;
+  readonly recommendationsStatus?: string;
   /**
-   * OperationStatus of the sync group log.
+   * Gets the time when the current resource was analyzed for recommendations by this advisor.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly operationStatus?: string;
+  readonly lastChecked?: Date;
+  /**
+   * Gets the recommended actions for this advisor.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly recommendedActions?: RecommendedAction[];
 }
 
 /**
- * Properties of column in sync group table.
+ * Automatic tuning properties for individual advisors.
  */
-export interface SyncGroupSchemaTableColumn {
+export interface AutomaticTuningOptions {
   /**
-   * Quoted name of sync group table column.
+   * Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'
    */
-  quotedName?: string;
+  desiredState?: AutomaticTuningOptionModeDesired;
   /**
-   * Data size of the column.
+   * Automatic tuning option actual state. Possible values include: 'Off', 'On'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  dataSize?: string;
+  readonly actualState?: AutomaticTuningOptionModeActual;
   /**
-   * Data type of the column.
+   * Reason code if desired and actual state are different.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  dataType?: string;
+  readonly reasonCode?: number;
+  /**
+   * Reason description if desired and actual state are different. Possible values include:
+   * 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff',
+   * 'QueryStoreReadOnly', 'NotSupported'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly reasonDesc?: AutomaticTuningDisabledReason;
 }
 
 /**
- * Properties of table in sync group schema.
+ * Database-level Automatic Tuning.
  */
-export interface SyncGroupSchemaTable {
+export interface DatabaseAutomaticTuning extends ProxyResource {
   /**
-   * List of columns in sync group schema.
+   * Automatic tuning desired state. Possible values include: 'Inherit', 'Custom', 'Auto',
+   * 'Unspecified'
    */
-  columns?: SyncGroupSchemaTableColumn[];
+  desiredState?: AutomaticTuningMode;
   /**
-   * Quoted name of sync group schema table.
+   * Automatic tuning actual state. Possible values include: 'Inherit', 'Custom', 'Auto',
+   * 'Unspecified'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  quotedName?: string;
+  readonly actualState?: AutomaticTuningMode;
+  /**
+   * Automatic tuning options definition.
+   */
+  options?: { [propertyName: string]: AutomaticTuningOptions };
 }
 
 /**
- * Properties of sync group schema.
+ * A database column resource.
  */
-export interface SyncGroupSchema {
+export interface DatabaseColumn extends ProxyResource {
   /**
-   * List of tables in sync group schema.
+   * The column data type. Possible values include: 'image', 'text', 'uniqueidentifier', 'date',
+   * 'time', 'datetime2', 'datetimeoffset', 'tinyint', 'smallint', 'int', 'smalldatetime', 'real',
+   * 'money', 'datetime', 'float', 'sql_variant', 'ntext', 'bit', 'decimal', 'numeric',
+   * 'smallmoney', 'bigint', 'hierarchyid', 'geometry', 'geography', 'varbinary', 'varchar',
+   * 'binary', 'char', 'timestamp', 'nvarchar', 'nchar', 'xml', 'sysname'
    */
-  tables?: SyncGroupSchemaTable[];
+  columnType?: ColumnDataType;
   /**
-   * Name of master sync member where the schema is from.
+   * The table temporal type. Possible values include: 'NonTemporalTable', 'HistoryTable',
+   * 'SystemVersionedTemporalTable'
    */
-  masterSyncMemberName?: string;
-}
-
-/**
- * An Azure SQL Database sync group.
- */
-export interface SyncGroup extends ProxyResource {
+  temporalType?: TableTemporalType;
   /**
-   * Sync interval of the sync group.
+   * Whether or not the column belongs to a memory optimized table.
    */
-  interval?: number;
+  memoryOptimized?: boolean;
   /**
-   * Last sync time of the sync group.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Whether or not the column is computed.
    */
-  readonly lastSyncTime?: Date;
+  isComputed?: boolean;
+}
+
+/**
+ * A database schema resource.
+ */
+export interface DatabaseSchema extends ProxyResource {
+}
+
+/**
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+export interface SystemData {
   /**
-   * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin'
+   * The identity that created the resource.
    */
-  conflictResolutionPolicy?: SyncConflictResolutionPolicy;
+  createdBy?: string;
   /**
-   * ARM resource id of the sync database in the sync group.
+   * The type of identity that created the resource. Possible values include: 'User',
+   * 'Application', 'ManagedIdentity', 'Key'
    */
-  syncDatabaseId?: string;
+  createdByType?: CreatedByType;
   /**
-   * User name for the sync group hub database credential.
+   * The timestamp of resource creation (UTC).
    */
-  hubDatabaseUserName?: string;
+  createdAt?: Date;
   /**
-   * Password for the sync group hub database credential.
+   * The identity that last modified the resource.
    */
-  hubDatabasePassword?: string;
+  lastModifiedBy?: string;
   /**
-   * Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning',
-   * 'Progressing', 'Good'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The type of identity that last modified the resource. Possible values include: 'User',
+   * 'Application', 'ManagedIdentity', 'Key'
    */
-  readonly syncState?: SyncGroupState;
+  lastModifiedByType?: CreatedByType;
   /**
-   * Sync schema of the sync group.
+   * The timestamp of resource last modification (UTC)
    */
-  schema?: SyncGroupSchema;
+  lastModifiedAt?: Date;
 }
 
 /**
- * An Azure SQL Database sync member.
+ * A database security alert policy.
  */
-export interface SyncMember extends ProxyResource {
+export interface DatabaseSecurityAlertPolicy extends ProxyResource {
   /**
-   * Database type of the sync member. Possible values include: 'AzureSqlDatabase',
-   * 'SqlServerDatabase'
+   * SystemData of SecurityAlertPolicyResource.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  databaseType?: SyncMemberDbType;
+  readonly systemData?: SystemData;
   /**
-   * ARM resource id of the sync agent in the sync member.
+   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
+   * applied yet on the specific database. Possible values include: 'Enabled', 'Disabled'
    */
-  syncAgentId?: string;
+  state: SecurityAlertsPolicyState;
   /**
-   * SQL Server database id of the sync member.
+   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
+   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
    */
-  sqlServerDatabaseId?: string;
+  disabledAlerts?: string[];
   /**
-   * Server name of the member database in the sync member
+   * Specifies an array of e-mail addresses to which the alert is sent.
    */
-  serverName?: string;
+  emailAddresses?: string[];
   /**
-   * Database name of the member database in the sync member.
+   * Specifies that the alert is sent to the account administrators.
    */
-  databaseName?: string;
+  emailAccountAdmins?: boolean;
   /**
-   * User name of the member database in the sync member.
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
+   * storage will hold all Threat Detection audit logs.
    */
-  userName?: string;
+  storageEndpoint?: string;
   /**
-   * Password of the member database in the sync member.
+   * Specifies the identifier key of the Threat Detection audit storage account.
    */
-  password?: string;
+  storageAccountAccessKey?: string;
   /**
-   * Sync direction of the sync member. Possible values include: 'Bidirectional',
-   * 'OneWayMemberToHub', 'OneWayHubToMember'
+   * Specifies the number of days to keep in the Threat Detection audit logs.
    */
-  syncDirection?: SyncDirection;
+  retentionDays?: number;
   /**
-   * Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded',
-   * 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore',
-   * 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned',
-   * 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned',
-   * 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned'
+   * Specifies the UTC creation time of the policy.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly syncState?: SyncMemberState;
+  readonly creationTime?: Date;
 }
 
 /**
- * Usage Metric of a Subscription in a Location.
+ * A database table resource.
  */
-export interface SubscriptionUsage extends ProxyResource {
+export interface DatabaseTable extends ProxyResource {
   /**
-   * User-readable name of the metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The table temporal type. Possible values include: 'NonTemporalTable', 'HistoryTable',
+   * 'SystemVersionedTemporalTable'
    */
-  readonly displayName?: string;
+  temporalType?: TableTemporalType;
   /**
-   * Current value of the metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Whether or not the table is memory optimized.
    */
-  readonly currentValue?: number;
+  memoryOptimized?: boolean;
+}
+
+/**
+ * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.
+ */
+export interface DatabaseVulnerabilityAssessmentRuleBaselineItem {
   /**
-   * Boundary value of the metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The rule baseline result
    */
-  readonly limit?: number;
+  result: string[];
+}
+
+/**
+ * A database vulnerability assessment rule baseline.
+ */
+export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource {
   /**
-   * Unit of the metric.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The rule baseline result
    */
-  readonly unit?: string;
+  baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[];
 }
 
 /**
- * An Azure SQL virtual cluster.
+ * Properties of a Vulnerability Assessment recurring scans.
  */
-export interface VirtualCluster extends TrackedResource {
+export interface VulnerabilityAssessmentRecurringScansProperties {
   /**
-   * Subnet resource ID for the virtual cluster.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Recurring scans state.
    */
-  readonly subnetId?: string;
+  isEnabled?: boolean;
   /**
-   * If the service has different generations of hardware, for the same SKU, then that can be
-   * captured here.
+   * Specifies that the schedule scan notification will be is sent to the subscription
+   * administrators. Default value: true.
    */
-  family?: string;
+  emailSubscriptionAdmins?: boolean;
   /**
-   * List of resources in this virtual cluster.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies an array of e-mail addresses to which the scan notification is sent.
    */
-  readonly childResources?: string[];
+  emails?: string[];
 }
 
 /**
- * An update request for an Azure SQL Database virtual cluster.
+ * A database vulnerability assessment.
  */
-export interface VirtualClusterUpdate {
+export interface DatabaseVulnerabilityAssessment extends ProxyResource {
   /**
-   * Subnet resource ID for the virtual cluster.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * A blob storage container path to hold the scan results (e.g.
+   * https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level
+   * vulnerability assessment policy doesn't set
    */
-  readonly subnetId?: string;
+  storageContainerPath?: string;
   /**
-   * If the service has different generations of hardware, for the same SKU, then that can be
-   * captured here.
+   * A shared access signature (SAS Key) that has write access to the blob container specified in
+   * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
+   * StorageContainerSasKey is required.
    */
-  family?: string;
+  storageContainerSasKey?: string;
   /**
-   * List of resources in this virtual cluster.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
+   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
    */
-  readonly childResources?: string[];
+  storageAccountAccessKey?: string;
   /**
-   * Resource tags.
+   * The recurring scans settings
    */
-  tags?: { [propertyName: string]: string };
+  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
 }
 
 /**
- * A virtual network rule.
+ * Properties of a vulnerability assessment scan error.
  */
-export interface VirtualNetworkRule extends ProxyResource {
+export interface VulnerabilityAssessmentScanError {
   /**
-   * The ARM resource id of the virtual network subnet.
-   */
-  virtualNetworkSubnetId: string;
-  /**
-   * Create firewall rule before the virtual network has vnet service endpoint enabled.
+   * The error code.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  ignoreMissingVnetServiceEndpoint?: boolean;
+  readonly code?: string;
   /**
-   * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready',
-   * 'Deleting', 'Unknown'
+   * The error message.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: VirtualNetworkRuleState;
+  readonly message?: string;
 }
 
 /**
- * An extended database blob auditing policy.
+ * A vulnerability assessment scan record.
  */
-export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource {
+export interface VulnerabilityAssessmentScanRecord extends ProxyResource {
   /**
-   * Specifies condition of where clause when creating an audit.
+   * The scan ID.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  predicateExpression?: string;
+  readonly scanId?: string;
   /**
-   * Specifies the state of the policy. If state is Enabled, storageEndpoint or
-   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
+   * The scan trigger type. Possible values include: 'OnDemand', 'Recurring'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  state: BlobAuditingPolicyState;
+  readonly triggerType?: VulnerabilityAssessmentScanTriggerType;
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
-   * is Enabled, storageEndpoint is required.
+   * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageEndpoint?: string;
+  readonly state?: VulnerabilityAssessmentScanState;
   /**
-   * Specifies the identifier key of the auditing storage account. If state is Enabled and
-   * storageEndpoint is specified, storageAccountAccessKey is required.
+   * The scan start time (UTC).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountAccessKey?: string;
+  readonly startTime?: Date;
   /**
-   * Specifies the number of days to keep in the audit logs in the storage account.
+   * The scan end time (UTC).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  retentionDays?: number;
+  readonly endTime?: Date;
   /**
-   * Specifies the Actions-Groups and Actions to audit.
-   *
-   * The recommended set of action groups to use is the following combination - this will audit all
-   * the queries and stored procedures executed against the database, as well as successful and
-   * failed logins:
-   *
-   * BATCH_COMPLETED_GROUP,
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
-   * FAILED_DATABASE_AUTHENTICATION_GROUP.
-   *
-   * This above combination is also the set that is configured by default when enabling auditing
-   * from the Azure portal.
-   *
-   * The supported action groups to audit are (note: choose only specific groups that cover your
-   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
-   * records):
-   *
-   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
-   * BACKUP_RESTORE_GROUP
-   * DATABASE_LOGOUT_GROUP
-   * DATABASE_OBJECT_CHANGE_GROUP
-   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
-   * DATABASE_OPERATION_GROUP
-   * DATABASE_PERMISSION_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
-   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
-   * FAILED_DATABASE_AUTHENTICATION_GROUP
-   * SCHEMA_OBJECT_ACCESS_GROUP
-   * SCHEMA_OBJECT_CHANGE_GROUP
-   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
-   * USER_CHANGE_PASSWORD_GROUP
-   * BATCH_STARTED_GROUP
-   * BATCH_COMPLETED_GROUP
-   *
-   * These are groups that cover all sql statements and stored procedures executed against the
-   * database, and should not be used in combination with other groups as this will result in
-   * duplicate audit logs.
-   *
-   * For more information, see [Database-Level Audit Action
-   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
-   *
-   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
-   * be specified for Server auditing policy). The supported actions to audit are:
-   * SELECT
-   * UPDATE
-   * INSERT
-   * DELETE
-   * EXECUTE
-   * RECEIVE
-   * REFERENCES
-   *
-   * The general form for defining an action to be audited is:
-   * {action} ON {object} BY {principal}
-   *
-   * Note that <object> in the above format can refer to an object like a table, view, or stored
-   * procedure, or an entire database or schema. For the latter cases, the forms
-   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
-   *
-   * For example:
-   * SELECT on dbo.myTable by public
-   * SELECT on DATABASE::myDatabase by public
-   * SELECT on SCHEMA::mySchema by public
-   *
-   * For more information, see [Database-Level Audit
-   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
+   * The scan errors.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  auditActionsAndGroups?: string[];
+  readonly errors?: VulnerabilityAssessmentScanError[];
   /**
-   * Specifies the blob storage subscription Id.
+   * The scan results storage container path.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountSubscriptionId?: string;
+  readonly storageContainerPath?: string;
   /**
-   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
+   * The number of failed security checks.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  isStorageSecondaryKeyInUse?: boolean;
+  readonly numberOfFailedSecurityChecks?: number;
+}
+
+/**
+ * A database Vulnerability Assessment scan export resource.
+ */
+export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource {
   /**
-   * Specifies whether audit events are sent to Azure Monitor.
-   * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and
-   * 'isAzureMonitorTargetEnabled' as true.
-   *
-   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
-   * diagnostic logs category on the database should be also created.
-   * Note that for server level audit you should use the 'master' database as {databaseName}.
-   *
-   * Diagnostic Settings URI format:
-   * PUT
-   * 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
-   *
-   * For more information, see [Diagnostic Settings REST
-   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
-   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
+   * Location of the exported report (e.g.
+   * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  isAzureMonitorTargetEnabled?: boolean;
+  readonly exportedReportLocation?: string;
 }
 
 /**
- * An extended server blob auditing policy.
+ * User activities of a data warehouse
  */
-export interface ExtendedServerBlobAuditingPolicy extends ProxyResource {
+export interface DataWarehouseUserActivities extends ProxyResource {
   /**
-   * Specifies condition of where clause when creating an audit.
+   * Count of running and suspended queries.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  predicateExpression?: string;
+  readonly activeQueriesCount?: number;
+}
+
+/**
+ * A deleted server.
+ */
+export interface DeletedServer extends ProxyResource {
   /**
-   * Specifies the state of the policy. If state is Enabled, storageEndpoint or
-   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
+   * The version of the deleted server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  state: BlobAuditingPolicyState;
+  readonly version?: string;
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
-   * is Enabled, storageEndpoint is required.
+   * The deletion time of the deleted server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageEndpoint?: string;
+  readonly deletionTime?: Date;
   /**
-   * Specifies the identifier key of the auditing storage account. If state is Enabled and
-   * storageEndpoint is specified, storageAccountAccessKey is required.
+   * The original ID of the server before deletion.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountAccessKey?: string;
+  readonly originalId?: string;
   /**
-   * Specifies the number of days to keep in the audit logs in the storage account.
+   * The fully qualified domain name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  retentionDays?: number;
+  readonly fullyQualifiedDomainName?: string;
+}
+
+/**
+ * A elastic pool operation.
+ */
+export interface ElasticPoolOperation extends ProxyResource {
   /**
-   * Specifies the Actions-Groups and Actions to audit.
-   *
-   * The recommended set of action groups to use is the following combination - this will audit all
-   * the queries and stored procedures executed against the database, as well as successful and
-   * failed logins:
-   *
-   * BATCH_COMPLETED_GROUP,
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
-   * FAILED_DATABASE_AUTHENTICATION_GROUP.
-   *
-   * This above combination is also the set that is configured by default when enabling auditing
-   * from the Azure portal.
-   *
-   * The supported action groups to audit are (note: choose only specific groups that cover your
-   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
-   * records):
-   *
-   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
-   * BACKUP_RESTORE_GROUP
-   * DATABASE_LOGOUT_GROUP
-   * DATABASE_OBJECT_CHANGE_GROUP
-   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
-   * DATABASE_OPERATION_GROUP
-   * DATABASE_PERMISSION_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
-   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
-   * FAILED_DATABASE_AUTHENTICATION_GROUP
-   * SCHEMA_OBJECT_ACCESS_GROUP
-   * SCHEMA_OBJECT_CHANGE_GROUP
-   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
-   * USER_CHANGE_PASSWORD_GROUP
-   * BATCH_STARTED_GROUP
-   * BATCH_COMPLETED_GROUP
-   *
-   * These are groups that cover all sql statements and stored procedures executed against the
-   * database, and should not be used in combination with other groups as this will result in
-   * duplicate audit logs.
-   *
-   * For more information, see [Database-Level Audit Action
-   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
-   *
-   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
-   * be specified for Server auditing policy). The supported actions to audit are:
-   * SELECT
-   * UPDATE
-   * INSERT
-   * DELETE
-   * EXECUTE
-   * RECEIVE
-   * REFERENCES
-   *
-   * The general form for defining an action to be audited is:
-   * {action} ON {object} BY {principal}
-   *
-   * Note that <object> in the above format can refer to an object like a table, view, or stored
-   * procedure, or an entire database or schema. For the latter cases, the forms
-   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
-   *
-   * For example:
-   * SELECT on dbo.myTable by public
-   * SELECT on DATABASE::myDatabase by public
-   * SELECT on SCHEMA::mySchema by public
-   *
-   * For more information, see [Database-Level Audit
-   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
+   * The name of the elastic pool the operation is being performed on.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  auditActionsAndGroups?: string[];
+  readonly elasticPoolName?: string;
   /**
-   * Specifies the blob storage subscription Id.
+   * The name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountSubscriptionId?: string;
+  readonly operation?: string;
   /**
-   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
+   * The friendly name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  isStorageSecondaryKeyInUse?: boolean;
+  readonly operationFriendlyName?: string;
   /**
-   * Specifies whether audit events are sent to Azure Monitor.
-   * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and
-   * 'isAzureMonitorTargetEnabled' as true.
-   *
-   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
-   * diagnostic logs category on the database should be also created.
-   * Note that for server level audit you should use the 'master' database as {databaseName}.
-   *
-   * Diagnostic Settings URI format:
-   * PUT
-   * 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
-   *
-   * For more information, see [Diagnostic Settings REST
-   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
-   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
+   * The percentage of the operation completed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  isAzureMonitorTargetEnabled?: boolean;
+  readonly percentComplete?: number;
+  /**
+   * The name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * The operation start time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly startTime?: Date;
+  /**
+   * The operation state.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: string;
+  /**
+   * The operation error code.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorCode?: number;
+  /**
+   * The operation error description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorDescription?: string;
+  /**
+   * The operation error severity.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorSeverity?: number;
+  /**
+   * Whether or not the error is a user error.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isUserError?: boolean;
+  /**
+   * The estimated completion time of the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly estimatedCompletionTime?: Date;
+  /**
+   * The operation description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+  /**
+   * Whether the operation can be cancelled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isCancellable?: boolean;
 }
 
 /**
- * A server blob auditing policy.
+ * An ARM Resource SKU.
  */
-export interface ServerBlobAuditingPolicy extends ProxyResource {
-  /**
-   * Specifies the state of the policy. If state is Enabled, storageEndpoint or
-   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
-   */
-  state: BlobAuditingPolicyState;
+export interface Sku {
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
-   * is Enabled, storageEndpoint is required.
+   * The name of the SKU, typically, a letter + Number code, e.g. P3.
    */
-  storageEndpoint?: string;
+  name: string;
   /**
-   * Specifies the identifier key of the auditing storage account. If state is Enabled and
-   * storageEndpoint is specified, storageAccountAccessKey is required.
+   * The tier or edition of the particular SKU, e.g. Basic, Premium.
    */
-  storageAccountAccessKey?: string;
+  tier?: string;
   /**
-   * Specifies the number of days to keep in the audit logs in the storage account.
+   * Size of the particular SKU
    */
-  retentionDays?: number;
+  size?: string;
   /**
-   * Specifies the Actions-Groups and Actions to audit.
-   *
-   * The recommended set of action groups to use is the following combination - this will audit all
-   * the queries and stored procedures executed against the database, as well as successful and
-   * failed logins:
-   *
-   * BATCH_COMPLETED_GROUP,
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
-   * FAILED_DATABASE_AUTHENTICATION_GROUP.
-   *
-   * This above combination is also the set that is configured by default when enabling auditing
-   * from the Azure portal.
-   *
-   * The supported action groups to audit are (note: choose only specific groups that cover your
-   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
-   * records):
-   *
-   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
-   * BACKUP_RESTORE_GROUP
-   * DATABASE_LOGOUT_GROUP
-   * DATABASE_OBJECT_CHANGE_GROUP
-   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
-   * DATABASE_OPERATION_GROUP
-   * DATABASE_PERMISSION_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
-   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
-   * FAILED_DATABASE_AUTHENTICATION_GROUP
-   * SCHEMA_OBJECT_ACCESS_GROUP
-   * SCHEMA_OBJECT_CHANGE_GROUP
-   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
-   * USER_CHANGE_PASSWORD_GROUP
-   * BATCH_STARTED_GROUP
-   * BATCH_COMPLETED_GROUP
-   *
-   * These are groups that cover all sql statements and stored procedures executed against the
-   * database, and should not be used in combination with other groups as this will result in
-   * duplicate audit logs.
-   *
-   * For more information, see [Database-Level Audit Action
-   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
-   *
-   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
-   * be specified for Server auditing policy). The supported actions to audit are:
-   * SELECT
-   * UPDATE
-   * INSERT
-   * DELETE
-   * EXECUTE
-   * RECEIVE
-   * REFERENCES
-   *
-   * The general form for defining an action to be audited is:
-   * {action} ON {object} BY {principal}
-   *
-   * Note that <object> in the above format can refer to an object like a table, view, or stored
-   * procedure, or an entire database or schema. For the latter cases, the forms
-   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
-   *
-   * For example:
-   * SELECT on dbo.myTable by public
-   * SELECT on DATABASE::myDatabase by public
-   * SELECT on SCHEMA::mySchema by public
-   *
-   * For more information, see [Database-Level Audit
-   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
+   * If the service has different generations of hardware, for the same SKU, then that can be
+   * captured here.
    */
-  auditActionsAndGroups?: string[];
+  family?: string;
   /**
-   * Specifies the blob storage subscription Id.
+   * Capacity of the particular SKU.
    */
-  storageAccountSubscriptionId?: string;
+  capacity?: number;
+}
+
+/**
+ * Per database settings of an elastic pool.
+ */
+export interface ElasticPoolPerDatabaseSettings {
   /**
-   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
+   * The minimum capacity all databases are guaranteed.
    */
-  isStorageSecondaryKeyInUse?: boolean;
+  minCapacity?: number;
   /**
-   * Specifies whether audit events are sent to Azure Monitor.
-   * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and
-   * 'isAzureMonitorTargetEnabled' as true.
-   *
-   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
-   * diagnostic logs category on the database should be also created.
-   * Note that for server level audit you should use the 'master' database as {databaseName}.
-   *
-   * Diagnostic Settings URI format:
-   * PUT
-   * 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
-   *
-   * For more information, see [Diagnostic Settings REST
-   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
-   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
+   * The maximum capacity any one database can consume.
    */
-  isAzureMonitorTargetEnabled?: boolean;
+  maxCapacity?: number;
 }
 
 /**
- * A database blob auditing policy.
+ * An elastic pool.
  */
-export interface DatabaseBlobAuditingPolicy extends ProxyResource {
+export interface ElasticPool extends TrackedResource {
   /**
-   * Resource kind.
+   * The elastic pool SKU.
+   *
+   * The list of SKUs may vary by region and support offer. To determine the SKUs (including the
+   * SKU name, tier/edition, family, and capacity) that are available to your subscription in an
+   * Azure region, use the `Capabilities_ListByLocation` REST API or the following command:
+   *
+   * ```azurecli
+   * az sql elastic-pool list-editions -l <location> -o table
+   * ````
+   */
+  sku?: Sku;
+  /**
+   * Kind of elastic pool. This is metadata used for the Azure portal experience.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly kind?: string;
   /**
-   * Specifies the state of the policy. If state is Enabled, storageEndpoint or
-   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
+   * The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  state: BlobAuditingPolicyState;
+  readonly state?: ElasticPoolState;
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
-   * is Enabled, storageEndpoint is required.
+   * The creation date of the elastic pool (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageEndpoint?: string;
+  readonly creationDate?: Date;
   /**
-   * Specifies the identifier key of the auditing storage account. If state is Enabled and
-   * storageEndpoint is specified, storageAccountAccessKey is required.
+   * The storage limit for the database elastic pool in bytes.
    */
-  storageAccountAccessKey?: string;
+  maxSizeBytes?: number;
   /**
-   * Specifies the number of days to keep in the audit logs in the storage account.
+   * The per database settings for the elastic pool.
    */
-  retentionDays?: number;
+  perDatabaseSettings?: ElasticPoolPerDatabaseSettings;
   /**
-   * Specifies the Actions-Groups and Actions to audit.
-   *
-   * The recommended set of action groups to use is the following combination - this will audit all
-   * the queries and stored procedures executed against the database, as well as successful and
-   * failed logins:
-   *
-   * BATCH_COMPLETED_GROUP,
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
-   * FAILED_DATABASE_AUTHENTICATION_GROUP.
-   *
-   * This above combination is also the set that is configured by default when enabling auditing
-   * from the Azure portal.
-   *
-   * The supported action groups to audit are (note: choose only specific groups that cover your
-   * auditing needs. Using unnecessary groups could lead to very large quantities of audit
-   * records):
-   *
-   * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
-   * BACKUP_RESTORE_GROUP
-   * DATABASE_LOGOUT_GROUP
-   * DATABASE_OBJECT_CHANGE_GROUP
-   * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
-   * DATABASE_OPERATION_GROUP
-   * DATABASE_PERMISSION_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_CHANGE_GROUP
-   * DATABASE_PRINCIPAL_IMPERSONATION_GROUP
-   * DATABASE_ROLE_MEMBER_CHANGE_GROUP
-   * FAILED_DATABASE_AUTHENTICATION_GROUP
-   * SCHEMA_OBJECT_ACCESS_GROUP
-   * SCHEMA_OBJECT_CHANGE_GROUP
-   * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
-   * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
-   * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
-   * USER_CHANGE_PASSWORD_GROUP
-   * BATCH_STARTED_GROUP
-   * BATCH_COMPLETED_GROUP
-   *
-   * These are groups that cover all sql statements and stored procedures executed against the
-   * database, and should not be used in combination with other groups as this will result in
-   * duplicate audit logs.
-   *
-   * For more information, see [Database-Level Audit Action
-   * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
-   *
-   * For Database auditing policy, specific Actions can also be specified (note that Actions cannot
-   * be specified for Server auditing policy). The supported actions to audit are:
-   * SELECT
-   * UPDATE
-   * INSERT
-   * DELETE
-   * EXECUTE
-   * RECEIVE
-   * REFERENCES
-   *
-   * The general form for defining an action to be audited is:
-   * {action} ON {object} BY {principal}
-   *
-   * Note that <object> in the above format can refer to an object like a table, view, or stored
-   * procedure, or an entire database or schema. For the latter cases, the forms
-   * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
-   *
-   * For example:
-   * SELECT on dbo.myTable by public
-   * SELECT on DATABASE::myDatabase by public
-   * SELECT on SCHEMA::mySchema by public
-   *
-   * For more information, see [Database-Level Audit
-   * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
-   */
-  auditActionsAndGroups?: string[];
-  /**
-   * Specifies the blob storage subscription Id.
+   * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic
+   * pool will be spread across multiple availability zones.
    */
-  storageAccountSubscriptionId?: string;
+  zoneRedundant?: boolean;
   /**
-   * Specifies whether storageAccountAccessKey value is the storage's secondary key.
+   * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded',
+   * 'BasePrice'
    */
-  isStorageSecondaryKeyInUse?: boolean;
+  licenseType?: ElasticPoolLicenseType;
   /**
-   * Specifies whether audit events are sent to Azure Monitor.
-   * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and
-   * 'isAzureMonitorTargetEnabled' as true.
-   *
-   * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents'
-   * diagnostic logs category on the database should be also created.
-   * Note that for server level audit you should use the 'master' database as {databaseName}.
-   *
-   * Diagnostic Settings URI format:
-   * PUT
-   * 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
-   *
-   * For more information, see [Diagnostic Settings REST
-   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
-   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
+   * Maintenance configuration id assigned to the elastic pool. This configuration defines the
+   * period when the maintenance updates will will occur.
    */
-  isAzureMonitorTargetEnabled?: boolean;
+  maintenanceConfigurationId?: string;
 }
 
 /**
- * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.
+ * An elastic pool update.
  */
-export interface DatabaseVulnerabilityAssessmentRuleBaselineItem {
+export interface ElasticPoolUpdate {
+  sku?: Sku;
   /**
-   * The rule baseline result
+   * The storage limit for the database elastic pool in bytes.
    */
-  result: string[];
-}
-
-/**
- * A database vulnerability assessment rule baseline.
- */
-export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource {
+  maxSizeBytes?: number;
   /**
-   * The rule baseline result
+   * The per database settings for the elastic pool.
    */
-  baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[];
-}
-
-/**
- * Properties of a Vulnerability Assessment recurring scans.
- */
-export interface VulnerabilityAssessmentRecurringScansProperties {
+  perDatabaseSettings?: ElasticPoolPerDatabaseSettings;
   /**
-   * Recurring scans state.
+   * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic
+   * pool will be spread across multiple availability zones.
    */
-  isEnabled?: boolean;
+  zoneRedundant?: boolean;
   /**
-   * Specifies that the schedule scan notification will be is sent to the subscription
-   * administrators. Default value: true.
+   * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded',
+   * 'BasePrice'
    */
-  emailSubscriptionAdmins?: boolean;
+  licenseType?: ElasticPoolLicenseType;
   /**
-   * Specifies an array of e-mail addresses to which the scan notification is sent.
+   * Maintenance configuration id assigned to the elastic pool. This configuration defines the
+   * period when the maintenance updates will will occur.
    */
-  emails?: string[];
+  maintenanceConfigurationId?: string;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
 }
 
 /**
- * A database vulnerability assessment.
+ * The server encryption protector.
  */
-export interface DatabaseVulnerabilityAssessment extends ProxyResource {
-  /**
-   * A blob storage container path to hold the scan results (e.g.
-   * https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level
-   * vulnerability assessment policy doesn't set
-   */
-  storageContainerPath?: string;
+export interface EncryptionProtector extends ProxyResource {
   /**
-   * A shared access signature (SAS Key) that has read and write access to the blob container
-   * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
-   * StorageContainerSasKey is required.
+   * Kind of encryption protector. This is metadata used for the Azure portal experience.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageContainerSasKey?: string;
+  readonly kind?: string;
   /**
-   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
-   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
+   * Resource location.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountAccessKey?: string;
+  readonly location?: string;
   /**
-   * The recurring scans settings
+   * Subregion of the encryption protector.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
-}
-
-/**
- * An ARM Resource SKU.
- */
-export interface Sku {
+  readonly subregion?: string;
   /**
-   * The name of the SKU, typically, a letter + Number code, e.g. P3.
+   * The name of the server key.
    */
-  name: string;
+  serverKeyName?: string;
   /**
-   * The tier or edition of the particular SKU, e.g. Basic, Premium.
+   * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
+   * 'ServiceManaged', 'AzureKeyVault'
    */
-  tier?: string;
+  serverKeyType: ServerKeyType;
   /**
-   * Size of the particular SKU
+   * The URI of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  size?: string;
+  readonly uri?: string;
   /**
-   * If the service has different generations of hardware, for the same SKU, then that can be
-   * captured here.
+   * Thumbprint of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  family?: string;
+  readonly thumbprint?: string;
   /**
-   * Capacity of the particular SKU.
+   * Key auto rotation opt-in flag. Either true or false.
    */
-  capacity?: number;
+  autoRotationEnabled?: boolean;
 }
 
 /**
- * An Azure SQL job agent.
+ * Read-write endpoint of the failover group instance.
  */
-export interface JobAgent extends TrackedResource {
-  /**
-   * The name and tier of the SKU.
-   */
-  sku?: Sku;
+export interface FailoverGroupReadWriteEndpoint {
   /**
-   * Resource ID of the database to store job metadata in.
+   * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is
+   * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include:
+   * 'Manual', 'Automatic'
    */
-  databaseId: string;
+  failoverPolicy: ReadWriteEndpointFailoverPolicy;
   /**
-   * The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating',
-   * 'Deleting', 'Disabled'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Grace period before failover with data loss is attempted for the read-write endpoint. If
+   * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
    */
-  readonly state?: JobAgentState;
+  failoverWithDataLossGracePeriodMinutes?: number;
 }
 
 /**
- * An update to an Azure SQL job agent.
+ * Read-only endpoint of the failover group instance.
  */
-export interface JobAgentUpdate {
+export interface FailoverGroupReadOnlyEndpoint {
   /**
-   * Resource tags.
+   * Failover policy of the read-only endpoint for the failover group. Possible values include:
+   * 'Disabled', 'Enabled'
    */
-  tags?: { [propertyName: string]: string };
+  failoverPolicy?: ReadOnlyEndpointFailoverPolicy;
 }
 
 /**
- * A stored credential that can be used by a job to connect to target databases.
+ * Partner server information for the failover group.
  */
-export interface JobCredential extends ProxyResource {
+export interface PartnerInfo {
   /**
-   * The credential user name.
+   * Resource identifier of the partner server.
    */
-  username: string;
+  id: string;
   /**
-   * The credential password.
+   * Geo location of the partner server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  password: string;
+  readonly location?: string;
+  /**
+   * Replication role of the partner server. Possible values include: 'Primary', 'Secondary'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly replicationRole?: FailoverGroupReplicationRole;
 }
 
 /**
- * The target that a job execution is executed on.
+ * A failover group.
  */
-export interface JobExecutionTarget {
+export interface FailoverGroup extends ProxyResource {
   /**
-   * The type of the target. Possible values include: 'TargetGroup', 'SqlDatabase',
-   * 'SqlElasticPool', 'SqlShardMap', 'SqlServer'
+   * Resource location.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly type?: JobTargetType;
+  readonly location?: string;
   /**
-   * The server name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Resource tags.
    */
-  readonly serverName?: string;
+  tags?: { [propertyName: string]: string };
   /**
-   * The database name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Read-write endpoint of the failover group instance.
    */
-  readonly databaseName?: string;
-}
-
-/**
- * An execution of a job
- */
-export interface JobExecution extends ProxyResource {
+  readWriteEndpoint: FailoverGroupReadWriteEndpoint;
   /**
-   * The job version number.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Read-only endpoint of the failover group instance.
    */
-  readonly jobVersion?: number;
+  readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint;
   /**
-   * The job step name.
+   * Local replication role of the failover group instance. Possible values include: 'Primary',
+   * 'Secondary'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly stepName?: string;
+  readonly replicationRole?: FailoverGroupReplicationRole;
   /**
-   * The job step id.
+   * Replication state of the failover group instance.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly stepId?: number;
+  readonly replicationState?: string;
   /**
-   * The unique identifier of the job execution.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * List of partner server information for the failover group.
    */
-  readonly jobExecutionId?: string;
+  partnerServers: PartnerInfo[];
   /**
-   * The detailed state of the job execution. Possible values include: 'Created', 'InProgress',
-   * 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped',
-   * 'Failed', 'TimedOut', 'Canceled', 'Skipped'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly lifecycle?: JobExecutionLifecycle;
-  /**
-   * The ARM provisioning state of the job execution. Possible values include: 'Created',
-   * 'InProgress', 'Succeeded', 'Failed', 'Canceled'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * List of databases in the failover group.
    */
-  readonly provisioningState?: ProvisioningState;
+  databases?: string[];
+}
+
+/**
+ * A failover group update request.
+ */
+export interface FailoverGroupUpdate {
   /**
-   * The time that the job execution was created.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Read-write endpoint of the failover group instance.
    */
-  readonly createTime?: Date;
+  readWriteEndpoint?: FailoverGroupReadWriteEndpoint;
   /**
-   * The time that the job execution started.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Read-only endpoint of the failover group instance.
    */
-  readonly startTime?: Date;
+  readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint;
   /**
-   * The time that the job execution completed.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * List of databases in the failover group.
    */
-  readonly endTime?: Date;
+  databases?: string[];
   /**
-   * Number of times the job execution has been attempted.
+   * Resource tags.
    */
-  currentAttempts?: number;
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * ARM resource.
+ */
+export interface ResourceWithWritableName extends BaseResource {
   /**
-   * Start time of the current attempt.
+   * Resource ID.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly currentAttemptStartTime?: Date;
+  readonly id?: string;
   /**
-   * The last status or error message.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Resource name.
    */
-  readonly lastMessage?: string;
+  name?: string;
   /**
-   * The target that this execution is executed on.
+   * Resource type.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly target?: JobExecutionTarget;
+  readonly type?: string;
 }
 
 /**
- * Scheduling properties of a job.
+ * ARM proxy resource.
  */
-export interface JobSchedule {
+export interface ProxyResourceWithWritableName extends ResourceWithWritableName {
+}
+
+/**
+ * A server firewall rule.
+ */
+export interface FirewallRule extends ProxyResourceWithWritableName {
   /**
-   * Schedule start time. Default value: new Date('0001-01-01T00:00:00Z').
+   * The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all
+   * Azure-internal IP addresses.
    */
-  startTime?: Date;
+  startIpAddress?: string;
   /**
-   * Schedule end time. Default value: new Date('9999-12-31T11:59:59Z').
+   * The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to
+   * startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.
    */
-  endTime?: Date;
+  endIpAddress?: string;
+}
+
+/**
+ * A list of server firewall rules.
+ */
+export interface FirewallRuleList {
+  values?: FirewallRule[];
+}
+
+/**
+ * Read-write endpoint of the failover group instance.
+ */
+export interface InstanceFailoverGroupReadWriteEndpoint {
   /**
-   * Schedule interval type. Possible values include: 'Once', 'Recurring'. Default value: 'Once'.
+   * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is
+   * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include:
+   * 'Manual', 'Automatic'
    */
-  type?: JobScheduleType;
+  failoverPolicy: ReadWriteEndpointFailoverPolicy;
   /**
-   * Whether or not the schedule is enabled.
+   * Grace period before failover with data loss is attempted for the read-write endpoint. If
+   * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
    */
-  enabled?: boolean;
+  failoverWithDataLossGracePeriodMinutes?: number;
+}
+
+/**
+ * Read-only endpoint of the failover group instance.
+ */
+export interface InstanceFailoverGroupReadOnlyEndpoint {
   /**
-   * Value of the schedule's recurring interval, if the schedule type is recurring. ISO8601
-   * duration format.
+   * Failover policy of the read-only endpoint for the failover group. Possible values include:
+   * 'Disabled', 'Enabled'
    */
-  interval?: string;
+  failoverPolicy?: ReadOnlyEndpointFailoverPolicy;
 }
 
 /**
- * A job.
+ * Partner region information for the failover group.
  */
-export interface Job extends ProxyResource {
+export interface PartnerRegionInfo {
   /**
-   * User-defined description of the job. Default value: ''.
+   * Geo location of the partner managed instances.
    */
-  description?: string;
+  location?: string;
   /**
-   * The job version number.
+   * Replication role of the partner managed instances. Possible values include: 'Primary',
+   * 'Secondary'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly version?: number;
-  /**
-   * Schedule properties of the job.
-   */
-  schedule?: JobSchedule;
+  readonly replicationRole?: InstanceFailoverGroupReplicationRole;
 }
 
 /**
- * The action to be executed by a job step.
+ * Pairs of Managed Instances in the failover group.
  */
-export interface JobStepAction {
-  /**
-   * Type of action being executed by the job step. Possible values include: 'TSql'. Default value:
-   * 'TSql'.
-   */
-  type?: JobStepActionType;
+export interface ManagedInstancePairInfo {
   /**
-   * The source of the action to execute. Possible values include: 'Inline'. Default value:
-   * 'Inline'.
+   * Id of Primary Managed Instance in pair.
    */
-  source?: JobStepActionSource;
+  primaryManagedInstanceId?: string;
   /**
-   * The action value, for example the text of the T-SQL script to execute.
+   * Id of Partner Managed Instance in pair.
    */
-  value: string;
+  partnerManagedInstanceId?: string;
 }
 
 /**
- * The output configuration of a job step.
+ * An instance failover group.
  */
-export interface JobStepOutput {
-  /**
-   * The output destination type. Possible values include: 'SqlDatabase'. Default value:
-   * 'SqlDatabase'.
-   */
-  type?: JobStepOutputType;
-  /**
-   * The output destination subscription id.
-   */
-  subscriptionId?: string;
+export interface InstanceFailoverGroup extends ProxyResource {
   /**
-   * The output destination resource group.
+   * Read-write endpoint of the failover group instance.
    */
-  resourceGroupName?: string;
+  readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint;
   /**
-   * The output destination server name.
+   * Read-only endpoint of the failover group instance.
    */
-  serverName: string;
+  readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint;
   /**
-   * The output destination database.
+   * Local replication role of the failover group instance. Possible values include: 'Primary',
+   * 'Secondary'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  databaseName: string;
+  readonly replicationRole?: InstanceFailoverGroupReplicationRole;
   /**
-   * The output destination schema. Default value: 'dbo'.
+   * Replication state of the failover group instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  schemaName?: string;
+  readonly replicationState?: string;
   /**
-   * The output destination table.
+   * Partner region information for the failover group.
    */
-  tableName: string;
+  partnerRegions: PartnerRegionInfo[];
   /**
-   * The resource ID of the credential to use to connect to the output destination.
+   * List of managed instance pairs in the failover group.
    */
-  credential: string;
+  managedInstancePairs: ManagedInstancePairInfo[];
 }
 
 /**
- * The execution options of a job step.
+ * An Azure SQL instance pool.
  */
-export interface JobStepExecutionOptions {
+export interface InstancePool extends TrackedResource {
   /**
-   * Execution timeout for the job step. Default value: 43200.
+   * The name and tier of the SKU.
    */
-  timeoutSeconds?: number;
+  sku?: Sku;
   /**
-   * Maximum number of times the job step will be reattempted if the first attempt fails. Default
-   * value: 10.
+   * Resource ID of the subnet to place this instance pool in.
    */
-  retryAttempts?: number;
+  subnetId: string;
   /**
-   * Initial delay between retries for job step execution. Default value: 1.
+   * Count of vCores belonging to this instance pool.
    */
-  initialRetryIntervalSeconds?: number;
+  vCores: number;
   /**
-   * The maximum amount of time to wait between retries for job step execution. Default value: 120.
+   * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included)
+   * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded',
+   * 'BasePrice'
    */
-  maximumRetryIntervalSeconds?: number;
+  licenseType: InstancePoolLicenseType;
+}
+
+/**
+ * An update to an Instance pool.
+ */
+export interface InstancePoolUpdate {
   /**
-   * The backoff multiplier for the time between retries. Default value: 2.
+   * Resource tags.
    */
-  retryIntervalBackoffMultiplier?: number;
+  tags?: { [propertyName: string]: string };
 }
 
 /**
- * A job step.
+ * An Azure SQL job agent.
  */
-export interface JobStep extends ProxyResource {
+export interface JobAgent extends TrackedResource {
   /**
-   * The job step's index within the job. If not specified when creating the job step, it will be
-   * created as the last step. If not specified when updating the job step, the step id is not
-   * modified.
+   * The name and tier of the SKU.
    */
-  stepId?: number;
+  sku?: Sku;
   /**
-   * The resource ID of the target group that the job step will be executed on.
+   * Resource ID of the database to store job metadata in.
    */
-  targetGroup: string;
+  databaseId: string;
   /**
-   * The resource ID of the job credential that will be used to connect to the targets.
+   * The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating',
+   * 'Deleting', 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  credential: string;
+  readonly state?: JobAgentState;
+}
+
+/**
+ * An update to an Azure SQL job agent.
+ */
+export interface JobAgentUpdate {
   /**
-   * The action payload of the job step.
+   * Resource tags.
    */
-  action: JobStepAction;
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * A stored credential that can be used by a job to connect to target databases.
+ */
+export interface JobCredential extends ProxyResource {
   /**
-   * Output destination properties of the job step.
+   * The credential user name.
    */
-  output?: JobStepOutput;
+  username: string;
   /**
-   * Execution options for the job step.
+   * The credential password.
    */
-  executionOptions?: JobStepExecutionOptions;
+  password: string;
 }
 
 /**
- * A job target, for example a specific database or a container of databases that is evaluated
- * during job execution.
+ * The target that a job execution is executed on.
  */
-export interface JobTarget {
+export interface JobExecutionTarget {
   /**
-   * Whether the target is included or excluded from the group. Possible values include: 'Include',
-   * 'Exclude'. Default value: 'Include'.
-   */
-  membershipType?: JobTargetGroupMembershipType;
-  /**
-   * The target type. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool',
-   * 'SqlShardMap', 'SqlServer'
-   */
-  type: JobTargetType;
-  /**
-   * The target server name.
-   */
-  serverName?: string;
-  /**
-   * The target database name.
-   */
-  databaseName?: string;
-  /**
-   * The target elastic pool name.
+   * The type of the target. Possible values include: 'TargetGroup', 'SqlDatabase',
+   * 'SqlElasticPool', 'SqlShardMap', 'SqlServer'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  elasticPoolName?: string;
+  readonly type?: JobTargetType;
   /**
-   * The target shard map.
+   * The server name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  shardMapName?: string;
+  readonly serverName?: string;
   /**
-   * The resource ID of the credential that is used during job execution to connect to the target
-   * and determine the list of databases inside the target.
+   * The database name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  refreshCredential?: string;
+  readonly databaseName?: string;
 }
 
 /**
- * A group of job targets.
+ * An execution of a job
  */
-export interface JobTargetGroup extends ProxyResource {
+export interface JobExecution extends ProxyResource {
   /**
-   * Members of the target group.
+   * The job version number.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  members: JobTarget[];
-}
-
-/**
- * A job version.
- */
-export interface JobVersion extends ProxyResource {
-}
-
-/**
- * A long term retention backup.
- */
-export interface LongTermRetentionBackup extends ProxyResource {
+  readonly jobVersion?: number;
   /**
-   * The server name that the backup database belong to.
+   * The job step name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly serverName?: string;
+  readonly stepName?: string;
   /**
-   * The create time of the server.
+   * The job step id.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly serverCreateTime?: Date;
+  readonly stepId?: number;
   /**
-   * The name of the database the backup belong to
+   * The unique identifier of the job execution.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseName?: string;
+  readonly jobExecutionId?: string;
   /**
-   * The delete time of the database
+   * The detailed state of the job execution. Possible values include: 'Created', 'InProgress',
+   * 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped',
+   * 'Failed', 'TimedOut', 'Canceled', 'Skipped'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseDeletionTime?: Date;
+  readonly lifecycle?: JobExecutionLifecycle;
   /**
-   * The time the backup was taken
+   * The ARM provisioning state of the job execution. Possible values include: 'Created',
+   * 'InProgress', 'Succeeded', 'Failed', 'Canceled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly backupTime?: Date;
+  readonly provisioningState?: ProvisioningState;
   /**
-   * The time the long term retention backup will expire.
+   * The time that the job execution was created.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly backupExpirationTime?: Date;
-}
-
-/**
- * A long term retention policy.
- */
-export interface BackupLongTermRetentionPolicy extends ProxyResource {
+  readonly createTime?: Date;
   /**
-   * The weekly retention policy for an LTR backup in an ISO 8601 format.
+   * The time that the job execution started.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  weeklyRetention?: string;
+  readonly startTime?: Date;
   /**
-   * The monthly retention policy for an LTR backup in an ISO 8601 format.
+   * The time that the job execution completed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  monthlyRetention?: string;
+  readonly endTime?: Date;
   /**
-   * The yearly retention policy for an LTR backup in an ISO 8601 format.
+   * Number of times the job execution has been attempted.
    */
-  yearlyRetention?: string;
+  currentAttempts?: number;
   /**
-   * The week of year to take the yearly backup in an ISO 8601 format.
+   * Start time of the current attempt.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  weekOfYear?: number;
-}
-
-/**
- * A short term retention policy.
- */
-export interface ManagedBackupShortTermRetentionPolicy extends ProxyResource {
+  readonly currentAttemptStartTime?: Date;
   /**
-   * The backup retention period in days. This is how many days Point-in-Time Restore will be
-   * supported.
+   * The last status or error message.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  retentionDays?: number;
+  readonly lastMessage?: string;
+  /**
+   * The target that this execution is executed on.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly target?: JobExecutionTarget;
 }
 
 /**
- * Automatic tuning properties for individual advisors.
+ * Scheduling properties of a job.
  */
-export interface AutomaticTuningServerOptions {
+export interface JobSchedule {
   /**
-   * Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'
+   * Schedule start time. Default value: new Date('0001-01-01T00:00:00+00:00').
    */
-  desiredState?: AutomaticTuningOptionModeDesired;
+  startTime?: Date;
   /**
-   * Automatic tuning option actual state. Possible values include: 'Off', 'On'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Schedule end time. Default value: new Date('9999-12-31T11:59:59+00:00').
    */
-  readonly actualState?: AutomaticTuningOptionModeActual;
+  endTime?: Date;
   /**
-   * Reason code if desired and actual state are different.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Schedule interval type. Possible values include: 'Once', 'Recurring'. Default value: 'Once'.
    */
-  readonly reasonCode?: number;
+  type?: JobScheduleType;
   /**
-   * Reason description if desired and actual state are different. Possible values include:
-   * 'Default', 'Disabled', 'AutoConfigured'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Whether or not the schedule is enabled.
    */
-  readonly reasonDesc?: AutomaticTuningServerReason;
+  enabled?: boolean;
+  /**
+   * Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration
+   * format.
+   */
+  interval?: string;
 }
 
 /**
- * Server-level Automatic Tuning.
+ * A job.
  */
-export interface ServerAutomaticTuning extends ProxyResource {
+export interface Job extends ProxyResource {
   /**
-   * Automatic tuning desired state. Possible values include: 'Custom', 'Auto', 'Unspecified'
+   * User-defined description of the job. Default value: ''.
    */
-  desiredState?: AutomaticTuningServerMode;
+  description?: string;
   /**
-   * Automatic tuning actual state. Possible values include: 'Custom', 'Auto', 'Unspecified'
+   * The job version number.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly actualState?: AutomaticTuningServerMode;
+  readonly version?: number;
   /**
-   * Automatic tuning options definition.
+   * Schedule properties of the job.
    */
-  options?: { [propertyName: string]: AutomaticTuningServerOptions };
+  schedule?: JobSchedule;
 }
 
 /**
- * A server DNS alias.
+ * The action to be executed by a job step.
  */
-export interface ServerDnsAlias extends ProxyResource {
+export interface JobStepAction {
   /**
-   * The fully qualified DNS record for alias
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Type of action being executed by the job step. Possible values include: 'TSql'. Default value:
+   * 'TSql'.
    */
-  readonly azureDnsRecord?: string;
-}
-
-/**
- * A server DNS alias acquisition request.
- */
-export interface ServerDnsAliasAcquisition {
+  type?: JobStepActionType;
   /**
-   * The id of the server alias that will be acquired to point to this server instead.
+   * The source of the action to execute. Possible values include: 'Inline'. Default value:
+   * 'Inline'.
+   */
+  source?: JobStepActionSource;
+  /**
+   * The action value, for example the text of the T-SQL script to execute.
    */
-  oldServerDnsAliasId?: string;
+  value: string;
 }
 
 /**
- * A server security alert policy.
+ * The output configuration of a job step.
  */
-export interface ServerSecurityAlertPolicy extends ProxyResource {
+export interface JobStepOutput {
   /**
-   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
-   * applied yet on the specific database. Possible values include: 'New', 'Enabled', 'Disabled'
+   * The output destination type. Possible values include: 'SqlDatabase'. Default value:
+   * 'SqlDatabase'.
    */
-  state: SecurityAlertPolicyState;
+  type?: JobStepOutputType;
   /**
-   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
-   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action
+   * The output destination subscription id.
    */
-  disabledAlerts?: string[];
+  subscriptionId?: string;
   /**
-   * Specifies an array of e-mail addresses to which the alert is sent.
+   * The output destination resource group.
    */
-  emailAddresses?: string[];
+  resourceGroupName?: string;
   /**
-   * Specifies that the alert is sent to the account administrators.
+   * The output destination server name.
    */
-  emailAccountAdmins?: boolean;
+  serverName: string;
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
-   * storage will hold all Threat Detection audit logs.
+   * The output destination database.
    */
-  storageEndpoint?: string;
+  databaseName: string;
   /**
-   * Specifies the identifier key of the Threat Detection audit storage account.
+   * The output destination schema. Default value: 'dbo'.
    */
-  storageAccountAccessKey?: string;
+  schemaName?: string;
   /**
-   * Specifies the number of days to keep in the Threat Detection audit logs.
+   * The output destination table.
    */
-  retentionDays?: number;
+  tableName: string;
   /**
-   * Specifies the UTC creation time of the policy.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The resource ID of the credential to use to connect to the output destination.
    */
-  readonly creationTime?: Date;
+  credential: string;
 }
 
 /**
- * A restorable dropped managed database resource.
+ * The execution options of a job step.
  */
-export interface RestorableDroppedManagedDatabase extends TrackedResource {
+export interface JobStepExecutionOptions {
   /**
-   * The name of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Execution timeout for the job step. Default value: 43200.
    */
-  readonly databaseName?: string;
+  timeoutSeconds?: number;
   /**
-   * The creation date of the database (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Maximum number of times the job step will be reattempted if the first attempt fails. Default
+   * value: 10.
    */
-  readonly creationDate?: Date;
+  retryAttempts?: number;
   /**
-   * The deletion date of the database (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Initial delay between retries for job step execution. Default value: 1.
    */
-  readonly deletionDate?: Date;
+  initialRetryIntervalSeconds?: number;
   /**
-   * The earliest restore date of the database (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The maximum amount of time to wait between retries for job step execution. Default value: 120.
    */
-  readonly earliestRestoreDate?: Date;
+  maximumRetryIntervalSeconds?: number;
+  /**
+   * The backoff multiplier for the time between retries. Default value: 2.
+   */
+  retryIntervalBackoffMultiplier?: number;
 }
 
 /**
- * Database restore points.
+ * A job step.
  */
-export interface RestorePoint extends ProxyResource {
+export interface JobStep extends ProxyResource {
   /**
-   * Resource location.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The job step's index within the job. If not specified when creating the job step, it will be
+   * created as the last step. If not specified when updating the job step, the step id is not
+   * modified.
    */
-  readonly location?: string;
+  stepId?: number;
   /**
-   * The type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The resource ID of the target group that the job step will be executed on.
    */
-  readonly restorePointType?: RestorePointType;
+  targetGroup: string;
   /**
-   * The earliest time to which this database can be restored
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The resource ID of the job credential that will be used to connect to the targets.
    */
-  readonly earliestRestoreDate?: Date;
+  credential: string;
   /**
-   * The time the backup was taken
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The action payload of the job step.
    */
-  readonly restorePointCreationDate?: Date;
+  action: JobStepAction;
   /**
-   * The label of restore point for backup request by user
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Output destination properties of the job step.
    */
-  readonly restorePointLabel?: string;
-}
-
-/**
- * Contains the information necessary to perform a create database restore point operation.
- */
-export interface CreateDatabaseRestorePointDefinition {
+  output?: JobStepOutput;
   /**
-   * The restore point label to apply
+   * Execution options for the job step.
    */
-  restorePointLabel: string;
+  executionOptions?: JobStepExecutionOptions;
 }
 
 /**
- * A managed database security alert policy.
+ * A job target, for example a specific database or a container of databases that is evaluated
+ * during job execution.
  */
-export interface ManagedDatabaseSecurityAlertPolicy extends ProxyResource {
-  /**
-   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
-   * applied yet on the specific database. Possible values include: 'New', 'Enabled', 'Disabled'
-   */
-  state: SecurityAlertPolicyState;
+export interface JobTarget {
   /**
-   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
-   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action
+   * Whether the target is included or excluded from the group. Possible values include: 'Include',
+   * 'Exclude'. Default value: 'Include'.
    */
-  disabledAlerts?: string[];
+  membershipType?: JobTargetGroupMembershipType;
   /**
-   * Specifies an array of e-mail addresses to which the alert is sent.
+   * The target type. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool',
+   * 'SqlShardMap', 'SqlServer'
    */
-  emailAddresses?: string[];
+  type: JobTargetType;
   /**
-   * Specifies that the alert is sent to the account administrators.
+   * The target server name.
    */
-  emailAccountAdmins?: boolean;
+  serverName?: string;
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
-   * storage will hold all Threat Detection audit logs.
+   * The target database name.
    */
-  storageEndpoint?: string;
+  databaseName?: string;
   /**
-   * Specifies the identifier key of the Threat Detection audit storage account.
+   * The target elastic pool name.
    */
-  storageAccountAccessKey?: string;
+  elasticPoolName?: string;
   /**
-   * Specifies the number of days to keep in the Threat Detection audit logs.
+   * The target shard map.
    */
-  retentionDays?: number;
+  shardMapName?: string;
   /**
-   * Specifies the UTC creation time of the policy.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The resource ID of the credential that is used during job execution to connect to the target
+   * and determine the list of databases inside the target.
    */
-  readonly creationTime?: Date;
+  refreshCredential?: string;
 }
 
 /**
- * A managed server security alert policy.
+ * A group of job targets.
  */
-export interface ManagedServerSecurityAlertPolicy extends ProxyResource {
-  /**
-   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
-   * applied yet on the specific database. Possible values include: 'New', 'Enabled', 'Disabled'
-   */
-  state: SecurityAlertPolicyState;
-  /**
-   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
-   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action
-   */
-  disabledAlerts?: string[];
-  /**
-   * Specifies an array of e-mail addresses to which the alert is sent.
-   */
-  emailAddresses?: string[];
+export interface JobTargetGroup extends ProxyResource {
   /**
-   * Specifies that the alert is sent to the account administrators.
+   * Members of the target group.
    */
-  emailAccountAdmins?: boolean;
+  members: JobTarget[];
+}
+
+/**
+ * A job version.
+ */
+export interface JobVersion extends ProxyResource {
+}
+
+/**
+ * The maximum size capability.
+ */
+export interface MaxSizeCapability {
   /**
-   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
-   * storage will hold all Threat Detection audit logs.
+   * The maximum size limit (see 'unit' for the units).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageEndpoint?: string;
+  readonly limit?: number;
   /**
-   * Specifies the identifier key of the Threat Detection audit storage account.
+   * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes',
+   * 'Terabytes', 'Petabytes'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageAccountAccessKey?: string;
+  readonly unit?: MaxSizeUnit;
+}
+
+/**
+ * The log size capability.
+ */
+export interface LogSizeCapability {
   /**
-   * Specifies the number of days to keep in the Threat Detection audit logs.
+   * The log size limit (see 'unit' for the units).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  retentionDays?: number;
+  readonly limit?: number;
   /**
-   * Specifies the UTC creation time of the policy.
+   * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes',
+   * 'Terabytes', 'Petabytes', 'Percent'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly creationTime?: Date;
+  readonly unit?: LogSizeUnit;
 }
 
 /**
- * A sensitivity label.
+ * The maximum size range capability.
  */
-export interface SensitivityLabel extends ProxyResource {
+export interface MaxSizeRangeCapability {
   /**
-   * The label name.
+   * Minimum value.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  labelName?: string;
+  readonly minValue?: MaxSizeCapability;
   /**
-   * The label ID.
+   * Maximum value.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  labelId?: string;
+  readonly maxValue?: MaxSizeCapability;
   /**
-   * The information type.
+   * Scale/step size for discrete values between the minimum value and the maximum value.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  informationType?: string;
+  readonly scaleSize?: MaxSizeCapability;
   /**
-   * The information type ID.
+   * Size of transaction log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  informationTypeId?: string;
+  readonly logSize?: LogSizeCapability;
   /**
-   * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only.
-   * Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or
-   * not.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isDisabled?: boolean;
+  readonly status?: CapabilityStatus;
+  /**
+   * The reason for the capability not being available.
+   */
+  reason?: string;
 }
 
 /**
- * An Azure SQL managed instance administrator.
+ * The performance level capability.
  */
-export interface ManagedInstanceAdministrator extends ProxyResource {
-  /**
-   * Login name of the managed instance administrator.
-   */
-  login: string;
+export interface PerformanceLevelCapability {
   /**
-   * SID (object ID) of the managed instance administrator.
+   * Performance level value.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sid: string;
+  readonly value?: number;
   /**
-   * Tenant ID of the managed instance administrator.
+   * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  tenantId?: string;
+  readonly unit?: PerformanceLevelUnit;
 }
 
 /**
- * A database operation.
+ * The license type capability
  */
-export interface DatabaseOperation extends ProxyResource {
+export interface LicenseTypeCapability {
   /**
-   * The name of the database the operation is being performed on.
+   * License type identifier.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseName?: string;
+  readonly name?: string;
   /**
-   * The name of operation.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly operation?: string;
+  readonly status?: CapabilityStatus;
   /**
-   * The friendly name of operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The reason for the capability not being available.
    */
-  readonly operationFriendlyName?: string;
+  reason?: string;
+}
+
+/**
+ * Supported auto pause delay time range
+ */
+export interface AutoPauseDelayTimeRange {
   /**
-   * The percentage of the operation completed.
+   * Minimum value
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly percentComplete?: number;
+  readonly minValue?: number;
   /**
-   * The name of the server.
+   * Maximum value
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly serverName?: string;
+  readonly maxValue?: number;
   /**
-   * The operation start time.
+   * Step value for discrete values between the minimum value and the maximum value.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly startTime?: Date;
+  readonly stepSize?: number;
   /**
-   * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed',
-   * 'CancelInProgress', 'Cancelled'
+   * Default value is no value is provided
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: ManagementOperationState;
+  readonly default?: number;
   /**
-   * The operation error code.
+   * Unit of time that delay is expressed in. Possible values include: 'Minutes'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorCode?: number;
+  readonly unit?: PauseDelayTimeUnit;
   /**
-   * The operation error description.
+   * Value that is used to not pause (infinite delay before pause)
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorDescription?: string;
+  readonly doNotPauseValue?: number;
+}
+
+/**
+ * The min capacity capability
+ */
+export interface MinCapacityCapability {
   /**
-   * The operation error severity.
+   * Min capacity value
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorSeverity?: number;
+  readonly value?: number;
   /**
-   * Whether or not the error is a user error.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isUserError?: boolean;
+  readonly status?: CapabilityStatus;
   /**
-   * The estimated completion time of the operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The reason for the capability not being available.
    */
-  readonly estimatedCompletionTime?: Date;
+  reason?: string;
+}
+
+/**
+ * The maintenance configuration capability
+ */
+export interface MaintenanceConfigurationCapability {
   /**
-   * The operation description.
+   * Maintenance configuration name
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly description?: string;
+  readonly name?: string;
   /**
-   * Whether the operation can be cancelled.
+   * Whether or not zone redundancy is supported for the maintenance configuration.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isCancellable?: boolean;
-}
-
-/**
- * A elastic pool operation.
- */
-export interface ElasticPoolOperation extends ProxyResource {
-  /**
-   * The name of the elastic pool the operation is being performed on.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly elasticPoolName?: string;
-  /**
-   * The name of operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly operation?: string;
-  /**
-   * The friendly name of operation.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly operationFriendlyName?: string;
-  /**
-   * The percentage of the operation completed.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly percentComplete?: number;
-  /**
-   * The name of the server.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly serverName?: string;
-  /**
-   * The operation start time.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly startTime?: Date;
-  /**
-   * The operation state.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly state?: string;
-  /**
-   * The operation error code.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly errorCode?: number;
+  readonly zoneRedundant?: boolean;
   /**
-   * The operation error description.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errorDescription?: string;
+  readonly status?: CapabilityStatus;
   /**
-   * The operation error severity.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The reason for the capability not being available.
    */
-  readonly errorSeverity?: number;
+  reason?: string;
+}
+
+/**
+ * The service objectives capability.
+ */
+export interface ServiceObjectiveCapability {
   /**
-   * Whether or not the error is a user error.
+   * The unique ID of the service objective.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isUserError?: boolean;
+  readonly id?: string;
   /**
-   * The estimated completion time of the operation.
+   * The service objective name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly estimatedCompletionTime?: Date;
+  readonly name?: string;
   /**
-   * The operation description.
+   * The list of supported maximum database sizes.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly description?: string;
+  readonly supportedMaxSizes?: MaxSizeRangeCapability[];
   /**
-   * Whether the operation can be cancelled.
+   * The performance level.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly isCancellable?: boolean;
-}
-
-/**
- * The maximum size capability.
- */
-export interface MaxSizeCapability {
+  readonly performanceLevel?: PerformanceLevelCapability;
   /**
-   * The maximum size limit (see 'unit' for the units).
+   * The sku.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly limit?: number;
+  readonly sku?: Sku;
   /**
-   * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes',
-   * 'Terabytes', 'Petabytes'
+   * List of supported license types.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly unit?: MaxSizeUnit;
-}
-
-/**
- * The log size capability.
- */
-export interface LogSizeCapability {
+  readonly supportedLicenseTypes?: LicenseTypeCapability[];
   /**
-   * The log size limit (see 'unit' for the units).
+   * The included (free) max size.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly limit?: number;
+  readonly includedMaxSize?: MaxSizeCapability;
   /**
-   * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes',
-   * 'Terabytes', 'Petabytes', 'Percent'
+   * Whether or not zone redundancy is supported for the service objective.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly unit?: LogSizeUnit;
-}
-
-/**
- * The maximum size range capability.
- */
-export interface MaxSizeRangeCapability {
+  readonly zoneRedundant?: boolean;
   /**
-   * Minimum value.
+   * Supported time range for auto pause delay
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly minValue?: MaxSizeCapability;
+  readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange;
   /**
-   * Maximum value.
+   * List of supported min capacities
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly maxValue?: MaxSizeCapability;
+  readonly supportedMinCapacities?: MinCapacityCapability[];
   /**
-   * Scale/step size for discrete values between the minimum value and the maximum value.
+   * The compute model
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly scaleSize?: MaxSizeCapability;
+  readonly computeModel?: string;
   /**
-   * Size of transaction log.
+   * List of supported maintenance configurations
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly logSize?: LogSizeCapability;
+  readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -3847,30 +3223,14 @@ export interface MaxSizeRangeCapability {
 }
 
 /**
- * The performance level capability.
- */
-export interface PerformanceLevelCapability {
-  /**
-   * Performance level value.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly value?: number;
-  /**
-   * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly unit?: PerformanceLevelUnit;
-}
-
-/**
- * The license type capability
+ * The read scale capability.
  */
-export interface LicenseTypeCapability {
+export interface ReadScaleCapability {
   /**
-   * License type identifier.
+   * The maximum number of read scale replicas.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly name?: string;
+  readonly maxNumberOfReplicas?: number;
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -3884,44 +3244,15 @@ export interface LicenseTypeCapability {
 }
 
 /**
- * The service objectives capability.
+ * The storage account type capability.
  */
-export interface ServiceObjectiveCapability {
-  /**
-   * The unique ID of the service objective.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly id?: string;
-  /**
-   * The service objective name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly name?: string;
-  /**
-   * The list of supported maximum database sizes.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly supportedMaxSizes?: MaxSizeRangeCapability[];
-  /**
-   * The performance level.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly performanceLevel?: PerformanceLevelCapability;
-  /**
-   * The sku.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly sku?: Sku;
-  /**
-   * List of supported license types.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly supportedLicenseTypes?: LicenseTypeCapability[];
+export interface StorageCapability {
   /**
-   * The included (free) max size.
+   * The storage account type for the database's backups. Possible values include: 'GRS', 'LRS',
+   * 'ZRS'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly includedMaxSize?: MaxSizeCapability;
+  readonly storageAccountType?: StorageAccountType1;
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -3953,6 +3284,16 @@ export interface EditionCapability {
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly zoneRedundant?: boolean;
+  /**
+   * The read scale capability for the edition.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly readScale?: ReadScaleCapability;
+  /**
+   * The list of supported storage capabilities for this edition
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly supportedStorageCapabilities?: StorageCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4066,6 +3407,16 @@ export interface ElasticPoolPerformanceLevelCapability {
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[];
+  /**
+   * Whether or not zone redundancy is supported for the performance level.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly zoneRedundant?: boolean;
+  /**
+   * List of supported maintenance configurations
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4140,6 +3491,27 @@ export interface ServerVersionCapability {
   reason?: string;
 }
 
+/**
+ * The maintenance configuration capability
+ */
+export interface ManagedInstanceMaintenanceConfigurationCapability {
+  /**
+   * Maintenance configuration name
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: string;
+  /**
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: CapabilityStatus;
+  /**
+   * The reason for the capability not being available.
+   */
+  reason?: string;
+}
+
 /**
  * The managed instance virtual cores capability.
  */
@@ -4154,6 +3526,31 @@ export interface ManagedInstanceVcoresCapability {
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly value?: number;
+  /**
+   * Included size.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly includedMaxSize?: MaxSizeCapability;
+  /**
+   * Storage size ranges.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly supportedStorageSizes?: MaxSizeRangeCapability[];
+  /**
+   * True if this service objective is supported for managed instances in an instance pool.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly instancePoolSupported?: boolean;
+  /**
+   * True if this service objective is supported for standalone managed instances.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly standaloneSupported?: boolean;
+  /**
+   * List of supported maintenance configurations
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly supportedMaintenanceConfigurations?: ManagedInstanceMaintenanceConfigurationCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4190,16 +3587,6 @@ export interface ManagedInstanceFamilyCapability {
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[];
-  /**
-   * Included size.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly includedMaxSize?: MaxSizeCapability;
-  /**
-   * Storage size ranges.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly supportedStorageSizes?: MaxSizeRangeCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4226,6 +3613,16 @@ export interface ManagedInstanceEditionCapability {
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly supportedFamilies?: ManagedInstanceFamilyCapability[];
+  /**
+   * The list of supported storage capabilities for this edition
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly supportedStorageCapabilities?: StorageCapability[];
+  /**
+   * Whether or not zone redundancy is supported for the edition.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly zoneRedundant?: boolean;
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4239,19 +3636,24 @@ export interface ManagedInstanceEditionCapability {
 }
 
 /**
- * The managed instance capability
+ * The managed instance virtual cores capability.
  */
-export interface ManagedInstanceVersionCapability {
+export interface InstancePoolVcoresCapability {
   /**
-   * The server version name.
+   * The virtual cores identifier.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly name?: string;
   /**
-   * The list of supported managed instance editions.
+   * The virtual cores value.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly supportedEditions?: ManagedInstanceEditionCapability[];
+  readonly value?: number;
+  /**
+   * Storage limit.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly storageLimit?: MaxSizeCapability;
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4265,24 +3667,24 @@ export interface ManagedInstanceVersionCapability {
 }
 
 /**
- * The location capability.
+ * The instance pool family capability.
  */
-export interface LocationCapabilities {
+export interface InstancePoolFamilyCapability {
   /**
-   * The location name.
+   * Family name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly name?: string;
   /**
-   * The list of supported server versions.
+   * List of supported license types.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly supportedServerVersions?: ServerVersionCapability[];
+  readonly supportedLicenseTypes?: LicenseTypeCapability[];
   /**
-   * The list of supported managed instance versions.
+   * List of supported virtual cores values.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[];
+  readonly supportedVcoresValues?: InstancePoolVcoresCapability[];
   /**
    * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
    * 'Disabled'
@@ -4296,3381 +3698,11259 @@ export interface LocationCapabilities {
 }
 
 /**
- * A database resource.
+ * The instance pool capability
  */
-export interface Database extends TrackedResource {
+export interface InstancePoolEditionCapability {
   /**
-   * The database SKU.
-   *
-   * The list of SKUs may vary by region and support offer. To determine the SKUs (including the
-   * SKU name, tier/edition, family, and capacity) that are available to your subscription in an
-   * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
-   *
-   * ```azurecli
-   * az sql db list-editions -l <location> -o table
-   * ````
-   *
-   * ```powershell
-   * Get-AzSqlServerServiceObjective -Location <location>
-   * ````
+   * The instance pool version name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sku?: Sku;
+  readonly name?: string;
   /**
-   * Kind of database. This is metadata used for the Azure portal experience.
+   * The supported families.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly kind?: string;
+  readonly supportedFamilies?: InstancePoolFamilyCapability[];
   /**
-   * Resource that manages the database.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly managedBy?: string;
+  readonly status?: CapabilityStatus;
   /**
-   * Specifies the mode of database creation.
-   *
-   * Default: regular database creation.
-   *
-   * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified
-   * as the resource ID of the source database.
-   *
-   * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId
-   * must be specified as the resource ID of the existing primary database.
-   *
-   * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing
-   * database. sourceDatabaseId must be specified as the resource ID of the existing database, and
-   * restorePointInTime must be specified.
-   *
-   * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be
-   * specified as the recoverable database resource ID to restore.
-   *
-   * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must
-   * be specified. If sourceDatabaseId is the database's original resource ID, then
-   * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the
-   * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
-   * restorePointInTime may also be specified to restore from an earlier point in time.
-   *
-   * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention
-   * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point
-   * resource ID.
-   *
-   * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse
-   * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore',
-   * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
-   * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
+   * The reason for the capability not being available.
    */
-  createMode?: CreateMode;
+  reason?: string;
+}
+
+/**
+ * The managed instance capability
+ */
+export interface ManagedInstanceVersionCapability {
   /**
-   * The collation of the database.
+   * The server version name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  collation?: string;
+  readonly name?: string;
   /**
-   * The max size of the database expressed in bytes.
+   * The list of supported managed instance editions.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  maxSizeBytes?: number;
+  readonly supportedEditions?: ManagedInstanceEditionCapability[];
   /**
-   * The name of the sample schema to apply when creating this database. Possible values include:
-   * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
+   * The list of supported instance pool editions.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sampleName?: SampleName;
+  readonly supportedInstancePoolEditions?: InstancePoolEditionCapability[];
   /**
-   * The resource identifier of the elastic pool containing this database.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  elasticPoolId?: string;
+  readonly status?: CapabilityStatus;
   /**
-   * The resource identifier of the source database associated with create operation of this
-   * database.
+   * The reason for the capability not being available.
    */
-  sourceDatabaseId?: string;
+  reason?: string;
+}
+
+/**
+ * The location capability.
+ */
+export interface LocationCapabilities {
   /**
-   * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending',
-   * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed',
-   * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming',
-   * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
+   * The location name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly status?: DatabaseStatus;
+  readonly name?: string;
   /**
-   * The ID of the database.
+   * The list of supported server versions.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly databaseId?: string;
+  readonly supportedServerVersions?: ServerVersionCapability[];
   /**
-   * The creation date of the database (ISO8601 format).
+   * The list of supported managed instance versions.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly creationDate?: Date;
+  readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[];
   /**
-   * The current service level objective name of the database.
+   * The status of the capability. Possible values include: 'Visible', 'Available', 'Default',
+   * 'Disabled'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly currentServiceObjectiveName?: string;
+  readonly status?: CapabilityStatus;
   /**
-   * The requested service level objective name of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The reason for the capability not being available.
    */
-  readonly requestedServiceObjectiveName?: string;
+  reason?: string;
+}
+
+/**
+ * Contains the information necessary to perform long term retention backup copy operation.
+ */
+export interface CopyLongTermRetentionBackupParameters {
   /**
-   * The default secondary region for this database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The subscription that owns the target server
    */
-  readonly defaultSecondaryLocation?: string;
+  targetSubscriptionId?: string;
   /**
-   * Failover Group resource identifier that this database belongs to.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The resource group that owns the target server
    */
-  readonly failoverGroupId?: string;
+  targetResourceGroup?: string;
   /**
-   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
-   * create the new database.
+   * The resource Id of the target server that owns the database
    */
-  restorePointInTime?: Date;
+  targetServerResourceId?: string;
   /**
-   * Specifies the time that the database was deleted.
+   * The fully qualified domain name of the target server
    */
-  sourceDatabaseDeletionDate?: Date;
+  targetServerFullyQualifiedDomainName?: string;
   /**
-   * The resource identifier of the recovery point associated with create operation of this
-   * database.
+   * The name of the database owns the copied backup.
    */
-  recoveryServicesRecoveryPointId?: string;
+  targetDatabaseName?: string;
   /**
-   * The resource identifier of the long term retention backup associated with create operation of
-   * this database.
+   * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local',
+   * 'Zone'
    */
-  longTermRetentionBackupResourceId?: string;
+  targetBackupStorageRedundancy?: TargetBackupStorageRedundancy;
+}
+
+/**
+ * A LongTermRetentionBackup operation result resource.
+ */
+export interface LongTermRetentionBackupOperationResult extends ProxyResource {
   /**
-   * The resource identifier of the recoverable database associated with create operation of this
-   * database.
+   * Request Id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  recoverableDatabaseId?: string;
+  readonly requestId?: string;
   /**
-   * The resource identifier of the restorable dropped database associated with create operation of
-   * this database.
+   * Operation type.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  restorableDroppedDatabaseId?: string;
+  readonly operationType?: string;
   /**
-   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
-   * 'SQL_Latin1_General_CP1_CI_AS'
+   * Source backup resource id
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  catalogCollation?: CatalogCollationType;
+  readonly fromBackupResourceId?: string;
   /**
-   * Whether or not this database is zone redundant, which means the replicas of this database will
-   * be spread across multiple availability zones.
+   * Target backup resource id
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  zoneRedundant?: boolean;
+  readonly toBackupResourceId?: string;
   /**
-   * The license type to apply for this database. Possible values include: 'LicenseIncluded',
-   * 'BasePrice'
+   * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local',
+   * 'Zone'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  licenseType?: DatabaseLicenseType;
+  readonly targetBackupStorageRedundancy?: BackupStorageRedundancy;
   /**
-   * The max log size for this database.
+   * Operation status
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly maxLogSizeBytes?: number;
+  readonly status?: string;
   /**
-   * This records the earliest start date and time that restore is available for this database
-   * (ISO8601 format).
+   * Progress message
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly earliestRestoreDate?: Date;
+  readonly message?: string;
+}
+
+/**
+ * Contains the information necessary to perform long term retention backup update operation.
+ */
+export interface UpdateLongTermRetentionBackupParameters {
   /**
-   * If enabled, connections that have application intent set to readonly in their connection
-   * string may be routed to a readonly secondary replica. This property is only settable for
-   * Premium and Business Critical databases. Possible values include: 'Enabled', 'Disabled'
+   * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local',
+   * 'Zone'
    */
-  readScale?: DatabaseReadScale;
+  requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy;
+}
+
+/**
+ * A long term retention backup.
+ */
+export interface LongTermRetentionBackup extends ProxyResource {
   /**
-   * The number of readonly secondary replicas associated with the database to which readonly
-   * application intent connections may be routed. This property is only settable for Hyperscale
-   * edition databases.
+   * The server name that the backup database belong to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readReplicaCount?: number;
+  readonly serverName?: string;
   /**
-   * The name and tier of the SKU.
+   * The create time of the server.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly currentSku?: Sku;
+  readonly serverCreateTime?: Date;
   /**
-   * Time in minutes after which database is automatically paused. A value of -1 means that
-   * automatic pause is disabled
+   * The name of the database the backup belong to
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  autoPauseDelay?: number;
+  readonly databaseName?: string;
   /**
-   * Minimal capacity that database will always have allocated, if not paused
+   * The delete time of the database
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  minCapacity?: number;
+  readonly databaseDeletionTime?: Date;
   /**
-   * The date when database was paused by user configuration or action (ISO8601 format). Null if
-   * the database is ready.
+   * The time the backup was taken
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly pausedDate?: Date;
+  readonly backupTime?: Date;
   /**
-   * The date when database was resumed by user action or database login (ISO8601 format). Null if
-   * the database is paused.
+   * The time the long term retention backup will expire.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly resumedDate?: Date;
+  readonly backupExpirationTime?: Date;
+  /**
+   * The storage redundancy type of the backup. Possible values include: 'Geo', 'Local', 'Zone'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly backupStorageRedundancy?: BackupStorageRedundancy;
+  /**
+   * The storage redundancy type of the backup. Possible values include: 'Geo', 'Local', 'Zone'
+   */
+  requestedBackupStorageRedundancy?: BackupStorageRedundancy;
 }
 
 /**
- * A database resource.
+ * A long term retention backup for a managed database.
  */
-export interface DatabaseUpdate {
+export interface ManagedInstanceLongTermRetentionBackup extends ProxyResource {
   /**
-   * The name and tier of the SKU.
+   * The managed instance that the backup database belongs to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sku?: Sku;
+  readonly managedInstanceName?: string;
   /**
-   * Specifies the mode of database creation.
-   *
-   * Default: regular database creation.
-   *
-   * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified
-   * as the resource ID of the source database.
-   *
-   * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId
-   * must be specified as the resource ID of the existing primary database.
-   *
-   * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing
-   * database. sourceDatabaseId must be specified as the resource ID of the existing database, and
-   * restorePointInTime must be specified.
-   *
-   * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be
-   * specified as the recoverable database resource ID to restore.
-   *
-   * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must
-   * be specified. If sourceDatabaseId is the database's original resource ID, then
-   * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the
-   * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
-   * restorePointInTime may also be specified to restore from an earlier point in time.
-   *
-   * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention
-   * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point
-   * resource ID.
-   *
-   * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse
-   * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore',
-   * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
-   * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
-   */
-  createMode?: CreateMode;
-  /**
-   * The collation of the database.
+   * The create time of the instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  collation?: string;
+  readonly managedInstanceCreateTime?: Date;
   /**
-   * The max size of the database expressed in bytes.
+   * The name of the database the backup belong to
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  maxSizeBytes?: number;
+  readonly databaseName?: string;
   /**
-   * The name of the sample schema to apply when creating this database. Possible values include:
-   * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
+   * The delete time of the database
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sampleName?: SampleName;
+  readonly databaseDeletionTime?: Date;
   /**
-   * The resource identifier of the elastic pool containing this database.
+   * The time the backup was taken
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  elasticPoolId?: string;
+  readonly backupTime?: Date;
   /**
-   * The resource identifier of the source database associated with create operation of this
-   * database.
+   * The time the long term retention backup will expire.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sourceDatabaseId?: string;
+  readonly backupExpirationTime?: Date;
   /**
-   * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending',
-   * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed',
-   * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming',
-   * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
+   * The storage redundancy type of the backup. Possible values include: 'Geo', 'Local', 'Zone'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly status?: DatabaseStatus;
+  readonly backupStorageRedundancy?: BackupStorageRedundancy;
+}
+
+/**
+ * A long term retention policy.
+ */
+export interface LongTermRetentionPolicy extends ProxyResource {
   /**
-   * The ID of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The weekly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly databaseId?: string;
+  weeklyRetention?: string;
   /**
-   * The creation date of the database (ISO8601 format).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The monthly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly creationDate?: Date;
+  monthlyRetention?: string;
   /**
-   * The current service level objective name of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The yearly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly currentServiceObjectiveName?: string;
+  yearlyRetention?: string;
   /**
-   * The requested service level objective name of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The week of year to take the yearly backup in an ISO 8601 format.
    */
-  readonly requestedServiceObjectiveName?: string;
+  weekOfYear?: number;
+}
+
+/**
+ * Maintenance window time range.
+ */
+export interface MaintenanceWindowTimeRange {
   /**
-   * The default secondary region for this database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Day of maintenance window. Possible values include: 'Sunday', 'Monday', 'Tuesday',
+   * 'Wednesday', 'Thursday', 'Friday', 'Saturday'
    */
-  readonly defaultSecondaryLocation?: string;
+  dayOfWeek?: DayOfWeek;
   /**
-   * Failover Group resource identifier that this database belongs to.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Start time minutes offset from 12am.
    */
-  readonly failoverGroupId?: string;
+  startTime?: string;
   /**
-   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
-   * create the new database.
+   * Duration of maintenance window in minutes.
    */
-  restorePointInTime?: Date;
+  duration?: string;
+}
+
+/**
+ * Maintenance window options.
+ */
+export interface MaintenanceWindowOptions extends ProxyResource {
   /**
-   * Specifies the time that the database was deleted.
+   * Whether maintenance windows are enabled for the database.
    */
-  sourceDatabaseDeletionDate?: Date;
+  isEnabled?: boolean;
   /**
-   * The resource identifier of the recovery point associated with create operation of this
-   * database.
+   * Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}.
    */
-  recoveryServicesRecoveryPointId?: string;
+  maintenanceWindowCycles?: MaintenanceWindowTimeRange[];
   /**
-   * The resource identifier of the long term retention backup associated with create operation of
-   * this database.
+   * Minimum duration of maintenance window.
    */
-  longTermRetentionBackupResourceId?: string;
+  minDurationInMinutes?: number;
   /**
-   * The resource identifier of the recoverable database associated with create operation of this
-   * database.
+   * Default duration for maintenance window.
    */
-  recoverableDatabaseId?: string;
+  defaultDurationInMinutes?: number;
   /**
-   * The resource identifier of the restorable dropped database associated with create operation of
-   * this database.
+   * Minimum number of maintenance windows cycles to be set on the database.
    */
-  restorableDroppedDatabaseId?: string;
+  minCycles?: number;
   /**
-   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
-   * 'SQL_Latin1_General_CP1_CI_AS'
+   * Time granularity in minutes for maintenance windows.
    */
-  catalogCollation?: CatalogCollationType;
+  timeGranularityInMinutes?: number;
   /**
-   * Whether or not this database is zone redundant, which means the replicas of this database will
-   * be spread across multiple availability zones.
+   * Whether we allow multiple maintenance windows per cycle.
    */
-  zoneRedundant?: boolean;
+  allowMultipleMaintenanceWindowsPerCycle?: boolean;
+}
+
+/**
+ * Maintenance windows.
+ */
+export interface MaintenanceWindows extends ProxyResource {
+  timeRanges?: MaintenanceWindowTimeRange[];
+}
+
+/**
+ * A short term retention policy.
+ */
+export interface ManagedBackupShortTermRetentionPolicy extends ProxyResource {
   /**
-   * The license type to apply for this database. Possible values include: 'LicenseIncluded',
-   * 'BasePrice'
+   * The backup retention period in days. This is how many days Point-in-Time Restore will be
+   * supported.
    */
-  licenseType?: DatabaseLicenseType;
+  retentionDays?: number;
+}
+
+/**
+ * Database query.
+ */
+export interface ManagedInstanceQuery extends ProxyResource {
   /**
-   * The max log size for this database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Query text.
    */
-  readonly maxLogSizeBytes?: number;
+  queryText?: string;
+}
+
+/**
+ * Properties of a topquery metric in one interval.
+ */
+export interface QueryMetricProperties {
   /**
-   * This records the earliest start date and time that restore is available for this database
-   * (ISO8601 format).
+   * The name information for the metric.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly earliestRestoreDate?: Date;
+  readonly name?: string;
   /**
-   * If enabled, connections that have application intent set to readonly in their connection
-   * string may be routed to a readonly secondary replica. This property is only settable for
-   * Premium and Business Critical databases. Possible values include: 'Enabled', 'Disabled'
+   * The UI appropriate name for the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readScale?: DatabaseReadScale;
+  readonly displayName?: string;
   /**
-   * The number of readonly secondary replicas associated with the database to which readonly
-   * application intent connections may be routed. This property is only settable for Hyperscale
-   * edition databases.
+   * The unit of the metric. Possible values include: 'percentage', 'KB', 'microseconds', 'count'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readReplicaCount?: number;
+  readonly unit?: QueryMetricUnitType;
   /**
-   * The name and tier of the SKU.
+   * The value of the metric.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly currentSku?: Sku;
+  readonly value?: number;
   /**
-   * Time in minutes after which database is automatically paused. A value of -1 means that
-   * automatic pause is disabled
+   * Metric value when min() aggregate function is used over the interval.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  autoPauseDelay?: number;
+  readonly min?: number;
   /**
-   * Minimal capacity that database will always have allocated, if not paused
+   * Metric value when max() aggregate function is used over the interval.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  minCapacity?: number;
+  readonly max?: number;
   /**
-   * The date when database was paused by user configuration or action (ISO8601 format). Null if
-   * the database is ready.
+   * Metric value when avg() aggregate function is used over the interval.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly pausedDate?: Date;
+  readonly avg?: number;
   /**
-   * The date when database was resumed by user action or database login (ISO8601 format). Null if
-   * the database is paused.
+   * Metric value when sum() aggregate function is used over the interval.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly resumedDate?: Date;
+  readonly sum?: number;
   /**
-   * Resource tags.
+   * Metric value when stdev aggregate function is used over the interval.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  tags?: { [propertyName: string]: string };
+  readonly stdev?: number;
 }
 
 /**
- * Contains the information necessary to perform a resource move (rename).
+ * Properties of a query metrics interval.
  */
-export interface ResourceMoveDefinition {
+export interface QueryMetricInterval {
   /**
-   * The target ID for the resource
+   * The start time for the metric interval (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  id: string;
-}
-
-/**
- * Per database settings of an elastic pool.
- */
-export interface ElasticPoolPerDatabaseSettings {
+  readonly intervalStartTime?: string;
   /**
-   * The minimum capacity all databases are guaranteed.
+   * Interval type (length). Possible values include: 'PT1H', 'P1D'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  minCapacity?: number;
+  readonly intervalType?: QueryTimeGrainType;
   /**
-   * The maximum capacity any one database can consume.
+   * Execution count of a query in this interval.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  maxCapacity?: number;
+  readonly executionCount?: number;
+  /**
+   * List of metric objects for this interval
+   */
+  metrics?: QueryMetricProperties[];
 }
 
 /**
- * An elastic pool.
+ * Properties of a query execution statistics.
  */
-export interface ElasticPool extends TrackedResource {
+export interface QueryStatisticsProperties {
   /**
-   * The elastic pool SKU.
-   *
-   * The list of SKUs may vary by region and support offer. To determine the SKUs (including the
-   * SKU name, tier/edition, family, and capacity) that are available to your subscription in an
-   * Azure region, use the `Capabilities_ListByLocation` REST API or the following command:
-   *
-   * ```azurecli
-   * az sql elastic-pool list-editions -l <location> -o table
-   * ````
-   */
-  sku?: Sku;
-  /**
-   * Kind of elastic pool. This is metadata used for the Azure portal experience.
+   * Database name of the database in which this query was executed.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly kind?: string;
+  readonly databaseName?: string;
   /**
-   * The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'
+   * Unique query id (unique within one database).
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: ElasticPoolState;
+  readonly queryId?: string;
   /**
-   * The creation date of the elastic pool (ISO8601 format).
+   * The start time for the metric (ISO-8601 format).
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly creationDate?: Date;
-  /**
-   * The storage limit for the database elastic pool in bytes.
-   */
-  maxSizeBytes?: number;
-  /**
-   * The per database settings for the elastic pool.
-   */
-  perDatabaseSettings?: ElasticPoolPerDatabaseSettings;
+  readonly startTime?: string;
   /**
-   * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic
-   * pool will be spread across multiple availability zones.
+   * The end time for the metric (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  zoneRedundant?: boolean;
+  readonly endTime?: string;
   /**
-   * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded',
-   * 'BasePrice'
+   * List of intervals with appropriate metric data
    */
-  licenseType?: ElasticPoolLicenseType;
+  intervals?: QueryMetricInterval[];
 }
 
 /**
- * An elastic pool update.
+ * An interface representing QueryStatistics.
  */
-export interface ElasticPoolUpdate {
-  sku?: Sku;
+export interface QueryStatistics extends ProxyResource {
   /**
-   * The storage limit for the database elastic pool in bytes.
+   * Database name of the database in which this query was executed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  maxSizeBytes?: number;
+  readonly databaseName?: string;
   /**
-   * The per database settings for the elastic pool.
+   * Unique query id (unique within one database).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  perDatabaseSettings?: ElasticPoolPerDatabaseSettings;
+  readonly queryId?: string;
   /**
-   * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic
-   * pool will be spread across multiple availability zones.
+   * The start time for the metric (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  zoneRedundant?: boolean;
+  readonly startTime?: string;
   /**
-   * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded',
-   * 'BasePrice'
+   * The end time for the metric (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  licenseType?: ElasticPoolLicenseType;
+  readonly endTime?: string;
   /**
-   * Resource tags.
+   * List of intervals with appropriate metric data
    */
-  tags?: { [propertyName: string]: string };
+  intervals?: QueryMetricInterval[];
 }
 
 /**
- * Properties of a vulnerability assessment scan error.
+ * A managed database restore details.
  */
-export interface VulnerabilityAssessmentScanError {
+export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource {
   /**
-   * The error code.
+   * Restore status.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly code?: string;
+  readonly status?: string;
   /**
-   * The error message.
+   * Current restoring file name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly message?: string;
-}
-
-/**
- * A vulnerability assessment scan record.
- */
-export interface VulnerabilityAssessmentScanRecord extends ProxyResource {
+  readonly currentRestoringFileName?: string;
   /**
-   * The scan ID.
+   * Last restored file name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly scanId?: string;
+  readonly lastRestoredFileName?: string;
   /**
-   * The scan trigger type. Possible values include: 'OnDemand', 'Recurring'
+   * Last restored file time.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly triggerType?: VulnerabilityAssessmentScanTriggerType;
+  readonly lastRestoredFileTime?: Date;
   /**
-   * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress'
+   * Percent completed.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: VulnerabilityAssessmentScanState;
+  readonly percentCompleted?: number;
   /**
-   * The scan start time (UTC).
+   * List of unrestorable files.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly startTime?: Date;
+  readonly unrestorableFiles?: string[];
   /**
-   * The scan end time (UTC).
+   * Number of files detected.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly endTime?: Date;
+  readonly numberOfFilesDetected?: number;
   /**
-   * The scan errors.
+   * Last uploaded file name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly errors?: VulnerabilityAssessmentScanError[];
+  readonly lastUploadedFileName?: string;
   /**
-   * The scan results storage container path.
+   * Last uploaded file time.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly storageContainerPath?: string;
+  readonly lastUploadedFileTime?: Date;
   /**
-   * The number of failed security checks.
+   * The reason why restore is in Blocked state.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly numberOfFailedSecurityChecks?: number;
+  readonly blockReason?: string;
 }
 
 /**
- * A database Vulnerability Assessment scan export resource.
+ * A managed database resource.
  */
-export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource {
+export interface ManagedDatabase extends TrackedResource {
   /**
-   * Location of the exported report (e.g.
-   * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx).
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Collation of the managed database.
    */
-  readonly exportedReportLocation?: string;
-}
-
-/**
- * Read-write endpoint of the failover group instance.
- */
-export interface InstanceFailoverGroupReadWriteEndpoint {
+  collation?: string;
   /**
-   * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is
-   * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include:
-   * 'Manual', 'Automatic'
+   * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating',
+   * 'Inaccessible', 'Restoring', 'Updating'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  failoverPolicy: ReadWriteEndpointFailoverPolicy;
+  readonly status?: ManagedDatabaseStatus;
   /**
-   * Grace period before failover with data loss is attempted for the read-write endpoint. If
-   * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
+   * Creation date of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  failoverWithDataLossGracePeriodMinutes?: number;
-}
-
-/**
- * Read-only endpoint of the failover group instance.
- */
-export interface InstanceFailoverGroupReadOnlyEndpoint {
+  readonly creationDate?: Date;
   /**
-   * Failover policy of the read-only endpoint for the failover group. Possible values include:
-   * 'Disabled', 'Enabled'
+   * Earliest restore point in time for point in time restore.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  failoverPolicy?: ReadOnlyEndpointFailoverPolicy;
-}
-
-/**
- * Partner region information for the failover group.
- */
-export interface PartnerRegionInfo {
+  readonly earliestRestorePoint?: Date;
   /**
-   * Geo location of the partner managed instances.
+   * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point
+   * in time (ISO8601 format) of the source database that will be restored to create the new
+   * database.
    */
-  location?: string;
+  restorePointInTime?: Date;
   /**
-   * Replication role of the partner managed instances. Possible values include: 'Primary',
-   * 'Secondary'
+   * Geo paired region.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly replicationRole?: InstanceFailoverGroupReplicationRole;
-}
-
-/**
- * Pairs of Managed Instances in the failover group.
- */
-export interface ManagedInstancePairInfo {
+  readonly defaultSecondaryLocation?: string;
   /**
-   * Id of Primary Managed Instance in pair.
+   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
+   * 'SQL_Latin1_General_CP1_CI_AS'
    */
-  primaryManagedInstanceId?: string;
+  catalogCollation?: CatalogCollationType;
   /**
-   * Id of Partner Managed Instance in pair.
+   * 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). Possible values include: 'Default',
+   * 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', 'RestoreLongTermRetentionBackup'
    */
-  partnerManagedInstanceId?: string;
-}
-
-/**
- * An instance failover group.
- */
-export interface InstanceFailoverGroup extends ProxyResource {
+  createMode?: ManagedDatabaseCreateMode;
   /**
-   * Read-write endpoint of the failover group instance.
+   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri
+   * of the storage container where backups for this restore are stored.
    */
-  readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint;
+  storageContainerUri?: string;
   /**
-   * Read-only endpoint of the failover group instance.
+   * The resource identifier of the source database associated with create operation of this
+   * database.
    */
-  readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint;
+  sourceDatabaseId?: string;
   /**
-   * Local replication role of the failover group instance. Possible values include: 'Primary',
-   * 'Secondary'
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The restorable dropped database resource id to restore when creating this database.
    */
-  readonly replicationRole?: InstanceFailoverGroupReplicationRole;
+  restorableDroppedDatabaseId?: string;
   /**
-   * Replication state of the failover group instance.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the
+   * storage container sas token.
    */
-  readonly replicationState?: string;
+  storageContainerSasToken?: string;
   /**
-   * Partner region information for the failover group.
+   * Instance Failover Group resource identifier that this managed database belongs to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  partnerRegions: PartnerRegionInfo[];
+  readonly failoverGroupId?: string;
   /**
-   * List of managed instance pairs in the failover group.
+   * The resource identifier of the recoverable database associated with create operation of this
+   * database.
    */
-  managedInstancePairs: ManagedInstancePairInfo[];
-}
-
-/**
- * A short term retention policy.
- */
-export interface BackupShortTermRetentionPolicy extends ProxyResource {
+  recoverableDatabaseId?: string;
   /**
-   * The backup retention period in days. This is how many days Point-in-Time Restore will be
-   * supported.
+   * The name of the Long Term Retention backup to be used for restore of this managed database.
    */
-  retentionDays?: number;
-}
-
-/**
- * A TDE certificate that can be uploaded into a server.
- */
-export interface TdeCertificate extends ProxyResource {
+  longTermRetentionBackupResourceId?: string;
   /**
-   * The base64 encoded certificate private blob.
+   * Whether to auto complete restore of this managed database.
    */
-  privateBlob: string;
+  autoCompleteRestore?: boolean;
   /**
-   * The certificate password.
+   * Last backup file name for restore of this managed database.
    */
-  certPassword?: string;
+  lastBackupName?: string;
 }
 
 /**
- * A managed instance key.
+ * An managed database update.
  */
-export interface ManagedInstanceKey extends ProxyResource {
-  /**
-   * Kind of encryption protector. This is metadata used for the Azure portal experience.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly kind?: string;
-  /**
-   * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
-   * 'ServiceManaged', 'AzureKeyVault'
-   */
-  serverKeyType: ServerKeyType;
+export interface ManagedDatabaseUpdate {
   /**
-   * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
+   * Collation of the managed database.
    */
-  uri?: string;
+  collation?: string;
   /**
-   * Thumbprint of the key.
+   * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating',
+   * 'Inaccessible', 'Restoring', 'Updating'
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly thumbprint?: string;
+  readonly status?: ManagedDatabaseStatus;
   /**
-   * The key creation date.
+   * Creation date of the database.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
   readonly creationDate?: Date;
-}
-
-/**
- * The managed instance encryption protector.
- */
-export interface ManagedInstanceEncryptionProtector extends ProxyResource {
   /**
-   * Kind of encryption protector. This is metadata used for the Azure portal experience.
+   * Earliest restore point in time for point in time restore.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly kind?: string;
+  readonly earliestRestorePoint?: Date;
   /**
-   * The name of the managed instance key.
+   * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point
+   * in time (ISO8601 format) of the source database that will be restored to create the new
+   * database.
    */
-  serverKeyName?: string;
+  restorePointInTime?: Date;
   /**
-   * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
-   * 'ServiceManaged', 'AzureKeyVault'
+   * Geo paired region.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  serverKeyType: ServerKeyType;
+  readonly defaultSecondaryLocation?: string;
   /**
-   * The URI of the server key.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
+   * 'SQL_Latin1_General_CP1_CI_AS'
    */
-  readonly uri?: string;
+  catalogCollation?: CatalogCollationType;
   /**
-   * Thumbprint of the server key.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * 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). Possible values include: 'Default',
+   * 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', 'RestoreLongTermRetentionBackup'
    */
-  readonly thumbprint?: string;
-}
-
-/**
- * A recoverable managed database resource.
- */
-export interface RecoverableManagedDatabase extends ProxyResource {
+  createMode?: ManagedDatabaseCreateMode;
   /**
-   * The last available backup date.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri
+   * of the storage container where backups for this restore are stored.
    */
-  readonly lastAvailableBackupDate?: string;
-}
-
-/**
- * A managed instance vulnerability assessment.
- */
-export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource {
+  storageContainerUri?: string;
   /**
-   * A blob storage container path to hold the scan results (e.g.
-   * https://myStorage.blob.core.windows.net/VaScans/).
+   * The resource identifier of the source database associated with create operation of this
+   * database.
    */
-  storageContainerPath: string;
+  sourceDatabaseId?: string;
   /**
-   * A shared access signature (SAS Key) that has read and write access to the blob container
-   * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
-   * StorageContainerSasKey is required.
+   * The restorable dropped database resource id to restore when creating this database.
    */
-  storageContainerSasKey?: string;
+  restorableDroppedDatabaseId?: string;
   /**
-   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
-   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
+   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the
+   * storage container sas token.
    */
-  storageAccountAccessKey?: string;
+  storageContainerSasToken?: string;
   /**
-   * The recurring scans settings
+   * Instance Failover Group resource identifier that this managed database belongs to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
-}
-
-/**
- * A server vulnerability assessment.
- */
-export interface ServerVulnerabilityAssessment extends ProxyResource {
+  readonly failoverGroupId?: string;
   /**
-   * A blob storage container path to hold the scan results (e.g.
-   * https://myStorage.blob.core.windows.net/VaScans/).
+   * The resource identifier of the recoverable database associated with create operation of this
+   * database.
    */
-  storageContainerPath: string;
+  recoverableDatabaseId?: string;
   /**
-   * A shared access signature (SAS Key) that has read and write access to the blob container
-   * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
-   * StorageContainerSasKey is required.
+   * The name of the Long Term Retention backup to be used for restore of this managed database.
    */
-  storageContainerSasKey?: string;
+  longTermRetentionBackupResourceId?: string;
   /**
-   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
-   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
+   * Whether to auto complete restore of this managed database.
    */
-  storageAccountAccessKey?: string;
+  autoCompleteRestore?: boolean;
   /**
-   * The recurring scans settings
+   * Last backup file name for restore of this managed database.
    */
-  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
+  lastBackupName?: string;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
 }
 
 /**
- * An Azure SQL instance pool.
+ * Contains the information necessary to perform a complete database restore operation.
  */
-export interface InstancePool extends TrackedResource {
+export interface CompleteDatabaseRestoreDefinition {
   /**
-   * The name and tier of the SKU.
+   * The last backup name to apply
    */
-  sku?: Sku;
+  lastBackupName: string;
+}
+
+/**
+ * A managed database security alert policy.
+ */
+export interface ManagedDatabaseSecurityAlertPolicy extends ProxyResource {
   /**
-   * Resource ID of the subnet to place this instance pool in.
+   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
+   * applied yet on the specific database. Possible values include: 'New', 'Enabled', 'Disabled'
    */
-  subnetId: string;
+  state: SecurityAlertPolicyState;
   /**
-   * Count of vCores belonging to this instance pool.
+   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
+   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
    */
-  vCores: number;
+  disabledAlerts?: string[];
   /**
-   * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included)
-   * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded',
-   * 'BasePrice'
+   * Specifies an array of e-mail addresses to which the alert is sent.
    */
-  licenseType: InstancePoolLicenseType;
-}
-
-/**
- * An update to an Instance pool.
- */
-export interface InstancePoolUpdate {
+  emailAddresses?: string[];
   /**
-   * Resource tags.
+   * Specifies that the alert is sent to the account administrators.
    */
-  tags?: { [propertyName: string]: string };
+  emailAccountAdmins?: boolean;
+  /**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
+   * storage will hold all Threat Detection audit logs.
+   */
+  storageEndpoint?: string;
+  /**
+   * Specifies the identifier key of the Threat Detection audit storage account.
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * Specifies the number of days to keep in the Threat Detection audit logs.
+   */
+  retentionDays?: number;
+  /**
+   * Specifies the UTC creation time of the policy.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationTime?: Date;
 }
 
 /**
- * ARM Usage Name
+ * The properties that are supported in the $filter operation.
  */
-export interface Name {
+export interface SecurityEventsFilterParameters {
   /**
-   * Usage name value
+   * Filter on the event time.
    */
-  value?: string;
+  eventTime?: Date;
   /**
-   * Usage name localized value.
+   * Whether to show server records or not.
    */
-  localizedValue?: string;
+  showServerRecords?: boolean;
 }
 
 /**
- * ARM usage.
+ * The properties of a security event sql injection additional properties.
  */
-export interface Usage {
+export interface SecurityEventSqlInjectionAdditionalProperties {
   /**
-   * Resource ID.
+   * The threat ID.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly id?: string;
+  readonly threatId?: string;
   /**
-   * Resource name.
+   * The statement
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly name?: Name;
+  readonly statement?: string;
   /**
-   * Resource type.
+   * The statement highlight offset
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly type?: string;
+  readonly statementHighlightOffset?: number;
   /**
-   * Usage unit.
+   * The statement highlight length
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly unit?: string;
+  readonly statementHighlightLength?: number;
   /**
-   * Usage current value.
+   * The sql error code
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly currentValue?: number;
+  readonly errorCode?: number;
   /**
-   * Usage limit.
+   * The sql error severity
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly limit?: number;
+  readonly errorSeverity?: number;
   /**
-   * Usage requested limit.
+   * The sql error message
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly requestedLimit?: number;
+  readonly errorMessage?: string;
 }
 
 /**
- * An Azure SQL managed instance.
+ * A security event.
  */
-export interface ManagedInstance extends TrackedResource {
-  /**
-   * The Azure Active Directory identity of the managed instance.
-   */
-  identity?: ResourceIdentity;
+export interface SecurityEvent extends ProxyResource {
   /**
-   * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5
+   * The time when the security event occurred.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sku?: Sku;
+  readonly eventTime?: Date;
   /**
-   * Specifies the mode of database creation.
-   *
-   * Default: Regular instance creation.
-   *
-   * Restore: Creates an instance by restoring a set of backups to specific point in time.
-   * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include:
-   * 'Default', 'PointInTimeRestore'
+   * The type of the security event. Possible values include: 'Undefined',
+   * 'SqlInjectionVulnerability', 'SqlInjectionExploit'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  managedInstanceCreateMode?: ManagedServerCreateMode;
+  readonly securityEventType?: SecurityEventType;
   /**
-   * The fully qualified domain name of the managed instance.
+   * The subscription name
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly fullyQualifiedDomainName?: string;
+  readonly subscription?: string;
   /**
-   * Administrator username for the managed instance. Can only be specified when the managed
-   * instance is being created (and is required for creation).
+   * The server name
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  administratorLogin?: string;
+  readonly server?: string;
   /**
-   * The administrator login password (required for managed instance creation).
+   * The database name
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  administratorLoginPassword?: string;
+  readonly database?: string;
   /**
-   * Subnet resource ID for the managed instance.
+   * The IP address of the client who executed the statement.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  subnetId?: string;
+  readonly clientIp?: string;
   /**
-   * The state of the managed instance.
+   * The application used to execute the statement.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly state?: string;
+  readonly applicationName?: string;
   /**
-   * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL
-   * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible
-   * values include: 'LicenseIncluded', 'BasePrice'
+   * The principal user who executed the statement
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  licenseType?: ManagedInstanceLicenseType;
+  readonly principalName?: string;
   /**
-   * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.
+   * The sql injection additional properties, populated only if the type of the security event is
+   * sql injection.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  vCores?: number;
+  readonly securityEventSqlInjectionAdditionalProperties?: SecurityEventSqlInjectionAdditionalProperties;
+}
+
+/**
+ * A sensitivity label.
+ */
+export interface SensitivityLabel extends ProxyResource {
   /**
-   * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only.
+   * Resource that manages the sensitivity label.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageSizeInGB?: number;
+  readonly managedBy?: string;
   /**
-   * Collation of the managed instance.
+   * The schema name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  collation?: string;
+  readonly schemaName?: string;
   /**
-   * The Dns Zone that the managed instance is in.
+   * The table name.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly dnsZone?: string;
+  readonly tableName?: string;
   /**
-   * The resource id of another managed instance whose DNS zone this managed instance will share
-   * after creation.
+   * The column name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  dnsZonePartner?: string;
+  readonly columnName?: string;
   /**
-   * Whether or not the public data endpoint is enabled.
+   * The label name.
    */
-  publicDataEndpointEnabled?: boolean;
+  labelName?: string;
   /**
-   * The resource identifier of the source managed instance associated with create operation of
-   * this instance.
+   * The label ID.
    */
-  sourceManagedInstanceId?: string;
+  labelId?: string;
   /**
-   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
-   * create the new database.
+   * The information type.
    */
-  restorePointInTime?: Date;
+  informationType?: string;
   /**
-   * Connection type used for connecting to the instance. Possible values include: 'Proxy',
-   * 'Redirect', 'Default'
+   * The information type ID.
    */
-  proxyOverride?: ManagedInstanceProxyOverride;
+  informationTypeId?: string;
   /**
-   * Id of the timezone. Allowed values are timezones supported by Windows.
-   * Windows keeps details on supported timezones, including the id, in registry under
-   * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
-   * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM
-   * sys.time_zone_info.
-   * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in
-   * PowerShell.
-   * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time".
+   * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only.
+   * Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or
+   * not.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  timezoneId?: string;
+  readonly isDisabled?: boolean;
   /**
-   * The Id of the instance pool this managed server belongs to.
+   * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical'
    */
-  instancePoolId?: string;
+  rank?: SensitivityLabelRank;
 }
 
 /**
- * An update request for an Azure SQL Database managed instance.
+ * A sensitivity label update operation.
  */
-export interface ManagedInstanceUpdate {
-  /**
-   * Managed instance sku
-   */
-  sku?: Sku;
-  /**
-   * Specifies the mode of database creation.
-   *
-   * Default: Regular instance creation.
-   *
-   * Restore: Creates an instance by restoring a set of backups to specific point in time.
-   * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include:
-   * 'Default', 'PointInTimeRestore'
-   */
-  managedInstanceCreateMode?: ManagedServerCreateMode;
+export interface SensitivityLabelUpdate extends ProxyResource {
   /**
-   * The fully qualified domain name of the managed instance.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Possible values include: 'set', 'remove'
    */
-  readonly fullyQualifiedDomainName?: string;
+  op: SensitivityLabelUpdateKind;
   /**
-   * Administrator username for the managed instance. Can only be specified when the managed
-   * instance is being created (and is required for creation).
+   * Schema name of the column to update.
    */
-  administratorLogin?: string;
+  schema: string;
   /**
-   * The administrator login password (required for managed instance creation).
+   * Table name of the column to update.
    */
-  administratorLoginPassword?: string;
+  table: string;
   /**
-   * Subnet resource ID for the managed instance.
+   * Column name to update.
    */
-  subnetId?: string;
+  column: string;
   /**
-   * The state of the managed instance.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The sensitivity label information to apply on a column.
    */
-  readonly state?: string;
+  sensitivityLabel?: SensitivityLabel;
+}
+
+/**
+ * A list of sensitivity label update operations.
+ */
+export interface SensitivityLabelUpdateList {
+  operations?: SensitivityLabelUpdate[];
+}
+
+/**
+ * A recommended sensitivity label update operation.
+ */
+export interface RecommendedSensitivityLabelUpdate extends ProxyResource {
   /**
-   * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL
-   * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible
-   * values include: 'LicenseIncluded', 'BasePrice'
+   * Possible values include: 'enable', 'disable'
    */
-  licenseType?: ManagedInstanceLicenseType;
+  op: RecommendedSensitivityLabelUpdateKind;
   /**
-   * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.
+   * Schema name of the column to update.
    */
-  vCores?: number;
+  schema: string;
   /**
-   * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only.
+   * Table name of the column to update.
    */
-  storageSizeInGB?: number;
+  table: string;
   /**
-   * Collation of the managed instance.
+   * Column name to update.
    */
-  collation?: string;
+  column: string;
+}
+
+/**
+ * A list of recommended sensitivity label update operations.
+ */
+export interface RecommendedSensitivityLabelUpdateList {
+  operations?: RecommendedSensitivityLabelUpdate[];
+}
+
+/**
+ * A managed database transparent data encryption state.
+ */
+export interface ManagedTransparentDataEncryption extends ProxyResource {
   /**
-   * The Dns Zone that the managed instance is in.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Specifies the state of the transparent data encryption. Possible values include: 'Enabled',
+   * 'Disabled'
    */
-  readonly dnsZone?: string;
+  state: TransparentDataEncryptionState;
+}
+
+/**
+ * An Azure SQL managed instance administrator.
+ */
+export interface ManagedInstanceAdministrator extends ProxyResource {
   /**
-   * The resource id of another managed instance whose DNS zone this managed instance will share
-   * after creation.
+   * Login name of the managed instance administrator.
    */
-  dnsZonePartner?: string;
+  login: string;
   /**
-   * Whether or not the public data endpoint is enabled.
+   * SID (object ID) of the managed instance administrator.
    */
-  publicDataEndpointEnabled?: boolean;
+  sid: string;
   /**
-   * The resource identifier of the source managed instance associated with create operation of
-   * this instance.
+   * Tenant ID of the managed instance administrator.
    */
-  sourceManagedInstanceId?: string;
+  tenantId?: string;
+}
+
+/**
+ * Azure Active Directory only authentication.
+ */
+export interface ManagedInstanceAzureADOnlyAuthentication extends ProxyResource {
   /**
-   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
-   * create the new database.
+   * Azure Active Directory only Authentication enabled.
    */
-  restorePointInTime?: Date;
+  azureADOnlyAuthentication: boolean;
+}
+
+/**
+ * The managed instance encryption protector.
+ */
+export interface ManagedInstanceEncryptionProtector extends ProxyResource {
   /**
-   * Connection type used for connecting to the instance. Possible values include: 'Proxy',
-   * 'Redirect', 'Default'
+   * Kind of encryption protector. This is metadata used for the Azure portal experience.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  proxyOverride?: ManagedInstanceProxyOverride;
+  readonly kind?: string;
   /**
-   * Id of the timezone. Allowed values are timezones supported by Windows.
-   * Windows keeps details on supported timezones, including the id, in registry under
-   * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
-   * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM
-   * sys.time_zone_info.
-   * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in
-   * PowerShell.
-   * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time".
+   * The name of the managed instance key.
    */
-  timezoneId?: string;
+  serverKeyName?: string;
   /**
-   * The Id of the instance pool this managed server belongs to.
+   * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
+   * 'ServiceManaged', 'AzureKeyVault'
    */
-  instancePoolId?: string;
+  serverKeyType: ServerKeyType;
   /**
-   * Resource tags.
+   * The URI of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  tags?: { [propertyName: string]: string };
+  readonly uri?: string;
+  /**
+   * Thumbprint of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly thumbprint?: string;
+  /**
+   * Key auto rotation opt-in flag. Either true or false.
+   */
+  autoRotationEnabled?: boolean;
 }
 
 /**
- * A managed database restore details.
+ * A managed instance key.
  */
-export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource {
+export interface ManagedInstanceKey extends ProxyResource {
   /**
-   * Restore status.
+   * Kind of encryption protector. This is metadata used for the Azure portal experience.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly status?: string;
+  readonly kind?: string;
   /**
-   * Current restoring file name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
+   * 'ServiceManaged', 'AzureKeyVault'
    */
-  readonly currentRestoringFileName?: string;
+  serverKeyType: ServerKeyType;
   /**
-   * Last restored file name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
    */
-  readonly lastRestoredFileName?: string;
+  uri?: string;
   /**
-   * Last restored file time.
+   * Thumbprint of the key.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly lastRestoredFileTime?: Date;
+  readonly thumbprint?: string;
   /**
-   * Percent completed.
+   * The key creation date.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly percentCompleted?: number;
+  readonly creationDate?: Date;
   /**
-   * List of unrestorable files.
+   * Key auto rotation opt-in flag. Either true or false.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly unrestorableFiles?: string[];
+  readonly autoRotationEnabled?: boolean;
+}
+
+/**
+ * A long term retention policy.
+ */
+export interface ManagedInstanceLongTermRetentionPolicy extends ProxyResource {
   /**
-   * Number of files detected.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The weekly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly numberOfFilesDetected?: number;
+  weeklyRetention?: string;
   /**
-   * Last uploaded file name.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The monthly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly lastUploadedFileName?: string;
+  monthlyRetention?: string;
   /**
-   * Last uploaded file time.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The yearly retention policy for an LTR backup in an ISO 8601 format.
    */
-  readonly lastUploadedFileTime?: Date;
+  yearlyRetention?: string;
   /**
-   * The reason why restore is in Blocked state.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The week of year to take the yearly backup in an ISO 8601 format.
    */
-  readonly blockReason?: string;
+  weekOfYear?: number;
 }
 
 /**
- * A managed database resource.
+ * An interface representing UpsertManagedServerOperationParameters.
  */
-export interface ManagedDatabase extends TrackedResource {
+export interface UpsertManagedServerOperationParameters {
+  family?: string;
+  tier?: string;
+  vCores?: number;
+  storageSizeInGB?: number;
+}
+
+/**
+ * The parameters of a managed instance operation.
+ */
+export interface ManagedInstanceOperationParametersPair {
   /**
-   * Collation of the managed database.
+   * The current parameters.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  collation?: string;
+  readonly currentParameters?: UpsertManagedServerOperationParameters;
   /**
-   * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating',
-   * 'Inaccessible', 'Restoring', 'Updating'
+   * The requested parameters.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly status?: ManagedDatabaseStatus;
+  readonly requestedParameters?: UpsertManagedServerOperationParameters;
+}
+
+/**
+ * An interface representing UpsertManagedServerOperationStep.
+ */
+export interface UpsertManagedServerOperationStep {
+  order?: number;
+  name?: string;
   /**
-   * Creation date of the database.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * Possible values include: 'NotStarted', 'InProgress', 'SlowedDown', 'Completed', 'Failed',
+   * 'Canceled'
    */
-  readonly creationDate?: Date;
+  status?: Status;
+}
+
+/**
+ * The steps of a managed instance operation.
+ */
+export interface ManagedInstanceOperationSteps {
   /**
-   * Earliest restore point in time for point in time restore.
+   * The total number of operation steps.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly earliestRestorePoint?: Date;
+  readonly totalSteps?: string;
   /**
-   * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point
-   * in time (ISO8601 format) of the source database that will be restored to create the new
-   * database.
+   * The number of current operation steps.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  restorePointInTime?: Date;
+  readonly currentStep?: number;
   /**
-   * Geo paired region.
+   * The operation steps list.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly defaultSecondaryLocation?: string;
+  readonly stepsList?: UpsertManagedServerOperationStep[];
+}
+
+/**
+ * A managed instance operation.
+ */
+export interface ManagedInstanceOperation extends ProxyResource {
   /**
-   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
-   * 'SQL_Latin1_General_CP1_CI_AS'
+   * The name of the managed instance the operation is being performed on.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  catalogCollation?: CatalogCollationType;
+  readonly managedInstanceName?: string;
   /**
-   * 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.
-   * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery'
+   * The name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  createMode?: ManagedDatabaseCreateMode;
+  readonly operation?: string;
   /**
-   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri
-   * of the storage container where backups for this restore are stored.
+   * The friendly name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageContainerUri?: string;
+  readonly operationFriendlyName?: string;
   /**
-   * The resource identifier of the source database associated with create operation of this
-   * database.
+   * The percentage of the operation completed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  sourceDatabaseId?: string;
+  readonly percentComplete?: number;
   /**
-   * The restorable dropped database resource id to restore when creating this database.
+   * The operation start time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  restorableDroppedDatabaseId?: string;
+  readonly startTime?: Date;
   /**
-   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the
-   * storage container sas token.
+   * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed',
+   * 'CancelInProgress', 'Cancelled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  storageContainerSasToken?: string;
+  readonly state?: ManagementOperationState;
   /**
-   * Instance Failover Group resource identifier that this managed database belongs to.
+   * The operation error code.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly failoverGroupId?: string;
+  readonly errorCode?: number;
   /**
-   * The resource identifier of the recoverable database associated with create operation of this
-   * database.
+   * The operation error description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  recoverableDatabaseId?: string;
-}
-
-/**
- * An managed database update.
- */
-export interface ManagedDatabaseUpdate {
+  readonly errorDescription?: string;
   /**
-   * Collation of the managed database.
+   * The operation error severity.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  collation?: string;
+  readonly errorSeverity?: number;
   /**
-   * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating',
-   * 'Inaccessible', 'Restoring', 'Updating'
+   * Whether or not the error is a user error.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly status?: ManagedDatabaseStatus;
+  readonly isUserError?: boolean;
   /**
-   * Creation date of the database.
+   * The estimated completion time of the operation.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly creationDate?: Date;
+  readonly estimatedCompletionTime?: Date;
   /**
-   * Earliest restore point in time for point in time restore.
+   * The operation description.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly earliestRestorePoint?: Date;
+  readonly description?: string;
   /**
-   * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point
-   * in time (ISO8601 format) of the source database that will be restored to create the new
-   * database.
+   * Whether the operation can be cancelled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  restorePointInTime?: Date;
+  readonly isCancellable?: boolean;
   /**
-   * Geo paired region.
+   * The operation parameters.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly defaultSecondaryLocation?: string;
+  readonly operationParameters?: ManagedInstanceOperationParametersPair;
   /**
-   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
-   * 'SQL_Latin1_General_CP1_CI_AS'
+   * The operation steps.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  catalogCollation?: CatalogCollationType;
+  readonly operationSteps?: ManagedInstanceOperationSteps;
+}
+
+/**
+ * An interface representing ManagedInstancePrivateEndpointProperty.
+ */
+export interface ManagedInstancePrivateEndpointProperty {
   /**
-   * 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.
-   * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery'
+   * Resource id of the private endpoint.
    */
-  createMode?: ManagedDatabaseCreateMode;
+  id?: string;
+}
+
+/**
+ * An interface representing ManagedInstancePrivateLinkServiceConnectionStateProperty.
+ */
+export interface ManagedInstancePrivateLinkServiceConnectionStateProperty {
   /**
-   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri
-   * of the storage container where backups for this restore are stored.
+   * The private link service connection status.
    */
-  storageContainerUri?: string;
+  status: string;
   /**
-   * The resource identifier of the source database associated with create operation of this
-   * database.
+   * The private link service connection description.
    */
-  sourceDatabaseId?: string;
+  description: string;
   /**
-   * The restorable dropped database resource id to restore when creating this database.
+   * The private link service connection description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  restorableDroppedDatabaseId?: string;
+  readonly actionsRequired?: string;
+}
+
+/**
+ * Properties of a private endpoint connection.
+ */
+export interface ManagedInstancePrivateEndpointConnectionProperties {
   /**
-   * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the
-   * storage container sas token.
+   * Private endpoint which the connection belongs to.
    */
-  storageContainerSasToken?: string;
+  privateEndpoint?: ManagedInstancePrivateEndpointProperty;
   /**
-   * Instance Failover Group resource identifier that this managed database belongs to.
+   * Connection State of the Private Endpoint Connection.
+   */
+  privateLinkServiceConnectionState?: ManagedInstancePrivateLinkServiceConnectionStateProperty;
+  /**
+   * State of the Private Endpoint Connection.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: string;
+}
+
+/**
+ * A private endpoint connection
+ */
+export interface ManagedInstancePrivateEndpointConnection extends ProxyResource {
+  /**
+   * Private endpoint which the connection belongs to.
+   */
+  privateEndpoint?: ManagedInstancePrivateEndpointProperty;
+  /**
+   * Connection State of the Private Endpoint Connection.
+   */
+  privateLinkServiceConnectionState?: ManagedInstancePrivateLinkServiceConnectionStateProperty;
+  /**
+   * State of the Private Endpoint Connection.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: string;
+}
+
+/**
+ * Properties of a private link resource.
+ */
+export interface ManagedInstancePrivateLinkProperties {
+  /**
+   * The private link resource group id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly groupId?: string;
+  /**
+   * The private link resource required member names.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requiredMembers?: string[];
+}
+
+/**
+ * A private link resource
+ */
+export interface ManagedInstancePrivateLink extends ProxyResource {
+  /**
+   * The private link resource group id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly properties?: ManagedInstancePrivateLinkProperties;
+}
+
+/**
+ * Azure Active Directory identity configuration for a resource.
+ */
+export interface UserIdentity {
+  /**
+   * The Azure Active Directory principal id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly principalId?: string;
+  /**
+   * The Azure Active Directory client id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly clientId?: string;
+}
+
+/**
+ * Azure Active Directory identity configuration for a resource.
+ */
+export interface ResourceIdentityWithUserAssignedIdentities {
+  /**
+   * The resource ids of the user assigned identities to use
+   */
+  userAssignedIdentities?: { [propertyName: string]: UserIdentity };
+  /**
+   * The Azure Active Directory principal id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly principalId?: string;
+  /**
+   * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an
+   * Azure Active Directory principal for the resource. Possible values include: 'None',
+   * 'SystemAssigned', 'UserAssigned'
+   */
+  type?: IdentityType;
+  /**
+   * The Azure Active Directory tenant id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly tenantId?: string;
+}
+
+/**
+ * A private endpoint connection under a managed instance
+ */
+export interface ManagedInstancePecProperty {
+  /**
+   * Resource ID.
    * **NOTE: This property will not be serialized. It can only be populated by the server.**
    */
-  readonly failoverGroupId?: string;
+  readonly id?: string;
+  /**
+   * Private endpoint connection properties
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly properties?: ManagedInstancePrivateEndpointConnectionProperties;
+}
+
+/**
+ * Properties of a active directory administrator.
+ */
+export interface ManagedInstanceExternalAdministrator {
+  /**
+   * Type of the sever administrator. Possible values include: 'ActiveDirectory'
+   */
+  administratorType?: AdministratorType;
+  /**
+   * Principal Type of the sever administrator. Possible values include: 'User', 'Group',
+   * 'Application'
+   */
+  principalType?: PrincipalType;
+  /**
+   * Login name of the server administrator.
+   */
+  login?: string;
+  /**
+   * SID (object ID) of the server administrator.
+   */
+  sid?: string;
+  /**
+   * Tenant ID of the administrator.
+   */
+  tenantId?: string;
+  /**
+   * Azure Active Directory only Authentication enabled.
+   */
+  azureADOnlyAuthentication?: boolean;
+}
+
+/**
+ * An Azure SQL managed instance.
+ */
+export interface ManagedInstance extends TrackedResource {
+  /**
+   * The Azure Active Directory identity of the managed instance.
+   */
+  identity?: ResourceIdentityWithUserAssignedIdentities;
+  /**
+   * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5
+   */
+  sku?: Sku;
+  /**
+   * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: ProvisioningState1;
+  /**
+   * Specifies the mode of database creation.
+   *
+   * Default: Regular instance creation.
+   *
+   * Restore: Creates an instance by restoring a set of backups to specific point in time.
+   * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include:
+   * 'Default', 'PointInTimeRestore'
+   */
+  managedInstanceCreateMode?: ManagedServerCreateMode;
+  /**
+   * The fully qualified domain name of the managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly fullyQualifiedDomainName?: string;
+  /**
+   * Administrator username for the managed instance. Can only be specified when the managed
+   * instance is being created (and is required for creation).
+   */
+  administratorLogin?: string;
+  /**
+   * The administrator login password (required for managed instance creation).
+   */
+  administratorLoginPassword?: string;
+  /**
+   * Subnet resource ID for the managed instance.
+   */
+  subnetId?: string;
+  /**
+   * The state of the managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: string;
+  /**
+   * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL
+   * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible
+   * values include: 'LicenseIncluded', 'BasePrice'
+   */
+  licenseType?: ManagedInstanceLicenseType;
+  /**
+   * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.
+   */
+  vCores?: number;
+  /**
+   * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only.
+   */
+  storageSizeInGB?: number;
+  /**
+   * Collation of the managed instance.
+   */
+  collation?: string;
+  /**
+   * The Dns Zone that the managed instance is in.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly dnsZone?: string;
+  /**
+   * The resource id of another managed instance whose DNS zone this managed instance will share
+   * after creation.
+   */
+  dnsZonePartner?: string;
+  /**
+   * Whether or not the public data endpoint is enabled.
+   */
+  publicDataEndpointEnabled?: boolean;
+  /**
+   * The resource identifier of the source managed instance associated with create operation of
+   * this instance.
+   */
+  sourceManagedInstanceId?: string;
+  /**
+   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
+   * create the new database.
+   */
+  restorePointInTime?: Date;
+  /**
+   * Connection type used for connecting to the instance. Possible values include: 'Proxy',
+   * 'Redirect', 'Default'
+   */
+  proxyOverride?: ManagedInstanceProxyOverride;
+  /**
+   * Id of the timezone. Allowed values are timezones supported by Windows.
+   * Windows keeps details on supported timezones, including the id, in registry under
+   * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
+   * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM
+   * sys.time_zone_info.
+   * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in
+   * PowerShell.
+   * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time".
+   */
+  timezoneId?: string;
+  /**
+   * The Id of the instance pool this managed server belongs to.
+   */
+  instancePoolId?: string;
+  /**
+   * Specifies maintenance configuration id to apply to this managed instance.
+   */
+  maintenanceConfigurationId?: string;
+  /**
+   * List of private endpoint connections on a managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnections?: ManagedInstancePecProperty[];
+  /**
+   * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'
+   */
+  minimalTlsVersion?: string;
+  /**
+   * The storage account type used to store backups for this instance. The options are LRS
+   * (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage). Possible
+   * values include: 'GRS', 'LRS', 'ZRS'
+   */
+  storageAccountType?: StorageAccountType;
+  /**
+   * Whether or not the multi-az is enabled.
+   */
+  zoneRedundant?: boolean;
+  /**
+   * The resource id of a user assigned identity to be used by default.
+   */
+  primaryUserAssignedIdentityId?: string;
+  /**
+   * A CMK URI of the key to use for encryption.
+   */
+  keyId?: string;
+  /**
+   * The Azure Active Directory administrator of the server.
+   */
+  administrators?: ManagedInstanceExternalAdministrator;
+}
+
+/**
+ * An update request for an Azure SQL Database managed instance.
+ */
+export interface ManagedInstanceUpdate {
+  /**
+   * Managed instance sku
+   */
+  sku?: Sku;
+  /**
+   * Managed instance identity
+   */
+  identity?: ResourceIdentityWithUserAssignedIdentities;
+  /**
+   * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: ProvisioningState1;
+  /**
+   * Specifies the mode of database creation.
+   *
+   * Default: Regular instance creation.
+   *
+   * Restore: Creates an instance by restoring a set of backups to specific point in time.
+   * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include:
+   * 'Default', 'PointInTimeRestore'
+   */
+  managedInstanceCreateMode?: ManagedServerCreateMode;
+  /**
+   * The fully qualified domain name of the managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly fullyQualifiedDomainName?: string;
+  /**
+   * Administrator username for the managed instance. Can only be specified when the managed
+   * instance is being created (and is required for creation).
+   */
+  administratorLogin?: string;
+  /**
+   * The administrator login password (required for managed instance creation).
+   */
+  administratorLoginPassword?: string;
+  /**
+   * Subnet resource ID for the managed instance.
+   */
+  subnetId?: string;
+  /**
+   * The state of the managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: string;
+  /**
+   * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL
+   * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible
+   * values include: 'LicenseIncluded', 'BasePrice'
+   */
+  licenseType?: ManagedInstanceLicenseType;
+  /**
+   * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.
+   */
+  vCores?: number;
+  /**
+   * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only.
+   */
+  storageSizeInGB?: number;
+  /**
+   * Collation of the managed instance.
+   */
+  collation?: string;
+  /**
+   * The Dns Zone that the managed instance is in.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly dnsZone?: string;
+  /**
+   * The resource id of another managed instance whose DNS zone this managed instance will share
+   * after creation.
+   */
+  dnsZonePartner?: string;
+  /**
+   * Whether or not the public data endpoint is enabled.
+   */
+  publicDataEndpointEnabled?: boolean;
+  /**
+   * The resource identifier of the source managed instance associated with create operation of
+   * this instance.
+   */
+  sourceManagedInstanceId?: string;
+  /**
+   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
+   * create the new database.
+   */
+  restorePointInTime?: Date;
+  /**
+   * Connection type used for connecting to the instance. Possible values include: 'Proxy',
+   * 'Redirect', 'Default'
+   */
+  proxyOverride?: ManagedInstanceProxyOverride;
+  /**
+   * Id of the timezone. Allowed values are timezones supported by Windows.
+   * Windows keeps details on supported timezones, including the id, in registry under
+   * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
+   * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM
+   * sys.time_zone_info.
+   * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in
+   * PowerShell.
+   * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time".
+   */
+  timezoneId?: string;
+  /**
+   * The Id of the instance pool this managed server belongs to.
+   */
+  instancePoolId?: string;
+  /**
+   * Specifies maintenance configuration id to apply to this managed instance.
+   */
+  maintenanceConfigurationId?: string;
+  /**
+   * List of private endpoint connections on a managed instance.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnections?: ManagedInstancePecProperty[];
+  /**
+   * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'
+   */
+  minimalTlsVersion?: string;
+  /**
+   * The storage account type used to store backups for this instance. The options are LRS
+   * (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage). Possible
+   * values include: 'GRS', 'LRS', 'ZRS'
+   */
+  storageAccountType?: StorageAccountType;
+  /**
+   * Whether or not the multi-az is enabled.
+   */
+  zoneRedundant?: boolean;
+  /**
+   * The resource id of a user assigned identity to be used by default.
+   */
+  primaryUserAssignedIdentityId?: string;
+  /**
+   * A CMK URI of the key to use for encryption.
+   */
+  keyId?: string;
+  /**
+   * The Azure Active Directory administrator of the server.
+   */
+  administrators?: ManagedInstanceExternalAdministrator;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * An interface representing TopQueries.
+ */
+export interface TopQueries {
+  /**
+   * Requested number of top queries.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly numberOfQueries?: number;
+  /**
+   * Aggregation function used to calculate query metrics.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly aggregationFunction?: string;
+  /**
+   * Metric used to rank queries.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly observationMetric?: string;
+  /**
+   * Interval type (length). Possible values include: 'PT1H', 'P1D'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly intervalType?: QueryTimeGrainType;
+  /**
+   * The start time for the metric (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly startTime?: string;
+  /**
+   * The end time for the metric (ISO-8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly endTime?: string;
+  /**
+   * List of top resource consuming queries with appropriate metric data
+   */
+  queries?: QueryStatisticsProperties[];
+}
+
+/**
+ * A TDE certificate that can be uploaded into a server.
+ */
+export interface TdeCertificate extends ProxyResource {
+  /**
+   * The base64 encoded certificate private blob.
+   */
+  privateBlob: string;
+  /**
+   * The certificate password.
+   */
+  certPassword?: string;
+}
+
+/**
+ * A managed instance vulnerability assessment.
+ */
+export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource {
+  /**
+   * A blob storage container path to hold the scan results (e.g.
+   * https://myStorage.blob.core.windows.net/VaScans/).
+   */
+  storageContainerPath: string;
+  /**
+   * A shared access signature (SAS Key) that has write access to the blob container specified in
+   * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
+   * StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet
+   * or a firewall
+   */
+  storageContainerSasKey?: string;
+  /**
+   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
+   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only
+   * if the storage account is not behind a Vnet or a firewall
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * The recurring scans settings
+   */
+  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
+}
+
+/**
+ * A managed server security alert policy.
+ */
+export interface ManagedServerSecurityAlertPolicy extends ProxyResource {
+  /**
+   * SystemData of SecurityAlertPolicyResource.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly systemData?: SystemData;
+  /**
+   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
+   * applied yet on the specific database. Possible values include: 'Enabled', 'Disabled'
+   */
+  state: SecurityAlertsPolicyState;
+  /**
+   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
+   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
+   */
+  disabledAlerts?: string[];
+  /**
+   * Specifies an array of e-mail addresses to which the alert is sent.
+   */
+  emailAddresses?: string[];
+  /**
+   * Specifies that the alert is sent to the account administrators.
+   */
+  emailAccountAdmins?: boolean;
+  /**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
+   * storage will hold all Threat Detection audit logs.
+   */
+  storageEndpoint?: string;
+  /**
+   * Specifies the identifier key of the Threat Detection audit storage account.
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * Specifies the number of days to keep in the Threat Detection audit logs.
+   */
+  retentionDays?: number;
+  /**
+   * Specifies the UTC creation time of the policy.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationTime?: Date;
+}
+
+/**
+ * Display metadata associated with the operation.
+ */
+export interface OperationDisplay {
+  /**
+   * The localized friendly form of the resource provider name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provider?: string;
+  /**
+   * The localized friendly form of the resource type related to this action/operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly resource?: string;
+  /**
+   * The localized friendly name for the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operation?: string;
+  /**
+   * The localized friendly description for the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+}
+
+/**
+ * SQL REST API operation definition.
+ */
+export interface Operation {
+  /**
+   * The name of the operation being performed on this particular object.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: string;
+  /**
+   * The localized display information for this particular operation / action.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly display?: OperationDisplay;
+  /**
+   * The intended executor of the operation. Possible values include: 'user', 'system'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly origin?: OperationOrigin;
+  /**
+   * Additional descriptions for the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly properties?: { [propertyName: string]: any };
+}
+
+/**
+ * Operations health status in a location.
+ */
+export interface OperationsHealth extends ProxyResource {
+  /**
+   * Operation name for the service
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operationsHealthName?: string;
+  /**
+   * Operation health status of the service.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly health?: string;
+  /**
+   * Health status description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+}
+
+/**
+ * An interface representing PrivateEndpointProperty.
+ */
+export interface PrivateEndpointProperty extends BaseResource {
+  /**
+   * Resource id of the private endpoint.
+   */
+  id?: string;
+}
+
+/**
+ * An interface representing PrivateLinkServiceConnectionStateProperty.
+ */
+export interface PrivateLinkServiceConnectionStateProperty {
+  /**
+   * The private link service connection status. Possible values include: 'Approved', 'Pending',
+   * 'Rejected', 'Disconnected'
+   */
+  status: PrivateLinkServiceConnectionStateStatus;
+  /**
+   * The private link service connection description.
+   */
+  description: string;
+  /**
+   * The actions required for private link service connection. Possible values include: 'None'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
+}
+
+/**
+ * Properties of a private endpoint connection.
+ */
+export interface PrivateEndpointConnectionProperties {
+  /**
+   * Private endpoint which the connection belongs to.
+   */
+  privateEndpoint?: PrivateEndpointProperty;
+  /**
+   * Connection state of the private endpoint connection.
+   */
+  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
+  /**
+   * State of the private endpoint connection. Possible values include: 'Approving', 'Ready',
+   * 'Dropping', 'Failed', 'Rejecting'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: PrivateEndpointProvisioningState;
+}
+
+/**
+ * A private endpoint connection
+ */
+export interface PrivateEndpointConnection extends ProxyResource {
+  /**
+   * Private endpoint which the connection belongs to.
+   */
+  privateEndpoint?: PrivateEndpointProperty;
+  /**
+   * Connection state of the private endpoint connection.
+   */
+  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
+  /**
+   * State of the private endpoint connection. Possible values include: 'Approving', 'Ready',
+   * 'Dropping', 'Failed', 'Rejecting'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: PrivateEndpointProvisioningState;
+}
+
+/**
+ * Properties of a private link resource.
+ */
+export interface PrivateLinkResourceProperties {
+  /**
+   * The private link resource group id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly groupId?: string;
+  /**
+   * The private link resource required member names.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requiredMembers?: string[];
+  /**
+   * The private link resource required zone names.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requiredZoneNames?: string[];
+}
+
+/**
+ * A private link resource
+ */
+export interface PrivateLinkResource extends ProxyResource {
+  /**
+   * The private link resource group id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly properties?: PrivateLinkResourceProperties;
+}
+
+/**
+ * A recoverable managed database resource.
+ */
+export interface RecoverableManagedDatabase extends ProxyResource {
+  /**
+   * The last available backup date.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastAvailableBackupDate?: string;
+}
+
+/**
+ * A replication link.
+ */
+export interface ReplicationLink extends ProxyResource {
+  /**
+   * Resource partner server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly partnerServer?: string;
+  /**
+   * Resource partner database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly partnerDatabase?: string;
+  /**
+   * Resource partner location.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly partnerLocation?: string;
+  /**
+   * Local replication role.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly role?: string;
+  /**
+   * Partner replication role.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly partnerRole?: string;
+  /**
+   * Replication mode.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly replicationMode?: string;
+  /**
+   * Time at which the link was created.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly startTime?: Date;
+  /**
+   * Seeding completion percentage for the link.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly percentComplete?: number;
+  /**
+   * Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly replicationState?: string;
+  /**
+   * Whether the user is currently allowed to terminate the link.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isTerminationAllowed?: boolean;
+  /**
+   * Link type (GEO, NAMED).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly linkType?: string;
+}
+
+/**
+ * Database restore points.
+ */
+export interface RestorePoint extends ProxyResource {
+  /**
+   * Resource location.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly location?: string;
+  /**
+   * The type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly restorePointType?: RestorePointType;
+  /**
+   * The earliest time to which this database can be restored
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly earliestRestoreDate?: Date;
+  /**
+   * The time the backup was taken
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly restorePointCreationDate?: Date;
+  /**
+   * The label of restore point for backup request by user
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly restorePointLabel?: string;
+}
+
+/**
+ * Contains the information necessary to perform a create database restore point operation.
+ */
+export interface CreateDatabaseRestorePointDefinition {
+  /**
+   * The restore point label to apply
+   */
+  restorePointLabel: string;
+}
+
+/**
+ * Automatic tuning properties for individual advisors.
+ */
+export interface AutomaticTuningServerOptions {
+  /**
+   * Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'
+   */
+  desiredState?: AutomaticTuningOptionModeDesired;
+  /**
+   * Automatic tuning option actual state. Possible values include: 'Off', 'On'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly actualState?: AutomaticTuningOptionModeActual;
+  /**
+   * Reason code if desired and actual state are different.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly reasonCode?: number;
+  /**
+   * Reason description if desired and actual state are different. Possible values include:
+   * 'Default', 'Disabled', 'AutoConfigured'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly reasonDesc?: AutomaticTuningServerReason;
+}
+
+/**
+ * Server-level Automatic Tuning.
+ */
+export interface ServerAutomaticTuning extends ProxyResource {
+  /**
+   * Automatic tuning desired state. Possible values include: 'Custom', 'Auto', 'Unspecified'
+   */
+  desiredState?: AutomaticTuningServerMode;
+  /**
+   * Automatic tuning actual state. Possible values include: 'Custom', 'Auto', 'Unspecified'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly actualState?: AutomaticTuningServerMode;
+  /**
+   * Automatic tuning options definition.
+   */
+  options?: { [propertyName: string]: AutomaticTuningServerOptions };
+}
+
+/**
+ * Azure Active Directory administrator.
+ */
+export interface ServerAzureADAdministrator extends ProxyResource {
+  /**
+   * Login name of the server administrator.
+   */
+  login: string;
+  /**
+   * SID (object ID) of the server administrator.
+   */
+  sid: string;
+  /**
+   * Tenant ID of the administrator.
+   */
+  tenantId?: string;
+  /**
+   * Azure Active Directory only Authentication enabled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly azureADOnlyAuthentication?: boolean;
+}
+
+/**
+ * Azure Active Directory only authentication.
+ */
+export interface ServerAzureADOnlyAuthentication extends ProxyResource {
+  /**
+   * Azure Active Directory only Authentication enabled.
+   */
+  azureADOnlyAuthentication: boolean;
+}
+
+/**
+ * A server DevOps auditing settings.
+ */
+export interface ServerDevOpsAuditingSettings extends ProxyResource {
+  /**
+   * SystemData of ServerDevOpsAuditSettingsResource.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly systemData?: SystemData;
+  /**
+   * Specifies whether DevOps audit events are sent to Azure Monitor.
+   * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and
+   * 'IsAzureMonitorTargetEnabled' as true.
+   *
+   * When using REST API to configure DevOps audit, Diagnostic Settings with
+   * 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also
+   * created.
+   *
+   * Diagnostic Settings URI format:
+   * PUT
+   * 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
+   *
+   * For more information, see [Diagnostic Settings REST
+   * API](https://go.microsoft.com/fwlink/?linkid=2033207)
+   * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
+   */
+  isAzureMonitorTargetEnabled?: boolean;
+  /**
+   * Specifies the state of the audit. If state is Enabled, storageEndpoint or
+   * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled'
+   */
+  state: BlobAuditingPolicyState;
+  /**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state
+   * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
+   */
+  storageEndpoint?: string;
+  /**
+   * Specifies the identifier key of the auditing storage account.
+   * If state is Enabled and storageEndpoint is specified, not specifying the
+   * storageAccountAccessKey will use SQL server system-assigned managed identity to access the
+   * storage.
+   * Prerequisites for using managed identity authentication:
+   * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
+   * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data
+   * Contributor' RBAC role to the server identity.
+   * For more information, see [Auditing to storage using Managed Identity
+   * authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * Specifies the blob storage subscription Id.
+   */
+  storageAccountSubscriptionId?: string;
+}
+
+/**
+ * A server DNS alias.
+ */
+export interface ServerDnsAlias extends ProxyResource {
+  /**
+   * The fully qualified DNS record for alias
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly azureDnsRecord?: string;
+}
+
+/**
+ * A server dns alias acquisition request.
+ */
+export interface ServerDnsAliasAcquisition {
+  /**
+   * The id of the server alias that will be acquired to point to this server instead.
+   */
+  oldServerDnsAliasId: string;
+}
+
+/**
+ * A server key.
+ */
+export interface ServerKey extends ProxyResource {
+  /**
+   * Kind of encryption protector. This is metadata used for the Azure portal experience.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly kind?: string;
+  /**
+   * Resource location.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly location?: string;
+  /**
+   * Subregion of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly subregion?: string;
+  /**
+   * The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include:
+   * 'ServiceManaged', 'AzureKeyVault'
+   */
+  serverKeyType: ServerKeyType;
+  /**
+   * The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required.
+   */
+  uri?: string;
+  /**
+   * Thumbprint of the server key.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly thumbprint?: string;
+  /**
+   * The server key creation date.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationDate?: Date;
+  /**
+   * Key auto rotation opt-in flag. Either true or false.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly autoRotationEnabled?: boolean;
+}
+
+/**
+ * A server operation.
+ */
+export interface ServerOperation extends ProxyResource {
+  /**
+   * The name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operation?: string;
+  /**
+   * The friendly name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operationFriendlyName?: string;
+  /**
+   * The percentage of the operation completed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly percentComplete?: number;
+  /**
+   * The name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * The operation start time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly startTime?: Date;
+  /**
+   * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed',
+   * 'CancelInProgress', 'Cancelled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: ManagementOperationState;
+  /**
+   * The operation error code.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorCode?: number;
+  /**
+   * The operation error description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorDescription?: string;
+  /**
+   * The operation error severity.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorSeverity?: number;
+  /**
+   * Whether or not the error is a user error.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isUserError?: boolean;
+  /**
+   * The estimated completion time of the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly estimatedCompletionTime?: Date;
+  /**
+   * The operation description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+  /**
+   * Whether the operation can be cancelled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isCancellable?: boolean;
+}
+
+/**
+ * A private endpoint connection under a server
+ */
+export interface ServerPrivateEndpointConnection {
+  /**
+   * Resource ID.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly id?: string;
+  /**
+   * Private endpoint connection properties
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly properties?: PrivateEndpointConnectionProperties;
+}
+
+/**
+ * Properties of a active directory administrator.
+ */
+export interface ServerExternalAdministrator {
+  /**
+   * Type of the sever administrator. Possible values include: 'ActiveDirectory'
+   */
+  administratorType?: AdministratorType;
+  /**
+   * Principal Type of the sever administrator. Possible values include: 'User', 'Group',
+   * 'Application'
+   */
+  principalType?: PrincipalType;
+  /**
+   * Login name of the server administrator.
+   */
+  login?: string;
+  /**
+   * SID (object ID) of the server administrator.
+   */
+  sid?: string;
+  /**
+   * Tenant ID of the administrator.
+   */
+  tenantId?: string;
+  /**
+   * Azure Active Directory only Authentication enabled.
+   */
+  azureADOnlyAuthentication?: boolean;
+}
+
+/**
+ * An Azure SQL Database server.
+ */
+export interface Server extends TrackedResource {
+  /**
+   * The Azure Active Directory identity of the server.
+   */
+  identity?: ResourceIdentityWithUserAssignedIdentities;
+  /**
+   * Kind of sql server. This is metadata used for the Azure portal experience.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly kind?: string;
+  /**
+   * Administrator username for the server. Once created it cannot be changed.
+   */
+  administratorLogin?: string;
+  /**
+   * The administrator login password (required for server creation).
+   */
+  administratorLoginPassword?: string;
+  /**
+   * The version of the server.
+   */
+  version?: string;
+  /**
+   * The state of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: string;
+  /**
+   * The fully qualified domain name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly fullyQualifiedDomainName?: string;
+  /**
+   * List of private endpoint connections on a server
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
+  /**
+   * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
+   */
+  minimalTlsVersion?: string;
+  /**
+   * Whether or not public endpoint access is allowed for this server.  Value is optional but if
+   * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
+   */
+  publicNetworkAccess?: ServerPublicNetworkAccess;
+  /**
+   * Whether or not existing server has a workspace created and if it allows connection from
+   * workspace. Possible values include: 'Connected', 'Disconnected'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly workspaceFeature?: ServerWorkspaceFeature;
+  /**
+   * The resource id of a user assigned identity to be used by default.
+   */
+  primaryUserAssignedIdentityId?: string;
+  /**
+   * A CMK URI of the key to use for encryption.
+   */
+  keyId?: string;
+  /**
+   * The Azure Active Directory identity of the server.
+   */
+  administrators?: ServerExternalAdministrator;
+}
+
+/**
+ * An update request for an Azure SQL Database server.
+ */
+export interface ServerUpdate {
+  /**
+   * Server identity
+   */
+  identity?: ResourceIdentityWithUserAssignedIdentities;
+  /**
+   * Administrator username for the server. Once created it cannot be changed.
+   */
+  administratorLogin?: string;
+  /**
+   * The administrator login password (required for server creation).
+   */
+  administratorLoginPassword?: string;
+  /**
+   * The version of the server.
+   */
+  version?: string;
+  /**
+   * The state of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: string;
+  /**
+   * The fully qualified domain name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly fullyQualifiedDomainName?: string;
+  /**
+   * List of private endpoint connections on a server
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
+  /**
+   * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
+   */
+  minimalTlsVersion?: string;
+  /**
+   * Whether or not public endpoint access is allowed for this server.  Value is optional but if
+   * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
+   */
+  publicNetworkAccess?: ServerPublicNetworkAccess;
+  /**
+   * Whether or not existing server has a workspace created and if it allows connection from
+   * workspace. Possible values include: 'Connected', 'Disconnected'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly workspaceFeature?: ServerWorkspaceFeature;
+  /**
+   * The resource id of a user assigned identity to be used by default.
+   */
+  primaryUserAssignedIdentityId?: string;
+  /**
+   * A CMK URI of the key to use for encryption.
+   */
+  keyId?: string;
+  /**
+   * The Azure Active Directory identity of the server.
+   */
+  administrators?: ServerExternalAdministrator;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * Contains the ARM resources for which to create private endpoint connection.
+ */
+export interface NetworkIsolationSettings {
+  /**
+   * The resource id for the storage account used to store BACPAC file. If set, private endpoint
+   * connection will be created for the storage account. Must match storage account used for
+   * StorageUri parameter.
+   */
+  storageAccountResourceId?: string;
+  /**
+   * The resource id for the SQL server which is the target of this request. If set, private
+   * endpoint connection will be created for the SQL server. Must match server which is target of
+   * the operation.
+   */
+  sqlServerResourceId?: string;
+}
+
+/**
+ * Contains the information necessary to perform import operation for new database.
+ */
+export interface ImportNewDatabaseDefinition {
+  /**
+   * Name of the import database.
+   */
+  databaseName?: string;
+  /**
+   * Edition of the import database.
+   */
+  edition?: string;
+  /**
+   * Service level objective name of the import database.
+   */
+  serviceObjectiveName?: string;
+  /**
+   * Max size in bytes for the import database.
+   */
+  maxSizeBytes?: string;
+  /**
+   * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey'
+   */
+  storageKeyType: StorageKeyType;
+  /**
+   * Storage key.
+   */
+  storageKey: string;
+  /**
+   * Storage Uri.
+   */
+  storageUri: string;
+  /**
+   * Administrator login name.
+   */
+  administratorLogin: string;
+  /**
+   * Administrator login password.
+   */
+  administratorLoginPassword: string;
+  /**
+   * Authentication type.
+   */
+  authenticationType?: string;
+  /**
+   * Optional resource information to enable network isolation for request.
+   */
+  networkIsolation?: NetworkIsolationSettings;
+}
+
+/**
+ * Contains the private endpoint connection requests status.
+ */
+export interface PrivateEndpointConnectionRequestStatus {
+  /**
+   * Resource id for which the private endpoint is created.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateLinkServiceId?: string;
+  /**
+   * The connection name for the private endpoint.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnectionName?: string;
+  /**
+   * Status of this private endpoint connection.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: string;
+}
+
+/**
+ * An ImportExport operation result resource.
+ */
+export interface ImportExportOperationResult extends ProxyResource {
+  /**
+   * Request Id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestId?: string;
+  /**
+   * Request type.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestType?: string;
+  /**
+   * Queued time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly queuedTime?: string;
+  /**
+   * Last modified time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastModifiedTime?: string;
+  /**
+   * Blob Uri.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly blobUri?: string;
+  /**
+   * Server name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * Database name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * Operation status.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: string;
+  /**
+   * Error message.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorMessage?: string;
+  /**
+   * Gets the status of private endpoints associated with this request.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[];
+}
+
+/**
+ * A request to check whether the specified name for a resource is available.
+ */
+export interface CheckNameAvailabilityRequest {
+  name: string;
+}
+
+/**
+ * The result of a name availability check.
+ */
+export interface CheckNameAvailabilityResponse {
+  /**
+   * The name whose availability was checked.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: string;
+  /**
+   * True if the name is available, otherwise false.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly available?: boolean;
+  /**
+   * The reason code explaining why the name is unavailable. Will be undefined if the name is
+   * available. Possible values include: 'Invalid', 'AlreadyExists'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly reason?: CheckNameAvailabilityReason;
+  /**
+   * A message explaining why the name is unavailable. Will be undefined if the name is available.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly message?: string;
+}
+
+/**
+ * A server security alert policy.
+ */
+export interface ServerSecurityAlertPolicy extends ProxyResource {
+  /**
+   * SystemData of SecurityAlertPolicyResource.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly systemData?: SystemData;
+  /**
+   * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been
+   * applied yet on the specific database. Possible values include: 'Enabled', 'Disabled'
+   */
+  state: SecurityAlertsPolicyState;
+  /**
+   * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
+   * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
+   */
+  disabledAlerts?: string[];
+  /**
+   * Specifies an array of e-mail addresses to which the alert is sent.
+   */
+  emailAddresses?: string[];
+  /**
+   * Specifies that the alert is sent to the account administrators.
+   */
+  emailAccountAdmins?: boolean;
+  /**
+   * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
+   * storage will hold all Threat Detection audit logs.
+   */
+  storageEndpoint?: string;
+  /**
+   * Specifies the identifier key of the Threat Detection audit storage account.
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * Specifies the number of days to keep in the Threat Detection audit logs.
+   */
+  retentionDays?: number;
+  /**
+   * Specifies the UTC creation time of the policy.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationTime?: Date;
+}
+
+/**
+ * Server info for the server trust group.
+ */
+export interface ServerInfo {
+  /**
+   * Server Id.
+   */
+  serverId: string;
+}
+
+/**
+ * A server trust group.
+ */
+export interface ServerTrustGroup extends ProxyResource {
+  /**
+   * Group members information for the server trust group.
+   */
+  groupMembers: ServerInfo[];
+  /**
+   * Trust scope of the server trust group.
+   */
+  trustScopes: string[];
+}
+
+/**
+ * A server vulnerability assessment.
+ */
+export interface ServerVulnerabilityAssessment extends ProxyResource {
+  /**
+   * A blob storage container path to hold the scan results (e.g.
+   * https://myStorage.blob.core.windows.net/VaScans/).
+   */
+  storageContainerPath: string;
+  /**
+   * A shared access signature (SAS Key) that has write access to the blob container specified in
+   * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified,
+   * StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet
+   * or a firewall
+   */
+  storageContainerSasKey?: string;
+  /**
+   * Specifies the identifier key of the storage account for vulnerability assessment scan results.
+   * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only
+   * if the storage account is not behind a Vnet or a firewall
+   */
+  storageAccountAccessKey?: string;
+  /**
+   * The recurring scans settings
+   */
+  recurringScans?: VulnerabilityAssessmentRecurringScansProperties;
+}
+
+/**
+ * A recoverable managed database resource.
+ */
+export interface SqlAgentConfiguration extends ProxyResource {
+  /**
+   * The state of Sql Agent. Possible values include: 'Enabled', 'Disabled'
+   */
+  state?: State;
+}
+
+/**
+ * Usage Metric of a Subscription in a Location.
+ */
+export interface SubscriptionUsage extends ProxyResource {
+  /**
+   * User-readable name of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly displayName?: string;
+  /**
+   * Current value of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentValue?: number;
+  /**
+   * Boundary value of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly limit?: number;
+  /**
+   * Unit of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly unit?: string;
+}
+
+/**
+ * An Azure SQL Database sync agent.
+ */
+export interface SyncAgent extends ProxyResource {
+  /**
+   * Name of the sync agent.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly syncAgentName?: string;
+  /**
+   * ARM resource id of the sync database in the sync agent.
+   */
+  syncDatabaseId?: string;
+  /**
+   * Last alive time of the sync agent.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastAliveTime?: Date;
+  /**
+   * State of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: SyncAgentState;
+  /**
+   * If the sync agent version is up to date.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isUpToDate?: boolean;
+  /**
+   * Expiration time of the sync agent version.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly expiryTime?: Date;
+  /**
+   * Version of the sync agent.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly version?: string;
+}
+
+/**
+ * Properties of an Azure SQL Database sync agent key.
+ */
+export interface SyncAgentKeyProperties {
+  /**
+   * Key of sync agent.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly syncAgentKey?: string;
+}
+
+/**
+ * An Azure SQL Database sync agent linked database.
+ */
+export interface SyncAgentLinkedDatabase extends ProxyResource {
+  /**
+   * Type of the sync agent linked database. Possible values include: 'AzureSqlDatabase',
+   * 'SqlServerDatabase'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseType?: SyncMemberDbType;
+  /**
+   * Id of the sync agent linked database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseId?: string;
+  /**
+   * Description of the sync agent linked database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+  /**
+   * Server name of the sync agent linked database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * Database name of the sync agent linked database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * User name of the sync agent linked database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly userName?: string;
+}
+
+/**
+ * Properties of the sync database id.
+ */
+export interface SyncDatabaseIdProperties {
+  /**
+   * ARM resource id of sync database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly id?: string;
+}
+
+/**
+ * Properties of the column in the table of database full schema.
+ */
+export interface SyncFullSchemaTableColumn {
+  /**
+   * Data size of the column.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly dataSize?: string;
+  /**
+   * Data type of the column.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly dataType?: string;
+  /**
+   * Error id of the column.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorId?: string;
+  /**
+   * If there is error in the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly hasError?: boolean;
+  /**
+   * If it is the primary key of the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isPrimaryKey?: boolean;
+  /**
+   * Name of the column.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: string;
+  /**
+   * Quoted name of the column.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly quotedName?: string;
+}
+
+/**
+ * Properties of the table in the database full schema.
+ */
+export interface SyncFullSchemaTable {
+  /**
+   * List of columns in the table of database full schema.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly columns?: SyncFullSchemaTableColumn[];
+  /**
+   * Error id of the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorId?: string;
+  /**
+   * If there is error in the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly hasError?: boolean;
+  /**
+   * Name of the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: string;
+  /**
+   * Quoted name of the table.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly quotedName?: string;
+}
+
+/**
+ * Properties of the database full schema.
+ */
+export interface SyncFullSchemaProperties {
+  /**
+   * List of tables in the database full schema.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly tables?: SyncFullSchemaTable[];
+  /**
+   * Last update time of the database schema.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastUpdateTime?: Date;
+}
+
+/**
+ * Properties of an Azure SQL Database sync group log.
+ */
+export interface SyncGroupLogProperties {
+  /**
+   * Timestamp of the sync group log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly timestamp?: Date;
+  /**
+   * Type of the sync group log. Possible values include: 'All', 'Error', 'Warning', 'Success'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly type?: SyncGroupLogType;
+  /**
+   * Source of the sync group log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly source?: string;
+  /**
+   * Details of the sync group log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly details?: string;
+  /**
+   * TracingId of the sync group log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly tracingId?: string;
+  /**
+   * OperationStatus of the sync group log.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operationStatus?: string;
+}
+
+/**
+ * Properties of column in sync group table.
+ */
+export interface SyncGroupSchemaTableColumn {
+  /**
+   * Quoted name of sync group table column.
+   */
+  quotedName?: string;
+  /**
+   * Data size of the column.
+   */
+  dataSize?: string;
+  /**
+   * Data type of the column.
+   */
+  dataType?: string;
+}
+
+/**
+ * Properties of table in sync group schema.
+ */
+export interface SyncGroupSchemaTable {
+  /**
+   * List of columns in sync group schema.
+   */
+  columns?: SyncGroupSchemaTableColumn[];
+  /**
+   * Quoted name of sync group schema table.
+   */
+  quotedName?: string;
+}
+
+/**
+ * Properties of sync group schema.
+ */
+export interface SyncGroupSchema {
+  /**
+   * List of tables in sync group schema.
+   */
+  tables?: SyncGroupSchemaTable[];
+  /**
+   * Name of master sync member where the schema is from.
+   */
+  masterSyncMemberName?: string;
+}
+
+/**
+ * An Azure SQL Database sync group.
+ */
+export interface SyncGroup extends ProxyResource {
+  /**
+   * The name and capacity of the SKU.
+   */
+  sku?: Sku;
+  /**
+   * Sync interval of the sync group.
+   */
+  interval?: number;
+  /**
+   * Last sync time of the sync group.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastSyncTime?: Date;
+  /**
+   * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin'
+   */
+  conflictResolutionPolicy?: SyncConflictResolutionPolicy;
+  /**
+   * ARM resource id of the sync database in the sync group.
+   */
+  syncDatabaseId?: string;
+  /**
+   * User name for the sync group hub database credential.
+   */
+  hubDatabaseUserName?: string;
+  /**
+   * Password for the sync group hub database credential.
+   */
+  hubDatabasePassword?: string;
+  /**
+   * Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning',
+   * 'Progressing', 'Good'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly syncState?: SyncGroupState;
+  /**
+   * Sync schema of the sync group.
+   */
+  schema?: SyncGroupSchema;
+  /**
+   * If conflict logging is enabled.
+   */
+  enableConflictLogging?: boolean;
+  /**
+   * Conflict logging retention period.
+   */
+  conflictLoggingRetentionInDays?: number;
+  /**
+   * If use private link connection is enabled.
+   */
+  usePrivateLinkConnection?: boolean;
+  /**
+   * Private endpoint name of the sync group if use private link connection is enabled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointName?: string;
+}
+
+/**
+ * An Azure SQL Database sync member.
+ */
+export interface SyncMember extends ProxyResource {
+  /**
+   * Database type of the sync member. Possible values include: 'AzureSqlDatabase',
+   * 'SqlServerDatabase'
+   */
+  databaseType?: SyncMemberDbType;
+  /**
+   * ARM resource id of the sync agent in the sync member.
+   */
+  syncAgentId?: string;
+  /**
+   * SQL Server database id of the sync member.
+   */
+  sqlServerDatabaseId?: string;
+  /**
+   * ARM resource id of the sync member logical database, for sync members in Azure.
+   */
+  syncMemberAzureDatabaseResourceId?: string;
+  /**
+   * Whether to use private link connection.
+   */
+  usePrivateLinkConnection?: boolean;
+  /**
+   * Private endpoint name of the sync member if use private link connection is enabled, for sync
+   * members in Azure.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly privateEndpointName?: string;
+  /**
+   * Server name of the member database in the sync member
+   */
+  serverName?: string;
+  /**
+   * Database name of the member database in the sync member.
+   */
+  databaseName?: string;
+  /**
+   * User name of the member database in the sync member.
+   */
+  userName?: string;
+  /**
+   * Password of the member database in the sync member.
+   */
+  password?: string;
+  /**
+   * Sync direction of the sync member. Possible values include: 'Bidirectional',
+   * 'OneWayMemberToHub', 'OneWayHubToMember'
+   */
+  syncDirection?: SyncDirection;
+  /**
+   * Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded',
+   * 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore',
+   * 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned',
+   * 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned',
+   * 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly syncState?: SyncMemberState;
+}
+
+/**
+ * Time Zone.
+ */
+export interface TimeZone extends ProxyResource {
+  /**
+   * The time zone id
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly timeZoneId?: string;
+  /**
+   * The time zone display name
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly displayName?: string;
+}
+
+/**
+ * A recoverable managed database resource.
+ */
+export interface UpdateManagedInstanceDnsServersOperation extends ProxyResource {
+  /**
+   * The status of the DNS refresh operation. Possible values include: 'Succeeded', 'Failed'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: Status1;
+}
+
+/**
+ * An Azure SQL virtual cluster.
+ */
+export interface VirtualCluster extends TrackedResource {
+  /**
+   * Subnet resource ID for the virtual cluster.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly subnetId?: string;
+  /**
+   * If the service has different generations of hardware, for the same SKU, then that can be
+   * captured here.
+   */
+  family?: string;
+  /**
+   * List of resources in this virtual cluster.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly childResources?: string[];
+  /**
+   * Specifies maintenance configuration id to apply to this virtual cluster.
+   */
+  maintenanceConfigurationId?: string;
+}
+
+/**
+ * An update request for an Azure SQL Database virtual cluster.
+ */
+export interface VirtualClusterUpdate {
+  /**
+   * Subnet resource ID for the virtual cluster.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly subnetId?: string;
+  /**
+   * If the service has different generations of hardware, for the same SKU, then that can be
+   * captured here.
+   */
+  family?: string;
+  /**
+   * List of resources in this virtual cluster.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly childResources?: string[];
+  /**
+   * Specifies maintenance configuration id to apply to this virtual cluster.
+   */
+  maintenanceConfigurationId?: string;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * A virtual network rule.
+ */
+export interface VirtualNetworkRule extends ProxyResource {
+  /**
+   * The ARM resource id of the virtual network subnet.
+   */
+  virtualNetworkSubnetId: string;
+  /**
+   * Create firewall rule before the virtual network has vnet service endpoint enabled.
+   */
+  ignoreMissingVnetServiceEndpoint?: boolean;
+  /**
+   * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready',
+   * 'Failed', 'Deleting', 'Unknown'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: VirtualNetworkRuleState;
+}
+
+/**
+ * Workload classifier operations for a data warehouse
+ */
+export interface WorkloadClassifier extends ProxyResource {
+  /**
+   * The workload classifier member name.
+   */
+  memberName: string;
+  /**
+   * The workload classifier label.
+   */
+  label?: string;
+  /**
+   * The workload classifier context.
+   */
+  context?: string;
+  /**
+   * The workload classifier start time for classification.
+   */
+  startTime?: string;
+  /**
+   * The workload classifier end time for classification.
+   */
+  endTime?: string;
+  /**
+   * The workload classifier importance.
+   */
+  importance?: string;
+}
+
+/**
+ * Workload group operations for a data warehouse
+ */
+export interface WorkloadGroup extends ProxyResource {
+  /**
+   * The workload group minimum percentage resource.
+   */
+  minResourcePercent: number;
+  /**
+   * The workload group cap percentage resource.
+   */
+  maxResourcePercent: number;
+  /**
+   * The workload group request minimum grant percentage.
+   */
+  minResourcePercentPerRequest: number;
+  /**
+   * The workload group request maximum grant percentage.
+   */
+  maxResourcePercentPerRequest?: number;
+  /**
+   * The workload group importance level.
+   */
+  importance?: string;
+  /**
+   * The workload group query execution timeout.
+   */
+  queryExecutionTimeout?: number;
+}
+
+/**
+ * A database resource.
+ */
+export interface Database extends TrackedResource {
+  /**
+   * The database SKU.
+   *
+   * The list of SKUs may vary by region and support offer. To determine the SKUs (including the
+   * SKU name, tier/edition, family, and capacity) that are available to your subscription in an
+   * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
+   *
+   * ```azurecli
+   * az sql db list-editions -l <location> -o table
+   * ````
+   *
+   * ```powershell
+   * Get-AzSqlServerServiceObjective -Location <location>
+   * ````
+   */
+  sku?: Sku;
+  /**
+   * Kind of database. This is metadata used for the Azure portal experience.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly kind?: string;
+  /**
+   * Resource that manages the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly managedBy?: string;
+  /**
+   * Specifies the mode of database creation.
+   *
+   * Default: regular database creation.
+   *
+   * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified
+   * as the resource ID of the source database.
+   *
+   * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId
+   * must be specified as the resource ID of the existing primary database.
+   *
+   * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing
+   * database. sourceDatabaseId must be specified as the resource ID of the existing database, and
+   * restorePointInTime must be specified.
+   *
+   * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be
+   * specified as the recoverable database resource ID to restore.
+   *
+   * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must
+   * be specified. If sourceDatabaseId is the database's original resource ID, then
+   * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the
+   * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
+   * restorePointInTime may also be specified to restore from an earlier point in time.
+   *
+   * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention
+   * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point
+   * resource ID.
+   *
+   * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse
+   * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore',
+   * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
+   * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
+   */
+  createMode?: CreateMode;
+  /**
+   * The collation of the database.
+   */
+  collation?: string;
+  /**
+   * The max size of the database expressed in bytes.
+   */
+  maxSizeBytes?: number;
+  /**
+   * The name of the sample schema to apply when creating this database. Possible values include:
+   * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
+   */
+  sampleName?: SampleName;
+  /**
+   * The resource identifier of the elastic pool containing this database.
+   */
+  elasticPoolId?: string;
+  /**
+   * The resource identifier of the source database associated with create operation of this
+   * database.
+   */
+  sourceDatabaseId?: string;
+  /**
+   * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending',
+   * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed',
+   * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming',
+   * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: DatabaseStatus;
+  /**
+   * The ID of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseId?: string;
+  /**
+   * The creation date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationDate?: Date;
+  /**
+   * The current service level objective name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentServiceObjectiveName?: string;
+  /**
+   * The requested service level objective name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestedServiceObjectiveName?: string;
+  /**
+   * The default secondary region for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly defaultSecondaryLocation?: string;
+  /**
+   * Failover Group resource identifier that this database belongs to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly failoverGroupId?: string;
+  /**
+   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
+   * create the new database.
+   */
+  restorePointInTime?: Date;
+  /**
+   * Specifies the time that the database was deleted.
+   */
+  sourceDatabaseDeletionDate?: Date;
+  /**
+   * The resource identifier of the recovery point associated with create operation of this
+   * database.
+   */
+  recoveryServicesRecoveryPointId?: string;
+  /**
+   * The resource identifier of the long term retention backup associated with create operation of
+   * this database.
+   */
+  longTermRetentionBackupResourceId?: string;
+  /**
+   * The resource identifier of the recoverable database associated with create operation of this
+   * database.
+   */
+  recoverableDatabaseId?: string;
+  /**
+   * The resource identifier of the restorable dropped database associated with create operation of
+   * this database.
+   */
+  restorableDroppedDatabaseId?: string;
+  /**
+   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
+   * 'SQL_Latin1_General_CP1_CI_AS'
+   */
+  catalogCollation?: CatalogCollationType;
+  /**
+   * Whether or not this database is zone redundant, which means the replicas of this database will
+   * be spread across multiple availability zones.
+   */
+  zoneRedundant?: boolean;
+  /**
+   * The license type to apply for this database. `LicenseIncluded` if you need a license, or
+   * `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. Possible
+   * values include: 'LicenseIncluded', 'BasePrice'
+   */
+  licenseType?: DatabaseLicenseType;
+  /**
+   * The max log size for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly maxLogSizeBytes?: number;
+  /**
+   * This records the earliest start date and time that restore is available for this database
+   * (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly earliestRestoreDate?: Date;
+  /**
+   * The state of read-only routing. If enabled, connections that have application intent set to
+   * readonly in their connection string may be routed to a readonly secondary replica in the same
+   * region. Possible values include: 'Enabled', 'Disabled'
+   */
+  readScale?: DatabaseReadScale;
+  /**
+   * The number of secondary replicas associated with the database that are used to provide high
+   * availability.
+   */
+  highAvailabilityReplicaCount?: number;
+  /**
+   * The secondary type of the database if it is a secondary.  Valid values are Geo and Named.
+   * Possible values include: 'Geo', 'Named'
+   */
+  secondaryType?: SecondaryType;
+  /**
+   * The name and tier of the SKU.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentSku?: Sku;
+  /**
+   * Time in minutes after which database is automatically paused. A value of -1 means that
+   * automatic pause is disabled
+   */
+  autoPauseDelay?: number;
+  /**
+   * The storage account type used to store backups for this database. Possible values include:
+   * 'Geo', 'Local', 'Zone'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentBackupStorageRedundancy?: CurrentBackupStorageRedundancy;
+  /**
+   * The storage account type to be used to store backups for this database. Possible values
+   * include: 'Geo', 'Local', 'Zone'
+   */
+  requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy;
+  /**
+   * Minimal capacity that database will always have allocated, if not paused
+   */
+  minCapacity?: number;
+  /**
+   * The date when database was paused by user configuration or action(ISO8601 format). Null if the
+   * database is ready.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly pausedDate?: Date;
+  /**
+   * The date when database was resumed by user action or database login (ISO8601 format). Null if
+   * the database is paused.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly resumedDate?: Date;
+  /**
+   * Maintenance configuration id assigned to the database. This configuration defines the period
+   * when the maintenance updates will occur.
+   */
+  maintenanceConfigurationId?: string;
+  /**
+   * Whether or not this database is a ledger database, which means all tables in the database are
+   * ledger tables. Note: the value of this property cannot be changed after the database has been
+   * created.
+   */
+  isLedgerOn?: boolean;
+  /**
+   * Infra encryption is enabled for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isInfraEncryptionEnabled?: boolean;
+}
+
+/**
+ * A database resource.
+ */
+export interface DatabaseUpdate {
+  /**
+   * The name and tier of the SKU.
+   */
+  sku?: Sku;
+  /**
+   * Specifies the mode of database creation.
+   *
+   * Default: regular database creation.
+   *
+   * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified
+   * as the resource ID of the source database.
+   *
+   * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId
+   * must be specified as the resource ID of the existing primary database.
+   *
+   * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing
+   * database. sourceDatabaseId must be specified as the resource ID of the existing database, and
+   * restorePointInTime must be specified.
+   *
+   * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be
+   * specified as the recoverable database resource ID to restore.
+   *
+   * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must
+   * be specified. If sourceDatabaseId is the database's original resource ID, then
+   * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the
+   * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
+   * restorePointInTime may also be specified to restore from an earlier point in time.
+   *
+   * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention
+   * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point
+   * resource ID.
+   *
+   * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse
+   * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore',
+   * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
+   * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
+   */
+  createMode?: CreateMode;
+  /**
+   * The collation of the database.
+   */
+  collation?: string;
+  /**
+   * The max size of the database expressed in bytes.
+   */
+  maxSizeBytes?: number;
+  /**
+   * The name of the sample schema to apply when creating this database. Possible values include:
+   * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
+   */
+  sampleName?: SampleName;
+  /**
+   * The resource identifier of the elastic pool containing this database.
+   */
+  elasticPoolId?: string;
+  /**
+   * The resource identifier of the source database associated with create operation of this
+   * database.
+   */
+  sourceDatabaseId?: string;
+  /**
+   * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending',
+   * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed',
+   * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming',
+   * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: DatabaseStatus;
+  /**
+   * The ID of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseId?: string;
+  /**
+   * The creation date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationDate?: Date;
+  /**
+   * The current service level objective name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentServiceObjectiveName?: string;
+  /**
+   * The requested service level objective name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestedServiceObjectiveName?: string;
+  /**
+   * The default secondary region for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly defaultSecondaryLocation?: string;
+  /**
+   * Failover Group resource identifier that this database belongs to.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly failoverGroupId?: string;
+  /**
+   * Specifies the point in time (ISO8601 format) of the source database that will be restored to
+   * create the new database.
+   */
+  restorePointInTime?: Date;
+  /**
+   * Specifies the time that the database was deleted.
+   */
+  sourceDatabaseDeletionDate?: Date;
+  /**
+   * The resource identifier of the recovery point associated with create operation of this
+   * database.
+   */
+  recoveryServicesRecoveryPointId?: string;
+  /**
+   * The resource identifier of the long term retention backup associated with create operation of
+   * this database.
+   */
+  longTermRetentionBackupResourceId?: string;
+  /**
+   * The resource identifier of the recoverable database associated with create operation of this
+   * database.
+   */
+  recoverableDatabaseId?: string;
+  /**
+   * The resource identifier of the restorable dropped database associated with create operation of
+   * this database.
+   */
+  restorableDroppedDatabaseId?: string;
+  /**
+   * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT',
+   * 'SQL_Latin1_General_CP1_CI_AS'
+   */
+  catalogCollation?: CatalogCollationType;
+  /**
+   * Whether or not this database is zone redundant, which means the replicas of this database will
+   * be spread across multiple availability zones.
+   */
+  zoneRedundant?: boolean;
+  /**
+   * The license type to apply for this database. `LicenseIncluded` if you need a license, or
+   * `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. Possible
+   * values include: 'LicenseIncluded', 'BasePrice'
+   */
+  licenseType?: DatabaseLicenseType;
+  /**
+   * The max log size for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly maxLogSizeBytes?: number;
+  /**
+   * This records the earliest start date and time that restore is available for this database
+   * (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly earliestRestoreDate?: Date;
+  /**
+   * The state of read-only routing. If enabled, connections that have application intent set to
+   * readonly in their connection string may be routed to a readonly secondary replica in the same
+   * region. Possible values include: 'Enabled', 'Disabled'
+   */
+  readScale?: DatabaseReadScale;
+  /**
+   * The number of secondary replicas associated with the database that are used to provide high
+   * availability.
+   */
+  highAvailabilityReplicaCount?: number;
+  /**
+   * The secondary type of the database if it is a secondary.  Valid values are Geo and Named.
+   * Possible values include: 'Geo', 'Named'
+   */
+  secondaryType?: SecondaryType;
+  /**
+   * The name and tier of the SKU.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentSku?: Sku;
+  /**
+   * Time in minutes after which database is automatically paused. A value of -1 means that
+   * automatic pause is disabled
+   */
+  autoPauseDelay?: number;
+  /**
+   * The storage account type used to store backups for this database. Possible values include:
+   * 'Geo', 'Local', 'Zone'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentBackupStorageRedundancy?: CurrentBackupStorageRedundancy;
+  /**
+   * The storage account type to be used to store backups for this database. Possible values
+   * include: 'Geo', 'Local', 'Zone'
+   */
+  requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy;
+  /**
+   * Minimal capacity that database will always have allocated, if not paused
+   */
+  minCapacity?: number;
+  /**
+   * The date when database was paused by user configuration or action(ISO8601 format). Null if the
+   * database is ready.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly pausedDate?: Date;
+  /**
+   * The date when database was resumed by user action or database login (ISO8601 format). Null if
+   * the database is paused.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly resumedDate?: Date;
+  /**
+   * Maintenance configuration id assigned to the database. This configuration defines the period
+   * when the maintenance updates will occur.
+   */
+  maintenanceConfigurationId?: string;
+  /**
+   * Whether or not this database is a ledger database, which means all tables in the database are
+   * ledger tables. Note: the value of this property cannot be changed after the database has been
+   * created.
+   */
+  isLedgerOn?: boolean;
+  /**
+   * Infra encryption is enabled for this database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isInfraEncryptionEnabled?: boolean;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
+}
+
+/**
+ * Contains the information necessary to perform a resource move (rename).
+ */
+export interface ResourceMoveDefinition {
+  /**
+   * The target ID for the resource
+   */
+  id: string;
+}
+
+/**
+ * Contains the information necessary to perform import operation for existing database.
+ */
+export interface ImportExistingDatabaseDefinition {
+  /**
+   * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey'
+   */
+  storageKeyType: StorageKeyType;
+  /**
+   * Storage key.
+   */
+  storageKey: string;
+  /**
+   * Storage Uri.
+   */
+  storageUri: string;
+  /**
+   * Administrator login name.
+   */
+  administratorLogin: string;
+  /**
+   * Administrator login password.
+   */
+  administratorLoginPassword: string;
+  /**
+   * Authentication type.
+   */
+  authenticationType?: string;
+  /**
+   * Optional resource information to enable network isolation for request.
+   */
+  networkIsolation?: NetworkIsolationSettings;
+}
+
+/**
+ * Contains the information necessary to perform export database operation.
+ */
+export interface ExportDatabaseDefinition {
+  /**
+   * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey'
+   */
+  storageKeyType: StorageKeyType;
+  /**
+   * Storage key.
+   */
+  storageKey: string;
+  /**
+   * Storage Uri.
+   */
+  storageUri: string;
+  /**
+   * Administrator login name.
+   */
+  administratorLogin: string;
+  /**
+   * Administrator login password.
+   */
+  administratorLoginPassword: string;
+  /**
+   * Authentication type.
+   */
+  authenticationType?: string;
+  /**
+   * Optional resource information to enable network isolation for request.
+   */
+  networkIsolation?: NetworkIsolationSettings;
+}
+
+/**
+ * An export managed database operation result resource.
+ */
+export interface DatabaseExtensions extends ProxyResource {
+  /**
+   * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey'
+   */
+  storageKeyType: StorageKeyType;
+  /**
+   * Storage key.
+   */
+  storageKey: string;
+  /**
+   * Storage Uri.
+   */
+  storageUri: string;
+}
+
+/**
+ * An Extension operation result resource.
+ */
+export interface ImportExportExtensionsOperationResult extends ProxyResource {
+  /**
+   * Request Id.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestId?: string;
+  /**
+   * Request type.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestType?: string;
+  /**
+   * Last modified time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly lastModifiedTime?: string;
+  /**
+   * Server name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * Database name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * Operation status.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly status?: string;
+  /**
+   * Error message.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorMessage?: string;
+}
+
+/**
+ * A database operation.
+ */
+export interface DatabaseOperation extends ProxyResource {
+  /**
+   * The name of the database the operation is being performed on.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * The name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operation?: string;
+  /**
+   * The friendly name of operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly operationFriendlyName?: string;
+  /**
+   * The percentage of the operation completed.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly percentComplete?: number;
+  /**
+   * The name of the server.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly serverName?: string;
+  /**
+   * The operation start time.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly startTime?: Date;
+  /**
+   * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed',
+   * 'CancelInProgress', 'Cancelled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: ManagementOperationState;
+  /**
+   * The operation error code.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorCode?: number;
+  /**
+   * The operation error description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorDescription?: string;
+  /**
+   * The operation error severity.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly errorSeverity?: number;
+  /**
+   * Whether or not the error is a user error.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isUserError?: boolean;
+  /**
+   * The estimated completion time of the operation.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly estimatedCompletionTime?: Date;
+  /**
+   * The operation description.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly description?: string;
+  /**
+   * Whether the operation can be cancelled.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly isCancellable?: boolean;
+}
+
+/**
+ * Usage metric of a database.
+ */
+export interface DatabaseUsage extends ProxyResource {
+  /**
+   * User-readable name of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly displayName?: string;
+  /**
+   * Current value of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentValue?: number;
+  /**
+   * Boundary value of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly limit?: number;
+  /**
+   * Unit of the metric.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly unit?: string;
+}
+
+/**
+ * Azure SQL Database ledger digest upload settings.
+ */
+export interface LedgerDigestUploads extends ProxyResource {
+  /**
+   * The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for
+   * Azure Confidential Ledger.
+   */
+  digestStorageEndpoint?: string;
+  /**
+   * Specifies the state of ledger digest upload. Possible values include: 'Enabled', 'Disabled'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly state?: LedgerDigestUploadsState;
+}
+
+/**
+ * An Azure SQL DB Server Outbound Firewall Rule.
+ */
+export interface OutboundFirewallRule extends ProxyResource {
+  /**
+   * The state of the outbound rule.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly provisioningState?: string;
+}
+
+/**
+ * A restorable dropped database resource.
+ */
+export interface RestorableDroppedDatabase extends ProxyResource {
+  /**
+   * The name and tier of the SKU.
+   */
+  sku?: Sku;
+  /**
+   * Resource location.
+   */
+  location?: string;
+  /**
+   * Resource tags.
+   */
+  tags?: { [propertyName: string]: string };
+  /**
+   * The name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * The max size of the database expressed in bytes.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly maxSizeBytes?: number;
+  /**
+   * DEPRECATED: The resource name of the elastic pool containing this database. This property is
+   * deprecated and the value will always be null.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly elasticPoolId?: string;
+  /**
+   * The creation date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationDate?: Date;
+  /**
+   * The deletion date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly deletionDate?: Date;
+  /**
+   * The earliest restore date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly earliestRestoreDate?: Date;
+  /**
+   * The storage account type used to store backups for this database. Possible values include:
+   * 'Geo', 'Local', 'Zone'
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly backupStorageRedundancy?: BackupStorageRedundancy1;
+}
+
+/**
+ * A restorable dropped managed database resource.
+ */
+export interface RestorableDroppedManagedDatabase extends TrackedResource {
+  /**
+   * The name of the database.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly databaseName?: string;
+  /**
+   * The creation date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly creationDate?: Date;
+  /**
+   * The deletion date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly deletionDate?: Date;
+  /**
+   * The earliest restore date of the database (ISO8601 format).
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly earliestRestoreDate?: Date;
+}
+
+/**
+ * ARM Usage Name
+ */
+export interface Name {
+  /**
+   * Usage name value
+   */
+  value?: string;
+  /**
+   * Usage name localized value.
+   */
+  localizedValue?: string;
+}
+
+/**
+ * ARM usage.
+ */
+export interface Usage {
+  /**
+   * Resource ID.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly id?: string;
+  /**
+   * Resource name.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly name?: Name;
+  /**
+   * Resource type.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly type?: string;
+  /**
+   * Usage unit.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly unit?: string;
+  /**
+   * Usage current value.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly currentValue?: number;
+  /**
+   * Usage limit.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly limit?: number;
+  /**
+   * Usage requested limit.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly requestedLimit?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabasesListByServerOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
+   */
+  replicaType?: ReplicaType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
+   */
+  replicaType?: ReplicaType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabasesListByServerNextOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ElasticPoolsListByServerNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseAdvisorsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseColumnsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  schema?: string[];
+  table?: string[];
+  column?: string[];
+  orderBy?: string[];
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseColumnsListByTableOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseColumnsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  schema?: string[];
+  table?: string[];
+  column?: string[];
+  orderBy?: string[];
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseColumnsListByTableNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseSchemasListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseSchemasListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseTablesListBySchemaOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface DatabaseTablesListBySchemaNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobExecutionsListByAgentNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobExecutionsListByJobNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobStepExecutionsListByJobExecutionNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobTargetExecutionsListByJobExecutionNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface JobTargetExecutionsListByStepNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, only job executions created at or after the specified time are included.
+   */
+  createTimeMin?: Date;
+  /**
+   * If specified, only job executions created before the specified time are included.
+   */
+  createTimeMax?: Date;
+  /**
+   * If specified, only job executions completed at or after the specified time are included.
+   */
+  endTimeMin?: Date;
+  /**
+   * If specified, only job executions completed before the specified time are included.
+   */
+  endTimeMax?: Date;
+  /**
+   * If specified, only active or only completed job executions are included.
+   */
+  isActive?: boolean;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * If specified, restricts the response to only include the selected item. Possible values
+   * include: 'supportedEditions', 'supportedElasticPoolEditions',
+   * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions',
+   * 'supportedManagedInstanceEditions'
+   */
+  include?: CapabilityGroup;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByLocationNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByServerNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Whether or not to only get the latest backup for each database.
+   */
+  onlyLatestPerDatabase?: boolean;
+  /**
+   * Whether to query against just live databases, just deleted databases, or all databases.
+   * Possible values include: 'All', 'Live', 'Deleted'
+   */
+  databaseState?: DatabaseState;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseColumnsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  schema?: string[];
+  table?: string[];
+  column?: string[];
+  orderBy?: string[];
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseColumnsListByTableOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseColumnsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  schema?: string[];
+  table?: string[];
+  column?: string[];
+  orderBy?: string[];
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseColumnsListByTableNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseQueriesListByQueryOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Start time for observed period.
+   */
+  startTime?: string;
+  /**
+   * End time for observed period.
+   */
+  endTime?: string;
+  /**
+   * The time step to be used to summarize the metric values. Possible values include: 'PT1H',
+   * 'P1D'
+   */
+  interval?: QueryTimeGrainType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseQueriesListByQueryNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Start time for observed period.
+   */
+  startTime?: string;
+  /**
+   * End time for observed period.
+   */
+  endTime?: string;
+  /**
+   * The time step to be used to summarize the metric values. Possible values include: 'PT1H',
+   * 'P1D'
+   */
+  interval?: QueryTimeGrainType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSchemasListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSchemasListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSecurityEventsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+  /**
+   * The number of elements in the collection to skip.
+   */
+  skip?: number;
+  /**
+   * The number of elements to return from the collection.
+   */
+  top?: number;
+  /**
+   * An opaque token that identifies a starting point in the collection.
+   */
+  skiptoken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  count?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  /**
+   * Specifies whether to include disabled recommendations or not.
+   */
+  includeDisabledRecommendations?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  count?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  /**
+   * Specifies whether to include disabled recommendations or not.
+   */
+  includeDisabledRecommendations?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseTablesListBySchemaOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedDatabaseTablesListBySchemaNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstanceKeysListByInstanceNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesGetOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByManagedInstanceOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * How many 'top queries' to return. Default is 5.
+   */
+  numberOfQueries?: number;
+  /**
+   * Comma separated list of databases to be included into search. All DB's are included if this
+   * parameter is not specified.
+   */
+  databases?: string;
+  /**
+   * Start time for observed period.
+   */
+  startTime?: string;
+  /**
+   * End time for observed period.
+   */
+  endTime?: string;
+  /**
+   * The time step to be used to summarize the metric values. Default value is PT1H. Possible
+   * values include: 'PT1H', 'P1D'
+   */
+  interval?: QueryTimeGrainType;
+  /**
+   * Aggregation function to be used, default value is 'sum'. Possible values include: 'avg',
+   * 'min', 'max', 'stdev', 'sum'
+   */
+  aggregationFunction?: AggregationFunctionType;
+  /**
+   * Metric to be used for ranking top queries. Default is 'cpu'. Possible values include: 'cpu',
+   * 'io', 'logIo', 'duration', 'dtu'
+   */
+  observationMetric?: MetricType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesFailoverOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
+   */
+  replicaType?: ReplicaType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesBeginFailoverOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
+   */
+  replicaType?: ReplicaType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByInstancePoolNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ManagedInstancesListByManagedInstanceNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * How many 'top queries' to return. Default is 5.
+   */
+  numberOfQueries?: number;
+  /**
+   * Comma separated list of databases to be included into search. All DB's are included if this
+   * parameter is not specified.
+   */
+  databases?: string;
+  /**
+   * Start time for observed period.
+   */
+  startTime?: string;
+  /**
+   * End time for observed period.
+   */
+  endTime?: string;
+  /**
+   * The time step to be used to summarize the metric values. Default value is PT1H. Possible
+   * values include: 'PT1H', 'P1D'
+   */
+  interval?: QueryTimeGrainType;
+  /**
+   * Aggregation function to be used, default value is 'sum'. Possible values include: 'avg',
+   * 'min', 'max', 'stdev', 'sum'
+   */
+  aggregationFunction?: AggregationFunctionType;
+  /**
+   * Metric to be used for ranking top queries. Default is 'cpu'. Possible values include: 'cpu',
+   * 'io', 'logIo', 'duration', 'dtu'
+   */
+  observationMetric?: MetricType;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  count?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  /**
+   * Specifies whether to include disabled recommendations or not.
+   */
+  includeDisabledRecommendations?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SensitivityLabelsListCurrentByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  count?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends msRest.RequestOptionsBase {
+  skipToken?: string;
+  /**
+   * Specifies whether to include disabled recommendations or not.
+   */
+  includeDisabledRecommendations?: boolean;
+  /**
+   * An OData filter expression that filters elements in the collection.
+   */
+  filter?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServerAdvisorsListByServerOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServersListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServersGetOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServersListOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServersListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface ServersListNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The child resources to include in the response.
+   */
+  expand?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The continuation token for this operation.
+   */
+  continuationToken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SyncGroupsListLogsNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * The continuation token for this operation.
+   */
+  continuationToken?: string;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Optional request parameter to include managed instance usages within the instance pool.
+   */
+  expandChildren?: boolean;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface UsagesListByInstancePoolNextOptionalParams extends msRest.RequestOptionsBase {
+  /**
+   * Optional request parameter to include managed instance usages within the instance pool.
+   */
+  expandChildren?: boolean;
+}
+
+/**
+ * An interface representing SqlManagementClientOptions.
+ */
+export interface SqlManagementClientOptions extends AzureServiceClientOptions {
+  baseUri?: string;
+}
+
+/**
+ * @interface
+ * The response to a list recoverable databases request
+ * @extends Array<RecoverableDatabase>
+ */
+export interface RecoverableDatabaseListResult extends Array<RecoverableDatabase> {
+}
+
+/**
+ * @interface
+ * The response to a list data masking rules request.
+ * @extends Array<DataMaskingRule>
+ */
+export interface DataMaskingRuleListResult extends Array<DataMaskingRule> {
+}
+
+/**
+ * @interface
+ * The response to a list geo backup policies request.
+ * @extends Array<GeoBackupPolicy>
+ */
+export interface GeoBackupPolicyListResult extends Array<GeoBackupPolicy> {
+}
+
+/**
+ * @interface
+ * The response to a list database metrics request.
+ * @extends Array<Metric>
+ */
+export interface MetricListResult extends Array<Metric> {
+}
+
+/**
+ * @interface
+ * The response to a list database metric definitions request.
+ * @extends Array<MetricDefinition>
+ */
+export interface MetricDefinitionListResult extends Array<MetricDefinition> {
+}
+
+/**
+ * @interface
+ * A list of databases.
+ * @extends Array<Database>
+ */
+export interface DatabaseListResult extends Array<Database> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The result of an elastic pool list request.
+ * @extends Array<ElasticPool>
+ */
+export interface ElasticPoolListResult extends Array<ElasticPool> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of replication links.
+ * @extends Array<ReplicationLink>
+ */
+export interface ReplicationLinksListResult extends Array<ReplicationLink> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server communication links.
+ * @extends Array<ServerCommunicationLink>
+ */
+export interface ServerCommunicationLinkListResult extends Array<ServerCommunicationLink> {
+}
+
+/**
+ * @interface
+ * Represents the response to a get database service objectives request.
+ * @extends Array<ServiceObjective>
+ */
+export interface ServiceObjectiveListResult extends Array<ServiceObjective> {
+}
+
+/**
+ * @interface
+ * Represents the response to a list elastic pool activity request.
+ * @extends Array<ElasticPoolActivity>
+ */
+export interface ElasticPoolActivityListResult extends Array<ElasticPoolActivity> {
+}
+
+/**
+ * @interface
+ * Represents the response to a list elastic pool database activity request.
+ * @extends Array<ElasticPoolDatabaseActivity>
+ */
+export interface ElasticPoolDatabaseActivityListResult extends Array<ElasticPoolDatabaseActivity> {
+}
+
+/**
+ * @interface
+ * Represents the response to a list database transparent data encryption activity request.
+ * @extends Array<TransparentDataEncryptionActivity>
+ */
+export interface TransparentDataEncryptionActivityListResult extends Array<TransparentDataEncryptionActivity> {
+}
+
+/**
+ * @interface
+ * Represents the response to a list server metrics request.
+ * @extends Array<ServerUsage>
+ */
+export interface ServerUsageListResult extends Array<ServerUsage> {
+}
+
+/**
+ * @interface
+ * A list of short term retention policies.
+ * @extends Array<BackupShortTermRetentionPolicy>
+ */
+export interface BackupShortTermRetentionPolicyListResult extends Array<BackupShortTermRetentionPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database extended auditing settings.
+ * @extends Array<ExtendedDatabaseBlobAuditingPolicy>
+ */
+export interface ExtendedDatabaseBlobAuditingPolicyListResult extends Array<ExtendedDatabaseBlobAuditingPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server extended auditing settings.
+ * @extends Array<ExtendedServerBlobAuditingPolicy>
+ */
+export interface ExtendedServerBlobAuditingPolicyListResult extends Array<ExtendedServerBlobAuditingPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server auditing settings.
+ * @extends Array<ServerBlobAuditingPolicy>
+ */
+export interface ServerBlobAuditingPolicyListResult extends Array<ServerBlobAuditingPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database auditing settings.
+ * @extends Array<DatabaseBlobAuditingPolicy>
+ */
+export interface DatabaseBlobAuditingPolicyListResult extends Array<DatabaseBlobAuditingPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database columns.
+ * @extends Array<DatabaseColumn>
+ */
+export interface DatabaseColumnListResult extends Array<DatabaseColumn> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database schemas.
+ * @extends Array<DatabaseSchema>
+ */
+export interface DatabaseSchemaListResult extends Array<DatabaseSchema> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the database's security alert policies.
+ * @extends Array<DatabaseSecurityAlertPolicy>
+ */
+export interface DatabaseSecurityAlertListResult extends Array<DatabaseSecurityAlertPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database tables.
+ * @extends Array<DatabaseTable>
+ */
+export interface DatabaseTableListResult extends Array<DatabaseTable> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the database's vulnerability assessments.
+ * @extends Array<DatabaseVulnerabilityAssessment>
+ */
+export interface DatabaseVulnerabilityAssessmentListResult extends Array<DatabaseVulnerabilityAssessment> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of vulnerability assessment scan records.
+ * @extends Array<VulnerabilityAssessmentScanRecord>
+ */
+export interface VulnerabilityAssessmentScanRecordListResult extends Array<VulnerabilityAssessmentScanRecord> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * User activities of a data warehouse
+ * @extends Array<DataWarehouseUserActivities>
+ */
+export interface DataWarehouseUserActivitiesListResult extends Array<DataWarehouseUserActivities> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of deleted servers.
+ * @extends Array<DeletedServer>
+ */
+export interface DeletedServerListResult extends Array<DeletedServer> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The response to a list elastic pool operations request
+ * @extends Array<ElasticPoolOperation>
+ */
+export interface ElasticPoolOperationListResult extends Array<ElasticPoolOperation> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server encryption protectors.
+ * @extends Array<EncryptionProtector>
+ */
+export interface EncryptionProtectorListResult extends Array<EncryptionProtector> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of failover groups.
+ * @extends Array<FailoverGroup>
+ */
+export interface FailoverGroupListResult extends Array<FailoverGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The response to a list firewall rules request
+ * @extends Array<FirewallRule>
+ */
+export interface FirewallRuleListResult extends Array<FirewallRule> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of instance failover groups.
+ * @extends Array<InstanceFailoverGroup>
+ */
+export interface InstanceFailoverGroupListResult extends Array<InstanceFailoverGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Azure SQL instance pools.
+ * @extends Array<InstancePool>
+ */
+export interface InstancePoolListResult extends Array<InstancePool> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Azure SQL job agents.
+ * @extends Array<JobAgent>
+ */
+export interface JobAgentListResult extends Array<JobAgent> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of job credentials.
+ * @extends Array<JobCredential>
+ */
+export interface JobCredentialListResult extends Array<JobCredential> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of job executions.
+ * @extends Array<JobExecution>
+ */
+export interface JobExecutionListResult extends Array<JobExecution> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of jobs.
+ * @extends Array<Job>
+ */
+export interface JobListResult extends Array<Job> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of job steps.
+ * @extends Array<JobStep>
+ */
+export interface JobStepListResult extends Array<JobStep> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of target groups.
+ * @extends Array<JobTargetGroup>
+ */
+export interface JobTargetGroupListResult extends Array<JobTargetGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of job versions.
+ * @extends Array<JobVersion>
+ */
+export interface JobVersionListResult extends Array<JobVersion> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of long term retention backups.
+ * @extends Array<LongTermRetentionBackup>
+ */
+export interface LongTermRetentionBackupListResult extends Array<LongTermRetentionBackup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of long term retention backups for managed database(s).
+ * @extends Array<ManagedInstanceLongTermRetentionBackup>
+ */
+export interface ManagedInstanceLongTermRetentionBackupListResult extends Array<ManagedInstanceLongTermRetentionBackup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of long term retention policies.
+ * @extends Array<LongTermRetentionPolicy>
+ */
+export interface LongTermRetentionPolicyListResult extends Array<LongTermRetentionPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of short term retention policies.
+ * @extends Array<ManagedBackupShortTermRetentionPolicy>
+ */
+export interface ManagedBackupShortTermRetentionPolicyListResult extends Array<ManagedBackupShortTermRetentionPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * Execution statistics for one particular query
+ * @extends Array<QueryStatistics>
+ */
+export interface ManagedInstanceQueryStatistics extends Array<QueryStatistics> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed databases.
+ * @extends Array<ManagedDatabase>
+ */
+export interface ManagedDatabaseListResult extends Array<ManagedDatabase> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the managed database's security alert policies.
+ * @extends Array<ManagedDatabaseSecurityAlertPolicy>
+ */
+export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array<ManagedDatabaseSecurityAlertPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of security events.
+ * @extends Array<SecurityEvent>
+ */
+export interface SecurityEventCollection extends Array<SecurityEvent> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sensitivity labels.
+ * @extends Array<SensitivityLabel>
+ */
+export interface SensitivityLabelListResult extends Array<SensitivityLabel> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed transparent data encryptions
+ * @extends Array<ManagedTransparentDataEncryption>
+ */
+export interface ManagedTransparentDataEncryptionListResult extends Array<ManagedTransparentDataEncryption> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed instance administrators.
+ * @extends Array<ManagedInstanceAdministrator>
+ */
+export interface ManagedInstanceAdministratorListResult extends Array<ManagedInstanceAdministrator> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of active directory only authentications.
+ * @extends Array<ManagedInstanceAzureADOnlyAuthentication>
+ */
+export interface ManagedInstanceAzureADOnlyAuthListResult extends Array<ManagedInstanceAzureADOnlyAuthentication> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed instance encryption protectors.
+ * @extends Array<ManagedInstanceEncryptionProtector>
+ */
+export interface ManagedInstanceEncryptionProtectorListResult extends Array<ManagedInstanceEncryptionProtector> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed instance keys.
+ * @extends Array<ManagedInstanceKey>
+ */
+export interface ManagedInstanceKeyListResult extends Array<ManagedInstanceKey> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of long term retention policies.
+ * @extends Array<ManagedInstanceLongTermRetentionPolicy>
+ */
+export interface ManagedInstanceLongTermRetentionPolicyListResult extends Array<ManagedInstanceLongTermRetentionPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The response to a list managed instance operations request
+ * @extends Array<ManagedInstanceOperation>
+ */
+export interface ManagedInstanceOperationListResult extends Array<ManagedInstanceOperation> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of private endpoint connections.
+ * @extends Array<ManagedInstancePrivateEndpointConnection>
+ */
+export interface ManagedInstancePrivateEndpointConnectionListResult extends Array<ManagedInstancePrivateEndpointConnection> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of private link resources
+ * @extends Array<ManagedInstancePrivateLink>
+ */
+export interface ManagedInstancePrivateLinkListResult extends Array<ManagedInstancePrivateLink> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of managed instances.
+ * @extends Array<ManagedInstance>
+ */
+export interface ManagedInstanceListResult extends Array<ManagedInstance> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of top resource consuming queries on managed instance
+ * @extends Array<TopQueries>
+ */
+export interface TopQueriesListResult extends Array<TopQueries> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the ManagedInstance's vulnerability assessments.
+ * @extends Array<ManagedInstanceVulnerabilityAssessment>
+ */
+export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array<ManagedInstanceVulnerabilityAssessment> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the managed Server's security alert policies.
+ * @extends Array<ManagedServerSecurityAlertPolicy>
+ */
+export interface ManagedServerSecurityAlertPolicyListResult extends Array<ManagedServerSecurityAlertPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * Result of the request to list SQL operations.
+ * @extends Array<Operation>
+ */
+export interface OperationListResult extends Array<Operation> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of service health statuses in a location.
+ * @extends Array<OperationsHealth>
+ */
+export interface OperationsHealthListResult extends Array<OperationsHealth> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of private endpoint connections.
+ * @extends Array<PrivateEndpointConnection>
+ */
+export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of private link resources
+ * @extends Array<PrivateLinkResource>
+ */
+export interface PrivateLinkResourceListResult extends Array<PrivateLinkResource> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of recoverable managed databases.
+ * @extends Array<RecoverableManagedDatabase>
+ */
+export interface RecoverableManagedDatabaseListResult extends Array<RecoverableManagedDatabase> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of long term retention backups.
+ * @extends Array<RestorePoint>
+ */
+export interface RestorePointListResult extends Array<RestorePoint> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of active directory administrators.
+ * @extends Array<ServerAzureADAdministrator>
+ */
+export interface AdministratorListResult extends Array<ServerAzureADAdministrator> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of active directory only authentications.
+ * @extends Array<ServerAzureADOnlyAuthentication>
+ */
+export interface AzureADOnlyAuthListResult extends Array<ServerAzureADOnlyAuthentication> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server DevOps audit settings.
+ * @extends Array<ServerDevOpsAuditingSettings>
+ */
+export interface ServerDevOpsAuditSettingsListResult extends Array<ServerDevOpsAuditingSettings> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server DNS aliases.
+ * @extends Array<ServerDnsAlias>
+ */
+export interface ServerDnsAliasListResult extends Array<ServerDnsAlias> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server keys.
+ * @extends Array<ServerKey>
+ */
+export interface ServerKeyListResult extends Array<ServerKey> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The response to a list server operations request
+ * @extends Array<ServerOperation>
+ */
+export interface ServerOperationListResult extends Array<ServerOperation> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of servers.
+ * @extends Array<Server>
+ */
+export interface ServerListResult extends Array<Server> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the server's security alert policies.
+ * @extends Array<ServerSecurityAlertPolicy>
+ */
+export interface LogicalServerSecurityAlertPolicyListResult extends Array<ServerSecurityAlertPolicy> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of server trust groups.
+ * @extends Array<ServerTrustGroup>
+ */
+export interface ServerTrustGroupListResult extends Array<ServerTrustGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of the server's vulnerability assessments.
+ * @extends Array<ServerVulnerabilityAssessment>
+ */
+export interface ServerVulnerabilityAssessmentListResult extends Array<ServerVulnerabilityAssessment> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of subscription usage metrics in a location.
+ * @extends Array<SubscriptionUsage>
+ */
+export interface SubscriptionUsageListResult extends Array<SubscriptionUsage> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync agents.
+ * @extends Array<SyncAgent>
+ */
+export interface SyncAgentListResult extends Array<SyncAgent> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync agent linked databases.
+ * @extends Array<SyncAgentLinkedDatabase>
+ */
+export interface SyncAgentLinkedDatabaseListResult extends Array<SyncAgentLinkedDatabase> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync database ID properties.
+ * @extends Array<SyncDatabaseIdProperties>
+ */
+export interface SyncDatabaseIdListResult extends Array<SyncDatabaseIdProperties> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync schema properties.
+ * @extends Array<SyncFullSchemaProperties>
+ */
+export interface SyncFullSchemaPropertiesListResult extends Array<SyncFullSchemaProperties> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync group log properties.
+ * @extends Array<SyncGroupLogProperties>
+ */
+export interface SyncGroupLogListResult extends Array<SyncGroupLogProperties> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of sync groups.
+ * @extends Array<SyncGroup>
+ */
+export interface SyncGroupListResult extends Array<SyncGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of Azure SQL Database sync members.
+ * @extends Array<SyncMember>
+ */
+export interface SyncMemberListResult extends Array<SyncMember> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of time zones.
+ * @extends Array<TimeZone>
+ */
+export interface TimeZoneListResult extends Array<TimeZone> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of virtual clusters.
+ * @extends Array<VirtualCluster>
+ */
+export interface VirtualClusterListResult extends Array<VirtualCluster> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of virtual network rules.
+ * @extends Array<VirtualNetworkRule>
+ */
+export interface VirtualNetworkRuleListResult extends Array<VirtualNetworkRule> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of workload classifiers for a workload group.
+ * @extends Array<WorkloadClassifier>
+ */
+export interface WorkloadClassifierListResult extends Array<WorkloadClassifier> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of workload groups.
+ * @extends Array<WorkloadGroup>
+ */
+export interface WorkloadGroupListResult extends Array<WorkloadGroup> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * Import export operation extensions list.
+ * @extends Array<ImportExportExtensionsOperationResult>
+ */
+export interface ImportExportExtensionsOperationListResult extends Array<ImportExportExtensionsOperationResult> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * The response to a list database operations request
+ * @extends Array<DatabaseOperation>
+ */
+export interface DatabaseOperationListResult extends Array<DatabaseOperation> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of database usage metrics.
+ * @extends Array<DatabaseUsage>
+ */
+export interface DatabaseUsageListResult extends Array<DatabaseUsage> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of ledger digest upload settings.
+ * @extends Array<LedgerDigestUploads>
+ */
+export interface LedgerDigestUploadsListResult extends Array<LedgerDigestUploads> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of outbound rules.
+ * @extends Array<OutboundFirewallRule>
+ */
+export interface OutboundFirewallRuleListResult extends Array<OutboundFirewallRule> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of restorable dropped databases.
+ * @extends Array<RestorableDroppedDatabase>
+ */
+export interface RestorableDroppedDatabaseListResult extends Array<RestorableDroppedDatabase> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of restorable dropped managed databases.
+ * @extends Array<RestorableDroppedManagedDatabase>
+ */
+export interface RestorableDroppedManagedDatabaseListResult extends Array<RestorableDroppedManagedDatabase> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * @interface
+ * A list of usages.
+ * @extends Array<Usage>
+ */
+export interface UsageListResult extends Array<Usage> {
+  /**
+   * Link to retrieve next page of results.
+   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   */
+  readonly nextLink?: string;
+}
+
+/**
+ * Defines values for ServerConnectionType.
+ * Possible values include: 'Default', 'Proxy', 'Redirect'
+ * @readonly
+ * @enum {string}
+ */
+export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect';
+
+/**
+ * Defines values for DataMaskingState.
+ * Possible values include: 'Disabled', 'Enabled'
+ * @readonly
+ * @enum {string}
+ */
+export type DataMaskingState = 'Disabled' | 'Enabled';
+
+/**
+ * Defines values for DataMaskingRuleState.
+ * Possible values include: 'Disabled', 'Enabled'
+ * @readonly
+ * @enum {string}
+ */
+export type DataMaskingRuleState = 'Disabled' | 'Enabled';
+
+/**
+ * Defines values for DataMaskingFunction.
+ * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text'
+ * @readonly
+ * @enum {string}
+ */
+export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text';
+
+/**
+ * Defines values for GeoBackupPolicyState.
+ * Possible values include: 'Disabled', 'Enabled'
+ * @readonly
+ * @enum {string}
+ */
+export type GeoBackupPolicyState = 'Disabled' | 'Enabled';
+
+/**
+ * Defines values for UnitType.
+ * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond',
+ * 'bytesPerSecond'
+ * @readonly
+ * @enum {string}
+ */
+export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond';
+
+/**
+ * Defines values for PrimaryAggregationType.
+ * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'
+ * @readonly
+ * @enum {string}
+ */
+export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total';
+
+/**
+ * Defines values for UnitDefinitionType.
+ * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
+ * 'BytesPerSecond'
+ * @readonly
+ * @enum {string}
+ */
+export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond';
+
+/**
+ * Defines values for TransparentDataEncryptionStatus.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for ServiceObjectiveName.
+ * Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4',
+ * 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7',
+ * 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6',
+ * 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500',
+ * 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
+ * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500',
+ * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'
+ * @readonly
+ * @enum {string}
+ */
+export type ServiceObjectiveName = 'System' | 'System0' | 'System1' | 'System2' | 'System3' | 'System4' | 'System2L' | 'System3L' | 'System4L' | 'Free' | 'Basic' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S6' | 'S7' | 'S9' | 'S12' | 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P11' | 'P15' | 'PRS1' | 'PRS2' | 'PRS4' | 'PRS6' | 'DW100' | 'DW200' | 'DW300' | 'DW400' | 'DW500' | 'DW600' | 'DW1000' | 'DW1200' | 'DW1000c' | 'DW1500' | 'DW1500c' | 'DW2000' | 'DW2000c' | 'DW3000' | 'DW2500c' | 'DW3000c' | 'DW6000' | 'DW5000c' | 'DW6000c' | 'DW7500c' | 'DW10000c' | 'DW15000c' | 'DW30000c' | 'DS100' | 'DS200' | 'DS300' | 'DS400' | 'DS500' | 'DS600' | 'DS1000' | 'DS1200' | 'DS1500' | 'DS2000' | 'ElasticPool';
+
+/**
+ * Defines values for TransparentDataEncryptionActivityStatus.
+ * Possible values include: 'Encrypting', 'Decrypting'
+ * @readonly
+ * @enum {string}
+ */
+export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting';
+
+/**
+ * Defines values for BlobAuditingPolicyState.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type BlobAuditingPolicyState = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for AdvisorStatus.
+ * Possible values include: 'GA', 'PublicPreview', 'LimitedPublicPreview', 'PrivatePreview'
+ * @readonly
+ * @enum {string}
+ */
+export type AdvisorStatus = 'GA' | 'PublicPreview' | 'LimitedPublicPreview' | 'PrivatePreview';
+
+/**
+ * Defines values for AutoExecuteStatus.
+ * Possible values include: 'Enabled', 'Disabled', 'Default'
+ * @readonly
+ * @enum {string}
+ */
+export type AutoExecuteStatus = 'Enabled' | 'Disabled' | 'Default';
+
+/**
+ * Defines values for AutoExecuteStatusInheritedFrom.
+ * Possible values include: 'Default', 'Subscription', 'Server', 'ElasticPool', 'Database'
+ * @readonly
+ * @enum {string}
+ */
+export type AutoExecuteStatusInheritedFrom = 'Default' | 'Subscription' | 'Server' | 'ElasticPool' | 'Database';
+
+/**
+ * Defines values for RecommendedActionCurrentState.
+ * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'PendingRevert',
+ * 'RevertCancelled', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Monitoring', 'Resolved',
+ * 'Success', 'Error'
+ * @readonly
+ * @enum {string}
+ */
+export type RecommendedActionCurrentState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'PendingRevert' | 'RevertCancelled' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Monitoring' | 'Resolved' | 'Success' | 'Error';
+
+/**
+ * Defines values for RecommendedActionInitiatedBy.
+ * Possible values include: 'User', 'System'
+ * @readonly
+ * @enum {string}
+ */
+export type RecommendedActionInitiatedBy = 'User' | 'System';
+
+/**
+ * Defines values for ImplementationMethod.
+ * Possible values include: 'TSql', 'AzurePowerShell'
+ * @readonly
+ * @enum {string}
+ */
+export type ImplementationMethod = 'TSql' | 'AzurePowerShell';
+
+/**
+ * Defines values for IsRetryable.
+ * Possible values include: 'Yes', 'No'
+ * @readonly
+ * @enum {string}
+ */
+export type IsRetryable = 'Yes' | 'No';
+
+/**
+ * Defines values for AutomaticTuningMode.
+ * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified';
+
+/**
+ * Defines values for AutomaticTuningOptionModeDesired.
+ * Possible values include: 'Off', 'On', 'Default'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default';
+
+/**
+ * Defines values for AutomaticTuningOptionModeActual.
+ * Possible values include: 'Off', 'On'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningOptionModeActual = 'Off' | 'On';
+
+/**
+ * Defines values for AutomaticTuningDisabledReason.
+ * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer',
+ * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported';
+
+/**
+ * Defines values for ColumnDataType.
+ * Possible values include: 'image', 'text', 'uniqueidentifier', 'date', 'time', 'datetime2',
+ * 'datetimeoffset', 'tinyint', 'smallint', 'int', 'smalldatetime', 'real', 'money', 'datetime',
+ * 'float', 'sql_variant', 'ntext', 'bit', 'decimal', 'numeric', 'smallmoney', 'bigint',
+ * 'hierarchyid', 'geometry', 'geography', 'varbinary', 'varchar', 'binary', 'char', 'timestamp',
+ * 'nvarchar', 'nchar', 'xml', 'sysname'
+ * @readonly
+ * @enum {string}
+ */
+export type ColumnDataType = 'image' | 'text' | 'uniqueidentifier' | 'date' | 'time' | 'datetime2' | 'datetimeoffset' | 'tinyint' | 'smallint' | 'int' | 'smalldatetime' | 'real' | 'money' | 'datetime' | 'float' | 'sql_variant' | 'ntext' | 'bit' | 'decimal' | 'numeric' | 'smallmoney' | 'bigint' | 'hierarchyid' | 'geometry' | 'geography' | 'varbinary' | 'varchar' | 'binary' | 'char' | 'timestamp' | 'nvarchar' | 'nchar' | 'xml' | 'sysname';
+
+/**
+ * Defines values for TableTemporalType.
+ * Possible values include: 'NonTemporalTable', 'HistoryTable', 'SystemVersionedTemporalTable'
+ * @readonly
+ * @enum {string}
+ */
+export type TableTemporalType = 'NonTemporalTable' | 'HistoryTable' | 'SystemVersionedTemporalTable';
+
+/**
+ * Defines values for SecurityAlertsPolicyState.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type SecurityAlertsPolicyState = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for CreatedByType.
+ * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
+ * @readonly
+ * @enum {string}
+ */
+export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
+
+/**
+ * Defines values for VulnerabilityAssessmentScanTriggerType.
+ * Possible values include: 'OnDemand', 'Recurring'
+ * @readonly
+ * @enum {string}
+ */
+export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring';
+
+/**
+ * Defines values for VulnerabilityAssessmentScanState.
+ * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress'
+ * @readonly
+ * @enum {string}
+ */
+export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress';
+
+/**
+ * Defines values for ElasticPoolState.
+ * Possible values include: 'Creating', 'Ready', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled';
+
+/**
+ * Defines values for ElasticPoolLicenseType.
+ * Possible values include: 'LicenseIncluded', 'BasePrice'
+ * @readonly
+ * @enum {string}
+ */
+export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice';
+
+/**
+ * Defines values for ServerKeyType.
+ * Possible values include: 'ServiceManaged', 'AzureKeyVault'
+ * @readonly
+ * @enum {string}
+ */
+export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault';
+
+/**
+ * Defines values for ReadWriteEndpointFailoverPolicy.
+ * Possible values include: 'Manual', 'Automatic'
+ * @readonly
+ * @enum {string}
+ */
+export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic';
+
+/**
+ * Defines values for ReadOnlyEndpointFailoverPolicy.
+ * Possible values include: 'Disabled', 'Enabled'
+ * @readonly
+ * @enum {string}
+ */
+export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled';
+
+/**
+ * Defines values for FailoverGroupReplicationRole.
+ * Possible values include: 'Primary', 'Secondary'
+ * @readonly
+ * @enum {string}
+ */
+export type FailoverGroupReplicationRole = 'Primary' | 'Secondary';
+
+/**
+ * Defines values for InstanceFailoverGroupReplicationRole.
+ * Possible values include: 'Primary', 'Secondary'
+ * @readonly
+ * @enum {string}
+ */
+export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary';
+
+/**
+ * Defines values for InstancePoolLicenseType.
+ * Possible values include: 'LicenseIncluded', 'BasePrice'
+ * @readonly
+ * @enum {string}
+ */
+export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice';
+
+/**
+ * Defines values for JobAgentState.
+ * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled';
+
+/**
+ * Defines values for JobExecutionLifecycle.
+ * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions',
+ * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled',
+ * 'Skipped'
+ * @readonly
+ * @enum {string}
+ */
+export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped';
+
+/**
+ * Defines values for ProvisioningState.
+ * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
+ * @readonly
+ * @enum {string}
+ */
+export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled';
+
+/**
+ * Defines values for JobTargetType.
+ * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap',
+ * 'SqlServer'
+ * @readonly
+ * @enum {string}
+ */
+export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer';
+
+/**
+ * Defines values for JobScheduleType.
+ * Possible values include: 'Once', 'Recurring'
+ * @readonly
+ * @enum {string}
+ */
+export type JobScheduleType = 'Once' | 'Recurring';
+
+/**
+ * Defines values for JobStepActionType.
+ * Possible values include: 'TSql'
+ * @readonly
+ * @enum {string}
+ */
+export type JobStepActionType = 'TSql';
+
+/**
+ * Defines values for JobStepActionSource.
+ * Possible values include: 'Inline'
+ * @readonly
+ * @enum {string}
+ */
+export type JobStepActionSource = 'Inline';
+
+/**
+ * Defines values for JobStepOutputType.
+ * Possible values include: 'SqlDatabase'
+ * @readonly
+ * @enum {string}
+ */
+export type JobStepOutputType = 'SqlDatabase';
+
+/**
+ * Defines values for JobTargetGroupMembershipType.
+ * Possible values include: 'Include', 'Exclude'
+ * @readonly
+ * @enum {string}
+ */
+export type JobTargetGroupMembershipType = 'Include' | 'Exclude';
+
+/**
+ * Defines values for MaxSizeUnit.
+ * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'
+ * @readonly
+ * @enum {string}
+ */
+export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes';
+
+/**
+ * Defines values for LogSizeUnit.
+ * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent'
+ * @readonly
+ * @enum {string}
+ */
+export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent';
+
+/**
+ * Defines values for CapabilityStatus.
+ * Possible values include: 'Visible', 'Available', 'Default', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled';
+
+/**
+ * Defines values for PerformanceLevelUnit.
+ * Possible values include: 'DTU', 'VCores'
+ * @readonly
+ * @enum {string}
+ */
+export type PerformanceLevelUnit = 'DTU' | 'VCores';
+
+/**
+ * Defines values for PauseDelayTimeUnit.
+ * Possible values include: 'Minutes'
+ * @readonly
+ * @enum {string}
+ */
+export type PauseDelayTimeUnit = 'Minutes';
+
+/**
+ * Defines values for TargetBackupStorageRedundancy.
+ * Possible values include: 'Geo', 'Local', 'Zone'
+ * @readonly
+ * @enum {string}
+ */
+export type TargetBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone';
+
+/**
+ * Defines values for BackupStorageRedundancy.
+ * Possible values include: 'Geo', 'Local', 'Zone'
+ * @readonly
+ * @enum {string}
+ */
+export type BackupStorageRedundancy = 'Geo' | 'Local' | 'Zone';
+
+/**
+ * Defines values for RequestedBackupStorageRedundancy.
+ * Possible values include: 'Geo', 'Local', 'Zone'
+ * @readonly
+ * @enum {string}
+ */
+export type RequestedBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone';
+
+/**
+ * Defines values for DayOfWeek.
+ * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
+ * 'Saturday'
+ * @readonly
+ * @enum {string}
+ */
+export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
+
+/**
+ * Defines values for QueryTimeGrainType.
+ * Possible values include: 'PT1H', 'P1D'
+ * @readonly
+ * @enum {string}
+ */
+export type QueryTimeGrainType = 'PT1H' | 'P1D';
+
+/**
+ * Defines values for QueryMetricUnitType.
+ * Possible values include: 'percentage', 'KB', 'microseconds', 'count'
+ * @readonly
+ * @enum {string}
+ */
+export type QueryMetricUnitType = 'percentage' | 'KB' | 'microseconds' | 'count';
+
+/**
+ * Defines values for ManagedDatabaseStatus.
+ * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible',
+ * 'Restoring', 'Updating'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating';
+
+/**
+ * Defines values for CatalogCollationType.
+ * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS'
+ * @readonly
+ * @enum {string}
+ */
+export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS';
+
+/**
+ * Defines values for ManagedDatabaseCreateMode.
+ * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery',
+ * 'RestoreLongTermRetentionBackup'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery' | 'RestoreLongTermRetentionBackup';
+
+/**
+ * Defines values for SecurityAlertPolicyState.
+ * Possible values include: 'New', 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for SecurityEventType.
+ * Possible values include: 'Undefined', 'SqlInjectionVulnerability', 'SqlInjectionExploit'
+ * @readonly
+ * @enum {string}
+ */
+export type SecurityEventType = 'Undefined' | 'SqlInjectionVulnerability' | 'SqlInjectionExploit';
+
+/**
+ * Defines values for SensitivityLabelRank.
+ * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical'
+ * @readonly
+ * @enum {string}
+ */
+export type SensitivityLabelRank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical';
+
+/**
+ * Defines values for SensitivityLabelUpdateKind.
+ * Possible values include: 'set', 'remove'
+ * @readonly
+ * @enum {string}
+ */
+export type SensitivityLabelUpdateKind = 'set' | 'remove';
+
+/**
+ * Defines values for RecommendedSensitivityLabelUpdateKind.
+ * Possible values include: 'enable', 'disable'
+ * @readonly
+ * @enum {string}
+ */
+export type RecommendedSensitivityLabelUpdateKind = 'enable' | 'disable';
+
+/**
+ * Defines values for TransparentDataEncryptionState.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type TransparentDataEncryptionState = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for ManagementOperationState.
+ * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress',
+ * 'Cancelled'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled';
+
+/**
+ * Defines values for IdentityType.
+ * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
+ * @readonly
+ * @enum {string}
+ */
+export type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
+
+/**
+ * Defines values for ManagedServerCreateMode.
+ * Possible values include: 'Default', 'PointInTimeRestore'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore';
+
+/**
+ * Defines values for ManagedInstanceLicenseType.
+ * Possible values include: 'LicenseIncluded', 'BasePrice'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice';
+
+/**
+ * Defines values for ManagedInstanceProxyOverride.
+ * Possible values include: 'Proxy', 'Redirect', 'Default'
+ * @readonly
+ * @enum {string}
+ */
+export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default';
+
+/**
+ * Defines values for StorageAccountType.
+ * Possible values include: 'GRS', 'LRS', 'ZRS'
+ * @readonly
+ * @enum {string}
+ */
+export type StorageAccountType = 'GRS' | 'LRS' | 'ZRS';
+
+/**
+ * Defines values for AdministratorType.
+ * Possible values include: 'ActiveDirectory'
+ * @readonly
+ * @enum {string}
+ */
+export type AdministratorType = 'ActiveDirectory';
+
+/**
+ * Defines values for PrincipalType.
+ * Possible values include: 'User', 'Group', 'Application'
+ * @readonly
+ * @enum {string}
+ */
+export type PrincipalType = 'User' | 'Group' | 'Application';
+
+/**
+ * Defines values for OperationOrigin.
+ * Possible values include: 'user', 'system'
+ * @readonly
+ * @enum {string}
+ */
+export type OperationOrigin = 'user' | 'system';
+
+/**
+ * Defines values for PrivateLinkServiceConnectionStateStatus.
+ * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
+ * @readonly
+ * @enum {string}
+ */
+export type PrivateLinkServiceConnectionStateStatus = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected';
+
+/**
+ * Defines values for PrivateLinkServiceConnectionStateActionsRequire.
+ * Possible values include: 'None'
+ * @readonly
+ * @enum {string}
+ */
+export type PrivateLinkServiceConnectionStateActionsRequire = 'None';
+
+/**
+ * Defines values for PrivateEndpointProvisioningState.
+ * Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting'
+ * @readonly
+ * @enum {string}
+ */
+export type PrivateEndpointProvisioningState = 'Approving' | 'Ready' | 'Dropping' | 'Failed' | 'Rejecting';
+
+/**
+ * Defines values for RestorePointType.
+ * Possible values include: 'CONTINUOUS', 'DISCRETE'
+ * @readonly
+ * @enum {string}
+ */
+export type RestorePointType = 'CONTINUOUS' | 'DISCRETE';
+
+/**
+ * Defines values for AutomaticTuningServerMode.
+ * Possible values include: 'Custom', 'Auto', 'Unspecified'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified';
+
+/**
+ * Defines values for AutomaticTuningServerReason.
+ * Possible values include: 'Default', 'Disabled', 'AutoConfigured'
+ * @readonly
+ * @enum {string}
+ */
+export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured';
+
+/**
+ * Defines values for ServerPublicNetworkAccess.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type ServerPublicNetworkAccess = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for ServerWorkspaceFeature.
+ * Possible values include: 'Connected', 'Disconnected'
+ * @readonly
+ * @enum {string}
+ */
+export type ServerWorkspaceFeature = 'Connected' | 'Disconnected';
+
+/**
+ * Defines values for StorageKeyType.
+ * Possible values include: 'SharedAccessKey', 'StorageAccessKey'
+ * @readonly
+ * @enum {string}
+ */
+export type StorageKeyType = 'SharedAccessKey' | 'StorageAccessKey';
+
+/**
+ * Defines values for CheckNameAvailabilityReason.
+ * Possible values include: 'Invalid', 'AlreadyExists'
+ * @readonly
+ * @enum {string}
+ */
+export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists';
+
+/**
+ * Defines values for SyncAgentState.
+ * Possible values include: 'Online', 'Offline', 'NeverConnected'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected';
+
+/**
+ * Defines values for SyncMemberDbType.
+ * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase';
+
+/**
+ * Defines values for SyncGroupLogType.
+ * Possible values include: 'All', 'Error', 'Warning', 'Success'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success';
+
+/**
+ * Defines values for SyncConflictResolutionPolicy.
+ * Possible values include: 'HubWin', 'MemberWin'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin';
+
+/**
+ * Defines values for SyncGroupState.
+ * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good';
+
+/**
+ * Defines values for SyncDirection.
+ * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember';
+
+/**
+ * Defines values for SyncMemberState.
+ * Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed',
+ * 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings',
+ * 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned',
+ * 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning',
+ * 'ReprovisionFailed', 'UnReprovisioned'
+ * @readonly
+ * @enum {string}
+ */
+export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned';
+
+/**
+ * Defines values for VirtualNetworkRuleState.
+ * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Failed', 'Deleting', 'Unknown'
+ * @readonly
+ * @enum {string}
+ */
+export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Failed' | 'Deleting' | 'Unknown';
+
+/**
+ * Defines values for CreateMode.
+ * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore',
+ * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
+ * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
+ * @readonly
+ * @enum {string}
+ */
+export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary';
+
+/**
+ * Defines values for SampleName.
+ * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
+ * @readonly
+ * @enum {string}
+ */
+export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull';
+
+/**
+ * Defines values for DatabaseStatus.
+ * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect',
+ * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating',
+ * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling',
+ * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled';
+
+/**
+ * Defines values for DatabaseLicenseType.
+ * Possible values include: 'LicenseIncluded', 'BasePrice'
+ * @readonly
+ * @enum {string}
+ */
+export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice';
+
+/**
+ * Defines values for DatabaseReadScale.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type DatabaseReadScale = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for SecondaryType.
+ * Possible values include: 'Geo', 'Named'
+ * @readonly
+ * @enum {string}
+ */
+export type SecondaryType = 'Geo' | 'Named';
+
+/**
+ * Defines values for CurrentBackupStorageRedundancy.
+ * Possible values include: 'Geo', 'Local', 'Zone'
+ * @readonly
+ * @enum {string}
+ */
+export type CurrentBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone';
+
+/**
+ * Defines values for LedgerDigestUploadsState.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type LedgerDigestUploadsState = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for VulnerabilityAssessmentPolicyBaselineName.
+ * Possible values include: 'master', 'default'
+ * @readonly
+ * @enum {string}
+ */
+export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default';
+
+/**
+ * Defines values for CapabilityGroup.
+ * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions',
+ * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions',
+ * 'supportedManagedInstanceEditions'
+ * @readonly
+ * @enum {string}
+ */
+export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions' | 'supportedInstancePoolEditions' | 'supportedManagedInstanceEditions';
+
+/**
+ * Defines values for DatabaseState.
+ * Possible values include: 'All', 'Live', 'Deleted'
+ * @readonly
+ * @enum {string}
+ */
+export type DatabaseState = 'All' | 'Live' | 'Deleted';
+
+/**
+ * Defines values for SensitivityLabelSource.
+ * Possible values include: 'current', 'recommended'
+ * @readonly
+ * @enum {string}
+ */
+export type SensitivityLabelSource = 'current' | 'recommended';
+
+/**
+ * Defines values for AggregationFunctionType.
+ * Possible values include: 'avg', 'min', 'max', 'stdev', 'sum'
+ * @readonly
+ * @enum {string}
+ */
+export type AggregationFunctionType = 'avg' | 'min' | 'max' | 'stdev' | 'sum';
+
+/**
+ * Defines values for MetricType.
+ * Possible values include: 'cpu', 'io', 'logIo', 'duration', 'dtu'
+ * @readonly
+ * @enum {string}
+ */
+export type MetricType = 'cpu' | 'io' | 'logIo' | 'duration' | 'dtu';
+
+/**
+ * Defines values for ReplicaType.
+ * Possible values include: 'Primary', 'ReadableSecondary'
+ * @readonly
+ * @enum {string}
+ */
+export type ReplicaType = 'Primary' | 'ReadableSecondary';
+
+/**
+ * Defines values for StorageAccountType1.
+ * Possible values include: 'GRS', 'LRS', 'ZRS'
+ * @readonly
+ * @enum {string}
+ */
+export type StorageAccountType1 = 'GRS' | 'LRS' | 'ZRS';
+
+/**
+ * Defines values for Status.
+ * Possible values include: 'NotStarted', 'InProgress', 'SlowedDown', 'Completed', 'Failed',
+ * 'Canceled'
+ * @readonly
+ * @enum {string}
+ */
+export type Status = 'NotStarted' | 'InProgress' | 'SlowedDown' | 'Completed' | 'Failed' | 'Canceled';
+
+/**
+ * Defines values for ProvisioningState1.
+ * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed'
+ * @readonly
+ * @enum {string}
+ */
+export type ProvisioningState1 = 'Creating' | 'Deleting' | 'Updating' | 'Unknown' | 'Succeeded' | 'Failed';
+
+/**
+ * Defines values for State.
+ * Possible values include: 'Enabled', 'Disabled'
+ * @readonly
+ * @enum {string}
+ */
+export type State = 'Enabled' | 'Disabled';
+
+/**
+ * Defines values for Status1.
+ * Possible values include: 'Succeeded', 'Failed'
+ * @readonly
+ * @enum {string}
+ */
+export type Status1 = 'Succeeded' | 'Failed';
+
+/**
+ * Defines values for BackupStorageRedundancy1.
+ * Possible values include: 'Geo', 'Local', 'Zone'
+ * @readonly
+ * @enum {string}
+ */
+export type BackupStorageRedundancy1 = 'Geo' | 'Local' | 'Zone';
+
+/**
+ * Defines values for Type.
+ * Possible values include: 'All', 'Error', 'Warning', 'Success'
+ * @readonly
+ * @enum {string}
+ */
+export type Type = 'All' | 'Error' | 'Warning' | 'Success';
+
+/**
+ * Contains response data for the get operation.
+ */
+export type RecoverableDatabasesGetResponse = RecoverableDatabase & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: RecoverableDatabase;
+    };
+};
+
+/**
+ * Contains response data for the listByServer operation.
+ */
+export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: RecoverableDatabaseListResult;
+    };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerConnectionPolicy;
+    };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerConnectionPolicy;
+    };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataMaskingPolicy;
+    };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataMaskingPolicy;
+    };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataMaskingRule;
+    };
+};
+
+/**
+ * Contains response data for the listByDatabase operation.
+ */
+export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & {
   /**
-   * The resource identifier of the recoverable database associated with create operation of this
-   * database.
+   * The underlying HTTP response.
    */
-  recoverableDatabaseId?: string;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataMaskingRuleListResult;
+    };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & {
   /**
-   * Resource tags.
+   * The underlying HTTP response.
    */
-  tags?: { [propertyName: string]: string };
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: GeoBackupPolicy;
+    };
+};
 
 /**
- * Contains the information necessary to perform a complete database restore operation.
+ * Contains response data for the get operation.
  */
-export interface CompleteDatabaseRestoreDefinition {
+export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & {
   /**
-   * The last backup name to apply
+   * The underlying HTTP response.
    */
-  lastBackupName: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: GeoBackupPolicy;
+    };
+};
 
 /**
- * An interface representing PrivateEndpointProperty.
+ * Contains response data for the listByDatabase operation.
  */
-export interface PrivateEndpointProperty extends BaseResource {
+export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & {
   /**
-   * Resource id of the private endpoint.
+   * The underlying HTTP response.
    */
-  id?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: GeoBackupPolicyListResult;
+    };
+};
 
 /**
- * An interface representing PrivateLinkServiceConnectionStateProperty.
+ * Contains response data for the listMetrics operation.
  */
-export interface PrivateLinkServiceConnectionStateProperty {
+export type DatabasesListMetricsResponse = MetricListResult & {
   /**
-   * The private link service connection status.
+   * The underlying HTTP response.
    */
-  status: string;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: MetricListResult;
+    };
+};
+
+/**
+ * Contains response data for the listMetricDefinitions operation.
+ */
+export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & {
   /**
-   * The private link service connection description.
+   * The underlying HTTP response.
    */
-  description: string;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: MetricDefinitionListResult;
+    };
+};
+
+/**
+ * Contains response data for the listByServer operation.
+ */
+export type DatabasesListByServerResponse = DatabaseListResult & {
   /**
-   * The actions required for private link service connection.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly actionsRequired?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
 
 /**
- * A private endpoint connection
+ * Contains response data for the get operation.
  */
-export interface PrivateEndpointConnection extends ProxyResource {
+export type DatabasesGetResponse = Database & {
   /**
-   * Private endpoint which the connection belongs to.
+   * The underlying HTTP response.
    */
-  privateEndpoint?: PrivateEndpointProperty;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
+
+/**
+ * Contains response data for the createOrUpdate operation.
+ */
+export type DatabasesCreateOrUpdateResponse = Database & {
   /**
-   * Connection state of the private endpoint connection.
+   * The underlying HTTP response.
    */
-  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type DatabasesUpdateResponse = Database & {
   /**
-   * State of the private endpoint connection.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly provisioningState?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Properties of a private link resource.
+ * Contains response data for the listByElasticPool operation.
  */
-export interface PrivateLinkResourceProperties {
+export type DatabasesListByElasticPoolResponse = DatabaseListResult & {
   /**
-   * The private link resource group id.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly groupId?: string;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
+
+/**
+ * Contains response data for the listInaccessibleByServer operation.
+ */
+export type DatabasesListInaccessibleByServerResponse = DatabaseListResult & {
   /**
-   * The private link resource required member names.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly requiredMembers?: string[];
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
 
 /**
- * A private link resource
+ * Contains response data for the pause operation.
  */
-export interface PrivateLinkResource extends ProxyResource {
+export type DatabasesPauseResponse = Database & {
   /**
-   * The private link resource group id.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly properties?: PrivateLinkResourceProperties;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Optional Parameters.
- */
-export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
-   */
-  replicaType?: ReplicaType;
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the resume operation.
  */
-export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase {
+export type DatabasesResumeResponse = Database & {
   /**
-   * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary'
+   * The underlying HTTP response.
    */
-  replicaType?: ReplicaType;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the importMethod operation.
  */
-export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase {
+export type DatabasesImportMethodResponse = ImportExportOperationResult & {
   /**
-   * The number of elements in the collection to skip.
+   * The underlying HTTP response.
    */
-  skip?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ImportExportOperationResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the exportMethod operation.
  */
-export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase {
+export type DatabasesExportMethodResponse = ImportExportOperationResult & {
   /**
-   * The continuation token for this operation.
+   * The underlying HTTP response.
    */
-  continuationToken?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ImportExportOperationResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * If specified, only job executions created at or after the specified time are included.
-   */
-  createTimeMin?: Date;
-  /**
-   * If specified, only job executions created before the specified time are included.
-   */
-  createTimeMax?: Date;
-  /**
-   * If specified, only job executions completed at or after the specified time are included.
-   */
-  endTimeMin?: Date;
-  /**
-   * If specified, only job executions completed before the specified time are included.
-   */
-  endTimeMax?: Date;
-  /**
-   * If specified, only active or only completed job executions are included.
-   */
-  isActive?: boolean;
-  /**
-   * The number of elements in the collection to skip.
-   */
-  skip?: number;
+export type DatabasesBeginCreateOrUpdateResponse = Database & {
   /**
-   * The number of elements to return from the collection.
+   * The underlying HTTP response.
    */
-  top?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginUpdate operation.
  */
-export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * If specified, only job executions created at or after the specified time are included.
-   */
-  createTimeMin?: Date;
-  /**
-   * If specified, only job executions created before the specified time are included.
-   */
-  createTimeMax?: Date;
-  /**
-   * If specified, only job executions completed at or after the specified time are included.
-   */
-  endTimeMin?: Date;
-  /**
-   * If specified, only job executions completed before the specified time are included.
-   */
-  endTimeMax?: Date;
-  /**
-   * If specified, only active or only completed job executions are included.
-   */
-  isActive?: boolean;
-  /**
-   * The number of elements in the collection to skip.
-   */
-  skip?: number;
+export type DatabasesBeginUpdateResponse = Database & {
   /**
-   * The number of elements to return from the collection.
+   * The underlying HTTP response.
    */
-  top?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginPause operation.
  */
-export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * If specified, only job executions created at or after the specified time are included.
-   */
-  createTimeMin?: Date;
-  /**
-   * If specified, only job executions created before the specified time are included.
-   */
-  createTimeMax?: Date;
-  /**
-   * If specified, only job executions completed at or after the specified time are included.
-   */
-  endTimeMin?: Date;
-  /**
-   * If specified, only job executions completed before the specified time are included.
-   */
-  endTimeMax?: Date;
-  /**
-   * If specified, only active or only completed job executions are included.
-   */
-  isActive?: boolean;
-  /**
-   * The number of elements in the collection to skip.
-   */
-  skip?: number;
+export type DatabasesBeginPauseResponse = Database & {
   /**
-   * The number of elements to return from the collection.
+   * The underlying HTTP response.
    */
-  top?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginResume operation.
  */
-export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * If specified, only job executions created at or after the specified time are included.
-   */
-  createTimeMin?: Date;
-  /**
-   * If specified, only job executions created before the specified time are included.
-   */
-  createTimeMax?: Date;
-  /**
-   * If specified, only job executions completed at or after the specified time are included.
-   */
-  endTimeMin?: Date;
-  /**
-   * If specified, only job executions completed before the specified time are included.
-   */
-  endTimeMax?: Date;
-  /**
-   * If specified, only active or only completed job executions are included.
-   */
-  isActive?: boolean;
-  /**
-   * The number of elements in the collection to skip.
-   */
-  skip?: number;
+export type DatabasesBeginResumeResponse = Database & {
   /**
-   * The number of elements to return from the collection.
+   * The underlying HTTP response.
    */
-  top?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Database;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginImportMethod operation.
  */
-export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase {
+export type DatabasesBeginImportMethodResponse = ImportExportOperationResult & {
   /**
-   * If specified, only job executions created at or after the specified time are included.
+   * The underlying HTTP response.
    */
-  createTimeMin?: Date;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ImportExportOperationResult;
+    };
+};
+
+/**
+ * Contains response data for the beginExportMethod operation.
+ */
+export type DatabasesBeginExportMethodResponse = ImportExportOperationResult & {
   /**
-   * If specified, only job executions created before the specified time are included.
+   * The underlying HTTP response.
    */
-  createTimeMax?: Date;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ImportExportOperationResult;
+    };
+};
+
+/**
+ * Contains response data for the listByServerNext operation.
+ */
+export type DatabasesListByServerNextResponse = DatabaseListResult & {
   /**
-   * If specified, only job executions completed at or after the specified time are included.
+   * The underlying HTTP response.
    */
-  endTimeMin?: Date;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
+
+/**
+ * Contains response data for the listByElasticPoolNext operation.
+ */
+export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & {
   /**
-   * If specified, only job executions completed before the specified time are included.
+   * The underlying HTTP response.
    */
-  endTimeMax?: Date;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
+
+/**
+ * Contains response data for the listInaccessibleByServerNext operation.
+ */
+export type DatabasesListInaccessibleByServerNextResponse = DatabaseListResult & {
   /**
-   * If specified, only active or only completed job executions are included.
+   * The underlying HTTP response.
    */
-  isActive?: boolean;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseListResult;
+    };
+};
+
+/**
+ * Contains response data for the listMetrics operation.
+ */
+export type ElasticPoolsListMetricsResponse = MetricListResult & {
   /**
-   * The number of elements in the collection to skip.
+   * The underlying HTTP response.
    */
-  skip?: number;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: MetricListResult;
+    };
+};
+
+/**
+ * Contains response data for the listMetricDefinitions operation.
+ */
+export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & {
   /**
-   * The number of elements to return from the collection.
+   * The underlying HTTP response.
    */
-  top?: number;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: MetricDefinitionListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByServer operation.
  */
-export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase {
+export type ElasticPoolsListByServerResponse = ElasticPoolListResult & {
   /**
-   * Whether or not to only get the latest backup for each database.
+   * The underlying HTTP response.
    */
-  onlyLatestPerDatabase?: boolean;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolListResult;
+    };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type ElasticPoolsGetResponse = ElasticPool & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPool;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the createOrUpdate operation.
  */
-export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase {
+export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & {
   /**
-   * Whether or not to only get the latest backup for each database.
+   * The underlying HTTP response.
    */
-  onlyLatestPerDatabase?: boolean;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPool;
+    };
+};
+
+/**
+ * Contains response data for the update operation.
+ */
+export type ElasticPoolsUpdateResponse = ElasticPool & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPool;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase {
+export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & {
   /**
-   * Whether or not to only get the latest backup for each database.
+   * The underlying HTTP response.
    */
-  onlyLatestPerDatabase?: boolean;
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPool;
+    };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type ElasticPoolsBeginUpdateResponse = ElasticPool & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPool;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByServerNext operation.
  */
-export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * Whether or not to only get the latest backup for each database.
-   */
-  onlyLatestPerDatabase?: boolean;
+export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByDatabase operation.
  */
-export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * Whether or not to only get the latest backup for each database.
-   */
-  onlyLatestPerDatabase?: boolean;
+export type ReplicationLinksListByDatabaseResponse = ReplicationLinksListResult & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ReplicationLinksListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the get operation.
  */
-export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * Whether or not to only get the latest backup for each database.
-   */
-  onlyLatestPerDatabase?: boolean;
+export type ReplicationLinksGetResponse = ReplicationLink & {
   /**
-   * Whether to query against just live databases, just deleted databases, or all databases.
-   * Possible values include: 'All', 'Live', 'Deleted'
+   * The underlying HTTP response.
    */
-  databaseState?: LongTermRetentionDatabaseState;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ReplicationLink;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByServer operation.
  */
-export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+export type ReplicationLinksListByServerResponse = ReplicationLinksListResult & {
   /**
-   * An OData filter expression that filters elements in the collection.
+   * The underlying HTTP response.
    */
-  filter?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ReplicationLinksListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * Specifies whether to include disabled recommendations or not.
-   */
-  includeDisabledRecommendations?: boolean;
-  skipToken?: string;
+export type ReplicationLinksListByDatabaseNextResponse = ReplicationLinksListResult & {
   /**
-   * An OData filter expression that filters elements in the collection.
+   * The underlying HTTP response.
    */
-  filter?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ReplicationLinksListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByServerNext operation.
  */
-export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase {
+export type ReplicationLinksListByServerNextResponse = ReplicationLinksListResult & {
   /**
-   * If specified, restricts the response to only include the selected item. Possible values
-   * include: 'supportedEditions', 'supportedElasticPoolEditions',
-   * 'supportedManagedInstanceVersions'
+   * The underlying HTTP response.
    */
-  include?: CapabilityGroup;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ReplicationLinksListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the get operation.
  */
-export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase {
+export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & {
   /**
-   * An OData filter expression that filters elements in the collection.
+   * The underlying HTTP response.
    */
-  filter?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerCommunicationLink;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the createOrUpdate operation.
  */
-export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase {
+export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & {
   /**
-   * An OData filter expression that filters elements in the collection.
+   * The underlying HTTP response.
    */
-  filter?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerCommunicationLink;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the listByServer operation.
  */
-export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase {
-  /**
-   * Specifies whether to include disabled recommendations or not.
-   */
-  includeDisabledRecommendations?: boolean;
-  skipToken?: string;
+export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & {
   /**
-   * An OData filter expression that filters elements in the collection.
+   * The underlying HTTP response.
    */
-  filter?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerCommunicationLinkListResult;
+    };
+};
 
 /**
- * Optional Parameters.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase {
+export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & {
   /**
-   * Optional request parameter to include managed instance usages within the instance pool.
+   * The underlying HTTP response.
    */
-  expandChildren?: boolean;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerCommunicationLink;
+    };
+};
 
 /**
- * An interface representing SqlManagementClientOptions.
+ * Contains response data for the get operation.
  */
-export interface SqlManagementClientOptions extends AzureServiceClientOptions {
-  baseUri?: string;
-}
+export type ServiceObjectivesGetResponse = ServiceObjective & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServiceObjective;
+    };
+};
 
 /**
- * @interface
- * The response to a list recoverable databases request
- * @extends Array<RecoverableDatabase>
+ * Contains response data for the listByServer operation.
  */
-export interface RecoverableDatabaseListResult extends Array<RecoverableDatabase> {
-}
+export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServiceObjectiveListResult;
+    };
+};
 
 /**
- * @interface
- * The response to a list restorable dropped databases request
- * @extends Array<RestorableDroppedDatabase>
+ * Contains response data for the listByElasticPool operation.
  */
-export interface RestorableDroppedDatabaseListResult extends Array<RestorableDroppedDatabase> {
-}
+export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolActivityListResult;
+    };
+};
 
 /**
- * @interface
- * A list of servers.
- * @extends Array<Server>
+ * Contains response data for the listByElasticPool operation.
  */
-export interface ServerListResult extends Array<Server> {
+export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * The response to a list data masking rules request.
- * @extends Array<DataMaskingRule>
- */
-export interface DataMaskingRuleListResult extends Array<DataMaskingRule> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolDatabaseActivityListResult;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a List Firewall Rules request.
- * @extends Array<FirewallRule>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface FirewallRuleListResult extends Array<FirewallRule> {
-}
+export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * The response to a list geo backup policies request.
- * @extends Array<GeoBackupPolicy>
- */
-export interface GeoBackupPolicyListResult extends Array<GeoBackupPolicy> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: TransparentDataEncryption;
+    };
+};
 
 /**
- * @interface
- * The response to a list database metrics request.
- * @extends Array<Metric>
+ * Contains response data for the get operation.
  */
-export interface MetricListResult extends Array<Metric> {
-}
+export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * The response to a list database metric definitions request.
- * @extends Array<MetricDefinition>
- */
-export interface MetricDefinitionListResult extends Array<MetricDefinition> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: TransparentDataEncryption;
+    };
+};
 
 /**
- * @interface
- * A list of databases.
- * @extends Array<Database>
+ * Contains response data for the listByConfiguration operation.
  */
-export interface DatabaseListResult extends Array<Database> {
+export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: TransparentDataEncryptionActivityListResult;
+    };
+};
 
 /**
- * @interface
- * The result of an elastic pool list request.
- * @extends Array<ElasticPool>
+ * Contains response data for the listByServer operation.
  */
-export interface ElasticPoolListResult extends Array<ElasticPool> {
+export type ServerUsagesListByServerResponse = ServerUsageListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * Represents the response to a list recommended elastic pool request.
- * @extends Array<RecommendedElasticPool>
- */
-export interface RecommendedElasticPoolListResult extends Array<RecommendedElasticPool> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerUsageListResult;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a list recommended elastic pool metrics request.
- * @extends Array<RecommendedElasticPoolMetric>
+ * Contains response data for the get operation.
  */
-export interface RecommendedElasticPoolListMetricsResult extends Array<RecommendedElasticPoolMetric> {
-}
+export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * Represents the response to a List database replication link request.
- * @extends Array<ReplicationLink>
- */
-export interface ReplicationLinkListResult extends Array<ReplicationLink> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicy;
+    };
+};
 
 /**
- * @interface
- * The response to a list Active Directory Administrators request.
- * @extends Array<ServerAzureADAdministrator>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface ServerAdministratorListResult extends Array<ServerAzureADAdministrator> {
-}
+export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * A list of server communication links.
- * @extends Array<ServerCommunicationLink>
- */
-export interface ServerCommunicationLinkListResult extends Array<ServerCommunicationLink> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicy;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a get database service objectives request.
- * @extends Array<ServiceObjective>
+ * Contains response data for the update operation.
  */
-export interface ServiceObjectiveListResult extends Array<ServiceObjective> {
-}
+export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * Represents the response to a list elastic pool activity request.
- * @extends Array<ElasticPoolActivity>
- */
-export interface ElasticPoolActivityListResult extends Array<ElasticPoolActivity> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicy;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a list elastic pool database activity request.
- * @extends Array<ElasticPoolDatabaseActivity>
+ * Contains response data for the listByDatabase operation.
  */
-export interface ElasticPoolDatabaseActivityListResult extends Array<ElasticPoolDatabaseActivity> {
-}
+export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a list service tier advisor request.
- * @extends Array<ServiceTierAdvisor>
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface ServiceTierAdvisorListResult extends Array<ServiceTierAdvisor> {
-}
+export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * Represents the response to a list database transparent data encryption activity request.
- * @extends Array<TransparentDataEncryptionActivity>
- */
-export interface TransparentDataEncryptionActivityListResult extends Array<TransparentDataEncryptionActivity> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicy;
+    };
+};
 
 /**
- * @interface
- * Represents the response to a list server metrics request.
- * @extends Array<ServerUsage>
+ * Contains response data for the beginUpdate operation.
  */
-export interface ServerUsageListResult extends Array<ServerUsage> {
-}
+export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * The response to a list database metrics request.
- * @extends Array<DatabaseUsage>
- */
-export interface DatabaseUsageListResult extends Array<DatabaseUsage> {
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of server encryption protectors.
- * @extends Array<EncryptionProtector>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface EncryptionProtectorListResult extends Array<EncryptionProtector> {
+export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: BackupShortTermRetentionPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of failover groups.
- * @extends Array<FailoverGroup>
+ * Contains response data for the get operation.
  */
-export interface FailoverGroupListResult extends Array<FailoverGroup> {
+export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedDatabaseBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * Result of the request to list SQL operations.
- * @extends Array<Operation>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface OperationListResult extends Array<Operation> {
+export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedDatabaseBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of server keys.
- * @extends Array<ServerKey>
+ * Contains response data for the listByDatabase operation.
  */
-export interface ServerKeyListResult extends Array<ServerKey> {
+export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse = ExtendedDatabaseBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of sync agents.
- * @extends Array<SyncAgent>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface SyncAgentListResult extends Array<SyncAgent> {
+export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse = ExtendedDatabaseBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of sync agent linked databases.
- * @extends Array<SyncAgentLinkedDatabase>
+ * Contains response data for the get operation.
  */
-export interface SyncAgentLinkedDatabaseListResult extends Array<SyncAgentLinkedDatabase> {
+export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of sync database ID properties.
- * @extends Array<SyncDatabaseIdProperties>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface SyncDatabaseIdListResult extends Array<SyncDatabaseIdProperties> {
+export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of sync schema properties.
- * @extends Array<SyncFullSchemaProperties>
+ * Contains response data for the listByServer operation.
  */
-export interface SyncFullSchemaPropertiesListResult extends Array<SyncFullSchemaProperties> {
+export type ExtendedServerBlobAuditingPoliciesListByServerResponse = ExtendedServerBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedServerBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of sync group log properties.
- * @extends Array<SyncGroupLogProperties>
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface SyncGroupLogListResult extends Array<SyncGroupLogProperties> {
+export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of sync groups.
- * @extends Array<SyncGroup>
+ * Contains response data for the listByServerNext operation.
  */
-export interface SyncGroupListResult extends Array<SyncGroup> {
+export type ExtendedServerBlobAuditingPoliciesListByServerNextResponse = ExtendedServerBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * @interface
- * A list of Azure SQL Database sync members.
- * @extends Array<SyncMember>
- */
-export interface SyncMemberListResult extends Array<SyncMember> {
-  /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
-   */
-  readonly nextLink?: string;
-}
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ExtendedServerBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of subscription usage metrics in a location.
- * @extends Array<SubscriptionUsage>
+ * Contains response data for the get operation.
  */
-export interface SubscriptionUsageListResult extends Array<SubscriptionUsage> {
+export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of virtual clusters.
- * @extends Array<VirtualCluster>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface VirtualClusterListResult extends Array<VirtualCluster> {
+export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of virtual network rules.
- * @extends Array<VirtualNetworkRule>
+ * Contains response data for the listByServer operation.
  */
-export interface VirtualNetworkRuleListResult extends Array<VirtualNetworkRule> {
+export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of server auditing settings.
- * @extends Array<ServerBlobAuditingPolicy>
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export interface ServerBlobAuditingPolicyListResult extends Array<ServerBlobAuditingPolicy> {
+export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of database auditing settings.
- * @extends Array<DatabaseBlobAuditingPolicy>
+ * Contains response data for the listByServerNext operation.
  */
-export interface DatabaseBlobAuditingPolicyListResult extends Array<DatabaseBlobAuditingPolicy> {
+export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ServerBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of the database's vulnerability assessments.
- * @extends Array<DatabaseVulnerabilityAssessment>
+ * Contains response data for the get operation.
  */
-export interface DatabaseVulnerabilityAssessmentListResult extends Array<DatabaseVulnerabilityAssessment> {
+export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of Azure SQL job agents.
- * @extends Array<JobAgent>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface JobAgentListResult extends Array<JobAgent> {
+export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseBlobAuditingPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of job credentials.
- * @extends Array<JobCredential>
+ * Contains response data for the listByDatabase operation.
  */
-export interface JobCredentialListResult extends Array<JobCredential> {
+export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of job executions.
- * @extends Array<JobExecution>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface JobExecutionListResult extends Array<JobExecution> {
+export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseBlobAuditingPolicyListResult;
+    };
+};
 
 /**
- * @interface
- * A list of jobs.
- * @extends Array<Job>
+ * Contains response data for the listByDatabase operation.
  */
-export interface JobListResult extends Array<Job> {
+export type DatabaseAdvisorsListByDatabaseResponse = Array<Advisor> & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Advisor[];
+    };
+};
 
 /**
- * @interface
- * A list of job steps.
- * @extends Array<JobStep>
+ * Contains response data for the get operation.
  */
-export interface JobStepListResult extends Array<JobStep> {
+export type DatabaseAdvisorsGetResponse = Advisor & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Advisor;
+    };
+};
 
 /**
- * @interface
- * A list of target groups.
- * @extends Array<JobTargetGroup>
+ * Contains response data for the update operation.
  */
-export interface JobTargetGroupListResult extends Array<JobTargetGroup> {
+export type DatabaseAdvisorsUpdateResponse = Advisor & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: Advisor;
+    };
+};
 
 /**
- * @interface
- * A list of job versions.
- * @extends Array<JobVersion>
+ * Contains response data for the get operation.
  */
-export interface JobVersionListResult extends Array<JobVersion> {
+export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseAutomaticTuning;
+    };
+};
 
 /**
- * @interface
- * A list of long term retention backups.
- * @extends Array<LongTermRetentionBackup>
+ * Contains response data for the update operation.
  */
-export interface LongTermRetentionBackupListResult extends Array<LongTermRetentionBackup> {
+export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseAutomaticTuning;
+    };
+};
 
 /**
- * @interface
- * A list of short term retention policies.
- * @extends Array<ManagedBackupShortTermRetentionPolicy>
+ * Contains response data for the listByDatabase operation.
  */
-export interface ManagedBackupShortTermRetentionPolicyListResult extends Array<ManagedBackupShortTermRetentionPolicy> {
+export type DatabaseColumnsListByDatabaseResponse = DatabaseColumnListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseColumnListResult;
+    };
+};
 
 /**
- * @interface
- * A list of server DNS aliases.
- * @extends Array<ServerDnsAlias>
+ * Contains response data for the listByTable operation.
  */
-export interface ServerDnsAliasListResult extends Array<ServerDnsAlias> {
+export type DatabaseColumnsListByTableResponse = DatabaseColumnListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseColumnListResult;
+    };
+};
 
 /**
- * @interface
- * A list of the server's security alert policies.
- * @extends Array<ServerSecurityAlertPolicy>
+ * Contains response data for the get operation.
  */
-export interface LogicalServerSecurityAlertPolicyListResult extends Array<ServerSecurityAlertPolicy> {
+export type DatabaseColumnsGetResponse = DatabaseColumn & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseColumn;
+    };
+};
 
 /**
- * @interface
- * A list of restorable dropped managed databases.
- * @extends Array<RestorableDroppedManagedDatabase>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface RestorableDroppedManagedDatabaseListResult extends Array<RestorableDroppedManagedDatabase> {
+export type DatabaseColumnsListByDatabaseNextResponse = DatabaseColumnListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseColumnListResult;
+    };
+};
 
 /**
- * @interface
- * A list of long term retention backups.
- * @extends Array<RestorePoint>
+ * Contains response data for the listByTableNext operation.
  */
-export interface RestorePointListResult extends Array<RestorePoint> {
+export type DatabaseColumnsListByTableNextResponse = DatabaseColumnListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseColumnListResult;
+    };
+};
 
 /**
- * @interface
- * A list of the managed database's security alert policies.
- * @extends Array<ManagedDatabaseSecurityAlertPolicy>
+ * Contains response data for the listByDatabaseAdvisor operation.
  */
-export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array<ManagedDatabaseSecurityAlertPolicy> {
+export type DatabaseRecommendedActionsListByDatabaseAdvisorResponse = Array<RecommendedAction> & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: RecommendedAction[];
+    };
+};
 
 /**
- * @interface
- * A list of the managed Server's security alert policies.
- * @extends Array<ManagedServerSecurityAlertPolicy>
+ * Contains response data for the get operation.
  */
-export interface ManagedServerSecurityAlertPolicyListResult extends Array<ManagedServerSecurityAlertPolicy> {
+export type DatabaseRecommendedActionsGetResponse = RecommendedAction & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: RecommendedAction;
+    };
+};
 
 /**
- * @interface
- * A list of sensitivity labels.
- * @extends Array<SensitivityLabel>
+ * Contains response data for the update operation.
  */
-export interface SensitivityLabelListResult extends Array<SensitivityLabel> {
+export type DatabaseRecommendedActionsUpdateResponse = RecommendedAction & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: RecommendedAction;
+    };
+};
 
 /**
- * @interface
- * A list of managed instance administrators.
- * @extends Array<ManagedInstanceAdministrator>
+ * Contains response data for the listByDatabase operation.
  */
-export interface ManagedInstanceAdministratorListResult extends Array<ManagedInstanceAdministrator> {
+export type DatabaseSchemasListByDatabaseResponse = DatabaseSchemaListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSchemaListResult;
+    };
+};
 
 /**
- * @interface
- * The response to a list database operations request
- * @extends Array<DatabaseOperation>
+ * Contains response data for the get operation.
  */
-export interface DatabaseOperationListResult extends Array<DatabaseOperation> {
+export type DatabaseSchemasGetResponse = DatabaseSchema & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSchema;
+    };
+};
 
 /**
- * @interface
- * The response to a list elastic pool operations request
- * @extends Array<ElasticPoolOperation>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface ElasticPoolOperationListResult extends Array<ElasticPoolOperation> {
+export type DatabaseSchemasListByDatabaseNextResponse = DatabaseSchemaListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSchemaListResult;
+    };
+};
 
 /**
- * @interface
- * A list of vulnerability assessment scan records.
- * @extends Array<VulnerabilityAssessmentScanRecord>
+ * Contains response data for the get operation.
  */
-export interface VulnerabilityAssessmentScanRecordListResult extends Array<VulnerabilityAssessmentScanRecord> {
+export type DatabaseSecurityAlertPoliciesGetResponse = DatabaseSecurityAlertPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSecurityAlertPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of instance failover groups.
- * @extends Array<InstanceFailoverGroup>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface InstanceFailoverGroupListResult extends Array<InstanceFailoverGroup> {
+export type DatabaseSecurityAlertPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSecurityAlertPolicy;
+    };
+};
 
 /**
- * @interface
- * A list of short term retention policies.
- * @extends Array<BackupShortTermRetentionPolicy>
+ * Contains response data for the listByDatabase operation.
  */
-export interface BackupShortTermRetentionPolicyListResult extends Array<BackupShortTermRetentionPolicy> {
+export type DatabaseSecurityAlertPoliciesListByDatabaseResponse = DatabaseSecurityAlertListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSecurityAlertListResult;
+    };
+};
 
 /**
- * @interface
- * A list of managed instance keys.
- * @extends Array<ManagedInstanceKey>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface ManagedInstanceKeyListResult extends Array<ManagedInstanceKey> {
+export type DatabaseSecurityAlertPoliciesListByDatabaseNextResponse = DatabaseSecurityAlertListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseSecurityAlertListResult;
+    };
+};
 
 /**
- * @interface
- * A list of managed instance encryption protectors.
- * @extends Array<ManagedInstanceEncryptionProtector>
+ * Contains response data for the listBySchema operation.
  */
-export interface ManagedInstanceEncryptionProtectorListResult extends Array<ManagedInstanceEncryptionProtector> {
+export type DatabaseTablesListBySchemaResponse = DatabaseTableListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseTableListResult;
+    };
+};
 
 /**
- * @interface
- * A list of recoverable managed databases.
- * @extends Array<RecoverableManagedDatabase>
+ * Contains response data for the get operation.
  */
-export interface RecoverableManagedDatabaseListResult extends Array<RecoverableManagedDatabase> {
+export type DatabaseTablesGetResponse = DatabaseTable & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseTable;
+    };
+};
 
 /**
- * @interface
- * A list of the ManagedInstance's vulnerability assessments.
- * @extends Array<ManagedInstanceVulnerabilityAssessment>
+ * Contains response data for the listBySchemaNext operation.
  */
-export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array<ManagedInstanceVulnerabilityAssessment> {
+export type DatabaseTablesListBySchemaNextResponse = DatabaseTableListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseTableListResult;
+    };
+};
 
 /**
- * @interface
- * A list of the server's vulnerability assessments.
- * @extends Array<ServerVulnerabilityAssessment>
+ * Contains response data for the get operation.
  */
-export interface ServerVulnerabilityAssessmentListResult extends Array<ServerVulnerabilityAssessment> {
+export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+    };
+};
 
 /**
- * @interface
- * A list of Azure SQL instance pools.
- * @extends Array<InstancePool>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface InstancePoolListResult extends Array<InstancePool> {
+export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+    };
+};
 
 /**
- * @interface
- * A list of usages.
- * @extends Array<Usage>
+ * Contains response data for the get operation.
  */
-export interface UsageListResult extends Array<Usage> {
+export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessment;
+    };
+};
 
 /**
- * @interface
- * A list of managed instances.
- * @extends Array<ManagedInstance>
+ * Contains response data for the createOrUpdate operation.
  */
-export interface ManagedInstanceListResult extends Array<ManagedInstance> {
+export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessment;
+    };
+};
 
 /**
- * @interface
- * A list of managed databases.
- * @extends Array<ManagedDatabase>
+ * Contains response data for the listByDatabase operation.
  */
-export interface ManagedDatabaseListResult extends Array<ManagedDatabase> {
+export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+    };
+};
 
 /**
- * @interface
- * A list of private endpoint connections.
- * @extends Array<PrivateEndpointConnection>
+ * Contains response data for the listByDatabaseNext operation.
  */
-export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
+export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+    };
+};
 
 /**
- * @interface
- * A list of private link resources
- * @extends Array<PrivateLinkResource>
+ * Contains response data for the listByDatabase operation.
  */
-export interface PrivateLinkResourceListResult extends Array<PrivateLinkResource> {
+export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & {
   /**
-   * Link to retrieve next page of results.
-   * **NOTE: This property will not be serialized. It can only be populated by the server.**
+   * The underlying HTTP response.
    */
-  readonly nextLink?: string;
-}
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for CheckNameAvailabilityReason.
- * Possible values include: 'Invalid', 'AlreadyExists'
- * @readonly
- * @enum {string}
- */
-export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+    };
+};
 
 /**
- * Defines values for ServerConnectionType.
- * Possible values include: 'Default', 'Proxy', 'Redirect'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect';
+export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SecurityAlertPolicyState.
- * Possible values include: 'New', 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: VulnerabilityAssessmentScanRecord;
+    };
+};
 
 /**
- * Defines values for SecurityAlertPolicyEmailAccountAdmins.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the exportMethod operation.
  */
-export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled';
+export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SecurityAlertPolicyUseServerDefault.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DatabaseVulnerabilityAssessmentScansExport;
+    };
+};
 
 /**
- * Defines values for DataMaskingState.
- * Possible values include: 'Disabled', 'Enabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type DataMaskingState = 'Disabled' | 'Enabled';
+export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for DataMaskingRuleState.
- * Possible values include: 'Disabled', 'Enabled'
- * @readonly
- * @enum {string}
- */
-export type DataMaskingRuleState = 'Disabled' | 'Enabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+    };
+};
 
 /**
- * Defines values for DataMaskingFunction.
- * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text';
+export type DataWarehouseUserActivitiesGetResponse = DataWarehouseUserActivities & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for GeoBackupPolicyState.
- * Possible values include: 'Disabled', 'Enabled'
- * @readonly
- * @enum {string}
- */
-export type GeoBackupPolicyState = 'Disabled' | 'Enabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataWarehouseUserActivities;
+    };
+};
 
 /**
- * Defines values for DatabaseEdition.
- * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free',
- * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical',
- * 'Hyperscale'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByDatabase operation.
  */
-export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale';
+export type DataWarehouseUserActivitiesListByDatabaseResponse = DataWarehouseUserActivitiesListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for ServiceObjectiveName.
- * Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4',
- * 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7',
- * 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6',
- * 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500',
- * 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
- * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500',
- * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'
- * @readonly
- * @enum {string}
- */
-export type ServiceObjectiveName = 'System' | 'System0' | 'System1' | 'System2' | 'System3' | 'System4' | 'System2L' | 'System3L' | 'System4L' | 'Free' | 'Basic' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S6' | 'S7' | 'S9' | 'S12' | 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P11' | 'P15' | 'PRS1' | 'PRS2' | 'PRS4' | 'PRS6' | 'DW100' | 'DW200' | 'DW300' | 'DW400' | 'DW500' | 'DW600' | 'DW1000' | 'DW1200' | 'DW1000c' | 'DW1500' | 'DW1500c' | 'DW2000' | 'DW2000c' | 'DW3000' | 'DW2500c' | 'DW3000c' | 'DW6000' | 'DW5000c' | 'DW6000c' | 'DW7500c' | 'DW10000c' | 'DW15000c' | 'DW30000c' | 'DS100' | 'DS200' | 'DS300' | 'DS400' | 'DS500' | 'DS600' | 'DS1000' | 'DS1200' | 'DS1500' | 'DS2000' | 'ElasticPool';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataWarehouseUserActivitiesListResult;
+    };
+};
 
 /**
- * Defines values for StorageKeyType.
- * Possible values include: 'StorageAccessKey', 'SharedAccessKey'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey';
+export type DataWarehouseUserActivitiesListByDatabaseNextResponse = DataWarehouseUserActivitiesListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for AuthenticationType.
- * Possible values include: 'SQL', 'ADPassword'
- * @readonly
- * @enum {string}
- */
-export type AuthenticationType = 'SQL' | 'ADPassword';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DataWarehouseUserActivitiesListResult;
+    };
+};
 
 /**
- * Defines values for UnitType.
- * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond',
- * 'bytesPerSecond'
- * @readonly
- * @enum {string}
+ * Contains response data for the list operation.
  */
-export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond';
+export type DeletedServersListResponse = DeletedServerListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for PrimaryAggregationType.
- * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'
- * @readonly
- * @enum {string}
- */
-export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServerListResult;
+    };
+};
 
 /**
- * Defines values for UnitDefinitionType.
- * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
- * 'BytesPerSecond'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond';
+export type DeletedServersGetResponse = DeletedServer & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for ElasticPoolEdition.
- * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'
- * @readonly
- * @enum {string}
- */
-export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServer;
+    };
+};
 
 /**
- * Defines values for ReplicationRole.
- * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByLocation operation.
  */
-export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy';
+export type DeletedServersListByLocationResponse = DeletedServerListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for ReplicationState.
- * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'
- * @readonly
- * @enum {string}
- */
-export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServerListResult;
+    };
+};
 
 /**
- * Defines values for RecommendedIndexAction.
- * Possible values include: 'Create', 'Drop', 'Rebuild'
- * @readonly
- * @enum {string}
+ * Contains response data for the recover operation.
  */
-export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild';
+export type DeletedServersRecoverResponse = DeletedServer & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for RecommendedIndexState.
- * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert',
- * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success'
- * @readonly
- * @enum {string}
- */
-export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServer;
+    };
+};
 
 /**
- * Defines values for RecommendedIndexType.
- * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginRecover operation.
  */
-export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE';
+export type DeletedServersBeginRecoverResponse = DeletedServer & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for TransparentDataEncryptionStatus.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServer;
+    };
+};
 
 /**
- * Defines values for TransparentDataEncryptionActivityStatus.
- * Possible values include: 'Encrypting', 'Decrypting'
- * @readonly
- * @enum {string}
+ * Contains response data for the listNext operation.
  */
-export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting';
+export type DeletedServersListNextResponse = DeletedServerListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for AutomaticTuningMode.
- * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified'
- * @readonly
- * @enum {string}
- */
-export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServerListResult;
+    };
+};
 
 /**
- * Defines values for AutomaticTuningOptionModeDesired.
- * Possible values include: 'Off', 'On', 'Default'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByLocationNext operation.
  */
-export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default';
+export type DeletedServersListByLocationNextResponse = DeletedServerListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for AutomaticTuningOptionModeActual.
- * Possible values include: 'Off', 'On'
- * @readonly
- * @enum {string}
- */
-export type AutomaticTuningOptionModeActual = 'Off' | 'On';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: DeletedServerListResult;
+    };
+};
 
 /**
- * Defines values for AutomaticTuningDisabledReason.
- * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer',
- * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByElasticPool operation.
  */
-export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported';
+export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for ServerKeyType.
- * Possible values include: 'ServiceManaged', 'AzureKeyVault'
- * @readonly
- * @enum {string}
- */
-export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolOperationListResult;
+    };
+};
 
 /**
- * Defines values for ReadWriteEndpointFailoverPolicy.
- * Possible values include: 'Manual', 'Automatic'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByElasticPoolNext operation.
  */
-export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic';
+export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: ElasticPoolOperationListResult;
+    };
+};
 
 /**
- * Defines values for ReadOnlyEndpointFailoverPolicy.
- * Possible values include: 'Disabled', 'Enabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServer operation.
  */
-export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled';
+export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: EncryptionProtectorListResult;
+    };
+};
 
 /**
- * Defines values for FailoverGroupReplicationRole.
- * Possible values include: 'Primary', 'Secondary'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type FailoverGroupReplicationRole = 'Primary' | 'Secondary';
+export type EncryptionProtectorsGetResponse = EncryptionProtector & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for OperationOrigin.
- * Possible values include: 'user', 'system'
- * @readonly
- * @enum {string}
- */
-export type OperationOrigin = 'user' | 'system';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: EncryptionProtector;
+    };
+};
 
 /**
- * Defines values for IdentityType.
- * Possible values include: 'SystemAssigned'
- * @readonly
- * @enum {string}
+ * Contains response data for the createOrUpdate operation.
  */
-export type IdentityType = 'SystemAssigned';
+export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SyncAgentState.
- * Possible values include: 'Online', 'Offline', 'NeverConnected'
- * @readonly
- * @enum {string}
- */
-export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: EncryptionProtector;
+    };
+};
 
 /**
- * Defines values for SyncMemberDbType.
- * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase';
+export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SyncGroupLogType.
- * Possible values include: 'All', 'Error', 'Warning', 'Success'
- * @readonly
- * @enum {string}
- */
-export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: EncryptionProtector;
+    };
+};
 
 /**
- * Defines values for SyncConflictResolutionPolicy.
- * Possible values include: 'HubWin', 'MemberWin'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServerNext operation.
  */
-export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin';
+export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SyncGroupState.
- * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good'
- * @readonly
- * @enum {string}
- */
-export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: EncryptionProtectorListResult;
+    };
+};
 
 /**
- * Defines values for SyncDirection.
- * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember';
+export type FailoverGroupsGetResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for SyncMemberState.
- * Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed',
- * 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings',
- * 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned',
- * 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning',
- * 'ReprovisionFailed', 'UnReprovisioned'
- * @readonly
- * @enum {string}
- */
-export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for VirtualNetworkRuleState.
- * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
- * @readonly
- * @enum {string}
+ * Contains response data for the createOrUpdate operation.
  */
-export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown';
+export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for BlobAuditingPolicyState.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type BlobAuditingPolicyState = 'Enabled' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for JobAgentState.
- * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the update operation.
  */
-export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled';
+export type FailoverGroupsUpdateResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for JobExecutionLifecycle.
- * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions',
- * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled',
- * 'Skipped'
- * @readonly
- * @enum {string}
- */
-export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for ProvisioningState.
- * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServer operation.
  */
-export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled';
+export type FailoverGroupsListByServerResponse = FailoverGroupListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for JobTargetType.
- * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap',
- * 'SqlServer'
- * @readonly
- * @enum {string}
- */
-export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroupListResult;
+    };
+};
 
 /**
- * Defines values for JobScheduleType.
- * Possible values include: 'Once', 'Recurring'
- * @readonly
- * @enum {string}
+ * Contains response data for the failover operation.
  */
-export type JobScheduleType = 'Once' | 'Recurring';
+export type FailoverGroupsFailoverResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for JobStepActionType.
- * Possible values include: 'TSql'
- * @readonly
- * @enum {string}
- */
-export type JobStepActionType = 'TSql';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for JobStepActionSource.
- * Possible values include: 'Inline'
- * @readonly
- * @enum {string}
+ * Contains response data for the forceFailoverAllowDataLoss operation.
  */
-export type JobStepActionSource = 'Inline';
+export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for JobStepOutputType.
- * Possible values include: 'SqlDatabase'
- * @readonly
- * @enum {string}
- */
-export type JobStepOutputType = 'SqlDatabase';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for JobTargetGroupMembershipType.
- * Possible values include: 'Include', 'Exclude'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobTargetGroupMembershipType = 'Include' | 'Exclude';
+export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for AutomaticTuningServerMode.
- * Possible values include: 'Custom', 'Auto', 'Unspecified'
- * @readonly
- * @enum {string}
- */
-export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for AutomaticTuningServerReason.
- * Possible values include: 'Default', 'Disabled', 'AutoConfigured'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginUpdate operation.
  */
-export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured';
+export type FailoverGroupsBeginUpdateResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for RestorePointType.
- * Possible values include: 'CONTINUOUS', 'DISCRETE'
- * @readonly
- * @enum {string}
- */
-export type RestorePointType = 'CONTINUOUS' | 'DISCRETE';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for ManagementOperationState.
- * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress',
- * 'Cancelled'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginFailover operation.
  */
-export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled';
+export type FailoverGroupsBeginFailoverResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for MaxSizeUnit.
- * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'
- * @readonly
- * @enum {string}
- */
-export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for LogSizeUnit.
- * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginForceFailoverAllowDataLoss operation.
  */
-export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent';
+export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for CapabilityStatus.
- * Possible values include: 'Visible', 'Available', 'Default', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroup;
+    };
+};
 
 /**
- * Defines values for PerformanceLevelUnit.
- * Possible values include: 'DTU', 'VCores'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServerNext operation.
  */
-export type PerformanceLevelUnit = 'DTU' | 'VCores';
+export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FailoverGroupListResult;
+    };
+};
 
 /**
- * Defines values for CreateMode.
- * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore',
- * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
- * 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary';
+export type FirewallRulesGetResponse = FirewallRule & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FirewallRule;
+    };
+};
 
 /**
- * Defines values for SampleName.
- * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull'
- * @readonly
- * @enum {string}
+ * Contains response data for the createOrUpdate operation.
  */
-export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull';
+export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FirewallRule;
+    };
+};
 
 /**
- * Defines values for DatabaseStatus.
- * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect',
- * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating',
- * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling',
- * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServer operation.
  */
-export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled';
+export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FirewallRuleListResult;
+    };
+};
 
 /**
- * Defines values for CatalogCollationType.
- * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS'
- * @readonly
- * @enum {string}
+ * Contains response data for the replace operation.
  */
-export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS';
+export type FirewallRulesReplaceResponse = FirewallRule & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FirewallRule;
+    };
+};
 
 /**
- * Defines values for DatabaseLicenseType.
- * Possible values include: 'LicenseIncluded', 'BasePrice'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByServerNext operation.
  */
-export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice';
+export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for DatabaseReadScale.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type DatabaseReadScale = 'Enabled' | 'Disabled';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: FirewallRuleListResult;
+    };
+};
 
 /**
- * Defines values for ElasticPoolState.
- * Possible values include: 'Creating', 'Ready', 'Disabled'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled';
+export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for ElasticPoolLicenseType.
- * Possible values include: 'LicenseIncluded', 'BasePrice'
- * @readonly
- * @enum {string}
- */
-export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for VulnerabilityAssessmentScanTriggerType.
- * Possible values include: 'OnDemand', 'Recurring'
- * @readonly
- * @enum {string}
+ * Contains response data for the createOrUpdate operation.
  */
-export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring';
+export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for VulnerabilityAssessmentScanState.
- * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress'
- * @readonly
- * @enum {string}
- */
-export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for InstanceFailoverGroupReplicationRole.
- * Possible values include: 'Primary', 'Secondary'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByLocation operation.
  */
-export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary';
+export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for InstancePoolLicenseType.
- * Possible values include: 'LicenseIncluded', 'BasePrice'
- * @readonly
- * @enum {string}
- */
-export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroupListResult;
+    };
+};
 
 /**
- * Defines values for ManagedServerCreateMode.
- * Possible values include: 'Default', 'PointInTimeRestore'
- * @readonly
- * @enum {string}
+ * Contains response data for the failover operation.
  */
-export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore';
+export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for ManagedInstanceLicenseType.
- * Possible values include: 'LicenseIncluded', 'BasePrice'
- * @readonly
- * @enum {string}
+ * Contains response data for the forceFailoverAllowDataLoss operation.
  */
-export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice';
+export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for ManagedInstanceProxyOverride.
- * Possible values include: 'Proxy', 'Redirect', 'Default'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default';
+export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for ManagedDatabaseStatus.
- * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible',
- * 'Restoring', 'Updating'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginFailover operation.
  */
-export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating';
+export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for ManagedDatabaseCreateMode.
- * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery'
- * @readonly
- * @enum {string}
+ * Contains response data for the beginForceFailoverAllowDataLoss operation.
  */
-export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery';
+export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroup;
+    };
+};
 
 /**
- * Defines values for LongTermRetentionDatabaseState.
- * Possible values include: 'All', 'Live', 'Deleted'
- * @readonly
- * @enum {string}
+ * Contains response data for the listByLocationNext operation.
  */
-export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted';
+export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstanceFailoverGroupListResult;
+    };
+};
 
 /**
- * Defines values for VulnerabilityAssessmentPolicyBaselineName.
- * Possible values include: 'master', 'default'
- * @readonly
- * @enum {string}
+ * Contains response data for the get operation.
  */
-export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default';
+export type InstancePoolsGetResponse = InstancePool & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstancePool;
+    };
+};
 
 /**
- * Defines values for SensitivityLabelSource.
- * Possible values include: 'current', 'recommended'
- * @readonly
- * @enum {string}
+ * Contains response data for the createOrUpdate operation.
  */
-export type SensitivityLabelSource = 'current' | 'recommended';
+export type InstancePoolsCreateOrUpdateResponse = InstancePool & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for CapabilityGroup.
- * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions',
- * 'supportedManagedInstanceVersions'
- * @readonly
- * @enum {string}
- */
-export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstancePool;
+    };
+};
 
 /**
- * Defines values for ReplicaType.
- * Possible values include: 'Primary', 'ReadableSecondary'
- * @readonly
- * @enum {string}
+ * Contains response data for the update operation.
  */
-export type ReplicaType = 'Primary' | 'ReadableSecondary';
+export type InstancePoolsUpdateResponse = InstancePool & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
 
-/**
- * Defines values for Type.
- * Possible values include: 'All', 'Error', 'Warning', 'Success'
- * @readonly
- * @enum {string}
- */
-export type Type = 'All' | 'Error' | 'Warning' | 'Success';
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: InstancePool;
+    };
+};
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByResourceGroup operation.
  */
-export type RecoverableDatabasesGetResponse = RecoverableDatabase & {
+export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7683,14 +14963,14 @@ export type RecoverableDatabasesGetResponse = RecoverableDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecoverableDatabase;
+      parsedBody: InstancePoolListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the list operation.
  */
-export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & {
+export type InstancePoolsListResponse = InstancePoolListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7703,14 +14983,14 @@ export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecoverableDatabaseListResult;
+      parsedBody: InstancePoolListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & {
+export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & {
   /**
    * The underlying HTTP response.
    */
@@ -7723,14 +15003,14 @@ export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorableDroppedDatabase;
+      parsedBody: InstancePool;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & {
+export type InstancePoolsBeginUpdateResponse = InstancePool & {
   /**
    * The underlying HTTP response.
    */
@@ -7743,14 +15023,14 @@ export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDa
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorableDroppedDatabaseListResult;
+      parsedBody: InstancePool;
     };
 };
 
 /**
- * Contains response data for the checkNameAvailability operation.
+ * Contains response data for the listByResourceGroupNext operation.
  */
-export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & {
+export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7763,14 +15043,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: CheckNameAvailabilityResponse;
+      parsedBody: InstancePoolListResult;
     };
 };
 
 /**
- * Contains response data for the list operation.
+ * Contains response data for the listNext operation.
  */
-export type ServersListResponse = ServerListResult & {
+export type InstancePoolsListNextResponse = InstancePoolListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7783,14 +15063,14 @@ export type ServersListResponse = ServerListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerListResult;
+      parsedBody: InstancePoolListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the listByServer operation.
  */
-export type ServersListByResourceGroupResponse = ServerListResult & {
+export type JobAgentsListByServerResponse = JobAgentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7803,14 +15083,14 @@ export type ServersListByResourceGroupResponse = ServerListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerListResult;
+      parsedBody: JobAgentListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ServersGetResponse = Server & {
+export type JobAgentsGetResponse = JobAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -7823,14 +15103,14 @@ export type ServersGetResponse = Server & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Server;
+      parsedBody: JobAgent;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type ServersCreateOrUpdateResponse = Server & {
+export type JobAgentsCreateOrUpdateResponse = JobAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -7843,14 +15123,14 @@ export type ServersCreateOrUpdateResponse = Server & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Server;
+      parsedBody: JobAgent;
     };
 };
 
 /**
  * Contains response data for the update operation.
  */
-export type ServersUpdateResponse = Server & {
+export type JobAgentsUpdateResponse = JobAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -7863,14 +15143,14 @@ export type ServersUpdateResponse = Server & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Server;
+      parsedBody: JobAgent;
     };
 };
 
 /**
  * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ServersBeginCreateOrUpdateResponse = Server & {
+export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -7883,14 +15163,14 @@ export type ServersBeginCreateOrUpdateResponse = Server & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Server;
+      parsedBody: JobAgent;
     };
 };
 
 /**
  * Contains response data for the beginUpdate operation.
  */
-export type ServersBeginUpdateResponse = Server & {
+export type JobAgentsBeginUpdateResponse = JobAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -7903,14 +15183,14 @@ export type ServersBeginUpdateResponse = Server & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Server;
+      parsedBody: JobAgent;
     };
 };
 
 /**
- * Contains response data for the listNext operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ServersListNextResponse = ServerListResult & {
+export type JobAgentsListByServerNextResponse = JobAgentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7923,14 +15203,14 @@ export type ServersListNextResponse = ServerListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerListResult;
+      parsedBody: JobAgentListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupNext operation.
+ * Contains response data for the listByAgent operation.
  */
-export type ServersListByResourceGroupNextResponse = ServerListResult & {
+export type JobCredentialsListByAgentResponse = JobCredentialListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7943,14 +15223,34 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerListResult;
+      parsedBody: JobCredentialListResult;
+    };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type JobCredentialsGetResponse = JobCredential & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: JobCredential;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & {
+export type JobCredentialsCreateOrUpdateResponse = JobCredential & {
   /**
    * The underlying HTTP response.
    */
@@ -7963,14 +15263,14 @@ export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPol
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerConnectionPolicy;
+      parsedBody: JobCredential;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByAgentNext operation.
  */
-export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & {
+export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -7983,14 +15283,14 @@ export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerConnectionPolicy;
+      parsedBody: JobCredentialListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByAgent operation.
  */
-export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & {
+export type JobExecutionsListByAgentResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8003,14 +15303,14 @@ export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseSecurityAlertPolicy;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the create operation.
  */
-export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & {
+export type JobExecutionsCreateResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8023,14 +15323,14 @@ export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseSecurityAlertPolicy;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByJob operation.
  */
-export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & {
+export type JobExecutionsListByJobResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8043,14 +15343,14 @@ export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DataMaskingPolicy;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & {
+export type JobExecutionsGetResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8063,14 +15363,14 @@ export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DataMaskingPolicy;
+      parsedBody: JobExecution;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & {
+export type JobExecutionsCreateOrUpdateResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8083,14 +15383,14 @@ export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DataMaskingRule;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the beginCreate operation.
  */
-export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & {
+export type JobExecutionsBeginCreateResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8103,14 +15403,14 @@ export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DataMaskingRuleListResult;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
+export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8123,14 +15423,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FirewallRule;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByAgentNext operation.
  */
-export type FirewallRulesGetResponse = FirewallRule & {
+export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8143,14 +15443,14 @@ export type FirewallRulesGetResponse = FirewallRule & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FirewallRule;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByJobNext operation.
  */
-export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
+export type JobExecutionsListByJobNextResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8163,14 +15463,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FirewallRuleListResult;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByAgent operation.
  */
-export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & {
+export type JobsListByAgentResponse = JobListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8183,14 +15483,14 @@ export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: GeoBackupPolicy;
+      parsedBody: JobListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & {
+export type JobsGetResponse = Job & {
   /**
    * The underlying HTTP response.
    */
@@ -8203,14 +15503,14 @@ export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: GeoBackupPolicy;
+      parsedBody: Job;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & {
+export type JobsCreateOrUpdateResponse = Job & {
   /**
    * The underlying HTTP response.
    */
@@ -8223,14 +15523,34 @@ export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: GeoBackupPolicyListResult;
+      parsedBody: Job;
     };
 };
 
 /**
- * Contains response data for the importMethod operation.
+ * Contains response data for the listByAgentNext operation.
+ */
+export type JobsListByAgentNextResponse = JobListResult & {
+  /**
+   * The underlying HTTP response.
+   */
+  _response: msRest.HttpResponse & {
+      /**
+       * The response body as text (string format)
+       */
+      bodyAsText: string;
+
+      /**
+       * The response body as parsed JSON or XML
+       */
+      parsedBody: JobListResult;
+    };
+};
+
+/**
+ * Contains response data for the listByJobExecution operation.
  */
-export type DatabasesImportMethodResponse = ImportExportResponse & {
+export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8243,14 +15563,14 @@ export type DatabasesImportMethodResponse = ImportExportResponse & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the createImportOperation operation.
+ * Contains response data for the get operation.
  */
-export type DatabasesCreateImportOperationResponse = ImportExportResponse & {
+export type JobStepExecutionsGetResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8263,14 +15583,14 @@ export type DatabasesCreateImportOperationResponse = ImportExportResponse & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the exportMethod operation.
+ * Contains response data for the listByJobExecutionNext operation.
  */
-export type DatabasesExportMethodResponse = ImportExportResponse & {
+export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8283,14 +15603,14 @@ export type DatabasesExportMethodResponse = ImportExportResponse & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the listMetrics operation.
+ * Contains response data for the listByVersion operation.
  */
-export type DatabasesListMetricsResponse = MetricListResult & {
+export type JobStepsListByVersionResponse = JobStepListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8303,14 +15623,14 @@ export type DatabasesListMetricsResponse = MetricListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: MetricListResult;
+      parsedBody: JobStepListResult;
     };
 };
 
 /**
- * Contains response data for the listMetricDefinitions operation.
+ * Contains response data for the getByVersion operation.
  */
-export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & {
+export type JobStepsGetByVersionResponse = JobStep & {
   /**
    * The underlying HTTP response.
    */
@@ -8323,14 +15643,14 @@ export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: MetricDefinitionListResult;
+      parsedBody: JobStep;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByJob operation.
  */
-export type DatabasesListByServerResponse = DatabaseListResult & {
+export type JobStepsListByJobResponse = JobStepListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8343,14 +15663,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseListResult;
+      parsedBody: JobStepListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type DatabasesGetResponse = Database & {
+export type JobStepsGetResponse = JobStep & {
   /**
    * The underlying HTTP response.
    */
@@ -8363,14 +15683,14 @@ export type DatabasesGetResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobStep;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type DatabasesCreateOrUpdateResponse = Database & {
+export type JobStepsCreateOrUpdateResponse = JobStep & {
   /**
    * The underlying HTTP response.
    */
@@ -8383,14 +15703,14 @@ export type DatabasesCreateOrUpdateResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobStep;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listByVersionNext operation.
  */
-export type DatabasesUpdateResponse = Database & {
+export type JobStepsListByVersionNextResponse = JobStepListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8403,14 +15723,14 @@ export type DatabasesUpdateResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobStepListResult;
     };
 };
 
 /**
- * Contains response data for the listByElasticPool operation.
+ * Contains response data for the listByJobNext operation.
  */
-export type DatabasesListByElasticPoolResponse = DatabaseListResult & {
+export type JobStepsListByJobNextResponse = JobStepListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8423,14 +15743,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseListResult;
+      parsedBody: JobStepListResult;
     };
 };
 
 /**
- * Contains response data for the pause operation.
+ * Contains response data for the listByJobExecution operation.
  */
-export type DatabasesPauseResponse = Database & {
+export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8443,14 +15763,14 @@ export type DatabasesPauseResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the resume operation.
+ * Contains response data for the listByStep operation.
  */
-export type DatabasesResumeResponse = Database & {
+export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8463,14 +15783,14 @@ export type DatabasesResumeResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the beginImportMethod operation.
+ * Contains response data for the get operation.
  */
-export type DatabasesBeginImportMethodResponse = ImportExportResponse & {
+export type JobTargetExecutionsGetResponse = JobExecution & {
   /**
    * The underlying HTTP response.
    */
@@ -8483,14 +15803,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecution;
     };
 };
 
 /**
- * Contains response data for the beginCreateImportOperation operation.
+ * Contains response data for the listByJobExecutionNext operation.
  */
-export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & {
+export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8503,14 +15823,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the beginExportMethod operation.
+ * Contains response data for the listByStepNext operation.
  */
-export type DatabasesBeginExportMethodResponse = ImportExportResponse & {
+export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8523,14 +15843,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ImportExportResponse;
+      parsedBody: JobExecutionListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByAgent operation.
  */
-export type DatabasesBeginCreateOrUpdateResponse = Database & {
+export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8543,14 +15863,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobTargetGroupListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the get operation.
  */
-export type DatabasesBeginUpdateResponse = Database & {
+export type JobTargetGroupsGetResponse = JobTargetGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -8563,14 +15883,14 @@ export type DatabasesBeginUpdateResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobTargetGroup;
     };
 };
 
 /**
- * Contains response data for the beginPause operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type DatabasesBeginPauseResponse = Database & {
+export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -8583,14 +15903,14 @@ export type DatabasesBeginPauseResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobTargetGroup;
     };
 };
 
 /**
- * Contains response data for the beginResume operation.
+ * Contains response data for the listByAgentNext operation.
  */
-export type DatabasesBeginResumeResponse = Database & {
+export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8603,14 +15923,14 @@ export type DatabasesBeginResumeResponse = Database & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Database;
+      parsedBody: JobTargetGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the listByJob operation.
  */
-export type DatabasesListByServerNextResponse = DatabaseListResult & {
+export type JobVersionsListByJobResponse = JobVersionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8623,14 +15943,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseListResult;
+      parsedBody: JobVersionListResult;
     };
 };
 
 /**
- * Contains response data for the listByElasticPoolNext operation.
+ * Contains response data for the get operation.
  */
-export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & {
+export type JobVersionsGetResponse = JobVersion & {
   /**
    * The underlying HTTP response.
    */
@@ -8643,14 +15963,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseListResult;
+      parsedBody: JobVersion;
     };
 };
 
 /**
- * Contains response data for the listMetrics operation.
+ * Contains response data for the listByJobNext operation.
  */
-export type ElasticPoolsListMetricsResponse = MetricListResult & {
+export type JobVersionsListByJobNextResponse = JobVersionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8663,14 +15983,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: MetricListResult;
+      parsedBody: JobVersionListResult;
     };
 };
 
 /**
- * Contains response data for the listMetricDefinitions operation.
+ * Contains response data for the listByLocation operation.
  */
-export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & {
+export type CapabilitiesListByLocationResponse = LocationCapabilities & {
   /**
    * The underlying HTTP response.
    */
@@ -8683,14 +16003,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: MetricDefinitionListResult;
+      parsedBody: LocationCapabilities;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the copy operation.
  */
-export type ElasticPoolsListByServerResponse = ElasticPoolListResult & {
+export type LongTermRetentionBackupsCopyResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8703,14 +16023,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolListResult;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the update operation.
  */
-export type ElasticPoolsGetResponse = ElasticPool & {
+export type LongTermRetentionBackupsUpdateResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8723,14 +16043,14 @@ export type ElasticPoolsGetResponse = ElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPool;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & {
+export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & {
   /**
    * The underlying HTTP response.
    */
@@ -8743,14 +16063,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPool;
+      parsedBody: LongTermRetentionBackup;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ElasticPoolsUpdateResponse = ElasticPool & {
+export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8763,14 +16083,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPool;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByLocation operation.
  */
-export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & {
+export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8783,14 +16103,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPool;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByServer operation.
  */
-export type ElasticPoolsBeginUpdateResponse = ElasticPool & {
+export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8803,14 +16123,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPool;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the copyByResourceGroup operation.
  */
-export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & {
+export type LongTermRetentionBackupsCopyByResourceGroupResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8823,14 +16143,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolListResult;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the updateByResourceGroup operation.
  */
-export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & {
+export type LongTermRetentionBackupsUpdateByResourceGroupResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8843,14 +16163,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecommendedElasticPool;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the getByResourceGroup operation.
  */
-export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & {
+export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & {
   /**
    * The underlying HTTP response.
    */
@@ -8863,14 +16183,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecommendedElasticPoolListResult;
+      parsedBody: LongTermRetentionBackup;
     };
 };
 
 /**
- * Contains response data for the listMetrics operation.
+ * Contains response data for the listByResourceGroupDatabase operation.
  */
-export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & {
+export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8883,14 +16203,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecommendedElasticPoolListMetricsResult;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByResourceGroupLocation operation.
  */
-export type ReplicationLinksGetResponse = ReplicationLink & {
+export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8903,14 +16223,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ReplicationLink;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByResourceGroupServer operation.
  */
-export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & {
+export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8923,14 +16243,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ReplicationLinkListResult;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCopy operation.
  */
-export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & {
+export type LongTermRetentionBackupsBeginCopyResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8943,14 +16263,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAzureADAdministrator;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the deleteMethod operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & {
+export type LongTermRetentionBackupsBeginUpdateResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8963,14 +16283,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAzureADAdministrator;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCopyByResourceGroup operation.
  */
-export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & {
+export type LongTermRetentionBackupsBeginCopyByResourceGroupResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -8983,14 +16303,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAzureADAdministrator;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the beginUpdateByResourceGroup operation.
  */
-export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & {
+export type LongTermRetentionBackupsBeginUpdateByResourceGroupResponse = LongTermRetentionBackupOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9003,14 +16323,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAdministratorListResult;
+      parsedBody: LongTermRetentionBackupOperationResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & {
+export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9023,14 +16343,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAzureADAdministrator;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the beginDeleteMethod operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & {
+export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9043,14 +16363,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAzureADAdministrator;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & {
+export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9063,14 +16383,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerCommunicationLink;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByResourceGroupDatabaseNext operation.
  */
-export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & {
+export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9083,14 +16403,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerCommunicationLink;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByResourceGroupLocationNext operation.
  */
-export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & {
+export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9103,14 +16423,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerCommunicationLinkListResult;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByResourceGroupServerNext operation.
  */
-export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & {
+export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9123,14 +16443,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerCommunicationLink;
+      parsedBody: LongTermRetentionBackupListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ServiceObjectivesGetResponse = ServiceObjective & {
+export type LongTermRetentionManagedInstanceBackupsGetResponse = ManagedInstanceLongTermRetentionBackup & {
   /**
    * The underlying HTTP response.
    */
@@ -9143,14 +16463,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServiceObjective;
+      parsedBody: ManagedInstanceLongTermRetentionBackup;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9163,14 +16483,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServiceObjectiveListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByElasticPool operation.
+ * Contains response data for the listByInstance operation.
  */
-export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9183,14 +16503,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolActivityListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByElasticPool operation.
+ * Contains response data for the listByLocation operation.
  */
-export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9203,14 +16523,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolDatabaseActivityListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the getByResourceGroup operation.
  */
-export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & {
+export type LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse = ManagedInstanceLongTermRetentionBackup & {
   /**
    * The underlying HTTP response.
    */
@@ -9223,14 +16543,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServiceTierAdvisor;
+      parsedBody: ManagedInstanceLongTermRetentionBackup;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByResourceGroupDatabase operation.
  */
-export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9243,14 +16563,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServiceTierAdvisorListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByResourceGroupInstance operation.
  */
-export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9263,14 +16583,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: TransparentDataEncryption;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByResourceGroupLocation operation.
  */
-export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9283,14 +16603,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: TransparentDataEncryption;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByConfiguration operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9303,14 +16623,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: TransparentDataEncryptionActivityListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type ServerUsagesListByServerResponse = ServerUsageListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9323,14 +16643,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerUsageListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9343,14 +16663,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseUsageListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByResourceGroupDatabaseNext operation.
  */
-export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9363,14 +16683,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseAutomaticTuning;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listByResourceGroupInstanceNext operation.
  */
-export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9383,14 +16703,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseAutomaticTuning;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByResourceGroupLocationNext operation.
  */
-export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & {
+export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9403,14 +16723,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: EncryptionProtectorListResult;
+      parsedBody: ManagedInstanceLongTermRetentionBackupListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type EncryptionProtectorsGetResponse = EncryptionProtector & {
+export type LongTermRetentionPoliciesGetResponse = LongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9423,14 +16743,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: EncryptionProtector;
+      parsedBody: LongTermRetentionPolicy;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & {
+export type LongTermRetentionPoliciesCreateOrUpdateResponse = LongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9443,14 +16763,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: EncryptionProtector;
+      parsedBody: LongTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & {
+export type LongTermRetentionPoliciesListByDatabaseResponse = LongTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9463,14 +16783,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: EncryptionProtector;
+      parsedBody: LongTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & {
+export type LongTermRetentionPoliciesBeginCreateOrUpdateResponse = LongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9483,14 +16803,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: EncryptionProtectorListResult;
+      parsedBody: LongTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type FailoverGroupsGetResponse = FailoverGroup & {
+export type LongTermRetentionPoliciesListByDatabaseNextResponse = LongTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9503,14 +16823,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: LongTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & {
+export type MaintenanceWindowOptionsGetResponse = MaintenanceWindowOptions & {
   /**
    * The underlying HTTP response.
    */
@@ -9523,14 +16843,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: MaintenanceWindowOptions;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
  */
-export type FailoverGroupsUpdateResponse = FailoverGroup & {
+export type MaintenanceWindowsGetResponse = MaintenanceWindows & {
   /**
    * The underlying HTTP response.
    */
@@ -9543,14 +16863,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: MaintenanceWindows;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the get operation.
  */
-export type FailoverGroupsListByServerResponse = FailoverGroupListResult & {
+export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9563,14 +16883,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroupListResult;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the failover operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type FailoverGroupsFailoverResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9583,14 +16903,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the forceFailoverAllowDataLoss operation.
+ * Contains response data for the update operation.
  */
-export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9603,14 +16923,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9623,14 +16943,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type FailoverGroupsBeginUpdateResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9643,14 +16963,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the beginFailover operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type FailoverGroupsBeginFailoverResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -9663,14 +16983,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the beginForceFailoverAllowDataLoss operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & {
+export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9683,14 +17003,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroup;
+      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & {
+export type ManagedDatabaseColumnsListByDatabaseResponse = DatabaseColumnListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9703,14 +17023,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: FailoverGroupListResult;
+      parsedBody: DatabaseColumnListResult;
     };
 };
 
 /**
- * Contains response data for the list operation.
+ * Contains response data for the listByTable operation.
  */
-export type OperationsListResponse = OperationListResult & {
+export type ManagedDatabaseColumnsListByTableResponse = DatabaseColumnListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9723,14 +17043,14 @@ export type OperationsListResponse = OperationListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: OperationListResult;
+      parsedBody: DatabaseColumnListResult;
     };
 };
 
 /**
- * Contains response data for the listNext operation.
+ * Contains response data for the get operation.
  */
-export type OperationsListNextResponse = OperationListResult & {
+export type ManagedDatabaseColumnsGetResponse = DatabaseColumn & {
   /**
    * The underlying HTTP response.
    */
@@ -9743,14 +17063,14 @@ export type OperationsListNextResponse = OperationListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: OperationListResult;
+      parsedBody: DatabaseColumn;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ServerKeysListByServerResponse = ServerKeyListResult & {
+export type ManagedDatabaseColumnsListByDatabaseNextResponse = DatabaseColumnListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9763,14 +17083,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerKeyListResult;
+      parsedBody: DatabaseColumnListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByTableNext operation.
  */
-export type ServerKeysGetResponse = ServerKey & {
+export type ManagedDatabaseColumnsListByTableNextResponse = DatabaseColumnListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9783,14 +17103,14 @@ export type ServerKeysGetResponse = ServerKey & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerKey;
+      parsedBody: DatabaseColumnListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ServerKeysCreateOrUpdateResponse = ServerKey & {
+export type ManagedDatabaseQueriesGetResponse = ManagedInstanceQuery & {
   /**
    * The underlying HTTP response.
    */
@@ -9803,14 +17123,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerKey;
+      parsedBody: ManagedInstanceQuery;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByQuery operation.
  */
-export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & {
+export type ManagedDatabaseQueriesListByQueryResponse = ManagedInstanceQueryStatistics & {
   /**
    * The underlying HTTP response.
    */
@@ -9823,14 +17143,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerKey;
+      parsedBody: ManagedInstanceQueryStatistics;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the listByQueryNext operation.
  */
-export type ServerKeysListByServerNextResponse = ServerKeyListResult & {
+export type ManagedDatabaseQueriesListByQueryNextResponse = ManagedInstanceQueryStatistics & {
   /**
    * The underlying HTTP response.
    */
@@ -9843,14 +17163,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerKeyListResult;
+      parsedBody: ManagedInstanceQueryStatistics;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type SyncAgentsGetResponse = SyncAgent & {
+export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9863,14 +17183,14 @@ export type SyncAgentsGetResponse = SyncAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgent;
+      parsedBody: ManagedDatabaseRestoreDetailsResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstance operation.
  */
-export type SyncAgentsCreateOrUpdateResponse = SyncAgent & {
+export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9883,14 +17203,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgent;
+      parsedBody: ManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the get operation.
  */
-export type SyncAgentsListByServerResponse = SyncAgentListResult & {
+export type ManagedDatabasesGetResponse = ManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -9903,14 +17223,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgentListResult;
+      parsedBody: ManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the generateKey operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & {
+export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -9923,14 +17243,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgentKeyProperties;
+      parsedBody: ManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the listLinkedDatabases operation.
+ * Contains response data for the update operation.
  */
-export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & {
+export type ManagedDatabasesUpdateResponse = ManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -9943,14 +17263,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgentLinkedDatabaseListResult;
+      parsedBody: ManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listInaccessibleByInstance operation.
  */
-export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & {
+export type ManagedDatabasesListInaccessibleByInstanceResponse = ManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -9963,14 +17283,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgent;
+      parsedBody: ManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type SyncAgentsListByServerNextResponse = SyncAgentListResult & {
+export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -9983,14 +17303,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgentListResult;
+      parsedBody: ManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the listLinkedDatabasesNext operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & {
+export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -10003,14 +17323,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncAgentLinkedDatabaseListResult;
+      parsedBody: ManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the listSyncDatabaseIds operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & {
+export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10023,14 +17343,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncDatabaseIdListResult;
+      parsedBody: ManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listHubSchemas operation.
+ * Contains response data for the listInaccessibleByInstanceNext operation.
  */
-export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & {
+export type ManagedDatabasesListInaccessibleByInstanceNextResponse = ManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10043,14 +17363,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncFullSchemaPropertiesListResult;
+      parsedBody: ManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listLogs operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type SyncGroupsListLogsResponse = SyncGroupLogListResult & {
+export type ManagedDatabaseSchemasListByDatabaseResponse = DatabaseSchemaListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10063,14 +17383,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroupLogListResult;
+      parsedBody: DatabaseSchemaListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type SyncGroupsGetResponse = SyncGroup & {
+export type ManagedDatabaseSchemasGetResponse = DatabaseSchema & {
   /**
    * The underlying HTTP response.
    */
@@ -10083,14 +17403,14 @@ export type SyncGroupsGetResponse = SyncGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroup;
+      parsedBody: DatabaseSchema;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type SyncGroupsCreateOrUpdateResponse = SyncGroup & {
+export type ManagedDatabaseSchemasListByDatabaseNextResponse = DatabaseSchemaListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10103,14 +17423,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroup;
+      parsedBody: DatabaseSchemaListResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
  */
-export type SyncGroupsUpdateResponse = SyncGroup & {
+export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -10123,14 +17443,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroup;
+      parsedBody: ManagedDatabaseSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & {
+export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -10143,14 +17463,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroupListResult;
+      parsedBody: ManagedDatabaseSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & {
+export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10163,14 +17483,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroup;
+      parsedBody: ManagedDatabaseSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type SyncGroupsBeginUpdateResponse = SyncGroup & {
+export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10183,14 +17503,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroup;
+      parsedBody: ManagedDatabaseSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listSyncDatabaseIdsNext operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & {
+export type ManagedDatabaseSecurityEventsListByDatabaseResponse = SecurityEventCollection & {
   /**
    * The underlying HTTP response.
    */
@@ -10203,14 +17523,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncDatabaseIdListResult;
+      parsedBody: SecurityEventCollection;
     };
 };
 
 /**
- * Contains response data for the listHubSchemasNext operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & {
+export type ManagedDatabaseSecurityEventsListByDatabaseNextResponse = SecurityEventCollection & {
   /**
    * The underlying HTTP response.
    */
@@ -10223,14 +17543,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncFullSchemaPropertiesListResult;
+      parsedBody: SecurityEventCollection;
     };
 };
 
 /**
- * Contains response data for the listLogsNext operation.
+ * Contains response data for the get operation.
  */
-export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & {
+export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & {
   /**
    * The underlying HTTP response.
    */
@@ -10243,14 +17563,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroupLogListResult;
+      parsedBody: SensitivityLabel;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & {
+export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & {
   /**
    * The underlying HTTP response.
    */
@@ -10263,14 +17583,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncGroupListResult;
+      parsedBody: SensitivityLabel;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listCurrentByDatabase operation.
  */
-export type SyncMembersGetResponse = SyncMember & {
+export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10283,14 +17603,14 @@ export type SyncMembersGetResponse = SyncMember & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMember;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listRecommendedByDatabase operation.
  */
-export type SyncMembersCreateOrUpdateResponse = SyncMember & {
+export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10303,14 +17623,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMember;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listCurrentByDatabaseNext operation.
  */
-export type SyncMembersUpdateResponse = SyncMember & {
+export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10323,14 +17643,14 @@ export type SyncMembersUpdateResponse = SyncMember & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMember;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the listBySyncGroup operation.
+ * Contains response data for the listRecommendedByDatabaseNext operation.
  */
-export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & {
+export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10343,14 +17663,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMemberListResult;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the listMemberSchemas operation.
+ * Contains response data for the listBySchema operation.
  */
-export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & {
+export type ManagedDatabaseTablesListBySchemaResponse = DatabaseTableListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10363,14 +17683,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncFullSchemaPropertiesListResult;
+      parsedBody: DatabaseTableListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & {
+export type ManagedDatabaseTablesGetResponse = DatabaseTable & {
   /**
    * The underlying HTTP response.
    */
@@ -10383,14 +17703,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMember;
+      parsedBody: DatabaseTable;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listBySchemaNext operation.
  */
-export type SyncMembersBeginUpdateResponse = SyncMember & {
+export type ManagedDatabaseTablesListBySchemaNextResponse = DatabaseTableListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10403,14 +17723,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMember;
+      parsedBody: DatabaseTableListResult;
     };
 };
 
 /**
- * Contains response data for the listBySyncGroupNext operation.
+ * Contains response data for the get operation.
  */
-export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & {
+export type ManagedDatabaseTransparentDataEncryptionGetResponse = ManagedTransparentDataEncryption & {
   /**
    * The underlying HTTP response.
    */
@@ -10423,14 +17743,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncMemberListResult;
+      parsedBody: ManagedTransparentDataEncryption;
     };
 };
 
 /**
- * Contains response data for the listMemberSchemasNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & {
+export type ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse = ManagedTransparentDataEncryption & {
   /**
    * The underlying HTTP response.
    */
@@ -10443,14 +17763,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SyncFullSchemaPropertiesListResult;
+      parsedBody: ManagedTransparentDataEncryption;
     };
 };
 
 /**
- * Contains response data for the listByLocation operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & {
+export type ManagedDatabaseTransparentDataEncryptionListByDatabaseResponse = ManagedTransparentDataEncryptionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10463,14 +17783,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SubscriptionUsageListResult;
+      parsedBody: ManagedTransparentDataEncryptionListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type SubscriptionUsagesGetResponse = SubscriptionUsage & {
+export type ManagedDatabaseTransparentDataEncryptionListByDatabaseNextResponse = ManagedTransparentDataEncryptionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10483,14 +17803,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SubscriptionUsage;
+      parsedBody: ManagedTransparentDataEncryptionListResult;
     };
 };
 
 /**
- * Contains response data for the listByLocationNext operation.
+ * Contains response data for the get operation.
  */
-export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & {
+export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
   /**
    * The underlying HTTP response.
    */
@@ -10503,14 +17823,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SubscriptionUsageListResult;
+      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
     };
 };
 
 /**
- * Contains response data for the list operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type VirtualClustersListResponse = VirtualClusterListResult & {
+export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
   /**
    * The underlying HTTP response.
    */
@@ -10523,14 +17843,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualClusterListResult;
+      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the get operation.
  */
-export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & {
+export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -10543,14 +17863,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualClusterListResult;
+      parsedBody: DatabaseVulnerabilityAssessment;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type VirtualClustersGetResponse = VirtualCluster & {
+export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -10563,14 +17883,14 @@ export type VirtualClustersGetResponse = VirtualCluster & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualCluster;
+      parsedBody: DatabaseVulnerabilityAssessment;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type VirtualClustersUpdateResponse = VirtualCluster & {
+export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10583,14 +17903,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualCluster;
+      parsedBody: DatabaseVulnerabilityAssessmentListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type VirtualClustersBeginUpdateResponse = VirtualCluster & {
+export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10603,14 +17923,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualCluster;
+      parsedBody: DatabaseVulnerabilityAssessmentListResult;
     };
 };
 
 /**
- * Contains response data for the listNext operation.
+ * Contains response data for the exportMethod operation.
  */
-export type VirtualClustersListNextResponse = VirtualClusterListResult & {
+export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & {
   /**
    * The underlying HTTP response.
    */
@@ -10623,14 +17943,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualClusterListResult;
+      parsedBody: DatabaseVulnerabilityAssessmentScansExport;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupNext operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & {
+export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10643,14 +17963,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualClusterListResult;
+      parsedBody: VulnerabilityAssessmentScanRecordListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & {
+export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & {
   /**
    * The underlying HTTP response.
    */
@@ -10663,14 +17983,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualNetworkRule;
+      parsedBody: VulnerabilityAssessmentScanRecord;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & {
+export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10683,14 +18003,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualNetworkRule;
+      parsedBody: VulnerabilityAssessmentScanRecordListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByInstance operation.
  */
-export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & {
+export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10703,14 +18023,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualNetworkRuleListResult;
+      parsedBody: ManagedInstanceAdministratorListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & {
+export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -10723,14 +18043,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualNetworkRule;
+      parsedBody: ManagedInstanceAdministrator;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & {
+export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -10743,14 +18063,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VirtualNetworkRuleListResult;
+      parsedBody: ManagedInstanceAdministrator;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & {
+export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -10763,14 +18083,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ExtendedDatabaseBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAdministrator;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & {
+export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10783,14 +18103,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ExtendedDatabaseBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAdministratorListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & {
+export type ManagedInstanceAzureADOnlyAuthenticationsGetResponse = ManagedInstanceAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -10803,14 +18123,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ExtendedServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAzureADOnlyAuthentication;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & {
+export type ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse = ManagedInstanceAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -10823,14 +18143,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ExtendedServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAzureADOnlyAuthentication;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByInstance operation.
  */
-export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & {
+export type ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse = ManagedInstanceAzureADOnlyAuthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10843,14 +18163,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ExtendedServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAzureADOnlyAuthListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & {
+export type ManagedInstanceAzureADOnlyAuthenticationsBeginCreateOrUpdateResponse = ManagedInstanceAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -10863,14 +18183,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAzureADOnlyAuthentication;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & {
+export type ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse = ManagedInstanceAzureADOnlyAuthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10883,14 +18203,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceAzureADOnlyAuthListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByInstance operation.
  */
-export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & {
+export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10903,14 +18223,14 @@ export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingP
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerBlobAuditingPolicyListResult;
+      parsedBody: ManagedInstanceEncryptionProtectorListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & {
+export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & {
   /**
    * The underlying HTTP response.
    */
@@ -10923,14 +18243,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerBlobAuditingPolicy;
+      parsedBody: ManagedInstanceEncryptionProtector;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & {
+export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & {
   /**
    * The underlying HTTP response.
    */
@@ -10943,14 +18263,14 @@ export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAudit
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerBlobAuditingPolicyListResult;
+      parsedBody: ManagedInstanceEncryptionProtector;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & {
+export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & {
   /**
    * The underlying HTTP response.
    */
@@ -10963,14 +18283,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseBlobAuditingPolicy;
+      parsedBody: ManagedInstanceEncryptionProtector;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & {
+export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -10983,14 +18303,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseBlobAuditingPolicy;
+      parsedBody: ManagedInstanceEncryptionProtectorListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByInstance operation.
  */
-export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & {
+export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11003,14 +18323,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAud
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseBlobAuditingPolicyListResult;
+      parsedBody: ManagedInstanceKeyListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the get operation.
  */
-export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & {
+export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & {
   /**
    * The underlying HTTP response.
    */
@@ -11023,14 +18343,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseBlobAuditingPolicyListResult;
+      parsedBody: ManagedInstanceKey;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
+export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & {
   /**
    * The underlying HTTP response.
    */
@@ -11043,14 +18363,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+      parsedBody: ManagedInstanceKey;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
+export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & {
   /**
    * The underlying HTTP response.
    */
@@ -11063,14 +18383,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+      parsedBody: ManagedInstanceKey;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & {
+export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11083,14 +18403,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessment;
+      parsedBody: ManagedInstanceKeyListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & {
+export type ManagedInstanceLongTermRetentionPoliciesGetResponse = ManagedInstanceLongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11103,14 +18423,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessment;
+      parsedBody: ManagedInstanceLongTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & {
+export type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11123,14 +18443,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+      parsedBody: ManagedInstanceLongTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & {
+export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse = ManagedInstanceLongTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11143,14 +18463,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+      parsedBody: ManagedInstanceLongTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobAgentsListByServerResponse = JobAgentListResult & {
+export type ManagedInstanceLongTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11163,14 +18483,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgentListResult;
+      parsedBody: ManagedInstanceLongTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type JobAgentsGetResponse = JobAgent & {
+export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse = ManagedInstanceLongTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11183,14 +18503,14 @@ export type JobAgentsGetResponse = JobAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgent;
+      parsedBody: ManagedInstanceLongTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByManagedInstance operation.
  */
-export type JobAgentsCreateOrUpdateResponse = JobAgent & {
+export type ManagedInstanceOperationsListByManagedInstanceResponse = ManagedInstanceOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11203,14 +18523,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgent;
+      parsedBody: ManagedInstanceOperationListResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
  */
-export type JobAgentsUpdateResponse = JobAgent & {
+export type ManagedInstanceOperationsGetResponse = ManagedInstanceOperation & {
   /**
    * The underlying HTTP response.
    */
@@ -11223,14 +18543,14 @@ export type JobAgentsUpdateResponse = JobAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgent;
+      parsedBody: ManagedInstanceOperation;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByManagedInstanceNext operation.
  */
-export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & {
+export type ManagedInstanceOperationsListByManagedInstanceNextResponse = ManagedInstanceOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11243,14 +18563,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgent;
+      parsedBody: ManagedInstanceOperationListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the get operation.
  */
-export type JobAgentsBeginUpdateResponse = JobAgent & {
+export type ManagedInstancePrivateEndpointConnectionsGetResponse = ManagedInstancePrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -11263,14 +18583,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgent;
+      parsedBody: ManagedInstancePrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type JobAgentsListByServerNextResponse = JobAgentListResult & {
+export type ManagedInstancePrivateEndpointConnectionsCreateOrUpdateResponse = ManagedInstancePrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -11283,14 +18603,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobAgentListResult;
+      parsedBody: ManagedInstancePrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the listByAgent operation.
+ * Contains response data for the listByManagedInstance operation.
  */
-export type JobCredentialsListByAgentResponse = JobCredentialListResult & {
+export type ManagedInstancePrivateEndpointConnectionsListByManagedInstanceResponse = ManagedInstancePrivateEndpointConnectionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11303,14 +18623,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobCredentialListResult;
+      parsedBody: ManagedInstancePrivateEndpointConnectionListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobCredentialsGetResponse = JobCredential & {
+export type ManagedInstancePrivateEndpointConnectionsBeginCreateOrUpdateResponse = ManagedInstancePrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -11323,14 +18643,14 @@ export type JobCredentialsGetResponse = JobCredential & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobCredential;
+      parsedBody: ManagedInstancePrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByManagedInstanceNext operation.
  */
-export type JobCredentialsCreateOrUpdateResponse = JobCredential & {
+export type ManagedInstancePrivateEndpointConnectionsListByManagedInstanceNextResponse = ManagedInstancePrivateEndpointConnectionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11343,14 +18663,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobCredential;
+      parsedBody: ManagedInstancePrivateEndpointConnectionListResult;
     };
 };
 
 /**
- * Contains response data for the listByAgentNext operation.
+ * Contains response data for the listByManagedInstance operation.
  */
-export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & {
+export type ManagedInstancePrivateLinkResourcesListByManagedInstanceResponse = ManagedInstancePrivateLinkListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11363,14 +18683,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobCredentialListResult;
+      parsedBody: ManagedInstancePrivateLinkListResult;
     };
 };
 
 /**
- * Contains response data for the listByAgent operation.
+ * Contains response data for the get operation.
  */
-export type JobExecutionsListByAgentResponse = JobExecutionListResult & {
+export type ManagedInstancePrivateLinkResourcesGetResponse = ManagedInstancePrivateLink & {
   /**
    * The underlying HTTP response.
    */
@@ -11383,14 +18703,14 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedInstancePrivateLink;
     };
 };
 
 /**
- * Contains response data for the create operation.
+ * Contains response data for the listByManagedInstanceNext operation.
  */
-export type JobExecutionsCreateResponse = JobExecution & {
+export type ManagedInstancePrivateLinkResourcesListByManagedInstanceNextResponse = ManagedInstancePrivateLinkListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11403,14 +18723,14 @@ export type JobExecutionsCreateResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedInstancePrivateLinkListResult;
     };
 };
 
 /**
- * Contains response data for the listByJob operation.
+ * Contains response data for the listByInstancePool operation.
  */
-export type JobExecutionsListByJobResponse = JobExecutionListResult & {
+export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11423,14 +18743,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the list operation.
  */
-export type JobExecutionsGetResponse = JobExecution & {
+export type ManagedInstancesListResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11443,14 +18763,14 @@ export type JobExecutionsGetResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByResourceGroup operation.
  */
-export type JobExecutionsCreateOrUpdateResponse = JobExecution & {
+export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11463,14 +18783,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreate operation.
+ * Contains response data for the get operation.
  */
-export type JobExecutionsBeginCreateResponse = JobExecution & {
+export type ManagedInstancesGetResponse = ManagedInstance & {
   /**
    * The underlying HTTP response.
    */
@@ -11483,14 +18803,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedInstance;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & {
+export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & {
   /**
    * The underlying HTTP response.
    */
@@ -11503,14 +18823,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedInstance;
     };
 };
 
 /**
- * Contains response data for the listByAgentNext operation.
+ * Contains response data for the update operation.
  */
-export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & {
+export type ManagedInstancesUpdateResponse = ManagedInstance & {
   /**
    * The underlying HTTP response.
    */
@@ -11523,14 +18843,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedInstance;
     };
 };
 
 /**
- * Contains response data for the listByJobNext operation.
+ * Contains response data for the listByManagedInstance operation.
  */
-export type JobExecutionsListByJobNextResponse = JobExecutionListResult & {
+export type ManagedInstancesListByManagedInstanceResponse = TopQueriesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11543,14 +18863,14 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: TopQueriesListResult;
     };
 };
 
 /**
- * Contains response data for the listByAgent operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobsListByAgentResponse = JobListResult & {
+export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & {
   /**
    * The underlying HTTP response.
    */
@@ -11563,14 +18883,14 @@ export type JobsListByAgentResponse = JobListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobListResult;
+      parsedBody: ManagedInstance;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type JobsGetResponse = Job & {
+export type ManagedInstancesBeginUpdateResponse = ManagedInstance & {
   /**
    * The underlying HTTP response.
    */
@@ -11583,14 +18903,14 @@ export type JobsGetResponse = Job & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Job;
+      parsedBody: ManagedInstance;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstancePoolNext operation.
  */
-export type JobsCreateOrUpdateResponse = Job & {
+export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11603,14 +18923,14 @@ export type JobsCreateOrUpdateResponse = Job & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: Job;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the listByAgentNext operation.
+ * Contains response data for the listNext operation.
  */
-export type JobsListByAgentNextResponse = JobListResult & {
+export type ManagedInstancesListNextResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11623,14 +18943,14 @@ export type JobsListByAgentNextResponse = JobListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobListResult;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the listByJobExecution operation.
+ * Contains response data for the listByResourceGroupNext operation.
  */
-export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & {
+export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11643,14 +18963,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedInstanceListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByManagedInstanceNext operation.
  */
-export type JobStepExecutionsGetResponse = JobExecution & {
+export type ManagedInstancesListByManagedInstanceNextResponse = TopQueriesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11663,14 +18983,14 @@ export type JobStepExecutionsGetResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: TopQueriesListResult;
     };
 };
 
 /**
- * Contains response data for the listByJobExecutionNext operation.
+ * Contains response data for the get operation.
  */
-export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & {
+export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -11683,14 +19003,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedInstanceVulnerabilityAssessment;
     };
 };
 
 /**
- * Contains response data for the listByVersion operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type JobStepsListByVersionResponse = JobStepListResult & {
+export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -11703,14 +19023,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStepListResult;
+      parsedBody: ManagedInstanceVulnerabilityAssessment;
     };
 };
 
 /**
- * Contains response data for the getByVersion operation.
+ * Contains response data for the listByInstance operation.
  */
-export type JobStepsGetByVersionResponse = JobStep & {
+export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11723,14 +19043,14 @@ export type JobStepsGetByVersionResponse = JobStep & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStep;
+      parsedBody: ManagedInstanceVulnerabilityAssessmentListResult;
     };
 };
 
 /**
- * Contains response data for the listByJob operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type JobStepsListByJobResponse = JobStepListResult & {
+export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11743,14 +19063,14 @@ export type JobStepsListByJobResponse = JobStepListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStepListResult;
+      parsedBody: ManagedInstanceVulnerabilityAssessmentListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type JobStepsGetResponse = JobStep & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11763,14 +19083,14 @@ export type JobStepsGetResponse = JobStep & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStep;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type JobStepsCreateOrUpdateResponse = JobStep & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11783,14 +19103,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStep;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the listByVersionNext operation.
+ * Contains response data for the update operation.
  */
-export type JobStepsListByVersionNextResponse = JobStepListResult & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11803,14 +19123,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStepListResult;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the listByJobNext operation.
+ * Contains response data for the listByRestorableDroppedDatabase operation.
  */
-export type JobStepsListByJobNextResponse = JobStepListResult & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11823,14 +19143,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobStepListResult;
+      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByJobExecution operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11843,14 +19163,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the listByStep operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11863,14 +19183,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedBackupShortTermRetentionPolicy;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByRestorableDroppedDatabaseNext operation.
  */
-export type JobTargetExecutionsGetResponse = JobExecution & {
+export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11883,14 +19203,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecution;
+      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByJobExecutionNext operation.
+ * Contains response data for the get operation.
  */
-export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & {
+export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11903,14 +19223,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the listByStepNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & {
+export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11923,14 +19243,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobExecutionListResult;
+      parsedBody: ManagedServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the listByAgent operation.
+ * Contains response data for the listByInstance operation.
  */
-export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & {
+export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11943,14 +19263,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobTargetGroupListResult;
+      parsedBody: ManagedServerSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type JobTargetGroupsGetResponse = JobTargetGroup & {
+export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -11963,14 +19283,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobTargetGroup;
+      parsedBody: ManagedServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & {
+export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -11983,14 +19303,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobTargetGroup;
+      parsedBody: ManagedServerSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByAgentNext operation.
+ * Contains response data for the list operation.
  */
-export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & {
+export type OperationsListResponse = OperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12003,14 +19323,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobTargetGroupListResult;
+      parsedBody: OperationListResult;
     };
 };
 
 /**
- * Contains response data for the listByJob operation.
+ * Contains response data for the listNext operation.
  */
-export type JobVersionsListByJobResponse = JobVersionListResult & {
+export type OperationsListNextResponse = OperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12023,14 +19343,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobVersionListResult;
+      parsedBody: OperationListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByLocation operation.
  */
-export type JobVersionsGetResponse = JobVersion & {
+export type OperationsHealthListByLocationResponse = OperationsHealthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12043,14 +19363,14 @@ export type JobVersionsGetResponse = JobVersion & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobVersion;
+      parsedBody: OperationsHealthListResult;
     };
 };
 
 /**
- * Contains response data for the listByJobNext operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type JobVersionsListByJobNextResponse = JobVersionListResult & {
+export type OperationsHealthListByLocationNextResponse = OperationsHealthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12063,14 +19383,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: JobVersionListResult;
+      parsedBody: OperationsHealthListResult;
     };
 };
 
 /**
- * Contains response data for the getByResourceGroup operation.
+ * Contains response data for the get operation.
  */
-export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & {
+export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -12083,14 +19403,14 @@ export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetenti
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackup;
+      parsedBody: PrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupDatabase operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & {
+export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -12103,14 +19423,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupLocation operation.
+ * Contains response data for the listByServer operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & {
+export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12123,14 +19443,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateEndpointConnectionListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupServer operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & {
+export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
   /**
    * The underlying HTTP response.
    */
@@ -12143,14 +19463,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateEndpointConnection;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & {
+export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12163,14 +19483,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackup;
+      parsedBody: PrivateEndpointConnectionListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByServer operation.
  */
-export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & {
+export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12183,14 +19503,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateLinkResourceListResult;
     };
 };
 
 /**
- * Contains response data for the listByLocation operation.
+ * Contains response data for the get operation.
  */
-export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & {
+export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
   /**
    * The underlying HTTP response.
    */
@@ -12203,14 +19523,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateLinkResource;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & {
+export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12223,14 +19543,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: PrivateLinkResourceListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupDatabaseNext operation.
+ * Contains response data for the listByInstance operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & {
+export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12243,14 +19563,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = Lo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RecoverableManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupLocationNext operation.
+ * Contains response data for the get operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & {
+export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -12263,14 +19583,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = Lo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RecoverableManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupServerNext operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & {
+export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12283,14 +19603,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = Long
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RecoverableManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & {
+export type RestorePointsListByDatabaseResponse = RestorePointListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12303,14 +19623,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RestorePointListResult;
     };
 };
 
 /**
- * Contains response data for the listByLocationNext operation.
+ * Contains response data for the create operation.
  */
-export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & {
+export type RestorePointsCreateResponse = RestorePoint & {
   /**
    * The underlying HTTP response.
    */
@@ -12323,14 +19643,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RestorePoint;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the get operation.
  */
-export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & {
+export type RestorePointsGetResponse = RestorePoint & {
   /**
    * The underlying HTTP response.
    */
@@ -12343,14 +19663,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LongTermRetentionBackupListResult;
+      parsedBody: RestorePoint;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreate operation.
  */
-export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & {
+export type RestorePointsBeginCreateResponse = RestorePoint & {
   /**
    * The underlying HTTP response.
    */
@@ -12363,14 +19683,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupLongTermRetentionPolicy;
+      parsedBody: RestorePoint;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & {
+export type RestorePointsListByDatabaseNextResponse = RestorePointListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12383,14 +19703,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupLongTermRetentionPolicy;
+      parsedBody: RestorePointListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listCurrentByDatabase operation.
  */
-export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & {
+export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12403,14 +19723,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupLongTermRetentionPolicy;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listRecommendedByDatabase operation.
  */
-export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & {
+export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12423,14 +19743,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupLongTermRetentionPolicy;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & {
+export type SensitivityLabelsGetResponse = SensitivityLabel & {
   /**
    * The underlying HTTP response.
    */
@@ -12443,14 +19763,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: SensitivityLabel;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & {
   /**
    * The underlying HTTP response.
    */
@@ -12463,14 +19783,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: SensitivityLabel;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listCurrentByDatabaseNext operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12483,14 +19803,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listRecommendedByDatabaseNext operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & {
+export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12503,14 +19823,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
+      parsedBody: SensitivityLabelListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAdvisorsListByServerResponse = Array<Advisor> & {
   /**
    * The underlying HTTP response.
    */
@@ -12523,14 +19843,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: Advisor[];
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAdvisorsGetResponse = Advisor & {
   /**
    * The underlying HTTP response.
    */
@@ -12543,14 +19863,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: Advisor;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the update operation.
  */
-export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & {
+export type ServerAdvisorsUpdateResponse = Advisor & {
   /**
    * The underlying HTTP response.
    */
@@ -12563,14 +19883,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
+      parsedBody: Advisor;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & {
   /**
    * The underlying HTTP response.
    */
@@ -12583,14 +19903,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: ServerAutomaticTuning;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the update operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & {
   /**
    * The underlying HTTP response.
    */
@@ -12603,14 +19923,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: ServerAutomaticTuning;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -12623,14 +19943,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: ServerAzureADAdministrator;
     };
 };
 
 /**
- * Contains response data for the listByRestorableDroppedDatabase operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & {
+export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -12643,14 +19963,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
+      parsedBody: ServerAzureADAdministrator;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAzureADAdministratorsListByServerResponse = AdministratorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12663,14 +19983,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: AdministratorListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & {
+export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & {
   /**
    * The underlying HTTP response.
    */
@@ -12683,14 +20003,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicy;
+      parsedBody: ServerAzureADAdministrator;
     };
 };
 
 /**
- * Contains response data for the listByRestorableDroppedDatabaseNext operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & {
+export type ServerAzureADAdministratorsListByServerNextResponse = AdministratorListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12703,14 +20023,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedBackupShortTermRetentionPolicyListResult;
+      parsedBody: AdministratorListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & {
+export type ServerAzureADOnlyAuthenticationsGetResponse = ServerAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -12723,14 +20043,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAutomaticTuning;
+      parsedBody: ServerAzureADOnlyAuthentication;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & {
+export type ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -12743,14 +20063,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerAutomaticTuning;
+      parsedBody: ServerAzureADOnlyAuthentication;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServer operation.
  */
-export type ServerDnsAliasesGetResponse = ServerDnsAlias & {
+export type ServerAzureADOnlyAuthenticationsListByServerResponse = AzureADOnlyAuthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12763,14 +20083,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerDnsAlias;
+      parsedBody: AzureADOnlyAuthListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & {
+export type ServerAzureADOnlyAuthenticationsBeginCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & {
   /**
    * The underlying HTTP response.
    */
@@ -12783,14 +20103,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerDnsAlias;
+      parsedBody: ServerAzureADOnlyAuthentication;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & {
+export type ServerAzureADOnlyAuthenticationsListByServerNextResponse = AzureADOnlyAuthListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12803,14 +20123,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerDnsAliasListResult;
+      parsedBody: AzureADOnlyAuthListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & {
+export type ServerDevOpsAuditSettingsGetResponse = ServerDevOpsAuditingSettings & {
   /**
    * The underlying HTTP response.
    */
@@ -12823,14 +20143,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerDnsAlias;
+      parsedBody: ServerDevOpsAuditingSettings;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & {
+export type ServerDevOpsAuditSettingsCreateOrUpdateResponse = ServerDevOpsAuditingSettings & {
   /**
    * The underlying HTTP response.
    */
@@ -12843,14 +20163,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerDnsAliasListResult;
+      parsedBody: ServerDevOpsAuditingSettings;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServer operation.
  */
-export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & {
+export type ServerDevOpsAuditSettingsListByServerResponse = ServerDevOpsAuditSettingsListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12863,14 +20183,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerSecurityAlertPolicy;
+      parsedBody: ServerDevOpsAuditSettingsListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
+export type ServerDevOpsAuditSettingsBeginCreateOrUpdateResponse = ServerDevOpsAuditingSettings & {
   /**
    * The underlying HTTP response.
    */
@@ -12883,14 +20203,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerSecurityAlertPolicy;
+      parsedBody: ServerDevOpsAuditingSettings;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & {
+export type ServerDevOpsAuditSettingsListByServerNextResponse = ServerDevOpsAuditSettingsListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12903,14 +20223,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LogicalServerSecurityAlertPolicyListResult;
+      parsedBody: ServerDevOpsAuditSettingsListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
+export type ServerDnsAliasesGetResponse = ServerDnsAlias & {
   /**
    * The underlying HTTP response.
    */
@@ -12923,14 +20243,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerSecurityAlertPolicy;
+      parsedBody: ServerDnsAlias;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & {
+export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & {
   /**
    * The underlying HTTP response.
    */
@@ -12943,14 +20263,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LogicalServerSecurityAlertPolicyListResult;
+      parsedBody: ServerDnsAlias;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the listByServer operation.
  */
-export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & {
+export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -12963,14 +20283,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorableDroppedManagedDatabaseListResult;
+      parsedBody: ServerDnsAliasListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the acquire operation.
  */
-export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & {
+export type ServerDnsAliasesAcquireResponse = ServerDnsAlias & {
   /**
    * The underlying HTTP response.
    */
@@ -12983,14 +20303,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorableDroppedManagedDatabase;
+      parsedBody: ServerDnsAlias;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & {
+export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & {
   /**
    * The underlying HTTP response.
    */
@@ -13003,14 +20323,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorableDroppedManagedDatabaseListResult;
+      parsedBody: ServerDnsAlias;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the beginAcquire operation.
  */
-export type RestorePointsListByDatabaseResponse = RestorePointListResult & {
+export type ServerDnsAliasesBeginAcquireResponse = ServerDnsAlias & {
   /**
    * The underlying HTTP response.
    */
@@ -13023,14 +20343,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorePointListResult;
+      parsedBody: ServerDnsAlias;
     };
 };
 
 /**
- * Contains response data for the create operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type RestorePointsCreateResponse = RestorePoint & {
+export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13043,14 +20363,14 @@ export type RestorePointsCreateResponse = RestorePoint & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorePoint;
+      parsedBody: ServerDnsAliasListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServer operation.
  */
-export type RestorePointsGetResponse = RestorePoint & {
+export type ServerKeysListByServerResponse = ServerKeyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13063,14 +20383,14 @@ export type RestorePointsGetResponse = RestorePoint & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorePoint;
+      parsedBody: ServerKeyListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreate operation.
+ * Contains response data for the get operation.
  */
-export type RestorePointsBeginCreateResponse = RestorePoint & {
+export type ServerKeysGetResponse = ServerKey & {
   /**
    * The underlying HTTP response.
    */
@@ -13083,14 +20403,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RestorePoint;
+      parsedBody: ServerKey;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & {
+export type ServerKeysCreateOrUpdateResponse = ServerKey & {
   /**
    * The underlying HTTP response.
    */
@@ -13103,14 +20423,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseSecurityAlertPolicy;
+      parsedBody: ServerKey;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & {
+export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & {
   /**
    * The underlying HTTP response.
    */
@@ -13123,14 +20443,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseSecurityAlertPolicy;
+      parsedBody: ServerKey;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & {
+export type ServerKeysListByServerNextResponse = ServerKeyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13143,14 +20463,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseSecurityAlertPolicyListResult;
+      parsedBody: ServerKeyListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & {
+export type ServerOperationsListByServerResponse = ServerOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13163,14 +20483,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseSecurityAlertPolicyListResult;
+      parsedBody: ServerOperationListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & {
+export type ServerOperationsListByServerNextResponse = ServerOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13183,14 +20503,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedServerSecurityAlertPolicy;
+      parsedBody: ServerOperationListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByResourceGroup operation.
  */
-export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & {
+export type ServersListByResourceGroupResponse = ServerListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13203,14 +20523,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedServerSecurityAlertPolicy;
+      parsedBody: ServerListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the get operation.
  */
-export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & {
+export type ServersGetResponse = Server & {
   /**
    * The underlying HTTP response.
    */
@@ -13223,14 +20543,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedServerSecurityAlertPolicyListResult;
+      parsedBody: Server;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & {
+export type ServersCreateOrUpdateResponse = Server & {
   /**
    * The underlying HTTP response.
    */
@@ -13243,14 +20563,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedServerSecurityAlertPolicy;
+      parsedBody: Server;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the update operation.
  */
-export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & {
+export type ServersUpdateResponse = Server & {
   /**
    * The underlying HTTP response.
    */
@@ -13263,14 +20583,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedServerSecurityAlertPolicyListResult;
+      parsedBody: Server;
     };
 };
 
 /**
- * Contains response data for the listCurrentByDatabase operation.
+ * Contains response data for the list operation.
  */
-export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & {
+export type ServersListResponse = ServerListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13283,14 +20603,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: ServerListResult;
     };
 };
 
 /**
- * Contains response data for the listRecommendedByDatabase operation.
+ * Contains response data for the importDatabase operation.
  */
-export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & {
+export type ServersImportDatabaseResponse = ImportExportOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13303,14 +20623,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: ImportExportOperationResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the checkNameAvailability operation.
  */
-export type SensitivityLabelsGetResponse = SensitivityLabel & {
+export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & {
   /**
    * The underlying HTTP response.
    */
@@ -13323,14 +20643,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabel;
+      parsedBody: CheckNameAvailabilityResponse;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & {
+export type ServersBeginCreateOrUpdateResponse = Server & {
   /**
    * The underlying HTTP response.
    */
@@ -13343,14 +20663,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabel;
+      parsedBody: Server;
     };
 };
 
 /**
- * Contains response data for the listCurrentByDatabaseNext operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & {
+export type ServersBeginUpdateResponse = Server & {
   /**
    * The underlying HTTP response.
    */
@@ -13363,14 +20683,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: Server;
     };
 };
 
 /**
- * Contains response data for the listRecommendedByDatabaseNext operation.
+ * Contains response data for the beginImportDatabase operation.
  */
-export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & {
+export type ServersBeginImportDatabaseResponse = ImportExportOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13383,14 +20703,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: ImportExportOperationResult;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the listByResourceGroupNext operation.
  */
-export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & {
+export type ServersListByResourceGroupNextResponse = ServerListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13403,14 +20723,14 @@ export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanc
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceAdministratorListResult;
+      parsedBody: ServerListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listNext operation.
  */
-export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & {
+export type ServersListNextResponse = ServerListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13423,14 +20743,14 @@ export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministra
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceAdministrator;
+      parsedBody: ServerListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & {
+export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -13443,14 +20763,14 @@ export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanc
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceAdministrator;
+      parsedBody: ServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & {
+export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -13463,14 +20783,14 @@ export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedIn
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceAdministrator;
+      parsedBody: ServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & {
+export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13483,14 +20803,14 @@ export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedIns
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceAdministratorListResult;
+      parsedBody: LogicalServerSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & {
+export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
   /**
    * The underlying HTTP response.
    */
@@ -13503,14 +20823,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseOperationListResult;
+      parsedBody: ServerSecurityAlertPolicy;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & {
+export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13523,14 +20843,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseOperationListResult;
+      parsedBody: LogicalServerSecurityAlertPolicyListResult;
     };
 };
 
 /**
- * Contains response data for the listByElasticPool operation.
+ * Contains response data for the get operation.
  */
-export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & {
+export type ServerTrustGroupsGetResponse = ServerTrustGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -13543,14 +20863,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolOperationListResult;
+      parsedBody: ServerTrustGroup;
     };
 };
 
 /**
- * Contains response data for the listByElasticPoolNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & {
+export type ServerTrustGroupsCreateOrUpdateResponse = ServerTrustGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -13563,14 +20883,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ElasticPoolOperationListResult;
+      parsedBody: ServerTrustGroup;
     };
 };
 
 /**
  * Contains response data for the listByLocation operation.
  */
-export type CapabilitiesListByLocationResponse = LocationCapabilities & {
+export type ServerTrustGroupsListByLocationResponse = ServerTrustGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13583,14 +20903,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: LocationCapabilities;
+      parsedBody: ServerTrustGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByInstance operation.
  */
-export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & {
+export type ServerTrustGroupsListByInstanceResponse = ServerTrustGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13603,14 +20923,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+      parsedBody: ServerTrustGroupListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & {
+export type ServerTrustGroupsBeginCreateOrUpdateResponse = ServerTrustGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -13623,14 +20943,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecord;
+      parsedBody: ServerTrustGroup;
     };
 };
 
 /**
- * Contains response data for the exportMethod operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & {
+export type ServerTrustGroupsListByLocationNextResponse = ServerTrustGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13643,14 +20963,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentScansExport;
+      parsedBody: ServerTrustGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & {
+export type ServerTrustGroupsListByInstanceNextResponse = ServerTrustGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13663,14 +20983,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+      parsedBody: ServerTrustGroupListResult;
     };
 };
 
 /**
  * Contains response data for the get operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
+export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -13683,14 +21003,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+      parsedBody: ServerVulnerabilityAssessment;
     };
 };
 
 /**
  * Contains response data for the createOrUpdate operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & {
+export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & {
   /**
    * The underlying HTTP response.
    */
@@ -13703,14 +21023,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline;
+      parsedBody: ServerVulnerabilityAssessment;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & {
+export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13723,14 +21043,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+      parsedBody: ServerVulnerabilityAssessmentListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & {
+export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13743,14 +21063,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecord;
+      parsedBody: ServerVulnerabilityAssessmentListResult;
     };
 };
 
 /**
- * Contains response data for the exportMethod operation.
+ * Contains response data for the get operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & {
+export type SqlAgentGetResponse = SqlAgentConfiguration & {
   /**
    * The underlying HTTP response.
    */
@@ -13763,14 +21083,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentScansExport;
+      parsedBody: SqlAgentConfiguration;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & {
+export type SqlAgentCreateOrUpdateResponse = SqlAgentConfiguration & {
   /**
    * The underlying HTTP response.
    */
@@ -13783,14 +21103,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: VulnerabilityAssessmentScanRecordListResult;
+      parsedBody: SqlAgentConfiguration;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByLocation operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & {
+export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13803,14 +21123,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessment;
+      parsedBody: SubscriptionUsageListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & {
+export type SubscriptionUsagesGetResponse = SubscriptionUsage & {
   /**
    * The underlying HTTP response.
    */
@@ -13823,14 +21143,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessment;
+      parsedBody: SubscriptionUsage;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & {
+export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13843,14 +21163,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+      parsedBody: SubscriptionUsageListResult;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the get operation.
  */
-export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & {
+export type SyncAgentsGetResponse = SyncAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -13863,14 +21183,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: DatabaseVulnerabilityAssessmentListResult;
+      parsedBody: SyncAgent;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & {
+export type SyncAgentsCreateOrUpdateResponse = SyncAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -13883,14 +21203,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgent;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByServer operation.
  */
-export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & {
+export type SyncAgentsListByServerResponse = SyncAgentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13903,14 +21223,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgentListResult;
     };
 };
 
 /**
- * Contains response data for the listByLocation operation.
+ * Contains response data for the generateKey operation.
  */
-export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & {
+export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & {
   /**
    * The underlying HTTP response.
    */
@@ -13923,14 +21243,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroupListResult;
+      parsedBody: SyncAgentKeyProperties;
     };
 };
 
 /**
- * Contains response data for the failover operation.
+ * Contains response data for the listLinkedDatabases operation.
  */
-export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & {
+export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13943,14 +21263,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgentLinkedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the forceFailoverAllowDataLoss operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & {
+export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & {
   /**
    * The underlying HTTP response.
    */
@@ -13963,14 +21283,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgent;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & {
+export type SyncAgentsListByServerNextResponse = SyncAgentListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -13983,14 +21303,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgentListResult;
     };
 };
 
 /**
- * Contains response data for the beginFailover operation.
+ * Contains response data for the listLinkedDatabasesNext operation.
  */
-export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & {
+export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14003,14 +21323,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncAgentLinkedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the beginForceFailoverAllowDataLoss operation.
+ * Contains response data for the listSyncDatabaseIds operation.
  */
-export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & {
+export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14023,14 +21343,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroup;
+      parsedBody: SyncDatabaseIdListResult;
     };
 };
 
 /**
- * Contains response data for the listByLocationNext operation.
+ * Contains response data for the listHubSchemas operation.
  */
-export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & {
+export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14043,14 +21363,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstanceFailoverGroupListResult;
+      parsedBody: SyncFullSchemaPropertiesListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listLogs operation.
  */
-export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & {
+export type SyncGroupsListLogsResponse = SyncGroupLogListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14063,14 +21383,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicy;
+      parsedBody: SyncGroupLogListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & {
+export type SyncGroupsGetResponse = SyncGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14083,14 +21403,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicy;
+      parsedBody: SyncGroup;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & {
+export type SyncGroupsCreateOrUpdateResponse = SyncGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14103,14 +21423,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicy;
+      parsedBody: SyncGroup;
     };
 };
 
 /**
- * Contains response data for the listByDatabase operation.
+ * Contains response data for the update operation.
  */
-export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & {
+export type SyncGroupsUpdateResponse = SyncGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14123,14 +21443,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicyListResult;
+      parsedBody: SyncGroup;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & {
+export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14143,14 +21463,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicy;
+      parsedBody: SyncGroupListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & {
+export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14163,14 +21483,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicy;
+      parsedBody: SyncGroup;
     };
 };
 
 /**
- * Contains response data for the listByDatabaseNext operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & {
+export type SyncGroupsBeginUpdateResponse = SyncGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14183,14 +21503,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: BackupShortTermRetentionPolicyListResult;
+      parsedBody: SyncGroup;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the listSyncDatabaseIdsNext operation.
  */
-export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & {
+export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14203,14 +21523,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceKeyListResult;
+      parsedBody: SyncDatabaseIdListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listHubSchemasNext operation.
  */
-export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & {
+export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14223,14 +21543,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceKey;
+      parsedBody: SyncFullSchemaPropertiesListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listLogsNext operation.
  */
-export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & {
+export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14243,14 +21563,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceKey;
+      parsedBody: SyncGroupLogListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & {
+export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14263,14 +21583,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceKey;
+      parsedBody: SyncGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the get operation.
  */
-export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & {
+export type SyncMembersGetResponse = SyncMember & {
   /**
    * The underlying HTTP response.
    */
@@ -14283,14 +21603,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceKeyListResult;
+      parsedBody: SyncMember;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & {
+export type SyncMembersCreateOrUpdateResponse = SyncMember & {
   /**
    * The underlying HTTP response.
    */
@@ -14303,14 +21623,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceEncryptionProtectorListResult;
+      parsedBody: SyncMember;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the update operation.
  */
-export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & {
+export type SyncMembersUpdateResponse = SyncMember & {
   /**
    * The underlying HTTP response.
    */
@@ -14323,14 +21643,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceEncryptionProtector;
+      parsedBody: SyncMember;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listBySyncGroup operation.
  */
-export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & {
+export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14343,14 +21663,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceEncryptionProtector;
+      parsedBody: SyncMemberListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listMemberSchemas operation.
  */
-export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & {
+export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14363,14 +21683,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceEncryptionProtector;
+      parsedBody: SyncFullSchemaPropertiesListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & {
+export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & {
   /**
    * The underlying HTTP response.
    */
@@ -14383,14 +21703,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceEncryptionProtectorListResult;
+      parsedBody: SyncMember;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & {
+export type SyncMembersBeginUpdateResponse = SyncMember & {
   /**
    * The underlying HTTP response.
    */
@@ -14403,14 +21723,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecoverableManagedDatabaseListResult;
+      parsedBody: SyncMember;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listBySyncGroupNext operation.
  */
-export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & {
+export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14423,14 +21743,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecoverableManagedDatabase;
+      parsedBody: SyncMemberListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the listMemberSchemasNext operation.
  */
-export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & {
+export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14443,14 +21763,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: RecoverableManagedDatabaseListResult;
+      parsedBody: SyncFullSchemaPropertiesListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByLocation operation.
  */
-export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & {
+export type TimeZonesListByLocationResponse = TimeZoneListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14463,14 +21783,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceVulnerabilityAssessment;
+      parsedBody: TimeZoneListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & {
+export type TimeZonesGetResponse = TimeZone & {
   /**
    * The underlying HTTP response.
    */
@@ -14483,14 +21803,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceVulnerabilityAssessment;
+      parsedBody: TimeZone;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the listByLocationNext operation.
  */
-export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & {
+export type TimeZonesListByLocationNextResponse = TimeZoneListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14503,14 +21823,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceVulnerabilityAssessmentListResult;
+      parsedBody: TimeZoneListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the updateDnsServers operation.
  */
-export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & {
+export type VirtualClustersUpdateDnsServersResponse = UpdateManagedInstanceDnsServersOperation & {
   /**
    * The underlying HTTP response.
    */
@@ -14523,14 +21843,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceVulnerabilityAssessmentListResult;
+      parsedBody: UpdateManagedInstanceDnsServersOperation;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the list operation.
  */
-export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & {
+export type VirtualClustersListResponse = VirtualClusterListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14543,14 +21863,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerVulnerabilityAssessment;
+      parsedBody: VirtualClusterListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByResourceGroup operation.
  */
-export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & {
+export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14563,14 +21883,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerVulnerabilityAssessment;
+      parsedBody: VirtualClusterListResult;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the get operation.
  */
-export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & {
+export type VirtualClustersGetResponse = VirtualCluster & {
   /**
    * The underlying HTTP response.
    */
@@ -14583,14 +21903,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerVulnerabilityAssessmentListResult;
+      parsedBody: VirtualCluster;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the update operation.
  */
-export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & {
+export type VirtualClustersUpdateResponse = VirtualCluster & {
   /**
    * The underlying HTTP response.
    */
@@ -14603,14 +21923,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ServerVulnerabilityAssessmentListResult;
+      parsedBody: VirtualCluster;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginUpdate operation.
  */
-export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & {
+export type VirtualClustersBeginUpdateResponse = VirtualCluster & {
   /**
    * The underlying HTTP response.
    */
@@ -14623,14 +21943,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabel;
+      parsedBody: VirtualCluster;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listNext operation.
  */
-export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & {
+export type VirtualClustersListNextResponse = VirtualClusterListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14643,14 +21963,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabel;
+      parsedBody: VirtualClusterListResult;
     };
 };
 
 /**
- * Contains response data for the listCurrentByDatabase operation.
+ * Contains response data for the listByResourceGroupNext operation.
  */
-export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & {
+export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14663,14 +21983,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: VirtualClusterListResult;
     };
 };
 
 /**
- * Contains response data for the listRecommendedByDatabase operation.
+ * Contains response data for the get operation.
  */
-export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & {
+export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & {
   /**
    * The underlying HTTP response.
    */
@@ -14683,14 +22003,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: VirtualNetworkRule;
     };
 };
 
 /**
- * Contains response data for the listCurrentByDatabaseNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & {
+export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & {
   /**
    * The underlying HTTP response.
    */
@@ -14703,14 +22023,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse =
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: VirtualNetworkRule;
     };
 };
 
 /**
- * Contains response data for the listRecommendedByDatabaseNext operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & {
+export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14723,14 +22043,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: SensitivityLabelListResult;
+      parsedBody: VirtualNetworkRuleListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type InstancePoolsGetResponse = InstancePool & {
+export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & {
   /**
    * The underlying HTTP response.
    */
@@ -14743,14 +22063,14 @@ export type InstancePoolsGetResponse = InstancePool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePool;
+      parsedBody: VirtualNetworkRule;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type InstancePoolsCreateOrUpdateResponse = InstancePool & {
+export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14763,14 +22083,14 @@ export type InstancePoolsCreateOrUpdateResponse = InstancePool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePool;
+      parsedBody: VirtualNetworkRuleListResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the get operation.
  */
-export type InstancePoolsUpdateResponse = InstancePool & {
+export type WorkloadClassifiersGetResponse = WorkloadClassifier & {
   /**
    * The underlying HTTP response.
    */
@@ -14783,14 +22103,14 @@ export type InstancePoolsUpdateResponse = InstancePool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePool;
+      parsedBody: WorkloadClassifier;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & {
+export type WorkloadClassifiersCreateOrUpdateResponse = WorkloadClassifier & {
   /**
    * The underlying HTTP response.
    */
@@ -14803,14 +22123,14 @@ export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePoolListResult;
+      parsedBody: WorkloadClassifier;
     };
 };
 
 /**
- * Contains response data for the list operation.
+ * Contains response data for the listByWorkloadGroup operation.
  */
-export type InstancePoolsListResponse = InstancePoolListResult & {
+export type WorkloadClassifiersListByWorkloadGroupResponse = WorkloadClassifierListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14823,14 +22143,14 @@ export type InstancePoolsListResponse = InstancePoolListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePoolListResult;
+      parsedBody: WorkloadClassifierListResult;
     };
 };
 
 /**
  * Contains response data for the beginCreateOrUpdate operation.
  */
-export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & {
+export type WorkloadClassifiersBeginCreateOrUpdateResponse = WorkloadClassifier & {
   /**
    * The underlying HTTP response.
    */
@@ -14843,14 +22163,14 @@ export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePool;
+      parsedBody: WorkloadClassifier;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByWorkloadGroupNext operation.
  */
-export type InstancePoolsBeginUpdateResponse = InstancePool & {
+export type WorkloadClassifiersListByWorkloadGroupNextResponse = WorkloadClassifierListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14863,14 +22183,14 @@ export type InstancePoolsBeginUpdateResponse = InstancePool & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePool;
+      parsedBody: WorkloadClassifierListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupNext operation.
+ * Contains response data for the get operation.
  */
-export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & {
+export type WorkloadGroupsGetResponse = WorkloadGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14883,14 +22203,14 @@ export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResul
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePoolListResult;
+      parsedBody: WorkloadGroup;
     };
 };
 
 /**
- * Contains response data for the listNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type InstancePoolsListNextResponse = InstancePoolListResult & {
+export type WorkloadGroupsCreateOrUpdateResponse = WorkloadGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14903,14 +22223,14 @@ export type InstancePoolsListNextResponse = InstancePoolListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: InstancePoolListResult;
+      parsedBody: WorkloadGroup;
     };
 };
 
 /**
- * Contains response data for the listByInstancePool operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type UsagesListByInstancePoolResponse = UsageListResult & {
+export type WorkloadGroupsListByDatabaseResponse = WorkloadGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14923,14 +22243,14 @@ export type UsagesListByInstancePoolResponse = UsageListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: UsageListResult;
+      parsedBody: WorkloadGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstancePoolNext operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type UsagesListByInstancePoolNextResponse = UsageListResult & {
+export type WorkloadGroupsBeginCreateOrUpdateResponse = WorkloadGroup & {
   /**
    * The underlying HTTP response.
    */
@@ -14943,14 +22263,14 @@ export type UsagesListByInstancePoolNextResponse = UsageListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: UsageListResult;
+      parsedBody: WorkloadGroup;
     };
 };
 
 /**
- * Contains response data for the listByInstancePool operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & {
+export type WorkloadGroupsListByDatabaseNextResponse = WorkloadGroupListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14963,14 +22283,14 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: WorkloadGroupListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & {
+export type DatabaseExtensionsCreateOrUpdateResponse = ImportExportExtensionsOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -14983,14 +22303,14 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: ImportExportExtensionsOperationResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ManagedInstancesGetResponse = ManagedInstance & {
+export type DatabaseExtensionsListByDatabaseResponse = ImportExportExtensionsOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15003,14 +22323,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstance;
+      parsedBody: ImportExportExtensionsOperationListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & {
+export type DatabaseExtensionsBeginCreateOrUpdateResponse = ImportExportExtensionsOperationResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15023,14 +22343,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstance;
+      parsedBody: ImportExportExtensionsOperationResult;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedInstancesUpdateResponse = ManagedInstance & {
+export type DatabaseExtensionsListByDatabaseNextResponse = ImportExportExtensionsOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15043,14 +22363,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstance;
+      parsedBody: ImportExportExtensionsOperationListResult;
     };
 };
 
 /**
- * Contains response data for the list operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ManagedInstancesListResponse = ManagedInstanceListResult & {
+export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15063,14 +22383,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: DatabaseOperationListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & {
+export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15083,14 +22403,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstance;
+      parsedBody: DatabaseOperationListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ManagedInstancesBeginUpdateResponse = ManagedInstance & {
+export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15103,14 +22423,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstance;
+      parsedBody: DatabaseUsageListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstancePoolNext operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & {
+export type DatabaseUsagesListByDatabaseNextResponse = DatabaseUsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15123,14 +22443,14 @@ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceList
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: DatabaseUsageListResult;
     };
 };
 
 /**
- * Contains response data for the listByResourceGroupNext operation.
+ * Contains response data for the get operation.
  */
-export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & {
+export type LedgerDigestUploadsGetResponse = LedgerDigestUploads & {
   /**
    * The underlying HTTP response.
    */
@@ -15143,14 +22463,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: LedgerDigestUploads;
     };
 };
 
 /**
- * Contains response data for the listNext operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedInstancesListNextResponse = ManagedInstanceListResult & {
+export type LedgerDigestUploadsCreateOrUpdateResponse = LedgerDigestUploads & {
   /**
    * The underlying HTTP response.
    */
@@ -15163,14 +22483,14 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedInstanceListResult;
+      parsedBody: LedgerDigestUploads;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabase operation.
  */
-export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & {
+export type LedgerDigestUploadsListByDatabaseResponse = LedgerDigestUploadsListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15183,14 +22503,14 @@ export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDet
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseRestoreDetailsResult;
+      parsedBody: LedgerDigestUploadsListResult;
     };
 };
 
 /**
- * Contains response data for the listByInstance operation.
+ * Contains response data for the disable operation.
  */
-export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & {
+export type LedgerDigestUploadsDisableResponse = LedgerDigestUploads & {
   /**
    * The underlying HTTP response.
    */
@@ -15203,14 +22523,14 @@ export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseListResult;
+      parsedBody: LedgerDigestUploads;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabaseNext operation.
  */
-export type ManagedDatabasesGetResponse = ManagedDatabase & {
+export type LedgerDigestUploadsListByDatabaseNextResponse = LedgerDigestUploadsListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15223,14 +22543,14 @@ export type ManagedDatabasesGetResponse = ManagedDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabase;
+      parsedBody: LedgerDigestUploadsListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & {
+export type OutboundFirewallRulesGetResponse = OutboundFirewallRule & {
   /**
    * The underlying HTTP response.
    */
@@ -15243,14 +22563,14 @@ export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabase;
+      parsedBody: OutboundFirewallRule;
     };
 };
 
 /**
- * Contains response data for the update operation.
+ * Contains response data for the createOrUpdate operation.
  */
-export type ManagedDatabasesUpdateResponse = ManagedDatabase & {
+export type OutboundFirewallRulesCreateOrUpdateResponse = OutboundFirewallRule & {
   /**
    * The underlying HTTP response.
    */
@@ -15263,14 +22583,14 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabase;
+      parsedBody: OutboundFirewallRule;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByServer operation.
  */
-export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & {
+export type OutboundFirewallRulesListByServerResponse = OutboundFirewallRuleListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15283,14 +22603,14 @@ export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabase;
+      parsedBody: OutboundFirewallRuleListResult;
     };
 };
 
 /**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
  */
-export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & {
+export type OutboundFirewallRulesBeginCreateOrUpdateResponse = OutboundFirewallRule & {
   /**
    * The underlying HTTP response.
    */
@@ -15303,14 +22623,14 @@ export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabase;
+      parsedBody: OutboundFirewallRule;
     };
 };
 
 /**
- * Contains response data for the listByInstanceNext operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & {
+export type OutboundFirewallRulesListByServerNextResponse = OutboundFirewallRuleListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15323,14 +22643,14 @@ export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResu
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: ManagedDatabaseListResult;
+      parsedBody: OutboundFirewallRuleListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByServer operation.
  */
-export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
+export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15343,14 +22663,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection &
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateEndpointConnection;
+      parsedBody: RestorableDroppedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the get operation.
  */
-export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
+export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -15363,14 +22683,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateEndpointConnection;
+      parsedBody: RestorableDroppedDatabase;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByServerNext operation.
  */
-export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & {
+export type RestorableDroppedDatabasesListByServerNextResponse = RestorableDroppedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15383,14 +22703,14 @@ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConn
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateEndpointConnectionListResult;
+      parsedBody: RestorableDroppedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the listByInstance operation.
  */
-export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15403,14 +22723,14 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateEndpointConnection;
+      parsedBody: RestorableDroppedManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the get operation.
  */
-export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & {
+export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & {
   /**
    * The underlying HTTP response.
    */
@@ -15423,14 +22743,14 @@ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpoint
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateEndpointConnectionListResult;
+      parsedBody: RestorableDroppedManagedDatabase;
     };
 };
 
 /**
- * Contains response data for the listByServer operation.
+ * Contains response data for the listByInstanceNext operation.
  */
-export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & {
+export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15443,14 +22763,14 @@ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListRe
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateLinkResourceListResult;
+      parsedBody: RestorableDroppedManagedDatabaseListResult;
     };
 };
 
 /**
- * Contains response data for the get operation.
+ * Contains response data for the listByInstancePool operation.
  */
-export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
+export type UsagesListByInstancePoolResponse = UsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15463,14 +22783,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateLinkResource;
+      parsedBody: UsageListResult;
     };
 };
 
 /**
- * Contains response data for the listByServerNext operation.
+ * Contains response data for the listByInstancePoolNext operation.
  */
-export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & {
+export type UsagesListByInstancePoolNextResponse = UsageListResult & {
   /**
    * The underlying HTTP response.
    */
@@ -15483,6 +22803,6 @@ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceLi
       /**
        * The response body as parsed JSON or XML
        */
-      parsedBody: PrivateLinkResourceListResult;
+      parsedBody: UsageListResult;
     };
 };
diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts
index a31090e2d7d3..c5ebc457292f 100644
--- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupListResult,
   InstanceFailoverGroupReadOnlyEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts
index a471ed9af1d2..baebc068da2b 100644
--- a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -57,53 +65,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts
index 3caafa179664..743c875fd79f 100644
--- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -57,53 +65,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts
index be1a9dd38073..4010589e3bd8 100644
--- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts
index 5377feb7dd16..a9d2536dbb1a 100644
--- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts
index 5377feb7dd16..a9d2536dbb1a 100644
--- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts
index 36e930956434..118882259068 100644
--- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts
index 5377feb7dd16..a9d2536dbb1a 100644
--- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts
index 9b433c364f7a..28c613d17e28 100644
--- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTargetGroup,
   JobTargetGroupListResult,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts
index e9ef19060444..bf5e621616c6 100644
--- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTargetGroup,
   JobVersion,
   JobVersionListResult,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/jobsMappers.ts b/sdk/sql/arm-sql/src/models/jobsMappers.ts
index 324fe5622e6d..2dd74728dccb 100644
--- a/sdk/sql/arm-sql/src/models/jobsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/ledgerDigestUploadsOperationsMappers.ts b/sdk/sql/arm-sql/src/models/ledgerDigestUploadsOperationsMappers.ts
new file mode 100644
index 000000000000..225d76934edc
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/ledgerDigestUploadsOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LedgerDigestUploadsListResult,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts
index e83b6fdbd626..fb7968db8fc6 100644
--- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts
@@ -1,29 +1,37 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
+  CopyLongTermRetentionBackupParameters,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +64,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
   LongTermRetentionBackupListResult,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +163,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateLongTermRetentionBackupParameters,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts
new file mode 100644
index 000000000000..8066ceaf61b9
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionBackupListResult,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts
new file mode 100644
index 000000000000..517fb8f41035
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  LongTermRetentionPolicyListResult,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/maintenanceWindowOptionsOperationsMappers.ts
similarity index 56%
rename from sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts
rename to sdk/sql/arm-sql/src/models/maintenanceWindowOptionsOperationsMappers.ts
index 0eee5fddc7c8..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/maintenanceWindowOptionsOperationsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,55 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolListMetricsResult,
-  RecommendedElasticPoolListResult,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts b/sdk/sql/arm-sql/src/models/maintenanceWindowsOperationsMappers.ts
similarity index 56%
rename from sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts
rename to sdk/sql/arm-sql/src/models/maintenanceWindowsOperationsMappers.ts
index 894adb3d60dd..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/maintenanceWindowsOperationsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
-  ServiceTierAdvisorListResult,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts
index 03c4d1f05ca5..377ef101f69f 100644
--- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,7 +63,13 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedBackupShortTermRetentionPolicyListResult,
   ManagedDatabase,
@@ -63,46 +77,83 @@ export {
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseColumnsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseColumnsMappers.ts
new file mode 100644
index 000000000000..9b756a4e7fff
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseColumnsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseColumnListResult,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseQueriesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseQueriesMappers.ts
new file mode 100644
index 000000000000..58ca1947c70b
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseQueriesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceQueryStatistics,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseRecommendedSensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseRecommendedSensitivityLabelsMappers.ts
new file mode 100644
index 000000000000..dafdfc6e76fc
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseRecommendedSensitivityLabelsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecommendedSensitivityLabelUpdateList,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSchemasMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSchemasMappers.ts
new file mode 100644
index 000000000000..33c0c14ae45c
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseSchemasMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSchemaListResult,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts
index 04f6452546af..985efeee0335 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,7 +63,13 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
@@ -63,46 +77,83 @@ export {
   ManagedDatabaseSecurityAlertPolicyListResult,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityEventsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityEventsMappers.ts
new file mode 100644
index 000000000000..ab4253053a24
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityEventsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventCollection,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts
index 87d6022ba880..52a10cdacb31 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,98 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
   SensitivityLabelListResult,
+  SensitivityLabelUpdate,
+  SensitivityLabelUpdateList,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseTablesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseTablesMappers.ts
new file mode 100644
index 000000000000..cb68cd6abb83
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseTablesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseTableListResult,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseTransparentDataEncryptionMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseTransparentDataEncryptionMappers.ts
new file mode 100644
index 000000000000..4baa18e93ab6
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseTransparentDataEncryptionMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  ManagedTransparentDataEncryptionListResult,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts
index 8db2e4f353ef..83c2b78a11f7 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,14 +161,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
   VulnerabilityAssessmentScanRecord,
-  VulnerabilityAssessmentScanRecordListResult
+  VulnerabilityAssessmentScanRecordListResult,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts
index ddd16788a720..40cc70d9a215 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts
@@ -1,23 +1,28 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentListResult,
   DatabaseVulnerabilityAssessmentRuleBaseline,
@@ -25,6 +30,8 @@ export {
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts
index 3020d2d590b6..afb2c67081c6 100644
--- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
@@ -17,14 +17,21 @@ export {
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,7 +64,13 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseListResult,
@@ -65,46 +79,83 @@ export {
   ManagedDatabaseUpdate,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -113,13 +164,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts
index f82643c82012..f41559051c79 100644
--- a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,7 +63,13 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
@@ -63,46 +77,83 @@ export {
   ManagedInstance,
   ManagedInstanceAdministrator,
   ManagedInstanceAdministratorListResult,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts
new file mode 100644
index 000000000000..45ffdaba8727
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceAzureADOnlyAuthListResult,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts
index 94c329fb02fb..78a59e1f1868 100644
--- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
   ManagedInstanceEncryptionProtectorListResult,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts
index 5d77e04a398a..a5a140e7578f 100644
--- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
   ManagedInstanceKeyListResult,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts
new file mode 100644
index 000000000000..83e47b0c899c
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceLongTermRetentionPolicyListResult,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts
new file mode 100644
index 000000000000..29f77c880fbb
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationListResult,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstancePrivateEndpointConnectionsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstancePrivateEndpointConnectionsMappers.ts
new file mode 100644
index 000000000000..7524004c7fcb
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedInstancePrivateEndpointConnectionsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionListResult,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstancePrivateLinkResourcesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstancePrivateLinkResourcesMappers.ts
new file mode 100644
index 000000000000..35dd7b59daad
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/managedInstancePrivateLinkResourcesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkListResult,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts
index 935d313fae09..d9d35b5d75fc 100644
--- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedInstanceVulnerabilityAssessmentListResult,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts
index 82dca3bb3c6e..55902e57c111 100644
--- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,55 +63,99 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
   ManagedInstanceListResult,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceUpdate,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  QueryStatisticsProperties,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +164,23 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
+  TopQueries,
+  TopQueriesListResult,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts
index 03c4d1f05ca5..377ef101f69f 100644
--- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,7 +63,13 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedBackupShortTermRetentionPolicyListResult,
   ManagedDatabase,
@@ -63,46 +77,83 @@ export {
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts
index b0f6c453f109..dafc2eb7afb4 100644
--- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
   ManagedServerSecurityAlertPolicyListResult,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/mappers.ts b/sdk/sql/arm-sql/src/models/mappers.ts
index 93b27cc1a62f..ed531e1c07ac 100644
--- a/sdk/sql/arm-sql/src/models/mappers.ts
+++ b/sdk/sql/arm-sql/src/models/mappers.ts
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -93,80 +93,6 @@ export const RecoverableDatabase: msRest.CompositeMapper = {
   }
 };
 
-export const RestorableDroppedDatabase: msRest.CompositeMapper = {
-  serializedName: "RestorableDroppedDatabase",
-  type: {
-    name: "Composite",
-    className: "RestorableDroppedDatabase",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      location: {
-        readOnly: true,
-        serializedName: "location",
-        type: {
-          name: "String"
-        }
-      },
-      databaseName: {
-        readOnly: true,
-        serializedName: "properties.databaseName",
-        type: {
-          name: "String"
-        }
-      },
-      edition: {
-        readOnly: true,
-        serializedName: "properties.edition",
-        type: {
-          name: "String"
-        }
-      },
-      maxSizeBytes: {
-        readOnly: true,
-        serializedName: "properties.maxSizeBytes",
-        type: {
-          name: "String"
-        }
-      },
-      serviceLevelObjective: {
-        readOnly: true,
-        serializedName: "properties.serviceLevelObjective",
-        type: {
-          name: "String"
-        }
-      },
-      elasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.elasticPoolName",
-        type: {
-          name: "String"
-        }
-      },
-      creationDate: {
-        readOnly: true,
-        serializedName: "properties.creationDate",
-        type: {
-          name: "DateTime"
-        }
-      },
-      deletionDate: {
-        readOnly: true,
-        serializedName: "properties.deletionDate",
-        type: {
-          name: "DateTime"
-        }
-      },
-      earliestRestoreDate: {
-        readOnly: true,
-        serializedName: "properties.earliestRestoreDate",
-        type: {
-          name: "DateTime"
-        }
-      }
-    }
-  }
-};
-
 export const TrackedResource: msRest.CompositeMapper = {
   serializedName: "TrackedResource",
   type: {
@@ -196,74 +122,6 @@ export const TrackedResource: msRest.CompositeMapper = {
   }
 };
 
-export const CheckNameAvailabilityRequest: msRest.CompositeMapper = {
-  serializedName: "CheckNameAvailabilityRequest",
-  type: {
-    name: "Composite",
-    className: "CheckNameAvailabilityRequest",
-    modelProperties: {
-      name: {
-        required: true,
-        serializedName: "name",
-        type: {
-          name: "String"
-        }
-      },
-      type: {
-        required: true,
-        isConstant: true,
-        serializedName: "type",
-        defaultValue: 'Microsoft.Sql/servers',
-        type: {
-          name: "String"
-        }
-      }
-    }
-  }
-};
-
-export const CheckNameAvailabilityResponse: msRest.CompositeMapper = {
-  serializedName: "CheckNameAvailabilityResponse",
-  type: {
-    name: "Composite",
-    className: "CheckNameAvailabilityResponse",
-    modelProperties: {
-      available: {
-        readOnly: true,
-        serializedName: "available",
-        type: {
-          name: "Boolean"
-        }
-      },
-      message: {
-        readOnly: true,
-        serializedName: "message",
-        type: {
-          name: "String"
-        }
-      },
-      name: {
-        readOnly: true,
-        serializedName: "name",
-        type: {
-          name: "String"
-        }
-      },
-      reason: {
-        readOnly: true,
-        serializedName: "reason",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Invalid",
-            "AlreadyExists"
-          ]
-        }
-      }
-    }
-  }
-};
-
 export const ServerConnectionPolicy: msRest.CompositeMapper = {
   serializedName: "ServerConnectionPolicy",
   type: {
@@ -301,92 +159,6 @@ export const ServerConnectionPolicy: msRest.CompositeMapper = {
   }
 };
 
-export const DatabaseSecurityAlertPolicy: msRest.CompositeMapper = {
-  serializedName: "DatabaseSecurityAlertPolicy",
-  type: {
-    name: "Composite",
-    className: "DatabaseSecurityAlertPolicy",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      location: {
-        serializedName: "location",
-        type: {
-          name: "String"
-        }
-      },
-      kind: {
-        readOnly: true,
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
-      },
-      state: {
-        required: true,
-        serializedName: "properties.state",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "New",
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      disabledAlerts: {
-        serializedName: "properties.disabledAlerts",
-        type: {
-          name: "String"
-        }
-      },
-      emailAddresses: {
-        serializedName: "properties.emailAddresses",
-        type: {
-          name: "String"
-        }
-      },
-      emailAccountAdmins: {
-        serializedName: "properties.emailAccountAdmins",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
-        type: {
-          name: "String"
-        }
-      },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
-        type: {
-          name: "String"
-        }
-      },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
-        type: {
-          name: "Number"
-        }
-      },
-      useServerDefault: {
-        serializedName: "properties.useServerDefault",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      }
-    }
-  }
-};
-
 export const DataMaskingPolicy: msRest.CompositeMapper = {
   serializedName: "DataMaskingPolicy",
   type: {
@@ -557,13 +329,31 @@ export const DataMaskingRule: msRest.CompositeMapper = {
   }
 };
 
-export const FirewallRule: msRest.CompositeMapper = {
-  serializedName: "FirewallRule",
+export const GeoBackupPolicy: msRest.CompositeMapper = {
+  serializedName: "GeoBackupPolicy",
   type: {
     name: "Composite",
-    className: "FirewallRule",
+    className: "GeoBackupPolicy",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
+      state: {
+        required: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Disabled",
+            "Enabled"
+          ]
+        }
+      },
+      storageType: {
+        readOnly: true,
+        serializedName: "properties.storageType",
+        type: {
+          name: "String"
+        }
+      },
       kind: {
         readOnly: true,
         serializedName: "kind",
@@ -577,662 +367,612 @@ export const FirewallRule: msRest.CompositeMapper = {
         type: {
           name: "String"
         }
-      },
-      startIpAddress: {
-        required: true,
-        serializedName: "properties.startIpAddress",
-        type: {
-          name: "String"
-        }
-      },
-      endIpAddress: {
-        required: true,
-        serializedName: "properties.endIpAddress",
-        type: {
-          name: "String"
-        }
       }
     }
   }
 };
 
-export const GeoBackupPolicy: msRest.CompositeMapper = {
-  serializedName: "GeoBackupPolicy",
+export const MetricValue: msRest.CompositeMapper = {
+  serializedName: "MetricValue",
   type: {
     name: "Composite",
-    className: "GeoBackupPolicy",
+    className: "MetricValue",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
-        required: true,
-        serializedName: "properties.state",
+      count: {
+        readOnly: true,
+        serializedName: "count",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Disabled",
-            "Enabled"
-          ]
+          name: "Number"
         }
       },
-      storageType: {
+      average: {
         readOnly: true,
-        serializedName: "properties.storageType",
+        serializedName: "average",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      kind: {
+      maximum: {
         readOnly: true,
-        serializedName: "kind",
+        serializedName: "maximum",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      location: {
+      minimum: {
         readOnly: true,
-        serializedName: "location",
+        serializedName: "minimum",
         type: {
-          name: "String"
+          name: "Number"
+        }
+      },
+      timestamp: {
+        readOnly: true,
+        serializedName: "timestamp",
+        type: {
+          name: "DateTime"
+        }
+      },
+      total: {
+        readOnly: true,
+        serializedName: "total",
+        type: {
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ImportExtensionRequest: msRest.CompositeMapper = {
-  serializedName: "ImportExtensionRequest",
+export const MetricName: msRest.CompositeMapper = {
+  serializedName: "MetricName",
   type: {
     name: "Composite",
-    className: "ImportExtensionRequest",
+    className: "MetricName",
     modelProperties: {
-      name: {
-        serializedName: "name",
+      value: {
+        readOnly: true,
+        serializedName: "value",
         type: {
           name: "String"
         }
       },
-      type: {
-        serializedName: "type",
+      localizedValue: {
+        readOnly: true,
+        serializedName: "localizedValue",
         type: {
           name: "String"
         }
-      },
-      storageKeyType: {
-        required: true,
-        serializedName: "properties.storageKeyType",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "StorageAccessKey",
-            "SharedAccessKey"
-          ]
-        }
-      },
-      storageKey: {
-        required: true,
-        serializedName: "properties.storageKey",
+      }
+    }
+  }
+};
+
+export const Metric: msRest.CompositeMapper = {
+  serializedName: "Metric",
+  type: {
+    name: "Composite",
+    className: "Metric",
+    modelProperties: {
+      startTime: {
+        readOnly: true,
+        serializedName: "startTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      storageUri: {
-        required: true,
-        serializedName: "properties.storageUri",
+      endTime: {
+        readOnly: true,
+        serializedName: "endTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      administratorLogin: {
-        required: true,
-        serializedName: "properties.administratorLogin",
+      timeGrain: {
+        readOnly: true,
+        serializedName: "timeGrain",
         type: {
           name: "String"
         }
       },
-      administratorLoginPassword: {
-        required: true,
-        serializedName: "properties.administratorLoginPassword",
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
         type: {
           name: "String"
         }
       },
-      authenticationType: {
-        serializedName: "properties.authenticationType",
-        defaultValue: 'SQL',
+      name: {
+        readOnly: true,
+        serializedName: "name",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "SQL",
-            "ADPassword"
-          ]
+          name: "Composite",
+          className: "MetricName"
         }
       },
-      operationMode: {
-        required: true,
-        isConstant: true,
-        serializedName: "properties.operationMode",
-        defaultValue: 'Import',
+      metricValues: {
+        readOnly: true,
+        serializedName: "metricValues",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MetricValue"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const ImportExportResponse: msRest.CompositeMapper = {
-  serializedName: "ImportExportResponse",
+export const MetricAvailability: msRest.CompositeMapper = {
+  serializedName: "MetricAvailability",
   type: {
     name: "Composite",
-    className: "ImportExportResponse",
+    className: "MetricAvailability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      requestType: {
-        readOnly: true,
-        serializedName: "properties.requestType",
-        type: {
-          name: "String"
-        }
-      },
-      requestId: {
-        readOnly: true,
-        serializedName: "properties.requestId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      serverName: {
+      retention: {
         readOnly: true,
-        serializedName: "properties.serverName",
+        serializedName: "retention",
         type: {
           name: "String"
         }
       },
-      databaseName: {
+      timeGrain: {
         readOnly: true,
-        serializedName: "properties.databaseName",
+        serializedName: "timeGrain",
         type: {
           name: "String"
         }
-      },
-      status: {
+      }
+    }
+  }
+};
+
+export const MetricDefinition: msRest.CompositeMapper = {
+  serializedName: "MetricDefinition",
+  type: {
+    name: "Composite",
+    className: "MetricDefinition",
+    modelProperties: {
+      name: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "name",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MetricName"
         }
       },
-      lastModifiedTime: {
+      primaryAggregationType: {
         readOnly: true,
-        serializedName: "properties.lastModifiedTime",
+        serializedName: "primaryAggregationType",
         type: {
           name: "String"
         }
       },
-      queuedTime: {
+      resourceUri: {
         readOnly: true,
-        serializedName: "properties.queuedTime",
+        serializedName: "resourceUri",
         type: {
           name: "String"
         }
       },
-      blobUri: {
+      unit: {
         readOnly: true,
-        serializedName: "properties.blobUri",
+        serializedName: "unit",
         type: {
           name: "String"
         }
       },
-      errorMessage: {
+      metricAvailabilities: {
         readOnly: true,
-        serializedName: "properties.errorMessage",
+        serializedName: "metricAvailabilities",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MetricAvailability"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const ExportRequest: msRest.CompositeMapper = {
-  serializedName: "ExportRequest",
+export const UnlinkParameters: msRest.CompositeMapper = {
+  serializedName: "UnlinkParameters",
   type: {
     name: "Composite",
-    className: "ExportRequest",
+    className: "UnlinkParameters",
     modelProperties: {
-      storageKeyType: {
-        required: true,
-        serializedName: "storageKeyType",
+      forcedTermination: {
+        serializedName: "forcedTermination",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "StorageAccessKey",
-            "SharedAccessKey"
-          ]
+          name: "Boolean"
         }
-      },
-      storageKey: {
-        required: true,
-        serializedName: "storageKey",
+      }
+    }
+  }
+};
+
+export const ServerCommunicationLink: msRest.CompositeMapper = {
+  serializedName: "ServerCommunicationLink",
+  type: {
+    name: "Composite",
+    className: "ServerCommunicationLink",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      storageUri: {
+      partnerServer: {
         required: true,
-        serializedName: "storageUri",
+        serializedName: "properties.partnerServer",
         type: {
           name: "String"
         }
       },
-      administratorLogin: {
-        required: true,
-        serializedName: "administratorLogin",
+      location: {
+        readOnly: true,
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      administratorLoginPassword: {
-        required: true,
-        serializedName: "administratorLoginPassword",
+      kind: {
+        readOnly: true,
+        serializedName: "kind",
         type: {
           name: "String"
         }
-      },
-      authenticationType: {
-        serializedName: "authenticationType",
-        defaultValue: 'SQL',
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "SQL",
-            "ADPassword"
-          ]
-        }
       }
     }
   }
 };
 
-export const ImportRequest: msRest.CompositeMapper = {
-  serializedName: "ImportRequest",
+export const ServiceObjective: msRest.CompositeMapper = {
+  serializedName: "ServiceObjective",
   type: {
     name: "Composite",
-    className: "ImportRequest",
+    className: "ServiceObjective",
     modelProperties: {
-      ...ExportRequest.type.modelProperties,
-      databaseName: {
-        required: true,
-        serializedName: "databaseName",
+      ...ProxyResource.type.modelProperties,
+      serviceObjectiveName: {
+        readOnly: true,
+        serializedName: "properties.serviceObjectiveName",
         type: {
           name: "String"
         }
       },
-      edition: {
-        required: true,
-        serializedName: "edition",
+      isDefault: {
+        nullable: false,
+        readOnly: true,
+        serializedName: "properties.isDefault",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      serviceObjectiveName: {
-        required: true,
-        serializedName: "serviceObjectiveName",
+      isSystem: {
+        nullable: false,
+        readOnly: true,
+        serializedName: "properties.isSystem",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      maxSizeBytes: {
-        required: true,
-        serializedName: "maxSizeBytes",
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
         type: {
           name: "String"
         }
+      },
+      enabled: {
+        nullable: false,
+        readOnly: true,
+        serializedName: "properties.enabled",
+        type: {
+          name: "Boolean"
+        }
       }
     }
   }
 };
 
-export const MetricValue: msRest.CompositeMapper = {
-  serializedName: "MetricValue",
+export const ElasticPoolActivity: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolActivity",
   type: {
     name: "Composite",
-    className: "MetricValue",
+    className: "ElasticPoolActivity",
     modelProperties: {
-      count: {
+      ...ProxyResource.type.modelProperties,
+      location: {
+        serializedName: "location",
+        type: {
+          name: "String"
+        }
+      },
+      endTime: {
         readOnly: true,
-        serializedName: "count",
+        serializedName: "properties.endTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      errorCode: {
+        readOnly: true,
+        serializedName: "properties.errorCode",
         type: {
           name: "Number"
         }
       },
-      average: {
+      errorMessage: {
         readOnly: true,
-        serializedName: "average",
+        serializedName: "properties.errorMessage",
+        type: {
+          name: "String"
+        }
+      },
+      errorSeverity: {
+        readOnly: true,
+        serializedName: "properties.errorSeverity",
         type: {
           name: "Number"
         }
       },
-      maximum: {
+      operation: {
         readOnly: true,
-        serializedName: "maximum",
+        serializedName: "properties.operation",
+        type: {
+          name: "String"
+        }
+      },
+      operationId: {
+        nullable: false,
+        readOnly: true,
+        serializedName: "properties.operationId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
         type: {
           name: "Number"
         }
       },
-      minimum: {
+      requestedDatabaseDtuMax: {
         readOnly: true,
-        serializedName: "minimum",
+        serializedName: "properties.requestedDatabaseDtuMax",
         type: {
           name: "Number"
         }
       },
-      timestamp: {
+      requestedDatabaseDtuMin: {
         readOnly: true,
-        serializedName: "timestamp",
+        serializedName: "properties.requestedDatabaseDtuMin",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      total: {
+      requestedDtu: {
         readOnly: true,
-        serializedName: "total",
+        serializedName: "properties.requestedDtu",
         type: {
           name: "Number"
         }
-      }
-    }
-  }
-};
-
-export const MetricName: msRest.CompositeMapper = {
-  serializedName: "MetricName",
-  type: {
-    name: "Composite",
-    className: "MetricName",
-    modelProperties: {
-      value: {
+      },
+      requestedElasticPoolName: {
         readOnly: true,
-        serializedName: "value",
+        serializedName: "properties.requestedElasticPoolName",
         type: {
           name: "String"
         }
       },
-      localizedValue: {
+      requestedStorageLimitInGB: {
         readOnly: true,
-        serializedName: "localizedValue",
+        serializedName: "properties.requestedStorageLimitInGB",
+        type: {
+          name: "Number"
+        }
+      },
+      elasticPoolName: {
+        readOnly: true,
+        serializedName: "properties.elasticPoolName",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const Metric: msRest.CompositeMapper = {
-  serializedName: "Metric",
-  type: {
-    name: "Composite",
-    className: "Metric",
-    modelProperties: {
-      startTime: {
+      },
+      serverName: {
         readOnly: true,
-        serializedName: "startTime",
+        serializedName: "properties.serverName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      endTime: {
+      startTime: {
         readOnly: true,
-        serializedName: "endTime",
+        serializedName: "properties.startTime",
         type: {
           name: "DateTime"
         }
       },
-      timeGrain: {
+      state: {
         readOnly: true,
-        serializedName: "timeGrain",
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      unit: {
+      requestedStorageLimitInMB: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "properties.requestedStorageLimitInMB",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      name: {
+      requestedDatabaseDtuGuarantee: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "properties.requestedDatabaseDtuGuarantee",
         type: {
-          name: "Composite",
-          className: "MetricName"
+          name: "Number"
         }
       },
-      metricValues: {
+      requestedDatabaseDtuCap: {
         readOnly: true,
-        serializedName: "metricValues",
+        serializedName: "properties.requestedDatabaseDtuCap",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "MetricValue"
-            }
-          }
+          name: "Number"
+        }
+      },
+      requestedDtuGuarantee: {
+        readOnly: true,
+        serializedName: "properties.requestedDtuGuarantee",
+        type: {
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const MetricAvailability: msRest.CompositeMapper = {
-  serializedName: "MetricAvailability",
+export const ElasticPoolDatabaseActivity: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolDatabaseActivity",
   type: {
     name: "Composite",
-    className: "MetricAvailability",
+    className: "ElasticPoolDatabaseActivity",
     modelProperties: {
-      retention: {
-        readOnly: true,
-        serializedName: "retention",
+      ...ProxyResource.type.modelProperties,
+      location: {
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      timeGrain: {
+      databaseName: {
         readOnly: true,
-        serializedName: "timeGrain",
+        serializedName: "properties.databaseName",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const MetricDefinition: msRest.CompositeMapper = {
-  serializedName: "MetricDefinition",
-  type: {
-    name: "Composite",
-    className: "MetricDefinition",
-    modelProperties: {
-      name: {
+      },
+      endTime: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "properties.endTime",
         type: {
-          name: "Composite",
-          className: "MetricName"
+          name: "DateTime"
         }
       },
-      primaryAggregationType: {
+      errorCode: {
         readOnly: true,
-        serializedName: "primaryAggregationType",
+        serializedName: "properties.errorCode",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      resourceUri: {
+      errorMessage: {
         readOnly: true,
-        serializedName: "resourceUri",
+        serializedName: "properties.errorMessage",
         type: {
           name: "String"
         }
       },
-      unit: {
+      errorSeverity: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "properties.errorSeverity",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      metricAvailabilities: {
+      operation: {
         readOnly: true,
-        serializedName: "metricAvailabilities",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "MetricAvailability"
-            }
-          }
-        }
-      }
-    }
-  }
-};
-
-export const RecommendedElasticPoolMetric: msRest.CompositeMapper = {
-  serializedName: "RecommendedElasticPoolMetric",
-  type: {
-    name: "Composite",
-    className: "RecommendedElasticPoolMetric",
-    modelProperties: {
-      dateTime: {
-        serializedName: "dateTime",
-        type: {
-          name: "DateTime"
-        }
-      },
-      dtu: {
-        serializedName: "dtu",
-        type: {
-          name: "Number"
-        }
-      },
-      sizeGB: {
-        serializedName: "sizeGB",
-        type: {
-          name: "Number"
-        }
-      }
-    }
-  }
-};
-
-export const RecommendedElasticPool: msRest.CompositeMapper = {
-  serializedName: "RecommendedElasticPool",
-  type: {
-    name: "Composite",
-    className: "RecommendedElasticPool",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      databaseEdition: {
-        readOnly: true,
-        serializedName: "properties.databaseEdition",
+        serializedName: "properties.operation",
         type: {
           name: "String"
         }
       },
-      dtu: {
-        serializedName: "properties.dtu",
-        type: {
-          name: "Number"
-        }
-      },
-      databaseDtuMin: {
-        serializedName: "properties.databaseDtuMin",
+      operationId: {
+        nullable: false,
+        readOnly: true,
+        serializedName: "properties.operationId",
         type: {
-          name: "Number"
+          name: "Uuid"
         }
       },
-      databaseDtuMax: {
-        serializedName: "properties.databaseDtuMax",
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
         type: {
           name: "Number"
         }
       },
-      storageMB: {
-        serializedName: "properties.storageMB",
+      requestedElasticPoolName: {
+        readOnly: true,
+        serializedName: "properties.requestedElasticPoolName",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      observationPeriodStart: {
+      currentElasticPoolName: {
         readOnly: true,
-        serializedName: "properties.observationPeriodStart",
+        serializedName: "properties.currentElasticPoolName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      observationPeriodEnd: {
+      currentServiceObjective: {
         readOnly: true,
-        serializedName: "properties.observationPeriodEnd",
+        serializedName: "properties.currentServiceObjective",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      maxObservedDtu: {
+      requestedServiceObjective: {
         readOnly: true,
-        serializedName: "properties.maxObservedDtu",
+        serializedName: "properties.requestedServiceObjective",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      maxObservedStorageMB: {
+      serverName: {
         readOnly: true,
-        serializedName: "properties.maxObservedStorageMB",
+        serializedName: "properties.serverName",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      databases: {
+      startTime: {
         readOnly: true,
-        serializedName: "properties.databases",
+        serializedName: "properties.startTime",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "TrackedResource"
-            }
-          }
+          name: "DateTime"
         }
       },
-      metrics: {
+      state: {
         readOnly: true,
-        serializedName: "properties.metrics",
+        serializedName: "properties.state",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "RecommendedElasticPoolMetric"
-            }
-          }
+          name: "String"
         }
       }
     }
   }
 };
 
-export const ReplicationLink: msRest.CompositeMapper = {
-  serializedName: "ReplicationLink",
+export const TransparentDataEncryption: msRest.CompositeMapper = {
+  serializedName: "TransparentDataEncryption",
   type: {
     name: "Composite",
-    className: "ReplicationLink",
+    className: "TransparentDataEncryption",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
       location: {
@@ -1242,496 +982,585 @@ export const ReplicationLink: msRest.CompositeMapper = {
           name: "String"
         }
       },
-      isTerminationAllowed: {
-        readOnly: true,
-        serializedName: "properties.isTerminationAllowed",
+      status: {
+        serializedName: "properties.status",
         type: {
-          name: "Boolean"
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
         }
-      },
-      replicationMode: {
+      }
+    }
+  }
+};
+
+export const SloUsageMetric: msRest.CompositeMapper = {
+  serializedName: "SloUsageMetric",
+  type: {
+    name: "Composite",
+    className: "SloUsageMetric",
+    modelProperties: {
+      serviceLevelObjective: {
         readOnly: true,
-        serializedName: "properties.replicationMode",
+        serializedName: "serviceLevelObjective",
         type: {
           name: "String"
         }
       },
-      partnerServer: {
+      serviceLevelObjectiveId: {
+        nullable: false,
         readOnly: true,
-        serializedName: "properties.partnerServer",
+        serializedName: "serviceLevelObjectiveId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
       },
-      partnerDatabase: {
+      inRangeTimeRatio: {
+        nullable: false,
         readOnly: true,
-        serializedName: "properties.partnerDatabase",
+        serializedName: "inRangeTimeRatio",
         type: {
-          name: "String"
+          name: "Number"
         }
-      },
-      partnerLocation: {
+      }
+    }
+  }
+};
+
+export const OperationImpact: msRest.CompositeMapper = {
+  serializedName: "OperationImpact",
+  type: {
+    name: "Composite",
+    className: "OperationImpact",
+    modelProperties: {
+      name: {
         readOnly: true,
-        serializedName: "properties.partnerLocation",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      role: {
-        readOnly: true,
-        serializedName: "properties.role",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Primary",
-            "Secondary",
-            "NonReadableSecondary",
-            "Source",
-            "Copy"
-          ]
-        }
-      },
-      partnerRole: {
-        readOnly: true,
-        serializedName: "properties.partnerRole",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Primary",
-            "Secondary",
-            "NonReadableSecondary",
-            "Source",
-            "Copy"
-          ]
-        }
-      },
-      startTime: {
+      unit: {
         readOnly: true,
-        serializedName: "properties.startTime",
+        serializedName: "unit",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      percentComplete: {
+      changeValueAbsolute: {
         readOnly: true,
-        serializedName: "properties.percentComplete",
+        serializedName: "changeValueAbsolute",
         type: {
           name: "Number"
         }
       },
-      replicationState: {
+      changeValueRelative: {
         readOnly: true,
-        serializedName: "properties.replicationState",
+        serializedName: "changeValueRelative",
         type: {
-          name: "String"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ServerAzureADAdministrator: msRest.CompositeMapper = {
-  serializedName: "ServerAzureADAdministrator",
+export const TransparentDataEncryptionActivity: msRest.CompositeMapper = {
+  serializedName: "TransparentDataEncryptionActivity",
   type: {
     name: "Composite",
-    className: "ServerAzureADAdministrator",
+    className: "TransparentDataEncryptionActivity",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      administratorType: {
-        required: true,
-        isConstant: true,
-        serializedName: "properties.administratorType",
-        defaultValue: 'ActiveDirectory',
+      location: {
+        readOnly: true,
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      login: {
-        required: true,
-        serializedName: "properties.login",
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
         type: {
           name: "String"
         }
       },
-      sid: {
-        required: true,
-        serializedName: "properties.sid",
-        type: {
-          name: "Uuid"
-        }
-      },
-      tenantId: {
-        required: true,
-        serializedName: "properties.tenantId",
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
         type: {
-          name: "Uuid"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ServerCommunicationLink: msRest.CompositeMapper = {
-  serializedName: "ServerCommunicationLink",
+export const ServerUsage: msRest.CompositeMapper = {
+  serializedName: "ServerUsage",
   type: {
     name: "Composite",
-    className: "ServerCommunicationLink",
+    className: "ServerUsage",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
+      name: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      partnerServer: {
-        required: true,
-        serializedName: "properties.partnerServer",
+      resourceName: {
+        readOnly: true,
+        serializedName: "resourceName",
         type: {
           name: "String"
         }
       },
-      location: {
+      displayName: {
         readOnly: true,
-        serializedName: "location",
+        serializedName: "displayName",
         type: {
           name: "String"
         }
       },
-      kind: {
+      currentValue: {
         readOnly: true,
-        serializedName: "kind",
+        serializedName: "currentValue",
         type: {
-          name: "String"
-        }
-      }
-    }
-  }
-};
-
-export const ServiceObjective: msRest.CompositeMapper = {
-  serializedName: "ServiceObjective",
-  type: {
-    name: "Composite",
-    className: "ServiceObjective",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      serviceObjectiveName: {
-        readOnly: true,
-        serializedName: "properties.serviceObjectiveName",
-        type: {
-          name: "String"
+          name: "Number"
         }
       },
-      isDefault: {
-        nullable: false,
+      limit: {
         readOnly: true,
-        serializedName: "properties.isDefault",
+        serializedName: "limit",
         type: {
-          name: "Boolean"
+          name: "Number"
         }
       },
-      isSystem: {
-        nullable: false,
+      unit: {
         readOnly: true,
-        serializedName: "properties.isSystem",
+        serializedName: "unit",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       },
-      description: {
+      nextResetTime: {
         readOnly: true,
-        serializedName: "properties.description",
+        serializedName: "nextResetTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
-      },
-      enabled: {
-        nullable: false,
-        readOnly: true,
-        serializedName: "properties.enabled",
+      }
+    }
+  }
+};
+
+export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = {
+  serializedName: "BackupShortTermRetentionPolicy",
+  type: {
+    name: "Composite",
+    className: "BackupShortTermRetentionPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "Boolean"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ElasticPoolActivity: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolActivity",
+export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = {
+  serializedName: "ExtendedDatabaseBlobAuditingPolicy",
   type: {
     name: "Composite",
-    className: "ElasticPoolActivity",
+    className: "ExtendedDatabaseBlobAuditingPolicy",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      location: {
-        serializedName: "location",
+      predicateExpression: {
+        serializedName: "properties.predicateExpression",
         type: {
           name: "String"
         }
       },
-      endTime: {
-        readOnly: true,
-        serializedName: "properties.endTime",
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      errorCode: {
-        readOnly: true,
-        serializedName: "properties.errorCode",
+      auditActionsAndGroups: {
+        serializedName: "properties.auditActionsAndGroups",
         type: {
-          name: "Number"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      errorMessage: {
-        readOnly: true,
-        serializedName: "properties.errorMessage",
+      isStorageSecondaryKeyInUse: {
+        serializedName: "properties.isStorageSecondaryKeyInUse",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      errorSeverity: {
-        readOnly: true,
-        serializedName: "properties.errorSeverity",
+      isAzureMonitorTargetEnabled: {
+        serializedName: "properties.isAzureMonitorTargetEnabled",
         type: {
-          name: "Number"
+          name: "Boolean"
         }
       },
-      operation: {
-        readOnly: true,
-        serializedName: "properties.operation",
+      queueDelayMs: {
+        serializedName: "properties.queueDelayMs",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      operationId: {
-        nullable: false,
-        readOnly: true,
-        serializedName: "properties.operationId",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "Uuid"
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
         }
       },
-      percentComplete: {
-        readOnly: true,
-        serializedName: "properties.percentComplete",
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      requestedDatabaseDtuMax: {
-        readOnly: true,
-        serializedName: "properties.requestedDatabaseDtuMax",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      requestedDatabaseDtuMin: {
-        readOnly: true,
-        serializedName: "properties.requestedDatabaseDtuMin",
+      storageAccountSubscriptionId: {
+        serializedName: "properties.storageAccountSubscriptionId",
         type: {
-          name: "Number"
+          name: "Uuid"
         }
-      },
-      requestedDtu: {
-        readOnly: true,
-        serializedName: "properties.requestedDtu",
+      }
+    }
+  }
+};
+
+export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = {
+  serializedName: "ExtendedServerBlobAuditingPolicy",
+  type: {
+    name: "Composite",
+    className: "ExtendedServerBlobAuditingPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      isDevopsAuditEnabled: {
+        serializedName: "properties.isDevopsAuditEnabled",
         type: {
-          name: "Number"
+          name: "Boolean"
         }
       },
-      requestedElasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.requestedElasticPoolName",
+      predicateExpression: {
+        serializedName: "properties.predicateExpression",
         type: {
           name: "String"
         }
       },
-      requestedStorageLimitInGB: {
-        readOnly: true,
-        serializedName: "properties.requestedStorageLimitInGB",
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
           name: "Number"
         }
       },
-      elasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.elasticPoolName",
+      auditActionsAndGroups: {
+        serializedName: "properties.auditActionsAndGroups",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      serverName: {
-        readOnly: true,
-        serializedName: "properties.serverName",
+      isStorageSecondaryKeyInUse: {
+        serializedName: "properties.isStorageSecondaryKeyInUse",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      startTime: {
-        readOnly: true,
-        serializedName: "properties.startTime",
+      isAzureMonitorTargetEnabled: {
+        serializedName: "properties.isAzureMonitorTargetEnabled",
         type: {
-          name: "DateTime"
+          name: "Boolean"
         }
       },
-      state: {
-        readOnly: true,
-        serializedName: "properties.state",
+      queueDelayMs: {
+        serializedName: "properties.queueDelayMs",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      requestedStorageLimitInMB: {
-        readOnly: true,
-        serializedName: "properties.requestedStorageLimitInMB",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
         }
       },
-      requestedDatabaseDtuGuarantee: {
-        readOnly: true,
-        serializedName: "properties.requestedDatabaseDtuGuarantee",
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      requestedDatabaseDtuCap: {
-        readOnly: true,
-        serializedName: "properties.requestedDatabaseDtuCap",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      requestedDtuGuarantee: {
-        readOnly: true,
-        serializedName: "properties.requestedDtuGuarantee",
+      storageAccountSubscriptionId: {
+        serializedName: "properties.storageAccountSubscriptionId",
         type: {
-          name: "Number"
+          name: "Uuid"
         }
       }
     }
   }
 };
 
-export const ElasticPoolDatabaseActivity: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolDatabaseActivity",
+export const ServerBlobAuditingPolicy: msRest.CompositeMapper = {
+  serializedName: "ServerBlobAuditingPolicy",
   type: {
     name: "Composite",
-    className: "ElasticPoolDatabaseActivity",
+    className: "ServerBlobAuditingPolicy",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      location: {
-        serializedName: "location",
+      isDevopsAuditEnabled: {
+        serializedName: "properties.isDevopsAuditEnabled",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      databaseName: {
-        readOnly: true,
-        serializedName: "properties.databaseName",
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      endTime: {
-        readOnly: true,
-        serializedName: "properties.endTime",
+      auditActionsAndGroups: {
+        serializedName: "properties.auditActionsAndGroups",
         type: {
-          name: "DateTime"
-        }
-      },
-      errorCode: {
-        readOnly: true,
-        serializedName: "properties.errorCode",
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      isStorageSecondaryKeyInUse: {
+        serializedName: "properties.isStorageSecondaryKeyInUse",
+        type: {
+          name: "Boolean"
+        }
+      },
+      isAzureMonitorTargetEnabled: {
+        serializedName: "properties.isAzureMonitorTargetEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      queueDelayMs: {
+        serializedName: "properties.queueDelayMs",
         type: {
           name: "Number"
         }
       },
-      errorMessage: {
-        readOnly: true,
-        serializedName: "properties.errorMessage",
+      state: {
+        required: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
+        }
+      },
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
         type: {
           name: "String"
         }
       },
-      errorSeverity: {
-        readOnly: true,
-        serializedName: "properties.errorSeverity",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      operation: {
+      storageAccountSubscriptionId: {
+        serializedName: "properties.storageAccountSubscriptionId",
+        type: {
+          name: "Uuid"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = {
+  serializedName: "DatabaseBlobAuditingPolicy",
+  type: {
+    name: "Composite",
+    className: "DatabaseBlobAuditingPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      kind: {
         readOnly: true,
-        serializedName: "properties.operation",
+        serializedName: "kind",
         type: {
           name: "String"
         }
       },
-      operationId: {
-        nullable: false,
-        readOnly: true,
-        serializedName: "properties.operationId",
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "Uuid"
+          name: "Number"
         }
       },
-      percentComplete: {
-        readOnly: true,
-        serializedName: "properties.percentComplete",
+      auditActionsAndGroups: {
+        serializedName: "properties.auditActionsAndGroups",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      isStorageSecondaryKeyInUse: {
+        serializedName: "properties.isStorageSecondaryKeyInUse",
+        type: {
+          name: "Boolean"
+        }
+      },
+      isAzureMonitorTargetEnabled: {
+        serializedName: "properties.isAzureMonitorTargetEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      queueDelayMs: {
+        serializedName: "properties.queueDelayMs",
         type: {
           name: "Number"
         }
       },
-      requestedElasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.requestedElasticPoolName",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
         }
       },
-      currentElasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.currentElasticPoolName",
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
         type: {
           name: "String"
         }
       },
-      currentServiceObjective: {
-        readOnly: true,
-        serializedName: "properties.currentServiceObjective",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
           name: "String"
         }
       },
-      requestedServiceObjective: {
-        readOnly: true,
-        serializedName: "properties.requestedServiceObjective",
+      storageAccountSubscriptionId: {
+        serializedName: "properties.storageAccountSubscriptionId",
+        type: {
+          name: "Uuid"
+        }
+      }
+    }
+  }
+};
+
+export const RecommendedActionStateInfo: msRest.CompositeMapper = {
+  serializedName: "RecommendedActionStateInfo",
+  type: {
+    name: "Composite",
+    className: "RecommendedActionStateInfo",
+    modelProperties: {
+      currentValue: {
+        required: true,
+        serializedName: "currentValue",
         type: {
           name: "String"
         }
       },
-      serverName: {
+      actionInitiatedBy: {
         readOnly: true,
-        serializedName: "properties.serverName",
+        serializedName: "actionInitiatedBy",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "User",
+            "System"
+          ]
         }
       },
-      startTime: {
+      lastModified: {
         readOnly: true,
-        serializedName: "properties.startTime",
+        serializedName: "lastModified",
         type: {
           name: "DateTime"
         }
+      }
+    }
+  }
+};
+
+export const RecommendedActionImplementationInfo: msRest.CompositeMapper = {
+  serializedName: "RecommendedActionImplementationInfo",
+  type: {
+    name: "Composite",
+    className: "RecommendedActionImplementationInfo",
+    modelProperties: {
+      method: {
+        readOnly: true,
+        serializedName: "method",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "TSql",
+            "AzurePowerShell"
+          ]
+        }
       },
-      state: {
+      script: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "script",
         type: {
           name: "String"
         }
@@ -1740,15 +1569,43 @@ export const ElasticPoolDatabaseActivity: msRest.CompositeMapper = {
   }
 };
 
-export const OperationImpact: msRest.CompositeMapper = {
-  serializedName: "OperationImpact",
+export const RecommendedActionErrorInfo: msRest.CompositeMapper = {
+  serializedName: "RecommendedActionErrorInfo",
   type: {
     name: "Composite",
-    className: "OperationImpact",
+    className: "RecommendedActionErrorInfo",
     modelProperties: {
-      name: {
+      errorCode: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "errorCode",
+        type: {
+          name: "String"
+        }
+      },
+      isRetryable: {
+        readOnly: true,
+        serializedName: "isRetryable",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Yes",
+            "No"
+          ]
+        }
+      }
+    }
+  }
+};
+
+export const RecommendedActionImpactRecord: msRest.CompositeMapper = {
+  serializedName: "RecommendedActionImpactRecord",
+  type: {
+    name: "Composite",
+    className: "RecommendedActionImpactRecord",
+    modelProperties: {
+      dimensionName: {
+        readOnly: true,
+        serializedName: "dimensionName",
         type: {
           name: "String"
         }
@@ -1760,6 +1617,13 @@ export const OperationImpact: msRest.CompositeMapper = {
           name: "String"
         }
       },
+      absoluteValue: {
+        readOnly: true,
+        serializedName: "absoluteValue",
+        type: {
+          name: "Number"
+        }
+      },
       changeValueAbsolute: {
         readOnly: true,
         serializedName: "changeValueAbsolute",
@@ -1778,815 +1642,706 @@ export const OperationImpact: msRest.CompositeMapper = {
   }
 };
 
-export const RecommendedIndex: msRest.CompositeMapper = {
-  serializedName: "RecommendedIndex",
+export const RecommendedActionMetricInfo: msRest.CompositeMapper = {
+  serializedName: "RecommendedActionMetricInfo",
   type: {
     name: "Composite",
-    className: "RecommendedIndex",
+    className: "RecommendedActionMetricInfo",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      action: {
+      metricName: {
         readOnly: true,
-        serializedName: "properties.action",
+        serializedName: "metricName",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Create",
-            "Drop",
-            "Rebuild"
-          ]
+          name: "String"
         }
       },
-      state: {
+      unit: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "unit",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Active",
-            "Pending",
-            "Executing",
-            "Verifying",
-            "Pending Revert",
-            "Reverting",
-            "Reverted",
-            "Ignored",
-            "Expired",
-            "Blocked",
-            "Success"
-          ]
+          name: "String"
         }
       },
-      created: {
+      timeGrain: {
         readOnly: true,
-        serializedName: "properties.created",
+        serializedName: "timeGrain",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      lastModified: {
+      startTime: {
         readOnly: true,
-        serializedName: "properties.lastModified",
+        serializedName: "startTime",
         type: {
           name: "DateTime"
         }
       },
-      indexType: {
+      value: {
         readOnly: true,
-        serializedName: "properties.indexType",
+        serializedName: "value",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "CLUSTERED",
-            "NONCLUSTERED",
-            "COLUMNSTORE",
-            "CLUSTERED COLUMNSTORE"
-          ]
+          name: "Number"
+        }
+      }
+    }
+  }
+};
+
+export const RecommendedAction: msRest.CompositeMapper = {
+  serializedName: "RecommendedAction",
+  type: {
+    name: "Composite",
+    className: "RecommendedAction",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      kind: {
+        readOnly: true,
+        serializedName: "kind",
+        type: {
+          name: "String"
         }
       },
-      schema: {
+      location: {
         readOnly: true,
-        serializedName: "properties.schema",
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      table: {
+      recommendationReason: {
         readOnly: true,
-        serializedName: "properties.table",
+        serializedName: "properties.recommendationReason",
         type: {
           name: "String"
         }
       },
-      columns: {
+      validSince: {
         readOnly: true,
-        serializedName: "properties.columns",
+        serializedName: "properties.validSince",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "DateTime"
         }
       },
-      includedColumns: {
+      lastRefresh: {
         readOnly: true,
-        serializedName: "properties.includedColumns",
+        serializedName: "properties.lastRefresh",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "DateTime"
         }
       },
-      indexScript: {
-        readOnly: true,
-        serializedName: "properties.indexScript",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "RecommendedActionStateInfo"
         }
       },
-      estimatedImpact: {
+      isExecutableAction: {
         readOnly: true,
-        serializedName: "properties.estimatedImpact",
+        serializedName: "properties.isExecutableAction",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "OperationImpact"
-            }
-          }
+          name: "Boolean"
         }
       },
-      reportedImpact: {
+      isRevertableAction: {
         readOnly: true,
-        serializedName: "properties.reportedImpact",
+        serializedName: "properties.isRevertableAction",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "OperationImpact"
-            }
-          }
+          name: "Boolean"
         }
-      }
-    }
-  }
-};
-
-export const TransparentDataEncryption: msRest.CompositeMapper = {
-  serializedName: "TransparentDataEncryption",
-  type: {
-    name: "Composite",
-    className: "TransparentDataEncryption",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      location: {
+      },
+      isArchivedAction: {
         readOnly: true,
-        serializedName: "location",
+        serializedName: "properties.isArchivedAction",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      status: {
-        serializedName: "properties.status",
+      executeActionStartTime: {
+        readOnly: true,
+        serializedName: "properties.executeActionStartTime",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
+          name: "DateTime"
         }
-      }
-    }
-  }
-};
-
-export const SloUsageMetric: msRest.CompositeMapper = {
-  serializedName: "SloUsageMetric",
-  type: {
-    name: "Composite",
-    className: "SloUsageMetric",
-    modelProperties: {
-      serviceLevelObjective: {
+      },
+      executeActionDuration: {
         readOnly: true,
-        serializedName: "serviceLevelObjective",
+        serializedName: "properties.executeActionDuration",
         type: {
           name: "String"
         }
       },
-      serviceLevelObjectiveId: {
-        nullable: false,
+      revertActionStartTime: {
         readOnly: true,
-        serializedName: "serviceLevelObjectiveId",
+        serializedName: "properties.revertActionStartTime",
         type: {
-          name: "Uuid"
+          name: "DateTime"
         }
       },
-      inRangeTimeRatio: {
-        nullable: false,
+      revertActionDuration: {
         readOnly: true,
-        serializedName: "inRangeTimeRatio",
+        serializedName: "properties.revertActionDuration",
         type: {
-          name: "Number"
+          name: "String"
         }
-      }
-    }
-  }
-};
-
-export const ServiceTierAdvisor: msRest.CompositeMapper = {
-  serializedName: "ServiceTierAdvisor",
-  type: {
-    name: "Composite",
-    className: "ServiceTierAdvisor",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      observationPeriodStart: {
+      },
+      executeActionInitiatedBy: {
         readOnly: true,
-        serializedName: "properties.observationPeriodStart",
+        serializedName: "properties.executeActionInitiatedBy",
         type: {
-          name: "DateTime"
+          name: "Enum",
+          allowedValues: [
+            "User",
+            "System"
+          ]
         }
       },
-      observationPeriodEnd: {
+      executeActionInitiatedTime: {
         readOnly: true,
-        serializedName: "properties.observationPeriodEnd",
+        serializedName: "properties.executeActionInitiatedTime",
         type: {
           name: "DateTime"
         }
       },
-      activeTimeRatio: {
+      revertActionInitiatedBy: {
         readOnly: true,
-        serializedName: "properties.activeTimeRatio",
+        serializedName: "properties.revertActionInitiatedBy",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "User",
+            "System"
+          ]
         }
       },
-      minDtu: {
+      revertActionInitiatedTime: {
         readOnly: true,
-        serializedName: "properties.minDtu",
+        serializedName: "properties.revertActionInitiatedTime",
         type: {
-          name: "Number"
+          name: "DateTime"
         }
       },
-      avgDtu: {
+      score: {
         readOnly: true,
-        serializedName: "properties.avgDtu",
+        serializedName: "properties.score",
         type: {
           name: "Number"
         }
       },
-      maxDtu: {
+      implementationDetails: {
         readOnly: true,
-        serializedName: "properties.maxDtu",
+        serializedName: "properties.implementationDetails",
         type: {
-          name: "Number"
+          name: "Composite",
+          className: "RecommendedActionImplementationInfo"
         }
       },
-      maxSizeInGB: {
+      errorDetails: {
         readOnly: true,
-        serializedName: "properties.maxSizeInGB",
+        serializedName: "properties.errorDetails",
         type: {
-          name: "Number"
+          name: "Composite",
+          className: "RecommendedActionErrorInfo"
         }
       },
-      serviceLevelObjectiveUsageMetrics: {
+      estimatedImpact: {
         readOnly: true,
-        serializedName: "properties.serviceLevelObjectiveUsageMetrics",
+        serializedName: "properties.estimatedImpact",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "SloUsageMetric"
+              className: "RecommendedActionImpactRecord"
             }
           }
         }
       },
-      currentServiceLevelObjective: {
+      observedImpact: {
         readOnly: true,
-        serializedName: "properties.currentServiceLevelObjective",
+        serializedName: "properties.observedImpact",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "RecommendedActionImpactRecord"
+            }
+          }
         }
       },
-      currentServiceLevelObjectiveId: {
+      timeSeries: {
         readOnly: true,
-        serializedName: "properties.currentServiceLevelObjectiveId",
+        serializedName: "properties.timeSeries",
         type: {
-          name: "Uuid"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "RecommendedActionMetricInfo"
+            }
+          }
         }
       },
-      usageBasedRecommendationServiceLevelObjective: {
+      linkedObjects: {
         readOnly: true,
-        serializedName: "properties.usageBasedRecommendationServiceLevelObjective",
+        serializedName: "properties.linkedObjects",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      usageBasedRecommendationServiceLevelObjectiveId: {
+      details: {
         readOnly: true,
-        serializedName: "properties.usageBasedRecommendationServiceLevelObjectiveId",
+        serializedName: "properties.details",
         type: {
-          name: "Uuid"
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "Object"
+            }
+          }
         }
-      },
-      databaseSizeBasedRecommendationServiceLevelObjective: {
+      }
+    }
+  }
+};
+
+export const Advisor: msRest.CompositeMapper = {
+  serializedName: "Advisor",
+  type: {
+    name: "Composite",
+    className: "Advisor",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      kind: {
         readOnly: true,
-        serializedName: "properties.databaseSizeBasedRecommendationServiceLevelObjective",
+        serializedName: "kind",
         type: {
           name: "String"
         }
       },
-      databaseSizeBasedRecommendationServiceLevelObjectiveId: {
+      location: {
         readOnly: true,
-        serializedName: "properties.databaseSizeBasedRecommendationServiceLevelObjectiveId",
+        serializedName: "location",
         type: {
-          name: "Uuid"
+          name: "String"
         }
       },
-      disasterPlanBasedRecommendationServiceLevelObjective: {
+      advisorStatus: {
         readOnly: true,
-        serializedName: "properties.disasterPlanBasedRecommendationServiceLevelObjective",
+        serializedName: "properties.advisorStatus",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "GA",
+            "PublicPreview",
+            "LimitedPublicPreview",
+            "PrivatePreview"
+          ]
+        }
+      },
+      autoExecuteStatus: {
+        required: true,
+        serializedName: "properties.autoExecuteStatus",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled",
+            "Default"
+          ]
         }
       },
-      disasterPlanBasedRecommendationServiceLevelObjectiveId: {
+      autoExecuteStatusInheritedFrom: {
         readOnly: true,
-        serializedName: "properties.disasterPlanBasedRecommendationServiceLevelObjectiveId",
+        serializedName: "properties.autoExecuteStatusInheritedFrom",
         type: {
-          name: "Uuid"
+          name: "Enum",
+          allowedValues: [
+            "Default",
+            "Subscription",
+            "Server",
+            "ElasticPool",
+            "Database"
+          ]
         }
       },
-      overallRecommendationServiceLevelObjective: {
+      recommendationsStatus: {
         readOnly: true,
-        serializedName: "properties.overallRecommendationServiceLevelObjective",
+        serializedName: "properties.recommendationsStatus",
         type: {
           name: "String"
         }
       },
-      overallRecommendationServiceLevelObjectiveId: {
+      lastChecked: {
         readOnly: true,
-        serializedName: "properties.overallRecommendationServiceLevelObjectiveId",
+        serializedName: "properties.lastChecked",
         type: {
-          name: "Uuid"
+          name: "DateTime"
         }
       },
-      confidence: {
-        nullable: false,
+      recommendedActions: {
         readOnly: true,
-        serializedName: "properties.confidence",
+        serializedName: "properties.recommendedActions",
         type: {
-          name: "Number"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "RecommendedAction"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const TransparentDataEncryptionActivity: msRest.CompositeMapper = {
-  serializedName: "TransparentDataEncryptionActivity",
+export const AutomaticTuningOptions: msRest.CompositeMapper = {
+  serializedName: "AutomaticTuningOptions",
   type: {
     name: "Composite",
-    className: "TransparentDataEncryptionActivity",
+    className: "AutomaticTuningOptions",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      location: {
-        readOnly: true,
-        serializedName: "location",
+      desiredState: {
+        serializedName: "desiredState",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Off",
+            "On",
+            "Default"
+          ]
         }
       },
-      status: {
+      actualState: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "actualState",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Off",
+            "On"
+          ]
         }
       },
-      percentComplete: {
+      reasonCode: {
         readOnly: true,
-        serializedName: "properties.percentComplete",
+        serializedName: "reasonCode",
         type: {
           name: "Number"
         }
+      },
+      reasonDesc: {
+        readOnly: true,
+        serializedName: "reasonDesc",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Default",
+            "Disabled",
+            "AutoConfigured",
+            "InheritedFromServer",
+            "QueryStoreOff",
+            "QueryStoreReadOnly",
+            "NotSupported"
+          ]
+        }
       }
     }
   }
 };
 
-export const ServerUsage: msRest.CompositeMapper = {
-  serializedName: "ServerUsage",
+export const DatabaseAutomaticTuning: msRest.CompositeMapper = {
+  serializedName: "DatabaseAutomaticTuning",
   type: {
     name: "Composite",
-    className: "ServerUsage",
+    className: "DatabaseAutomaticTuning",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      ...ProxyResource.type.modelProperties,
+      desiredState: {
+        serializedName: "properties.desiredState",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Inherit",
+            "Custom",
+            "Auto",
+            "Unspecified"
+          ]
         }
       },
-      resourceName: {
+      actualState: {
         readOnly: true,
-        serializedName: "resourceName",
+        serializedName: "properties.actualState",
         type: {
-          name: "String"
-        }
-      },
-      displayName: {
-        readOnly: true,
-        serializedName: "displayName",
-        type: {
-          name: "String"
-        }
-      },
-      currentValue: {
-        readOnly: true,
-        serializedName: "currentValue",
-        type: {
-          name: "Number"
-        }
-      },
-      limit: {
-        readOnly: true,
-        serializedName: "limit",
-        type: {
-          name: "Number"
-        }
-      },
-      unit: {
-        readOnly: true,
-        serializedName: "unit",
-        type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Inherit",
+            "Custom",
+            "Auto",
+            "Unspecified"
+          ]
         }
       },
-      nextResetTime: {
-        readOnly: true,
-        serializedName: "nextResetTime",
+      options: {
+        serializedName: "properties.options",
         type: {
-          name: "DateTime"
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "Composite",
+              className: "AutomaticTuningOptions"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const DatabaseUsage: msRest.CompositeMapper = {
-  serializedName: "DatabaseUsage",
+export const DatabaseColumn: msRest.CompositeMapper = {
+  serializedName: "DatabaseColumn",
   type: {
     name: "Composite",
-    className: "DatabaseUsage",
+    className: "DatabaseColumn",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
-        type: {
-          name: "String"
-        }
-      },
-      resourceName: {
-        readOnly: true,
-        serializedName: "resourceName",
+      ...ProxyResource.type.modelProperties,
+      columnType: {
+        serializedName: "properties.columnType",
         type: {
           name: "String"
         }
       },
-      displayName: {
-        readOnly: true,
-        serializedName: "displayName",
+      temporalType: {
+        serializedName: "properties.temporalType",
         type: {
           name: "String"
         }
       },
-      currentValue: {
-        readOnly: true,
-        serializedName: "currentValue",
-        type: {
-          name: "Number"
-        }
-      },
-      limit: {
-        readOnly: true,
-        serializedName: "limit",
-        type: {
-          name: "Number"
-        }
-      },
-      unit: {
-        readOnly: true,
-        serializedName: "unit",
+      memoryOptimized: {
+        serializedName: "properties.memoryOptimized",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      nextResetTime: {
-        readOnly: true,
-        serializedName: "nextResetTime",
+      isComputed: {
+        serializedName: "properties.isComputed",
         type: {
-          name: "DateTime"
+          name: "Boolean"
         }
       }
     }
   }
 };
 
-export const AutomaticTuningOptions: msRest.CompositeMapper = {
-  serializedName: "AutomaticTuningOptions",
+export const DatabaseSchema: msRest.CompositeMapper = {
+  serializedName: "DatabaseSchema",
   type: {
     name: "Composite",
-    className: "AutomaticTuningOptions",
+    className: "DatabaseSchema",
     modelProperties: {
-      desiredState: {
-        serializedName: "desiredState",
+      ...ProxyResource.type.modelProperties
+    }
+  }
+};
+
+export const SystemData: msRest.CompositeMapper = {
+  serializedName: "systemData",
+  type: {
+    name: "Composite",
+    className: "SystemData",
+    modelProperties: {
+      createdBy: {
+        serializedName: "createdBy",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Off",
-            "On",
-            "Default"
-          ]
+          name: "String"
         }
       },
-      actualState: {
-        readOnly: true,
-        serializedName: "actualState",
+      createdByType: {
+        serializedName: "createdByType",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Off",
-            "On"
-          ]
+          name: "String"
         }
       },
-      reasonCode: {
-        readOnly: true,
-        serializedName: "reasonCode",
+      createdAt: {
+        serializedName: "createdAt",
         type: {
-          name: "Number"
+          name: "DateTime"
         }
       },
-      reasonDesc: {
-        readOnly: true,
-        serializedName: "reasonDesc",
+      lastModifiedBy: {
+        serializedName: "lastModifiedBy",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Default",
-            "Disabled",
-            "AutoConfigured",
-            "InheritedFromServer",
-            "QueryStoreOff",
-            "QueryStoreReadOnly",
-            "NotSupported"
-          ]
+          name: "String"
+        }
+      },
+      lastModifiedByType: {
+        serializedName: "lastModifiedByType",
+        type: {
+          name: "String"
+        }
+      },
+      lastModifiedAt: {
+        serializedName: "lastModifiedAt",
+        type: {
+          name: "DateTime"
         }
       }
     }
   }
 };
 
-export const DatabaseAutomaticTuning: msRest.CompositeMapper = {
-  serializedName: "DatabaseAutomaticTuning",
+export const DatabaseSecurityAlertPolicy: msRest.CompositeMapper = {
+  serializedName: "DatabaseSecurityAlertPolicy",
   type: {
     name: "Composite",
-    className: "DatabaseAutomaticTuning",
+    className: "DatabaseSecurityAlertPolicy",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      desiredState: {
-        serializedName: "properties.desiredState",
+      systemData: {
+        readOnly: true,
+        serializedName: "systemData",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Inherit",
-            "Custom",
-            "Auto",
-            "Unspecified"
-          ]
+          name: "Composite",
+          className: "SystemData"
         }
       },
-      actualState: {
-        readOnly: true,
-        serializedName: "properties.actualState",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
           name: "Enum",
           allowedValues: [
-            "Inherit",
-            "Custom",
-            "Auto",
-            "Unspecified"
+            "Enabled",
+            "Disabled"
           ]
         }
       },
-      options: {
-        serializedName: "properties.options",
+      disabledAlerts: {
+        serializedName: "properties.disabledAlerts",
         type: {
-          name: "Dictionary",
-          value: {
+          name: "Sequence",
+          element: {
             type: {
-              name: "Composite",
-              className: "AutomaticTuningOptions"
+              name: "String"
             }
           }
         }
-      }
-    }
-  }
-};
-
-export const EncryptionProtector: msRest.CompositeMapper = {
-  serializedName: "EncryptionProtector",
-  type: {
-    name: "Composite",
-    className: "EncryptionProtector",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      kind: {
-        readOnly: true,
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
       },
-      location: {
-        readOnly: true,
-        serializedName: "location",
+      emailAddresses: {
+        serializedName: "properties.emailAddresses",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      subregion: {
-        readOnly: true,
-        serializedName: "properties.subregion",
+      emailAccountAdmins: {
+        serializedName: "properties.emailAccountAdmins",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      serverKeyName: {
-        serializedName: "properties.serverKeyName",
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
         type: {
           name: "String"
         }
       },
-      serverKeyType: {
-        required: true,
-        serializedName: "properties.serverKeyType",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
           name: "String"
         }
       },
-      uri: {
-        readOnly: true,
-        serializedName: "properties.uri",
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      thumbprint: {
+      creationTime: {
         readOnly: true,
-        serializedName: "properties.thumbprint",
+        serializedName: "properties.creationTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       }
     }
   }
 };
 
-export const FailoverGroupReadWriteEndpoint: msRest.CompositeMapper = {
-  serializedName: "FailoverGroupReadWriteEndpoint",
+export const DatabaseTable: msRest.CompositeMapper = {
+  serializedName: "DatabaseTable",
   type: {
     name: "Composite",
-    className: "FailoverGroupReadWriteEndpoint",
+    className: "DatabaseTable",
     modelProperties: {
-      failoverPolicy: {
-        required: true,
-        serializedName: "failoverPolicy",
+      ...ProxyResource.type.modelProperties,
+      temporalType: {
+        serializedName: "properties.temporalType",
         type: {
           name: "String"
         }
       },
-      failoverWithDataLossGracePeriodMinutes: {
-        serializedName: "failoverWithDataLossGracePeriodMinutes",
+      memoryOptimized: {
+        serializedName: "properties.memoryOptimized",
         type: {
-          name: "Number"
+          name: "Boolean"
         }
       }
     }
   }
 };
 
-export const FailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = {
-  serializedName: "FailoverGroupReadOnlyEndpoint",
+export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = {
+  serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem",
   type: {
     name: "Composite",
-    className: "FailoverGroupReadOnlyEndpoint",
+    className: "DatabaseVulnerabilityAssessmentRuleBaselineItem",
     modelProperties: {
-      failoverPolicy: {
-        serializedName: "failoverPolicy",
-        type: {
-          name: "String"
-        }
-      }
-    }
-  }
-};
-
-export const PartnerInfo: msRest.CompositeMapper = {
-  serializedName: "PartnerInfo",
-  type: {
-    name: "Composite",
-    className: "PartnerInfo",
-    modelProperties: {
-      id: {
+      result: {
         required: true,
-        serializedName: "id",
-        type: {
-          name: "String"
-        }
-      },
-      location: {
-        readOnly: true,
-        serializedName: "location",
-        type: {
-          name: "String"
-        }
-      },
-      replicationRole: {
-        readOnly: true,
-        serializedName: "replicationRole",
+        serializedName: "result",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const FailoverGroup: msRest.CompositeMapper = {
-  serializedName: "FailoverGroup",
+export const DatabaseVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = {
+  serializedName: "DatabaseVulnerabilityAssessmentRuleBaseline",
   type: {
     name: "Composite",
-    className: "FailoverGroup",
+    className: "DatabaseVulnerabilityAssessmentRuleBaseline",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      location: {
-        readOnly: true,
-        serializedName: "location",
-        type: {
-          name: "String"
-        }
-      },
-      tags: {
-        serializedName: "tags",
-        type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
-        }
-      },
-      readWriteEndpoint: {
-        required: true,
-        serializedName: "properties.readWriteEndpoint",
-        type: {
-          name: "Composite",
-          className: "FailoverGroupReadWriteEndpoint"
-        }
-      },
-      readOnlyEndpoint: {
-        serializedName: "properties.readOnlyEndpoint",
-        type: {
-          name: "Composite",
-          className: "FailoverGroupReadOnlyEndpoint"
-        }
-      },
-      replicationRole: {
-        readOnly: true,
-        serializedName: "properties.replicationRole",
-        type: {
-          name: "String"
-        }
-      },
-      replicationState: {
-        readOnly: true,
-        serializedName: "properties.replicationState",
-        type: {
-          name: "String"
-        }
-      },
-      partnerServers: {
+      baselineResults: {
         required: true,
-        serializedName: "properties.partnerServers",
+        serializedName: "properties.baselineResults",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "PartnerInfo"
-            }
-          }
-        }
-      },
-      databases: {
-        serializedName: "properties.databases",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
+              className: "DatabaseVulnerabilityAssessmentRuleBaselineItem"
             }
           }
         }
@@ -2595,28 +2350,27 @@ export const FailoverGroup: msRest.CompositeMapper = {
   }
 };
 
-export const FailoverGroupUpdate: msRest.CompositeMapper = {
-  serializedName: "FailoverGroupUpdate",
+export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = {
+  serializedName: "VulnerabilityAssessmentRecurringScansProperties",
   type: {
     name: "Composite",
-    className: "FailoverGroupUpdate",
+    className: "VulnerabilityAssessmentRecurringScansProperties",
     modelProperties: {
-      readWriteEndpoint: {
-        serializedName: "properties.readWriteEndpoint",
+      isEnabled: {
+        serializedName: "isEnabled",
         type: {
-          name: "Composite",
-          className: "FailoverGroupReadWriteEndpoint"
+          name: "Boolean"
         }
       },
-      readOnlyEndpoint: {
-        serializedName: "properties.readOnlyEndpoint",
+      emailSubscriptionAdmins: {
+        serializedName: "emailSubscriptionAdmins",
+        defaultValue: true,
         type: {
-          name: "Composite",
-          className: "FailoverGroupReadOnlyEndpoint"
+          name: "Boolean"
         }
       },
-      databases: {
-        serializedName: "properties.databases",
+      emails: {
+        serializedName: "emails",
         type: {
           name: "Sequence",
           element: {
@@ -2625,232 +2379,204 @@ export const FailoverGroupUpdate: msRest.CompositeMapper = {
             }
           }
         }
-      },
-      tags: {
-        serializedName: "tags",
-        type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
-        }
       }
     }
   }
 };
 
-export const OperationDisplay: msRest.CompositeMapper = {
-  serializedName: "OperationDisplay",
+export const DatabaseVulnerabilityAssessment: msRest.CompositeMapper = {
+  serializedName: "DatabaseVulnerabilityAssessment",
   type: {
     name: "Composite",
-    className: "OperationDisplay",
+    className: "DatabaseVulnerabilityAssessment",
     modelProperties: {
-      provider: {
-        readOnly: true,
-        serializedName: "provider",
+      ...ProxyResource.type.modelProperties,
+      storageContainerPath: {
+        serializedName: "properties.storageContainerPath",
         type: {
           name: "String"
         }
       },
-      resource: {
-        readOnly: true,
-        serializedName: "resource",
+      storageContainerSasKey: {
+        serializedName: "properties.storageContainerSasKey",
         type: {
           name: "String"
         }
       },
-      operation: {
-        readOnly: true,
-        serializedName: "operation",
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
         type: {
           name: "String"
         }
       },
-      description: {
-        readOnly: true,
-        serializedName: "description",
+      recurringScans: {
+        serializedName: "properties.recurringScans",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "VulnerabilityAssessmentRecurringScansProperties"
         }
       }
     }
   }
 };
 
-export const Operation: msRest.CompositeMapper = {
-  serializedName: "Operation",
+export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = {
+  serializedName: "VulnerabilityAssessmentScanError",
   type: {
     name: "Composite",
-    className: "Operation",
+    className: "VulnerabilityAssessmentScanError",
     modelProperties: {
-      name: {
+      code: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "code",
         type: {
           name: "String"
         }
       },
-      display: {
-        readOnly: true,
-        serializedName: "display",
-        type: {
-          name: "Composite",
-          className: "OperationDisplay"
-        }
-      },
-      origin: {
+      message: {
         readOnly: true,
-        serializedName: "origin",
+        serializedName: "message",
         type: {
           name: "String"
         }
-      },
-      properties: {
-        readOnly: true,
-        serializedName: "properties",
-        type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "Object"
-            }
-          }
-        }
       }
     }
   }
 };
 
-export const ServerKey: msRest.CompositeMapper = {
-  serializedName: "ServerKey",
+export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = {
+  serializedName: "VulnerabilityAssessmentScanRecord",
   type: {
     name: "Composite",
-    className: "ServerKey",
+    className: "VulnerabilityAssessmentScanRecord",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      kind: {
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
-      },
-      location: {
+      scanId: {
         readOnly: true,
-        serializedName: "location",
+        serializedName: "properties.scanId",
         type: {
           name: "String"
         }
       },
-      subregion: {
+      triggerType: {
         readOnly: true,
-        serializedName: "properties.subregion",
+        serializedName: "properties.triggerType",
         type: {
           name: "String"
         }
       },
-      serverKeyType: {
-        required: true,
-        serializedName: "properties.serverKeyType",
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      uri: {
-        serializedName: "properties.uri",
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      thumbprint: {
-        serializedName: "properties.thumbprint",
+      endTime: {
+        readOnly: true,
+        serializedName: "properties.endTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      creationDate: {
-        serializedName: "properties.creationDate",
+      errors: {
+        readOnly: true,
+        serializedName: "properties.errors",
         type: {
-          name: "DateTime"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "VulnerabilityAssessmentScanError"
+            }
+          }
+        }
+      },
+      storageContainerPath: {
+        readOnly: true,
+        serializedName: "properties.storageContainerPath",
+        type: {
+          name: "String"
+        }
+      },
+      numberOfFailedSecurityChecks: {
+        readOnly: true,
+        serializedName: "properties.numberOfFailedSecurityChecks",
+        type: {
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ResourceIdentity: msRest.CompositeMapper = {
-  serializedName: "ResourceIdentity",
+export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = {
+  serializedName: "DatabaseVulnerabilityAssessmentScansExport",
   type: {
     name: "Composite",
-    className: "ResourceIdentity",
+    className: "DatabaseVulnerabilityAssessmentScansExport",
     modelProperties: {
-      principalId: {
+      ...ProxyResource.type.modelProperties,
+      exportedReportLocation: {
         readOnly: true,
-        serializedName: "principalId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      type: {
-        serializedName: "type",
+        serializedName: "properties.exportedReportLocation",
         type: {
           name: "String"
         }
-      },
-      tenantId: {
+      }
+    }
+  }
+};
+
+export const DataWarehouseUserActivities: msRest.CompositeMapper = {
+  serializedName: "DataWarehouseUserActivities",
+  type: {
+    name: "Composite",
+    className: "DataWarehouseUserActivities",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      activeQueriesCount: {
         readOnly: true,
-        serializedName: "tenantId",
+        serializedName: "properties.activeQueriesCount",
         type: {
-          name: "Uuid"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const Server: msRest.CompositeMapper = {
-  serializedName: "Server",
+export const DeletedServer: msRest.CompositeMapper = {
+  serializedName: "DeletedServer",
   type: {
     name: "Composite",
-    className: "Server",
+    className: "DeletedServer",
     modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      identity: {
-        serializedName: "identity",
-        type: {
-          name: "Composite",
-          className: "ResourceIdentity"
-        }
-      },
-      kind: {
+      ...ProxyResource.type.modelProperties,
+      version: {
         readOnly: true,
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
-      },
-      administratorLogin: {
-        serializedName: "properties.administratorLogin",
-        type: {
-          name: "String"
-        }
-      },
-      administratorLoginPassword: {
-        serializedName: "properties.administratorLoginPassword",
+        serializedName: "properties.version",
         type: {
           name: "String"
         }
       },
-      version: {
-        serializedName: "properties.version",
+      deletionTime: {
+        readOnly: true,
+        serializedName: "properties.deletionTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      state: {
+      originalId: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "properties.originalId",
         type: {
           name: "String"
         }
@@ -2866,256 +2592,240 @@ export const Server: msRest.CompositeMapper = {
   }
 };
 
-export const ServerUpdate: msRest.CompositeMapper = {
-  serializedName: "ServerUpdate",
+export const ElasticPoolOperation: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolOperation",
   type: {
     name: "Composite",
-    className: "ServerUpdate",
+    className: "ElasticPoolOperation",
     modelProperties: {
-      administratorLogin: {
-        serializedName: "properties.administratorLogin",
+      ...ProxyResource.type.modelProperties,
+      elasticPoolName: {
+        readOnly: true,
+        serializedName: "properties.elasticPoolName",
         type: {
           name: "String"
         }
       },
-      administratorLoginPassword: {
-        serializedName: "properties.administratorLoginPassword",
+      operation: {
+        readOnly: true,
+        serializedName: "properties.operation",
         type: {
           name: "String"
         }
       },
-      version: {
-        serializedName: "properties.version",
+      operationFriendlyName: {
+        readOnly: true,
+        serializedName: "properties.operationFriendlyName",
         type: {
           name: "String"
         }
       },
-      state: {
+      percentComplete: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "properties.percentComplete",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      fullyQualifiedDomainName: {
+      serverName: {
         readOnly: true,
-        serializedName: "properties.fullyQualifiedDomainName",
+        serializedName: "properties.serverName",
         type: {
           name: "String"
         }
       },
-      tags: {
-        serializedName: "tags",
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
         type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "DateTime"
         }
-      }
-    }
-  }
-};
-
-export const SyncAgent: msRest.CompositeMapper = {
-  serializedName: "SyncAgent",
-  type: {
-    name: "Composite",
-    className: "SyncAgent",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      syncAgentName: {
+      },
+      state: {
         readOnly: true,
-        serializedName: "properties.name",
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      syncDatabaseId: {
-        serializedName: "properties.syncDatabaseId",
+      errorCode: {
+        readOnly: true,
+        serializedName: "properties.errorCode",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      lastAliveTime: {
+      errorDescription: {
         readOnly: true,
-        serializedName: "properties.lastAliveTime",
+        serializedName: "properties.errorDescription",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      state: {
+      errorSeverity: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "properties.errorSeverity",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      isUpToDate: {
+      isUserError: {
         readOnly: true,
-        serializedName: "properties.isUpToDate",
+        serializedName: "properties.isUserError",
         type: {
           name: "Boolean"
         }
       },
-      expiryTime: {
+      estimatedCompletionTime: {
         readOnly: true,
-        serializedName: "properties.expiryTime",
+        serializedName: "properties.estimatedCompletionTime",
         type: {
           name: "DateTime"
         }
       },
-      version: {
+      description: {
         readOnly: true,
-        serializedName: "properties.version",
+        serializedName: "properties.description",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const SyncAgentKeyProperties: msRest.CompositeMapper = {
-  serializedName: "SyncAgentKeyProperties",
-  type: {
-    name: "Composite",
-    className: "SyncAgentKeyProperties",
-    modelProperties: {
-      syncAgentKey: {
+      },
+      isCancellable: {
         readOnly: true,
-        serializedName: "syncAgentKey",
+        serializedName: "properties.isCancellable",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       }
     }
   }
 };
 
-export const SyncAgentLinkedDatabase: msRest.CompositeMapper = {
-  serializedName: "SyncAgentLinkedDatabase",
+export const Sku: msRest.CompositeMapper = {
+  serializedName: "Sku",
   type: {
     name: "Composite",
-    className: "SyncAgentLinkedDatabase",
+    className: "Sku",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      databaseType: {
-        readOnly: true,
-        serializedName: "properties.databaseType",
-        type: {
-          name: "String"
-        }
-      },
-      databaseId: {
-        readOnly: true,
-        serializedName: "properties.databaseId",
+      name: {
+        required: true,
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      description: {
-        readOnly: true,
-        serializedName: "properties.description",
+      tier: {
+        serializedName: "tier",
         type: {
           name: "String"
         }
       },
-      serverName: {
-        readOnly: true,
-        serializedName: "properties.serverName",
+      size: {
+        serializedName: "size",
         type: {
           name: "String"
         }
       },
-      databaseName: {
-        readOnly: true,
-        serializedName: "properties.databaseName",
+      family: {
+        serializedName: "family",
         type: {
           name: "String"
         }
       },
-      userName: {
-        readOnly: true,
-        serializedName: "properties.userName",
+      capacity: {
+        serializedName: "capacity",
         type: {
-          name: "String"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const SyncDatabaseIdProperties: msRest.CompositeMapper = {
-  serializedName: "SyncDatabaseIdProperties",
+export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolPerDatabaseSettings",
   type: {
     name: "Composite",
-    className: "SyncDatabaseIdProperties",
+    className: "ElasticPoolPerDatabaseSettings",
     modelProperties: {
-      id: {
-        readOnly: true,
-        serializedName: "id",
+      minCapacity: {
+        serializedName: "minCapacity",
         type: {
-          name: "String"
+          name: "Number"
+        }
+      },
+      maxCapacity: {
+        serializedName: "maxCapacity",
+        type: {
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const SyncFullSchemaTableColumn: msRest.CompositeMapper = {
-  serializedName: "SyncFullSchemaTableColumn",
+export const ElasticPool: msRest.CompositeMapper = {
+  serializedName: "ElasticPool",
   type: {
     name: "Composite",
-    className: "SyncFullSchemaTableColumn",
+    className: "ElasticPool",
     modelProperties: {
-      dataSize: {
-        readOnly: true,
-        serializedName: "dataSize",
+      ...TrackedResource.type.modelProperties,
+      sku: {
+        serializedName: "sku",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "Sku"
         }
       },
-      dataType: {
+      kind: {
         readOnly: true,
-        serializedName: "dataType",
+        serializedName: "kind",
         type: {
           name: "String"
         }
       },
-      errorId: {
+      state: {
         readOnly: true,
-        serializedName: "errorId",
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      hasError: {
+      creationDate: {
         readOnly: true,
-        serializedName: "hasError",
+        serializedName: "properties.creationDate",
         type: {
-          name: "Boolean"
+          name: "DateTime"
         }
       },
-      isPrimaryKey: {
-        readOnly: true,
-        serializedName: "isPrimaryKey",
+      maxSizeBytes: {
+        serializedName: "properties.maxSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      perDatabaseSettings: {
+        serializedName: "properties.perDatabaseSettings",
+        type: {
+          name: "Composite",
+          className: "ElasticPoolPerDatabaseSettings"
+        }
+      },
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
         type: {
           name: "Boolean"
         }
       },
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      licenseType: {
+        serializedName: "properties.licenseType",
         type: {
           name: "String"
         }
       },
-      quotedName: {
-        readOnly: true,
-        serializedName: "quotedName",
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
         type: {
           name: "String"
         }
@@ -3124,187 +2834,161 @@ export const SyncFullSchemaTableColumn: msRest.CompositeMapper = {
   }
 };
 
-export const SyncFullSchemaTable: msRest.CompositeMapper = {
-  serializedName: "SyncFullSchemaTable",
+export const ElasticPoolUpdate: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolUpdate",
   type: {
     name: "Composite",
-    className: "SyncFullSchemaTable",
+    className: "ElasticPoolUpdate",
     modelProperties: {
-      columns: {
-        readOnly: true,
-        serializedName: "columns",
+      sku: {
+        serializedName: "sku",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "SyncFullSchemaTableColumn"
-            }
-          }
+          name: "Composite",
+          className: "Sku"
         }
       },
-      errorId: {
-        readOnly: true,
-        serializedName: "errorId",
+      maxSizeBytes: {
+        serializedName: "properties.maxSizeBytes",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      hasError: {
-        readOnly: true,
-        serializedName: "hasError",
+      perDatabaseSettings: {
+        serializedName: "properties.perDatabaseSettings",
+        type: {
+          name: "Composite",
+          className: "ElasticPoolPerDatabaseSettings"
+        }
+      },
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
         type: {
           name: "Boolean"
         }
       },
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      licenseType: {
+        serializedName: "properties.licenseType",
         type: {
           name: "String"
         }
       },
-      quotedName: {
-        readOnly: true,
-        serializedName: "quotedName",
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const SyncFullSchemaProperties: msRest.CompositeMapper = {
-  serializedName: "SyncFullSchemaProperties",
-  type: {
-    name: "Composite",
-    className: "SyncFullSchemaProperties",
-    modelProperties: {
-      tables: {
-        readOnly: true,
-        serializedName: "tables",
+      },
+      tags: {
+        serializedName: "tags",
         type: {
-          name: "Sequence",
-          element: {
+          name: "Dictionary",
+          value: {
             type: {
-              name: "Composite",
-              className: "SyncFullSchemaTable"
+              name: "String"
             }
           }
         }
-      },
-      lastUpdateTime: {
-        readOnly: true,
-        serializedName: "lastUpdateTime",
-        type: {
-          name: "DateTime"
-        }
       }
     }
   }
 };
 
-export const SyncGroupLogProperties: msRest.CompositeMapper = {
-  serializedName: "SyncGroupLogProperties",
+export const EncryptionProtector: msRest.CompositeMapper = {
+  serializedName: "EncryptionProtector",
   type: {
     name: "Composite",
-    className: "SyncGroupLogProperties",
+    className: "EncryptionProtector",
     modelProperties: {
-      timestamp: {
+      ...ProxyResource.type.modelProperties,
+      kind: {
         readOnly: true,
-        serializedName: "timestamp",
+        serializedName: "kind",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      type: {
+      location: {
         readOnly: true,
-        serializedName: "type",
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      source: {
+      subregion: {
         readOnly: true,
-        serializedName: "source",
+        serializedName: "properties.subregion",
         type: {
           name: "String"
         }
       },
-      details: {
-        readOnly: true,
-        serializedName: "details",
+      serverKeyName: {
+        serializedName: "properties.serverKeyName",
         type: {
           name: "String"
         }
       },
-      tracingId: {
+      serverKeyType: {
+        required: true,
+        serializedName: "properties.serverKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      uri: {
         readOnly: true,
-        serializedName: "tracingId",
+        serializedName: "properties.uri",
         type: {
-          name: "Uuid"
+          name: "String"
         }
       },
-      operationStatus: {
+      thumbprint: {
         readOnly: true,
-        serializedName: "operationStatus",
+        serializedName: "properties.thumbprint",
         type: {
           name: "String"
         }
+      },
+      autoRotationEnabled: {
+        serializedName: "properties.autoRotationEnabled",
+        type: {
+          name: "Boolean"
+        }
       }
     }
   }
 };
 
-export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = {
-  serializedName: "SyncGroupSchemaTableColumn",
+export const FailoverGroupReadWriteEndpoint: msRest.CompositeMapper = {
+  serializedName: "FailoverGroupReadWriteEndpoint",
   type: {
     name: "Composite",
-    className: "SyncGroupSchemaTableColumn",
+    className: "FailoverGroupReadWriteEndpoint",
     modelProperties: {
-      quotedName: {
-        serializedName: "quotedName",
-        type: {
-          name: "String"
-        }
-      },
-      dataSize: {
-        serializedName: "dataSize",
+      failoverPolicy: {
+        required: true,
+        serializedName: "failoverPolicy",
         type: {
           name: "String"
         }
       },
-      dataType: {
-        serializedName: "dataType",
+      failoverWithDataLossGracePeriodMinutes: {
+        serializedName: "failoverWithDataLossGracePeriodMinutes",
         type: {
-          name: "String"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const SyncGroupSchemaTable: msRest.CompositeMapper = {
-  serializedName: "SyncGroupSchemaTable",
+export const FailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = {
+  serializedName: "FailoverGroupReadOnlyEndpoint",
   type: {
     name: "Composite",
-    className: "SyncGroupSchemaTable",
+    className: "FailoverGroupReadOnlyEndpoint",
     modelProperties: {
-      columns: {
-        serializedName: "columns",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "SyncGroupSchemaTableColumn"
-            }
-          }
-        }
-      },
-      quotedName: {
-        serializedName: "quotedName",
+      failoverPolicy: {
+        serializedName: "failoverPolicy",
         type: {
           name: "String"
         }
@@ -3313,26 +2997,29 @@ export const SyncGroupSchemaTable: msRest.CompositeMapper = {
   }
 };
 
-export const SyncGroupSchema: msRest.CompositeMapper = {
-  serializedName: "SyncGroupSchema",
+export const PartnerInfo: msRest.CompositeMapper = {
+  serializedName: "PartnerInfo",
   type: {
     name: "Composite",
-    className: "SyncGroupSchema",
+    className: "PartnerInfo",
     modelProperties: {
-      tables: {
-        serializedName: "tables",
+      id: {
+        required: true,
+        serializedName: "id",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "SyncGroupSchemaTable"
-            }
-          }
+          name: "String"
         }
       },
-      masterSyncMemberName: {
-        serializedName: "masterSyncMemberName",
+      location: {
+        readOnly: true,
+        serializedName: "location",
+        type: {
+          name: "String"
+        }
+      },
+      replicationRole: {
+        readOnly: true,
+        serializedName: "replicationRole",
         type: {
           name: "String"
         }
@@ -3341,165 +3028,156 @@ export const SyncGroupSchema: msRest.CompositeMapper = {
   }
 };
 
-export const SyncGroup: msRest.CompositeMapper = {
-  serializedName: "SyncGroup",
+export const FailoverGroup: msRest.CompositeMapper = {
+  serializedName: "FailoverGroup",
   type: {
     name: "Composite",
-    className: "SyncGroup",
+    className: "FailoverGroup",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      interval: {
-        serializedName: "properties.interval",
+      location: {
+        readOnly: true,
+        serializedName: "location",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      lastSyncTime: {
-        readOnly: true,
-        serializedName: "properties.lastSyncTime",
+      tags: {
+        serializedName: "tags",
         type: {
-          name: "DateTime"
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      conflictResolutionPolicy: {
-        serializedName: "properties.conflictResolutionPolicy",
+      readWriteEndpoint: {
+        required: true,
+        serializedName: "properties.readWriteEndpoint",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "FailoverGroupReadWriteEndpoint"
         }
       },
-      syncDatabaseId: {
-        serializedName: "properties.syncDatabaseId",
+      readOnlyEndpoint: {
+        serializedName: "properties.readOnlyEndpoint",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "FailoverGroupReadOnlyEndpoint"
         }
       },
-      hubDatabaseUserName: {
-        serializedName: "properties.hubDatabaseUserName",
+      replicationRole: {
+        readOnly: true,
+        serializedName: "properties.replicationRole",
         type: {
           name: "String"
         }
       },
-      hubDatabasePassword: {
-        serializedName: "properties.hubDatabasePassword",
+      replicationState: {
+        readOnly: true,
+        serializedName: "properties.replicationState",
         type: {
           name: "String"
         }
       },
-      syncState: {
-        readOnly: true,
-        serializedName: "properties.syncState",
+      partnerServers: {
+        required: true,
+        serializedName: "properties.partnerServers",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "PartnerInfo"
+            }
+          }
         }
       },
-      schema: {
-        serializedName: "properties.schema",
+      databases: {
+        serializedName: "properties.databases",
         type: {
-          name: "Composite",
-          className: "SyncGroupSchema"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const SyncMember: msRest.CompositeMapper = {
-  serializedName: "SyncMember",
+export const FailoverGroupUpdate: msRest.CompositeMapper = {
+  serializedName: "FailoverGroupUpdate",
   type: {
     name: "Composite",
-    className: "SyncMember",
+    className: "FailoverGroupUpdate",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      databaseType: {
-        serializedName: "properties.databaseType",
-        type: {
-          name: "String"
-        }
-      },
-      syncAgentId: {
-        serializedName: "properties.syncAgentId",
-        type: {
-          name: "String"
-        }
-      },
-      sqlServerDatabaseId: {
-        serializedName: "properties.sqlServerDatabaseId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      serverName: {
-        serializedName: "properties.serverName",
-        type: {
-          name: "String"
-        }
-      },
-      databaseName: {
-        serializedName: "properties.databaseName",
-        type: {
-          name: "String"
-        }
-      },
-      userName: {
-        serializedName: "properties.userName",
+      readWriteEndpoint: {
+        serializedName: "properties.readWriteEndpoint",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "FailoverGroupReadWriteEndpoint"
         }
       },
-      password: {
-        serializedName: "properties.password",
+      readOnlyEndpoint: {
+        serializedName: "properties.readOnlyEndpoint",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "FailoverGroupReadOnlyEndpoint"
         }
       },
-      syncDirection: {
-        serializedName: "properties.syncDirection",
+      databases: {
+        serializedName: "properties.databases",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      syncState: {
-        readOnly: true,
-        serializedName: "properties.syncState",
+      tags: {
+        serializedName: "tags",
         type: {
-          name: "String"
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const SubscriptionUsage: msRest.CompositeMapper = {
-  serializedName: "SubscriptionUsage",
+export const ResourceWithWritableName: msRest.CompositeMapper = {
+  serializedName: "ResourceWithWritableName",
   type: {
     name: "Composite",
-    className: "SubscriptionUsage",
+    className: "ResourceWithWritableName",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      displayName: {
+      id: {
         readOnly: true,
-        serializedName: "properties.displayName",
+        serializedName: "id",
         type: {
           name: "String"
         }
       },
-      currentValue: {
-        readOnly: true,
-        serializedName: "properties.currentValue",
-        type: {
-          name: "Number"
-        }
-      },
-      limit: {
-        readOnly: true,
-        serializedName: "properties.limit",
+      name: {
+        serializedName: "name",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      unit: {
+      type: {
         readOnly: true,
-        serializedName: "properties.unit",
+        serializedName: "type",
         type: {
           name: "String"
         }
@@ -3508,80 +3186,54 @@ export const SubscriptionUsage: msRest.CompositeMapper = {
   }
 };
 
-export const VirtualCluster: msRest.CompositeMapper = {
-  serializedName: "VirtualCluster",
+export const ProxyResourceWithWritableName: msRest.CompositeMapper = {
+  serializedName: "ProxyResourceWithWritableName",
   type: {
     name: "Composite",
-    className: "VirtualCluster",
+    className: "ProxyResourceWithWritableName",
     modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      subnetId: {
-        readOnly: true,
-        serializedName: "properties.subnetId",
+      ...ResourceWithWritableName.type.modelProperties
+    }
+  }
+};
+
+export const FirewallRule: msRest.CompositeMapper = {
+  serializedName: "FirewallRule",
+  type: {
+    name: "Composite",
+    className: "FirewallRule",
+    modelProperties: {
+      ...ProxyResourceWithWritableName.type.modelProperties,
+      startIpAddress: {
+        serializedName: "properties.startIpAddress",
         type: {
           name: "String"
         }
       },
-      family: {
-        serializedName: "properties.family",
+      endIpAddress: {
+        serializedName: "properties.endIpAddress",
         type: {
           name: "String"
         }
-      },
-      childResources: {
-        readOnly: true,
-        serializedName: "properties.childResources",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
-        }
       }
     }
   }
 };
 
-export const VirtualClusterUpdate: msRest.CompositeMapper = {
-  serializedName: "VirtualClusterUpdate",
+export const FirewallRuleList: msRest.CompositeMapper = {
+  serializedName: "FirewallRuleList",
   type: {
     name: "Composite",
-    className: "VirtualClusterUpdate",
+    className: "FirewallRuleList",
     modelProperties: {
-      subnetId: {
-        readOnly: true,
-        serializedName: "properties.subnetId",
-        type: {
-          name: "String"
-        }
-      },
-      family: {
-        serializedName: "properties.family",
-        type: {
-          name: "String"
-        }
-      },
-      childResources: {
-        readOnly: true,
-        serializedName: "properties.childResources",
+      values: {
+        serializedName: "values",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
-            }
-          }
-        }
-      },
-      tags: {
-        serializedName: "tags",
-        type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
+              name: "Composite",
+              className: "FirewallRule"
             }
           }
         }
@@ -3590,29 +3242,37 @@ export const VirtualClusterUpdate: msRest.CompositeMapper = {
   }
 };
 
-export const VirtualNetworkRule: msRest.CompositeMapper = {
-  serializedName: "VirtualNetworkRule",
+export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = {
+  serializedName: "InstanceFailoverGroupReadWriteEndpoint",
   type: {
     name: "Composite",
-    className: "VirtualNetworkRule",
+    className: "InstanceFailoverGroupReadWriteEndpoint",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      virtualNetworkSubnetId: {
+      failoverPolicy: {
         required: true,
-        serializedName: "properties.virtualNetworkSubnetId",
+        serializedName: "failoverPolicy",
         type: {
           name: "String"
         }
       },
-      ignoreMissingVnetServiceEndpoint: {
-        serializedName: "properties.ignoreMissingVnetServiceEndpoint",
+      failoverWithDataLossGracePeriodMinutes: {
+        serializedName: "failoverWithDataLossGracePeriodMinutes",
         type: {
-          name: "Boolean"
+          name: "Number"
         }
-      },
-      state: {
-        readOnly: true,
-        serializedName: "properties.state",
+      }
+    }
+  }
+};
+
+export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = {
+  serializedName: "InstanceFailoverGroupReadOnlyEndpoint",
+  type: {
+    name: "Composite",
+    className: "InstanceFailoverGroupReadOnlyEndpoint",
+    modelProperties: {
+      failoverPolicy: {
+        serializedName: "failoverPolicy",
         type: {
           name: "String"
         }
@@ -3621,460 +3281,179 @@ export const VirtualNetworkRule: msRest.CompositeMapper = {
   }
 };
 
-export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = {
-  serializedName: "ExtendedDatabaseBlobAuditingPolicy",
+export const PartnerRegionInfo: msRest.CompositeMapper = {
+  serializedName: "PartnerRegionInfo",
   type: {
     name: "Composite",
-    className: "ExtendedDatabaseBlobAuditingPolicy",
+    className: "PartnerRegionInfo",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      predicateExpression: {
-        serializedName: "properties.predicateExpression",
+      location: {
+        serializedName: "location",
         type: {
           name: "String"
         }
       },
-      state: {
-        required: true,
-        serializedName: "properties.state",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
+      replicationRole: {
+        readOnly: true,
+        serializedName: "replicationRole",
         type: {
           name: "String"
         }
-      },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      }
+    }
+  }
+};
+
+export const ManagedInstancePairInfo: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePairInfo",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePairInfo",
+    modelProperties: {
+      primaryManagedInstanceId: {
+        serializedName: "primaryManagedInstanceId",
         type: {
           name: "String"
         }
       },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
-        type: {
-          name: "Number"
-        }
-      },
-      auditActionsAndGroups: {
-        serializedName: "properties.auditActionsAndGroups",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
-        }
-      },
-      storageAccountSubscriptionId: {
-        serializedName: "properties.storageAccountSubscriptionId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      isStorageSecondaryKeyInUse: {
-        serializedName: "properties.isStorageSecondaryKeyInUse",
-        type: {
-          name: "Boolean"
-        }
-      },
-      isAzureMonitorTargetEnabled: {
-        serializedName: "properties.isAzureMonitorTargetEnabled",
+      partnerManagedInstanceId: {
+        serializedName: "partnerManagedInstanceId",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       }
     }
   }
 };
 
-export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = {
-  serializedName: "ExtendedServerBlobAuditingPolicy",
+export const InstanceFailoverGroup: msRest.CompositeMapper = {
+  serializedName: "InstanceFailoverGroup",
   type: {
     name: "Composite",
-    className: "ExtendedServerBlobAuditingPolicy",
+    className: "InstanceFailoverGroup",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      predicateExpression: {
-        serializedName: "properties.predicateExpression",
-        type: {
-          name: "String"
-        }
-      },
-      state: {
+      readWriteEndpoint: {
         required: true,
-        serializedName: "properties.state",
+        serializedName: "properties.readWriteEndpoint",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
+          name: "Composite",
+          className: "InstanceFailoverGroupReadWriteEndpoint"
         }
       },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
+      readOnlyEndpoint: {
+        serializedName: "properties.readOnlyEndpoint",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "InstanceFailoverGroupReadOnlyEndpoint"
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      replicationRole: {
+        readOnly: true,
+        serializedName: "properties.replicationRole",
         type: {
           name: "String"
         }
       },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
+      replicationState: {
+        readOnly: true,
+        serializedName: "properties.replicationState",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      auditActionsAndGroups: {
-        serializedName: "properties.auditActionsAndGroups",
+      partnerRegions: {
+        required: true,
+        serializedName: "properties.partnerRegions",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "PartnerRegionInfo"
             }
           }
         }
       },
-      storageAccountSubscriptionId: {
-        serializedName: "properties.storageAccountSubscriptionId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      isStorageSecondaryKeyInUse: {
-        serializedName: "properties.isStorageSecondaryKeyInUse",
-        type: {
-          name: "Boolean"
-        }
-      },
-      isAzureMonitorTargetEnabled: {
-        serializedName: "properties.isAzureMonitorTargetEnabled",
+      managedInstancePairs: {
+        required: true,
+        serializedName: "properties.managedInstancePairs",
         type: {
-          name: "Boolean"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstancePairInfo"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const ServerBlobAuditingPolicy: msRest.CompositeMapper = {
-  serializedName: "ServerBlobAuditingPolicy",
+export const InstancePool: msRest.CompositeMapper = {
+  serializedName: "InstancePool",
   type: {
     name: "Composite",
-    className: "ServerBlobAuditingPolicy",
+    className: "InstancePool",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
-        required: true,
-        serializedName: "properties.state",
+      ...TrackedResource.type.modelProperties,
+      sku: {
+        serializedName: "sku",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
+          name: "Composite",
+          className: "Sku"
         }
       },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
+      subnetId: {
+        required: true,
+        serializedName: "properties.subnetId",
         type: {
           name: "String"
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      vCores: {
+        required: true,
+        serializedName: "properties.vCores",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
+      licenseType: {
+        required: true,
+        serializedName: "properties.licenseType",
         type: {
-          name: "Number"
+          name: "String"
         }
-      },
-      auditActionsAndGroups: {
-        serializedName: "properties.auditActionsAndGroups",
+      }
+    }
+  }
+};
+
+export const InstancePoolUpdate: msRest.CompositeMapper = {
+  serializedName: "InstancePoolUpdate",
+  type: {
+    name: "Composite",
+    className: "InstancePoolUpdate",
+    modelProperties: {
+      tags: {
+        serializedName: "tags",
         type: {
-          name: "Sequence",
-          element: {
+          name: "Dictionary",
+          value: {
             type: {
               name: "String"
             }
           }
         }
-      },
-      storageAccountSubscriptionId: {
-        serializedName: "properties.storageAccountSubscriptionId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      isStorageSecondaryKeyInUse: {
-        serializedName: "properties.isStorageSecondaryKeyInUse",
-        type: {
-          name: "Boolean"
-        }
-      },
-      isAzureMonitorTargetEnabled: {
-        serializedName: "properties.isAzureMonitorTargetEnabled",
-        type: {
-          name: "Boolean"
-        }
       }
     }
   }
 };
 
-export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = {
-  serializedName: "DatabaseBlobAuditingPolicy",
-  type: {
-    name: "Composite",
-    className: "DatabaseBlobAuditingPolicy",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      kind: {
-        readOnly: true,
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
-      },
-      state: {
-        required: true,
-        serializedName: "properties.state",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
-        type: {
-          name: "String"
-        }
-      },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
-        type: {
-          name: "String"
-        }
-      },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
-        type: {
-          name: "Number"
-        }
-      },
-      auditActionsAndGroups: {
-        serializedName: "properties.auditActionsAndGroups",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
-        }
-      },
-      storageAccountSubscriptionId: {
-        serializedName: "properties.storageAccountSubscriptionId",
-        type: {
-          name: "Uuid"
-        }
-      },
-      isStorageSecondaryKeyInUse: {
-        serializedName: "properties.isStorageSecondaryKeyInUse",
-        type: {
-          name: "Boolean"
-        }
-      },
-      isAzureMonitorTargetEnabled: {
-        serializedName: "properties.isAzureMonitorTargetEnabled",
-        type: {
-          name: "Boolean"
-        }
-      }
-    }
-  }
-};
-
-export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = {
-  serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem",
-  type: {
-    name: "Composite",
-    className: "DatabaseVulnerabilityAssessmentRuleBaselineItem",
-    modelProperties: {
-      result: {
-        required: true,
-        serializedName: "result",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
-        }
-      }
-    }
-  }
-};
-
-export const DatabaseVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = {
-  serializedName: "DatabaseVulnerabilityAssessmentRuleBaseline",
-  type: {
-    name: "Composite",
-    className: "DatabaseVulnerabilityAssessmentRuleBaseline",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      baselineResults: {
-        required: true,
-        serializedName: "properties.baselineResults",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "DatabaseVulnerabilityAssessmentRuleBaselineItem"
-            }
-          }
-        }
-      }
-    }
-  }
-};
-
-export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = {
-  serializedName: "VulnerabilityAssessmentRecurringScansProperties",
-  type: {
-    name: "Composite",
-    className: "VulnerabilityAssessmentRecurringScansProperties",
-    modelProperties: {
-      isEnabled: {
-        serializedName: "isEnabled",
-        type: {
-          name: "Boolean"
-        }
-      },
-      emailSubscriptionAdmins: {
-        serializedName: "emailSubscriptionAdmins",
-        defaultValue: true,
-        type: {
-          name: "Boolean"
-        }
-      },
-      emails: {
-        serializedName: "emails",
-        type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
-        }
-      }
-    }
-  }
-};
-
-export const DatabaseVulnerabilityAssessment: msRest.CompositeMapper = {
-  serializedName: "DatabaseVulnerabilityAssessment",
-  type: {
-    name: "Composite",
-    className: "DatabaseVulnerabilityAssessment",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      storageContainerPath: {
-        serializedName: "properties.storageContainerPath",
-        type: {
-          name: "String"
-        }
-      },
-      storageContainerSasKey: {
-        serializedName: "properties.storageContainerSasKey",
-        type: {
-          name: "String"
-        }
-      },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
-        type: {
-          name: "String"
-        }
-      },
-      recurringScans: {
-        serializedName: "properties.recurringScans",
-        type: {
-          name: "Composite",
-          className: "VulnerabilityAssessmentRecurringScansProperties"
-        }
-      }
-    }
-  }
-};
-
-export const Sku: msRest.CompositeMapper = {
-  serializedName: "Sku",
-  type: {
-    name: "Composite",
-    className: "Sku",
-    modelProperties: {
-      name: {
-        required: true,
-        serializedName: "name",
-        type: {
-          name: "String"
-        }
-      },
-      tier: {
-        serializedName: "tier",
-        type: {
-          name: "String"
-        }
-      },
-      size: {
-        serializedName: "size",
-        type: {
-          name: "String"
-        }
-      },
-      family: {
-        serializedName: "family",
-        type: {
-          name: "String"
-        }
-      },
-      capacity: {
-        serializedName: "capacity",
-        type: {
-          name: "Number"
-        }
-      }
-    }
-  }
-};
-
-export const JobAgent: msRest.CompositeMapper = {
-  serializedName: "JobAgent",
+export const JobAgent: msRest.CompositeMapper = {
+  serializedName: "JobAgent",
   type: {
     name: "Composite",
     className: "JobAgent",
@@ -4292,14 +3671,14 @@ export const JobSchedule: msRest.CompositeMapper = {
     modelProperties: {
       startTime: {
         serializedName: "startTime",
-        defaultValue: new Date('0001-01-01T00:00:00Z'),
+        defaultValue: new Date('0001-01-01T00:00:00+00:00'),
         type: {
           name: "DateTime"
         }
       },
       endTime: {
         serializedName: "endTime",
-        defaultValue: new Date('9999-12-31T11:59:59Z'),
+        defaultValue: new Date('9999-12-31T11:59:59+00:00'),
         type: {
           name: "DateTime"
         }
@@ -4649,218 +4028,298 @@ export const JobVersion: msRest.CompositeMapper = {
   }
 };
 
-export const LongTermRetentionBackup: msRest.CompositeMapper = {
-  serializedName: "LongTermRetentionBackup",
+export const MaxSizeCapability: msRest.CompositeMapper = {
+  serializedName: "MaxSizeCapability",
   type: {
     name: "Composite",
-    className: "LongTermRetentionBackup",
+    className: "MaxSizeCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      serverName: {
-        readOnly: true,
-        serializedName: "properties.serverName",
-        type: {
-          name: "String"
-        }
-      },
-      serverCreateTime: {
+      limit: {
         readOnly: true,
-        serializedName: "properties.serverCreateTime",
+        serializedName: "limit",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      databaseName: {
+      unit: {
         readOnly: true,
-        serializedName: "properties.databaseName",
+        serializedName: "unit",
         type: {
           name: "String"
         }
-      },
-      databaseDeletionTime: {
-        readOnly: true,
-        serializedName: "properties.databaseDeletionTime",
-        type: {
-          name: "DateTime"
-        }
-      },
-      backupTime: {
+      }
+    }
+  }
+};
+
+export const LogSizeCapability: msRest.CompositeMapper = {
+  serializedName: "LogSizeCapability",
+  type: {
+    name: "Composite",
+    className: "LogSizeCapability",
+    modelProperties: {
+      limit: {
         readOnly: true,
-        serializedName: "properties.backupTime",
+        serializedName: "limit",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      backupExpirationTime: {
+      unit: {
         readOnly: true,
-        serializedName: "properties.backupExpirationTime",
+        serializedName: "unit",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       }
     }
   }
 };
 
-export const BackupLongTermRetentionPolicy: msRest.CompositeMapper = {
-  serializedName: "BackupLongTermRetentionPolicy",
+export const MaxSizeRangeCapability: msRest.CompositeMapper = {
+  serializedName: "MaxSizeRangeCapability",
   type: {
     name: "Composite",
-    className: "BackupLongTermRetentionPolicy",
+    className: "MaxSizeRangeCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      weeklyRetention: {
-        serializedName: "properties.weeklyRetention",
+      minValue: {
+        readOnly: true,
+        serializedName: "minValue",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
-      monthlyRetention: {
-        serializedName: "properties.monthlyRetention",
+      maxValue: {
+        readOnly: true,
+        serializedName: "maxValue",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
-      yearlyRetention: {
-        serializedName: "properties.yearlyRetention",
+      scaleSize: {
+        readOnly: true,
+        serializedName: "scaleSize",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
-      weekOfYear: {
-        serializedName: "properties.weekOfYear",
+      logSize: {
+        readOnly: true,
+        serializedName: "logSize",
         type: {
-          name: "Number"
+          name: "Composite",
+          className: "LogSizeCapability"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "status",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
+        }
+      },
+      reason: {
+        serializedName: "reason",
+        type: {
+          name: "String"
         }
       }
     }
   }
 };
 
-export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = {
-  serializedName: "ManagedBackupShortTermRetentionPolicy",
+export const PerformanceLevelCapability: msRest.CompositeMapper = {
+  serializedName: "PerformanceLevelCapability",
   type: {
     name: "Composite",
-    className: "ManagedBackupShortTermRetentionPolicy",
+    className: "PerformanceLevelCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      retentionDays: {
-        serializedName: "properties.retentionDays",
+      value: {
+        readOnly: true,
+        serializedName: "value",
         type: {
           name: "Number"
         }
+      },
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const AutomaticTuningServerOptions: msRest.CompositeMapper = {
-  serializedName: "AutomaticTuningServerOptions",
+export const LicenseTypeCapability: msRest.CompositeMapper = {
+  serializedName: "LicenseTypeCapability",
   type: {
     name: "Composite",
-    className: "AutomaticTuningServerOptions",
+    className: "LicenseTypeCapability",
     modelProperties: {
-      desiredState: {
-        serializedName: "desiredState",
+      name: {
+        readOnly: true,
+        serializedName: "name",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Off",
-            "On",
-            "Default"
-          ]
+          name: "String"
         }
       },
-      actualState: {
+      status: {
         readOnly: true,
-        serializedName: "actualState",
+        serializedName: "status",
         type: {
           name: "Enum",
           allowedValues: [
-            "Off",
-            "On"
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
           ]
         }
       },
-      reasonCode: {
+      reason: {
+        serializedName: "reason",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const AutoPauseDelayTimeRange: msRest.CompositeMapper = {
+  serializedName: "AutoPauseDelayTimeRange",
+  type: {
+    name: "Composite",
+    className: "AutoPauseDelayTimeRange",
+    modelProperties: {
+      minValue: {
         readOnly: true,
-        serializedName: "reasonCode",
+        serializedName: "minValue",
         type: {
           name: "Number"
         }
       },
-      reasonDesc: {
+      maxValue: {
         readOnly: true,
-        serializedName: "reasonDesc",
+        serializedName: "maxValue",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Default",
-            "Disabled",
-            "AutoConfigured"
-          ]
+          name: "Number"
+        }
+      },
+      stepSize: {
+        readOnly: true,
+        serializedName: "stepSize",
+        type: {
+          name: "Number"
+        }
+      },
+      default: {
+        readOnly: true,
+        serializedName: "default",
+        type: {
+          name: "Number"
+        }
+      },
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
+        type: {
+          name: "String"
+        }
+      },
+      doNotPauseValue: {
+        readOnly: true,
+        serializedName: "doNotPauseValue",
+        type: {
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const ServerAutomaticTuning: msRest.CompositeMapper = {
-  serializedName: "ServerAutomaticTuning",
+export const MinCapacityCapability: msRest.CompositeMapper = {
+  serializedName: "MinCapacityCapability",
   type: {
     name: "Composite",
-    className: "ServerAutomaticTuning",
+    className: "MinCapacityCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      desiredState: {
-        serializedName: "properties.desiredState",
+      value: {
+        readOnly: true,
+        serializedName: "value",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Custom",
-            "Auto",
-            "Unspecified"
-          ]
+          name: "Number"
         }
       },
-      actualState: {
+      status: {
         readOnly: true,
-        serializedName: "properties.actualState",
+        serializedName: "status",
         type: {
           name: "Enum",
           allowedValues: [
-            "Custom",
-            "Auto",
-            "Unspecified"
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
           ]
         }
       },
-      options: {
-        serializedName: "properties.options",
+      reason: {
+        serializedName: "reason",
         type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "Composite",
-              className: "AutomaticTuningServerOptions"
-            }
-          }
+          name: "String"
         }
       }
     }
   }
 };
 
-export const ServerDnsAlias: msRest.CompositeMapper = {
-  serializedName: "ServerDnsAlias",
+export const MaintenanceConfigurationCapability: msRest.CompositeMapper = {
+  serializedName: "MaintenanceConfigurationCapability",
   type: {
     name: "Composite",
-    className: "ServerDnsAlias",
+    className: "MaintenanceConfigurationCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      azureDnsRecord: {
+      name: {
         readOnly: true,
-        serializedName: "properties.azureDnsRecord",
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      zoneRedundant: {
+        readOnly: true,
+        serializedName: "zoneRedundant",
+        type: {
+          name: "Boolean"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "status",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
+        }
+      },
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
@@ -4869,179 +4328,175 @@ export const ServerDnsAlias: msRest.CompositeMapper = {
   }
 };
 
-export const ServerDnsAliasAcquisition: msRest.CompositeMapper = {
-  serializedName: "ServerDnsAliasAcquisition",
+export const ServiceObjectiveCapability: msRest.CompositeMapper = {
+  serializedName: "ServiceObjectiveCapability",
   type: {
     name: "Composite",
-    className: "ServerDnsAliasAcquisition",
+    className: "ServiceObjectiveCapability",
     modelProperties: {
-      oldServerDnsAliasId: {
-        serializedName: "oldServerDnsAliasId",
+      id: {
+        readOnly: true,
+        serializedName: "id",
         type: {
-          name: "String"
+          name: "Uuid"
         }
-      }
-    }
-  }
-};
-
-export const ServerSecurityAlertPolicy: msRest.CompositeMapper = {
-  serializedName: "ServerSecurityAlertPolicy",
-  type: {
-    name: "Composite",
-    className: "ServerSecurityAlertPolicy",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
-        required: true,
-        serializedName: "properties.state",
+      },
+      name: {
+        readOnly: true,
+        serializedName: "name",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "New",
-            "Enabled",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      disabledAlerts: {
-        serializedName: "properties.disabledAlerts",
+      supportedMaxSizes: {
+        readOnly: true,
+        serializedName: "supportedMaxSizes",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "MaxSizeRangeCapability"
             }
           }
         }
       },
-      emailAddresses: {
-        serializedName: "properties.emailAddresses",
+      performanceLevel: {
+        readOnly: true,
+        serializedName: "performanceLevel",
+        type: {
+          name: "Composite",
+          className: "PerformanceLevelCapability"
+        }
+      },
+      sku: {
+        readOnly: true,
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      supportedLicenseTypes: {
+        readOnly: true,
+        serializedName: "supportedLicenseTypes",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "LicenseTypeCapability"
             }
           }
         }
       },
-      emailAccountAdmins: {
-        serializedName: "properties.emailAccountAdmins",
-        type: {
-          name: "Boolean"
-        }
-      },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
+      includedMaxSize: {
+        readOnly: true,
+        serializedName: "includedMaxSize",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      zoneRedundant: {
+        readOnly: true,
+        serializedName: "zoneRedundant",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
+      supportedAutoPauseDelay: {
+        readOnly: true,
+        serializedName: "supportedAutoPauseDelay",
         type: {
-          name: "Number"
+          name: "Composite",
+          className: "AutoPauseDelayTimeRange"
         }
       },
-      creationTime: {
+      supportedMinCapacities: {
         readOnly: true,
-        serializedName: "properties.creationTime",
+        serializedName: "supportedMinCapacities",
         type: {
-          name: "DateTime"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MinCapacityCapability"
+            }
+          }
         }
-      }
-    }
-  }
-};
-
-export const RestorableDroppedManagedDatabase: msRest.CompositeMapper = {
-  serializedName: "RestorableDroppedManagedDatabase",
-  type: {
-    name: "Composite",
-    className: "RestorableDroppedManagedDatabase",
-    modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      databaseName: {
+      },
+      computeModel: {
         readOnly: true,
-        serializedName: "properties.databaseName",
+        serializedName: "computeModel",
         type: {
           name: "String"
         }
       },
-      creationDate: {
+      supportedMaintenanceConfigurations: {
         readOnly: true,
-        serializedName: "properties.creationDate",
+        serializedName: "supportedMaintenanceConfigurations",
         type: {
-          name: "DateTime"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MaintenanceConfigurationCapability"
+            }
+          }
         }
       },
-      deletionDate: {
+      status: {
         readOnly: true,
-        serializedName: "properties.deletionDate",
+        serializedName: "status",
         type: {
-          name: "DateTime"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      earliestRestoreDate: {
-        readOnly: true,
-        serializedName: "properties.earliestRestoreDate",
+      reason: {
+        serializedName: "reason",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       }
     }
   }
 };
 
-export const RestorePoint: msRest.CompositeMapper = {
-  serializedName: "RestorePoint",
+export const ReadScaleCapability: msRest.CompositeMapper = {
+  serializedName: "ReadScaleCapability",
   type: {
     name: "Composite",
-    className: "RestorePoint",
+    className: "ReadScaleCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      location: {
+      maxNumberOfReplicas: {
         readOnly: true,
-        serializedName: "location",
+        serializedName: "maxNumberOfReplicas",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      restorePointType: {
+      status: {
         readOnly: true,
-        serializedName: "properties.restorePointType",
+        serializedName: "status",
         type: {
           name: "Enum",
           allowedValues: [
-            "CONTINUOUS",
-            "DISCRETE"
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
           ]
         }
       },
-      earliestRestoreDate: {
-        readOnly: true,
-        serializedName: "properties.earliestRestoreDate",
-        type: {
-          name: "DateTime"
-        }
-      },
-      restorePointCreationDate: {
-        readOnly: true,
-        serializedName: "properties.restorePointCreationDate",
-        type: {
-          name: "DateTime"
-        }
-      },
-      restorePointLabel: {
-        readOnly: true,
-        serializedName: "properties.restorePointLabel",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
@@ -5050,15 +4505,34 @@ export const RestorePoint: msRest.CompositeMapper = {
   }
 };
 
-export const CreateDatabaseRestorePointDefinition: msRest.CompositeMapper = {
-  serializedName: "CreateDatabaseRestorePointDefinition",
+export const StorageCapability: msRest.CompositeMapper = {
+  serializedName: "StorageCapability",
   type: {
     name: "Composite",
-    className: "CreateDatabaseRestorePointDefinition",
+    className: "StorageCapability",
     modelProperties: {
-      restorePointLabel: {
-        required: true,
-        serializedName: "restorePointLabel",
+      storageAccountType: {
+        readOnly: true,
+        serializedName: "storageAccountType",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "status",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
+        }
+      },
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
@@ -5067,498 +4541,460 @@ export const CreateDatabaseRestorePointDefinition: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedDatabaseSecurityAlertPolicy: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabaseSecurityAlertPolicy",
+export const EditionCapability: msRest.CompositeMapper = {
+  serializedName: "EditionCapability",
   type: {
     name: "Composite",
-    className: "ManagedDatabaseSecurityAlertPolicy",
+    className: "EditionCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
-        required: true,
-        serializedName: "properties.state",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "New",
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      disabledAlerts: {
-        serializedName: "properties.disabledAlerts",
+      name: {
+        readOnly: true,
+        serializedName: "name",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "String"
         }
       },
-      emailAddresses: {
-        serializedName: "properties.emailAddresses",
+      supportedServiceLevelObjectives: {
+        readOnly: true,
+        serializedName: "supportedServiceLevelObjectives",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "ServiceObjectiveCapability"
             }
           }
         }
       },
-      emailAccountAdmins: {
-        serializedName: "properties.emailAccountAdmins",
+      zoneRedundant: {
+        readOnly: true,
+        serializedName: "zoneRedundant",
         type: {
           name: "Boolean"
         }
       },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
-        type: {
-          name: "String"
-        }
-      },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
-        type: {
-          name: "String"
-        }
-      },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
-        type: {
-          name: "Number"
-        }
-      },
-      creationTime: {
+      readScale: {
         readOnly: true,
-        serializedName: "properties.creationTime",
-        type: {
-          name: "DateTime"
-        }
-      }
-    }
-  }
-};
-
-export const ManagedServerSecurityAlertPolicy: msRest.CompositeMapper = {
-  serializedName: "ManagedServerSecurityAlertPolicy",
-  type: {
-    name: "Composite",
-    className: "ManagedServerSecurityAlertPolicy",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      state: {
-        required: true,
-        serializedName: "properties.state",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "New",
-            "Enabled",
-            "Disabled"
-          ]
-        }
-      },
-      disabledAlerts: {
-        serializedName: "properties.disabledAlerts",
+        serializedName: "readScale",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "Composite",
+          className: "ReadScaleCapability"
         }
       },
-      emailAddresses: {
-        serializedName: "properties.emailAddresses",
+      supportedStorageCapabilities: {
+        readOnly: true,
+        serializedName: "supportedStorageCapabilities",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "StorageCapability"
             }
           }
         }
       },
-      emailAccountAdmins: {
-        serializedName: "properties.emailAccountAdmins",
-        type: {
-          name: "Boolean"
-        }
-      },
-      storageEndpoint: {
-        serializedName: "properties.storageEndpoint",
+      status: {
+        readOnly: true,
+        serializedName: "status",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
-      },
-      retentionDays: {
-        serializedName: "properties.retentionDays",
-        type: {
-          name: "Number"
-        }
-      },
-      creationTime: {
-        readOnly: true,
-        serializedName: "properties.creationTime",
-        type: {
-          name: "DateTime"
-        }
       }
     }
   }
 };
 
-export const SensitivityLabel: msRest.CompositeMapper = {
-  serializedName: "SensitivityLabel",
+export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability",
   type: {
     name: "Composite",
-    className: "SensitivityLabel",
+    className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      labelName: {
-        serializedName: "properties.labelName",
+      limit: {
+        readOnly: true,
+        serializedName: "limit",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      labelId: {
-        serializedName: "properties.labelId",
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
         type: {
           name: "String"
         }
       },
-      informationType: {
-        serializedName: "properties.informationType",
+      status: {
+        readOnly: true,
+        serializedName: "status",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      informationTypeId: {
-        serializedName: "properties.informationTypeId",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
-      },
-      isDisabled: {
-        readOnly: true,
-        serializedName: "properties.isDisabled",
-        type: {
-          name: "Boolean"
-        }
       }
     }
   }
 };
 
-export const ManagedInstanceAdministrator: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceAdministrator",
+export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability",
   type: {
     name: "Composite",
-    className: "ManagedInstanceAdministrator",
+    className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      administratorType: {
-        required: true,
-        isConstant: true,
-        serializedName: "properties.administratorType",
-        defaultValue: 'ActiveDirectory',
+      limit: {
+        readOnly: true,
+        serializedName: "limit",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      login: {
-        required: true,
-        serializedName: "properties.login",
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
         type: {
           name: "String"
         }
       },
-      sid: {
-        required: true,
-        serializedName: "properties.sid",
+      supportedPerDatabaseMinPerformanceLevels: {
+        readOnly: true,
+        serializedName: "supportedPerDatabaseMinPerformanceLevels",
         type: {
-          name: "Uuid"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability"
+            }
+          }
         }
       },
-      tenantId: {
-        serializedName: "properties.tenantId",
+      status: {
+        readOnly: true,
+        serializedName: "status",
         type: {
-          name: "Uuid"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
+        }
+      },
+      reason: {
+        serializedName: "reason",
+        type: {
+          name: "String"
         }
       }
     }
   }
 };
 
-export const DatabaseOperation: msRest.CompositeMapper = {
-  serializedName: "DatabaseOperation",
+export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolPerformanceLevelCapability",
   type: {
     name: "Composite",
-    className: "DatabaseOperation",
+    className: "ElasticPoolPerformanceLevelCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      databaseName: {
+      performanceLevel: {
         readOnly: true,
-        serializedName: "properties.databaseName",
+        serializedName: "performanceLevel",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "PerformanceLevelCapability"
         }
       },
-      operation: {
+      sku: {
         readOnly: true,
-        serializedName: "properties.operation",
+        serializedName: "sku",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "Sku"
         }
       },
-      operationFriendlyName: {
+      supportedLicenseTypes: {
         readOnly: true,
-        serializedName: "properties.operationFriendlyName",
+        serializedName: "supportedLicenseTypes",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "LicenseTypeCapability"
+            }
+          }
         }
       },
-      percentComplete: {
+      maxDatabaseCount: {
         readOnly: true,
-        serializedName: "properties.percentComplete",
+        serializedName: "maxDatabaseCount",
         type: {
           name: "Number"
         }
       },
-      serverName: {
+      includedMaxSize: {
         readOnly: true,
-        serializedName: "properties.serverName",
+        serializedName: "includedMaxSize",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
-      startTime: {
+      supportedMaxSizes: {
         readOnly: true,
-        serializedName: "properties.startTime",
+        serializedName: "supportedMaxSizes",
         type: {
-          name: "DateTime"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MaxSizeRangeCapability"
+            }
+          }
         }
       },
-      state: {
+      supportedPerDatabaseMaxSizes: {
         readOnly: true,
-        serializedName: "properties.state",
-        type: {
-          name: "String"
-        }
-      },
-      errorCode: {
-        readOnly: true,
-        serializedName: "properties.errorCode",
-        type: {
-          name: "Number"
-        }
-      },
-      errorDescription: {
-        readOnly: true,
-        serializedName: "properties.errorDescription",
+        serializedName: "supportedPerDatabaseMaxSizes",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MaxSizeRangeCapability"
+            }
+          }
         }
       },
-      errorSeverity: {
+      supportedPerDatabaseMaxPerformanceLevels: {
         readOnly: true,
-        serializedName: "properties.errorSeverity",
+        serializedName: "supportedPerDatabaseMaxPerformanceLevels",
         type: {
-          name: "Number"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability"
+            }
+          }
         }
       },
-      isUserError: {
+      zoneRedundant: {
         readOnly: true,
-        serializedName: "properties.isUserError",
+        serializedName: "zoneRedundant",
         type: {
           name: "Boolean"
         }
       },
-      estimatedCompletionTime: {
+      supportedMaintenanceConfigurations: {
         readOnly: true,
-        serializedName: "properties.estimatedCompletionTime",
+        serializedName: "supportedMaintenanceConfigurations",
         type: {
-          name: "DateTime"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MaintenanceConfigurationCapability"
+            }
+          }
         }
       },
-      description: {
+      status: {
         readOnly: true,
-        serializedName: "properties.description",
+        serializedName: "status",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      isCancellable: {
-        readOnly: true,
-        serializedName: "properties.isCancellable",
+      reason: {
+        serializedName: "reason",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       }
     }
   }
 };
 
-export const ElasticPoolOperation: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolOperation",
+export const ElasticPoolEditionCapability: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolEditionCapability",
   type: {
     name: "Composite",
-    className: "ElasticPoolOperation",
+    className: "ElasticPoolEditionCapability",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      elasticPoolName: {
-        readOnly: true,
-        serializedName: "properties.elasticPoolName",
-        type: {
-          name: "String"
-        }
-      },
-      operation: {
-        readOnly: true,
-        serializedName: "properties.operation",
-        type: {
-          name: "String"
-        }
-      },
-      operationFriendlyName: {
+      name: {
         readOnly: true,
-        serializedName: "properties.operationFriendlyName",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      percentComplete: {
+      supportedElasticPoolPerformanceLevels: {
         readOnly: true,
-        serializedName: "properties.percentComplete",
+        serializedName: "supportedElasticPoolPerformanceLevels",
         type: {
-          name: "Number"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolPerformanceLevelCapability"
+            }
+          }
         }
       },
-      serverName: {
+      zoneRedundant: {
         readOnly: true,
-        serializedName: "properties.serverName",
+        serializedName: "zoneRedundant",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      startTime: {
+      status: {
         readOnly: true,
-        serializedName: "properties.startTime",
+        serializedName: "status",
         type: {
-          name: "DateTime"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      state: {
-        readOnly: true,
-        serializedName: "properties.state",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
-      },
-      errorCode: {
-        readOnly: true,
-        serializedName: "properties.errorCode",
-        type: {
-          name: "Number"
-        }
-      },
-      errorDescription: {
+      }
+    }
+  }
+};
+
+export const ServerVersionCapability: msRest.CompositeMapper = {
+  serializedName: "ServerVersionCapability",
+  type: {
+    name: "Composite",
+    className: "ServerVersionCapability",
+    modelProperties: {
+      name: {
         readOnly: true,
-        serializedName: "properties.errorDescription",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      errorSeverity: {
+      supportedEditions: {
         readOnly: true,
-        serializedName: "properties.errorSeverity",
+        serializedName: "supportedEditions",
         type: {
-          name: "Number"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "EditionCapability"
+            }
+          }
         }
       },
-      isUserError: {
+      supportedElasticPoolEditions: {
         readOnly: true,
-        serializedName: "properties.isUserError",
+        serializedName: "supportedElasticPoolEditions",
         type: {
-          name: "Boolean"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolEditionCapability"
+            }
+          }
         }
       },
-      estimatedCompletionTime: {
+      status: {
         readOnly: true,
-        serializedName: "properties.estimatedCompletionTime",
+        serializedName: "status",
         type: {
-          name: "DateTime"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      description: {
-        readOnly: true,
-        serializedName: "properties.description",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
-      },
-      isCancellable: {
-        readOnly: true,
-        serializedName: "properties.isCancellable",
-        type: {
-          name: "Boolean"
-        }
       }
     }
   }
 };
 
-export const MaxSizeCapability: msRest.CompositeMapper = {
-  serializedName: "MaxSizeCapability",
+export const ManagedInstanceMaintenanceConfigurationCapability: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceMaintenanceConfigurationCapability",
   type: {
     name: "Composite",
-    className: "MaxSizeCapability",
+    className: "ManagedInstanceMaintenanceConfigurationCapability",
     modelProperties: {
-      limit: {
-        readOnly: true,
-        serializedName: "limit",
-        type: {
-          name: "Number"
-        }
-      },
-      unit: {
+      name: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "name",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const LogSizeCapability: msRest.CompositeMapper = {
-  serializedName: "LogSizeCapability",
-  type: {
-    name: "Composite",
-    className: "LogSizeCapability",
-    modelProperties: {
-      limit: {
+      },
+      status: {
         readOnly: true,
-        serializedName: "limit",
+        serializedName: "status",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      unit: {
-        readOnly: true,
-        serializedName: "unit",
+      reason: {
+        serializedName: "reason",
         type: {
           name: "String"
         }
@@ -5567,42 +5003,72 @@ export const LogSizeCapability: msRest.CompositeMapper = {
   }
 };
 
-export const MaxSizeRangeCapability: msRest.CompositeMapper = {
-  serializedName: "MaxSizeRangeCapability",
+export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceVcoresCapability",
   type: {
     name: "Composite",
-    className: "MaxSizeRangeCapability",
+    className: "ManagedInstanceVcoresCapability",
     modelProperties: {
-      minValue: {
+      name: {
         readOnly: true,
-        serializedName: "minValue",
+        serializedName: "name",
         type: {
-          name: "Composite",
-          className: "MaxSizeCapability"
+          name: "String"
         }
       },
-      maxValue: {
+      value: {
         readOnly: true,
-        serializedName: "maxValue",
+        serializedName: "value",
         type: {
-          name: "Composite",
-          className: "MaxSizeCapability"
+          name: "Number"
         }
       },
-      scaleSize: {
+      includedMaxSize: {
         readOnly: true,
-        serializedName: "scaleSize",
+        serializedName: "includedMaxSize",
         type: {
           name: "Composite",
           className: "MaxSizeCapability"
         }
       },
-      logSize: {
+      supportedStorageSizes: {
         readOnly: true,
-        serializedName: "logSize",
+        serializedName: "supportedStorageSizes",
         type: {
-          name: "Composite",
-          className: "LogSizeCapability"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MaxSizeRangeCapability"
+            }
+          }
+        }
+      },
+      instancePoolSupported: {
+        readOnly: true,
+        serializedName: "instancePoolSupported",
+        type: {
+          name: "Boolean"
+        }
+      },
+      standaloneSupported: {
+        readOnly: true,
+        serializedName: "standaloneSupported",
+        type: {
+          name: "Boolean"
+        }
+      },
+      supportedMaintenanceConfigurations: {
+        readOnly: true,
+        serializedName: "supportedMaintenanceConfigurations",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstanceMaintenanceConfigurationCapability"
+            }
+          }
         }
       },
       status: {
@@ -5628,41 +5094,50 @@ export const MaxSizeRangeCapability: msRest.CompositeMapper = {
   }
 };
 
-export const PerformanceLevelCapability: msRest.CompositeMapper = {
-  serializedName: "PerformanceLevelCapability",
+export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceFamilyCapability",
   type: {
     name: "Composite",
-    className: "PerformanceLevelCapability",
+    className: "ManagedInstanceFamilyCapability",
     modelProperties: {
-      value: {
+      name: {
         readOnly: true,
-        serializedName: "value",
+        serializedName: "name",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      unit: {
+      sku: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "sku",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const LicenseTypeCapability: msRest.CompositeMapper = {
-  serializedName: "LicenseTypeCapability",
-  type: {
-    name: "Composite",
-    className: "LicenseTypeCapability",
-    modelProperties: {
-      name: {
+      },
+      supportedLicenseTypes: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "supportedLicenseTypes",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "LicenseTypeCapability"
+            }
+          }
+        }
+      },
+      supportedVcoresValues: {
+        readOnly: true,
+        serializedName: "supportedVcoresValues",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstanceVcoresCapability"
+            }
+          }
         }
       },
       status: {
@@ -5688,19 +5163,12 @@ export const LicenseTypeCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ServiceObjectiveCapability: msRest.CompositeMapper = {
-  serializedName: "ServiceObjectiveCapability",
+export const ManagedInstanceEditionCapability: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceEditionCapability",
   type: {
     name: "Composite",
-    className: "ServiceObjectiveCapability",
+    className: "ManagedInstanceEditionCapability",
     modelProperties: {
-      id: {
-        readOnly: true,
-        serializedName: "id",
-        type: {
-          name: "Uuid"
-        }
-      },
       name: {
         readOnly: true,
         serializedName: "name",
@@ -5708,54 +5176,37 @@ export const ServiceObjectiveCapability: msRest.CompositeMapper = {
           name: "String"
         }
       },
-      supportedMaxSizes: {
+      supportedFamilies: {
         readOnly: true,
-        serializedName: "supportedMaxSizes",
+        serializedName: "supportedFamilies",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "MaxSizeRangeCapability"
+              className: "ManagedInstanceFamilyCapability"
             }
           }
         }
       },
-      performanceLevel: {
-        readOnly: true,
-        serializedName: "performanceLevel",
-        type: {
-          name: "Composite",
-          className: "PerformanceLevelCapability"
-        }
-      },
-      sku: {
-        readOnly: true,
-        serializedName: "sku",
-        type: {
-          name: "Composite",
-          className: "Sku"
-        }
-      },
-      supportedLicenseTypes: {
+      supportedStorageCapabilities: {
         readOnly: true,
-        serializedName: "supportedLicenseTypes",
+        serializedName: "supportedStorageCapabilities",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "LicenseTypeCapability"
+              className: "StorageCapability"
             }
           }
         }
       },
-      includedMaxSize: {
+      zoneRedundant: {
         readOnly: true,
-        serializedName: "includedMaxSize",
+        serializedName: "zoneRedundant",
         type: {
-          name: "Composite",
-          className: "MaxSizeCapability"
+          name: "Boolean"
         }
       },
       status: {
@@ -5781,11 +5232,11 @@ export const ServiceObjectiveCapability: msRest.CompositeMapper = {
   }
 };
 
-export const EditionCapability: msRest.CompositeMapper = {
-  serializedName: "EditionCapability",
+export const InstancePoolVcoresCapability: msRest.CompositeMapper = {
+  serializedName: "InstancePoolVcoresCapability",
   type: {
     name: "Composite",
-    className: "EditionCapability",
+    className: "InstancePoolVcoresCapability",
     modelProperties: {
       name: {
         readOnly: true,
@@ -5794,24 +5245,19 @@ export const EditionCapability: msRest.CompositeMapper = {
           name: "String"
         }
       },
-      supportedServiceLevelObjectives: {
+      value: {
         readOnly: true,
-        serializedName: "supportedServiceLevelObjectives",
+        serializedName: "value",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ServiceObjectiveCapability"
-            }
-          }
+          name: "Number"
         }
       },
-      zoneRedundant: {
+      storageLimit: {
         readOnly: true,
-        serializedName: "zoneRedundant",
+        serializedName: "storageLimit",
         type: {
-          name: "Boolean"
+          name: "Composite",
+          className: "MaxSizeCapability"
         }
       },
       status: {
@@ -5837,24 +5283,43 @@ export const EditionCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability",
+export const InstancePoolFamilyCapability: msRest.CompositeMapper = {
+  serializedName: "InstancePoolFamilyCapability",
   type: {
     name: "Composite",
-    className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability",
+    className: "InstancePoolFamilyCapability",
     modelProperties: {
-      limit: {
+      name: {
         readOnly: true,
-        serializedName: "limit",
+        serializedName: "name",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      unit: {
+      supportedLicenseTypes: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "supportedLicenseTypes",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "LicenseTypeCapability"
+            }
+          }
+        }
+      },
+      supportedVcoresValues: {
+        readOnly: true,
+        serializedName: "supportedVcoresValues",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "InstancePoolVcoresCapability"
+            }
+          }
         }
       },
       status: {
@@ -5880,35 +5345,28 @@ export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.Composi
   }
 };
 
-export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability",
+export const InstancePoolEditionCapability: msRest.CompositeMapper = {
+  serializedName: "InstancePoolEditionCapability",
   type: {
     name: "Composite",
-    className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability",
+    className: "InstancePoolEditionCapability",
     modelProperties: {
-      limit: {
-        readOnly: true,
-        serializedName: "limit",
-        type: {
-          name: "Number"
-        }
-      },
-      unit: {
+      name: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      supportedPerDatabaseMinPerformanceLevels: {
+      supportedFamilies: {
         readOnly: true,
-        serializedName: "supportedPerDatabaseMinPerformanceLevels",
+        serializedName: "supportedFamilies",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability"
+              className: "InstancePoolFamilyCapability"
             }
           }
         }
@@ -5936,91 +5394,103 @@ export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.Composi
   }
 };
 
-export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolPerformanceLevelCapability",
+export const ManagedInstanceVersionCapability: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceVersionCapability",
   type: {
     name: "Composite",
-    className: "ElasticPoolPerformanceLevelCapability",
+    className: "ManagedInstanceVersionCapability",
     modelProperties: {
-      performanceLevel: {
+      name: {
         readOnly: true,
-        serializedName: "performanceLevel",
+        serializedName: "name",
         type: {
-          name: "Composite",
-          className: "PerformanceLevelCapability"
+          name: "String"
         }
       },
-      sku: {
+      supportedEditions: {
         readOnly: true,
-        serializedName: "sku",
+        serializedName: "supportedEditions",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstanceEditionCapability"
+            }
+          }
         }
       },
-      supportedLicenseTypes: {
+      supportedInstancePoolEditions: {
         readOnly: true,
-        serializedName: "supportedLicenseTypes",
+        serializedName: "supportedInstancePoolEditions",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "LicenseTypeCapability"
+              className: "InstancePoolEditionCapability"
             }
           }
         }
       },
-      maxDatabaseCount: {
+      status: {
         readOnly: true,
-        serializedName: "maxDatabaseCount",
+        serializedName: "status",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "Visible",
+            "Available",
+            "Default",
+            "Disabled"
+          ]
         }
       },
-      includedMaxSize: {
-        readOnly: true,
-        serializedName: "includedMaxSize",
+      reason: {
+        serializedName: "reason",
         type: {
-          name: "Composite",
-          className: "MaxSizeCapability"
+          name: "String"
         }
-      },
-      supportedMaxSizes: {
+      }
+    }
+  }
+};
+
+export const LocationCapabilities: msRest.CompositeMapper = {
+  serializedName: "LocationCapabilities",
+  type: {
+    name: "Composite",
+    className: "LocationCapabilities",
+    modelProperties: {
+      name: {
         readOnly: true,
-        serializedName: "supportedMaxSizes",
+        serializedName: "name",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "MaxSizeRangeCapability"
-            }
-          }
+          name: "String"
         }
       },
-      supportedPerDatabaseMaxSizes: {
+      supportedServerVersions: {
         readOnly: true,
-        serializedName: "supportedPerDatabaseMaxSizes",
+        serializedName: "supportedServerVersions",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "MaxSizeRangeCapability"
+              className: "ServerVersionCapability"
             }
           }
         }
       },
-      supportedPerDatabaseMaxPerformanceLevels: {
+      supportedManagedInstanceVersions: {
         readOnly: true,
-        serializedName: "supportedPerDatabaseMaxPerformanceLevels",
+        serializedName: "supportedManagedInstanceVersions",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability"
+              className: "ManagedInstanceVersionCapability"
             }
           }
         }
@@ -6048,54 +5518,44 @@ export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolEditionCapability: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolEditionCapability",
+export const CopyLongTermRetentionBackupParameters: msRest.CompositeMapper = {
+  serializedName: "CopyLongTermRetentionBackupParameters",
   type: {
     name: "Composite",
-    className: "ElasticPoolEditionCapability",
+    className: "CopyLongTermRetentionBackupParameters",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      targetSubscriptionId: {
+        serializedName: "properties.targetSubscriptionId",
         type: {
           name: "String"
         }
       },
-      supportedElasticPoolPerformanceLevels: {
-        readOnly: true,
-        serializedName: "supportedElasticPoolPerformanceLevels",
+      targetResourceGroup: {
+        serializedName: "properties.targetResourceGroup",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ElasticPoolPerformanceLevelCapability"
-            }
-          }
+          name: "String"
         }
       },
-      zoneRedundant: {
-        readOnly: true,
-        serializedName: "zoneRedundant",
+      targetServerResourceId: {
+        serializedName: "properties.targetServerResourceId",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       },
-      status: {
-        readOnly: true,
-        serializedName: "status",
+      targetServerFullyQualifiedDomainName: {
+        serializedName: "properties.targetServerFullyQualifiedDomainName",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      reason: {
-        serializedName: "reason",
+      targetDatabaseName: {
+        serializedName: "properties.targetDatabaseName",
+        type: {
+          name: "String"
+        }
+      },
+      targetBackupStorageRedundancy: {
+        serializedName: "properties.targetBackupStorageRedundancy",
         type: {
           name: "String"
         }
@@ -6104,60 +5564,58 @@ export const ElasticPoolEditionCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ServerVersionCapability: msRest.CompositeMapper = {
-  serializedName: "ServerVersionCapability",
+export const LongTermRetentionBackupOperationResult: msRest.CompositeMapper = {
+  serializedName: "LongTermRetentionBackupOperationResult",
   type: {
     name: "Composite",
-    className: "ServerVersionCapability",
+    className: "LongTermRetentionBackupOperationResult",
     modelProperties: {
-      name: {
+      ...ProxyResource.type.modelProperties,
+      requestId: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "properties.requestId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      operationType: {
+        readOnly: true,
+        serializedName: "properties.operationType",
         type: {
           name: "String"
         }
       },
-      supportedEditions: {
+      fromBackupResourceId: {
         readOnly: true,
-        serializedName: "supportedEditions",
+        serializedName: "properties.fromBackupResourceId",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "EditionCapability"
-            }
-          }
+          name: "String"
         }
       },
-      supportedElasticPoolEditions: {
+      toBackupResourceId: {
         readOnly: true,
-        serializedName: "supportedElasticPoolEditions",
+        serializedName: "properties.toBackupResourceId",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ElasticPoolEditionCapability"
-            }
-          }
+          name: "String"
+        }
+      },
+      targetBackupStorageRedundancy: {
+        readOnly: true,
+        serializedName: "properties.targetBackupStorageRedundancy",
+        type: {
+          name: "String"
         }
       },
       status: {
         readOnly: true,
-        serializedName: "status",
+        serializedName: "properties.status",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      reason: {
-        serializedName: "reason",
+      message: {
+        readOnly: true,
+        serializedName: "properties.message",
         type: {
           name: "String"
         }
@@ -6166,41 +5624,14 @@ export const ServerVersionCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceVcoresCapability",
+export const UpdateLongTermRetentionBackupParameters: msRest.CompositeMapper = {
+  serializedName: "UpdateLongTermRetentionBackupParameters",
   type: {
     name: "Composite",
-    className: "ManagedInstanceVcoresCapability",
+    className: "UpdateLongTermRetentionBackupParameters",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
-        type: {
-          name: "String"
-        }
-      },
-      value: {
-        readOnly: true,
-        serializedName: "value",
-        type: {
-          name: "Number"
-        }
-      },
-      status: {
-        readOnly: true,
-        serializedName: "status",
-        type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
-        }
-      },
-      reason: {
-        serializedName: "reason",
+      requestedBackupStorageRedundancy: {
+        serializedName: "properties.requestedBackupStorageRedundancy",
         type: {
           name: "String"
         }
@@ -6209,88 +5640,64 @@ export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceFamilyCapability",
+export const LongTermRetentionBackup: msRest.CompositeMapper = {
+  serializedName: "LongTermRetentionBackup",
   type: {
     name: "Composite",
-    className: "ManagedInstanceFamilyCapability",
+    className: "LongTermRetentionBackup",
     modelProperties: {
-      name: {
+      ...ProxyResource.type.modelProperties,
+      serverName: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "properties.serverName",
         type: {
           name: "String"
         }
       },
-      sku: {
+      serverCreateTime: {
         readOnly: true,
-        serializedName: "sku",
+        serializedName: "properties.serverCreateTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      supportedLicenseTypes: {
+      databaseName: {
         readOnly: true,
-        serializedName: "supportedLicenseTypes",
+        serializedName: "properties.databaseName",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "LicenseTypeCapability"
-            }
-          }
+          name: "String"
         }
       },
-      supportedVcoresValues: {
+      databaseDeletionTime: {
         readOnly: true,
-        serializedName: "supportedVcoresValues",
+        serializedName: "properties.databaseDeletionTime",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ManagedInstanceVcoresCapability"
-            }
-          }
+          name: "DateTime"
         }
       },
-      includedMaxSize: {
+      backupTime: {
         readOnly: true,
-        serializedName: "includedMaxSize",
+        serializedName: "properties.backupTime",
         type: {
-          name: "Composite",
-          className: "MaxSizeCapability"
+          name: "DateTime"
         }
       },
-      supportedStorageSizes: {
+      backupExpirationTime: {
         readOnly: true,
-        serializedName: "supportedStorageSizes",
+        serializedName: "properties.backupExpirationTime",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "MaxSizeRangeCapability"
-            }
-          }
+          name: "DateTime"
         }
       },
-      status: {
+      backupStorageRedundancy: {
         readOnly: true,
-        serializedName: "status",
+        serializedName: "properties.backupStorageRedundancy",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      reason: {
-        serializedName: "reason",
+      requestedBackupStorageRedundancy: {
+        serializedName: "properties.requestedBackupStorageRedundancy",
         type: {
           name: "String"
         }
@@ -6299,47 +5706,58 @@ export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceEditionCapability: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceEditionCapability",
+export const ManagedInstanceLongTermRetentionBackup: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceLongTermRetentionBackup",
   type: {
     name: "Composite",
-    className: "ManagedInstanceEditionCapability",
+    className: "ManagedInstanceLongTermRetentionBackup",
     modelProperties: {
-      name: {
+      ...ProxyResource.type.modelProperties,
+      managedInstanceName: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "properties.managedInstanceName",
         type: {
           name: "String"
         }
       },
-      supportedFamilies: {
+      managedInstanceCreateTime: {
         readOnly: true,
-        serializedName: "supportedFamilies",
+        serializedName: "properties.managedInstanceCreateTime",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ManagedInstanceFamilyCapability"
-            }
-          }
+          name: "DateTime"
         }
       },
-      status: {
+      databaseName: {
         readOnly: true,
-        serializedName: "status",
+        serializedName: "properties.databaseName",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      reason: {
-        serializedName: "reason",
+      databaseDeletionTime: {
+        readOnly: true,
+        serializedName: "properties.databaseDeletionTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      backupTime: {
+        readOnly: true,
+        serializedName: "properties.backupTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      backupExpirationTime: {
+        readOnly: true,
+        serializedName: "properties.backupExpirationTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      backupStorageRedundancy: {
+        readOnly: true,
+        serializedName: "properties.backupStorageRedundancy",
         type: {
           name: "String"
         }
@@ -6348,109 +5766,177 @@ export const ManagedInstanceEditionCapability: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceVersionCapability: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceVersionCapability",
+export const LongTermRetentionPolicy: msRest.CompositeMapper = {
+  serializedName: "LongTermRetentionPolicy",
   type: {
     name: "Composite",
-    className: "ManagedInstanceVersionCapability",
+    className: "LongTermRetentionPolicy",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      ...ProxyResource.type.modelProperties,
+      weeklyRetention: {
+        serializedName: "properties.weeklyRetention",
         type: {
           name: "String"
         }
       },
-      supportedEditions: {
-        readOnly: true,
-        serializedName: "supportedEditions",
+      monthlyRetention: {
+        serializedName: "properties.monthlyRetention",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "ManagedInstanceEditionCapability"
-            }
-          }
+          name: "String"
         }
       },
-      status: {
-        readOnly: true,
-        serializedName: "status",
+      yearlyRetention: {
+        serializedName: "properties.yearlyRetention",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "String"
         }
       },
-      reason: {
-        serializedName: "reason",
+      weekOfYear: {
+        serializedName: "properties.weekOfYear",
         type: {
-          name: "String"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const LocationCapabilities: msRest.CompositeMapper = {
-  serializedName: "LocationCapabilities",
+export const MaintenanceWindowTimeRange: msRest.CompositeMapper = {
+  serializedName: "MaintenanceWindowTimeRange",
   type: {
     name: "Composite",
-    className: "LocationCapabilities",
+    className: "MaintenanceWindowTimeRange",
     modelProperties: {
-      name: {
-        readOnly: true,
-        serializedName: "name",
+      dayOfWeek: {
+        serializedName: "dayOfWeek",
         type: {
           name: "String"
         }
       },
-      supportedServerVersions: {
-        readOnly: true,
-        serializedName: "supportedServerVersions",
+      startTime: {
+        serializedName: "startTime",
+        type: {
+          name: "String"
+        }
+      },
+      duration: {
+        serializedName: "duration",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const MaintenanceWindowOptions: msRest.CompositeMapper = {
+  serializedName: "MaintenanceWindowOptions",
+  type: {
+    name: "Composite",
+    className: "MaintenanceWindowOptions",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      isEnabled: {
+        serializedName: "properties.isEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      maintenanceWindowCycles: {
+        serializedName: "properties.maintenanceWindowCycles",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServerVersionCapability"
+              className: "MaintenanceWindowTimeRange"
             }
           }
         }
       },
-      supportedManagedInstanceVersions: {
-        readOnly: true,
-        serializedName: "supportedManagedInstanceVersions",
+      minDurationInMinutes: {
+        serializedName: "properties.minDurationInMinutes",
+        type: {
+          name: "Number"
+        }
+      },
+      defaultDurationInMinutes: {
+        serializedName: "properties.defaultDurationInMinutes",
+        type: {
+          name: "Number"
+        }
+      },
+      minCycles: {
+        serializedName: "properties.minCycles",
+        type: {
+          name: "Number"
+        }
+      },
+      timeGranularityInMinutes: {
+        serializedName: "properties.timeGranularityInMinutes",
+        type: {
+          name: "Number"
+        }
+      },
+      allowMultipleMaintenanceWindowsPerCycle: {
+        serializedName: "properties.allowMultipleMaintenanceWindowsPerCycle",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const MaintenanceWindows: msRest.CompositeMapper = {
+  serializedName: "MaintenanceWindows",
+  type: {
+    name: "Composite",
+    className: "MaintenanceWindows",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      timeRanges: {
+        serializedName: "properties.timeRanges",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstanceVersionCapability"
+              className: "MaintenanceWindowTimeRange"
             }
           }
         }
-      },
-      status: {
-        readOnly: true,
-        serializedName: "status",
+      }
+    }
+  }
+};
+
+export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = {
+  serializedName: "ManagedBackupShortTermRetentionPolicy",
+  type: {
+    name: "Composite",
+    className: "ManagedBackupShortTermRetentionPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
-          name: "Enum",
-          allowedValues: [
-            "Visible",
-            "Available",
-            "Default",
-            "Disabled"
-          ]
+          name: "Number"
         }
-      },
-      reason: {
-        serializedName: "reason",
+      }
+    }
+  }
+};
+
+export const ManagedInstanceQuery: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceQuery",
+  type: {
+    name: "Composite",
+    className: "ManagedInstanceQuery",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      queryText: {
+        serializedName: "properties.queryText",
         type: {
           name: "String"
         }
@@ -6459,324 +5945,388 @@ export const LocationCapabilities: msRest.CompositeMapper = {
   }
 };
 
-export const Database: msRest.CompositeMapper = {
-  serializedName: "Database",
+export const QueryMetricProperties: msRest.CompositeMapper = {
+  serializedName: "QueryMetricProperties",
   type: {
     name: "Composite",
-    className: "Database",
+    className: "QueryMetricProperties",
     modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      sku: {
-        serializedName: "sku",
-        type: {
-          name: "Composite",
-          className: "Sku"
-        }
-      },
-      kind: {
+      name: {
         readOnly: true,
-        serializedName: "kind",
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      managedBy: {
+      displayName: {
         readOnly: true,
-        serializedName: "managedBy",
-        type: {
-          name: "String"
-        }
-      },
-      createMode: {
-        serializedName: "properties.createMode",
+        serializedName: "displayName",
         type: {
           name: "String"
         }
       },
-      collation: {
-        serializedName: "properties.collation",
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
         type: {
           name: "String"
         }
       },
-      maxSizeBytes: {
-        serializedName: "properties.maxSizeBytes",
+      value: {
+        readOnly: true,
+        serializedName: "value",
         type: {
           name: "Number"
         }
       },
-      sampleName: {
-        serializedName: "properties.sampleName",
-        type: {
-          name: "String"
-        }
-      },
-      elasticPoolId: {
-        serializedName: "properties.elasticPoolId",
+      min: {
+        readOnly: true,
+        serializedName: "min",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      sourceDatabaseId: {
-        serializedName: "properties.sourceDatabaseId",
+      max: {
+        readOnly: true,
+        serializedName: "max",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      status: {
+      avg: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "avg",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      databaseId: {
+      sum: {
         readOnly: true,
-        serializedName: "properties.databaseId",
+        serializedName: "sum",
         type: {
-          name: "Uuid"
+          name: "Number"
         }
       },
-      creationDate: {
+      stdev: {
         readOnly: true,
-        serializedName: "properties.creationDate",
+        serializedName: "stdev",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
-      },
-      currentServiceObjectiveName: {
+      }
+    }
+  }
+};
+
+export const QueryMetricInterval: msRest.CompositeMapper = {
+  serializedName: "QueryMetricInterval",
+  type: {
+    name: "Composite",
+    className: "QueryMetricInterval",
+    modelProperties: {
+      intervalStartTime: {
         readOnly: true,
-        serializedName: "properties.currentServiceObjectiveName",
+        serializedName: "intervalStartTime",
         type: {
           name: "String"
         }
       },
-      requestedServiceObjectiveName: {
+      intervalType: {
         readOnly: true,
-        serializedName: "properties.requestedServiceObjectiveName",
+        serializedName: "intervalType",
         type: {
           name: "String"
         }
       },
-      defaultSecondaryLocation: {
+      executionCount: {
         readOnly: true,
-        serializedName: "properties.defaultSecondaryLocation",
+        serializedName: "executionCount",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      failoverGroupId: {
+      metrics: {
+        serializedName: "metrics",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "QueryMetricProperties"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const QueryStatisticsProperties: msRest.CompositeMapper = {
+  serializedName: "QueryStatisticsProperties",
+  type: {
+    name: "Composite",
+    className: "QueryStatisticsProperties",
+    modelProperties: {
+      databaseName: {
         readOnly: true,
-        serializedName: "properties.failoverGroupId",
+        serializedName: "databaseName",
         type: {
           name: "String"
         }
       },
-      restorePointInTime: {
-        serializedName: "properties.restorePointInTime",
+      queryId: {
+        readOnly: true,
+        serializedName: "queryId",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      sourceDatabaseDeletionDate: {
-        serializedName: "properties.sourceDatabaseDeletionDate",
+      startTime: {
+        readOnly: true,
+        serializedName: "startTime",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      recoveryServicesRecoveryPointId: {
-        serializedName: "properties.recoveryServicesRecoveryPointId",
+      endTime: {
+        readOnly: true,
+        serializedName: "endTime",
         type: {
           name: "String"
         }
       },
-      longTermRetentionBackupResourceId: {
-        serializedName: "properties.longTermRetentionBackupResourceId",
+      intervals: {
+        serializedName: "intervals",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "QueryMetricInterval"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const QueryStatistics: msRest.CompositeMapper = {
+  serializedName: "QueryStatistics",
+  type: {
+    name: "Composite",
+    className: "QueryStatistics",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
         type: {
           name: "String"
         }
       },
-      recoverableDatabaseId: {
-        serializedName: "properties.recoverableDatabaseId",
+      queryId: {
+        readOnly: true,
+        serializedName: "properties.queryId",
         type: {
           name: "String"
         }
       },
-      restorableDroppedDatabaseId: {
-        serializedName: "properties.restorableDroppedDatabaseId",
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
         type: {
           name: "String"
         }
       },
-      catalogCollation: {
-        serializedName: "properties.catalogCollation",
+      endTime: {
+        readOnly: true,
+        serializedName: "properties.endTime",
         type: {
           name: "String"
         }
       },
-      zoneRedundant: {
-        serializedName: "properties.zoneRedundant",
+      intervals: {
+        serializedName: "properties.intervals",
         type: {
-          name: "Boolean"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "QueryMetricInterval"
+            }
+          }
         }
-      },
-      licenseType: {
-        serializedName: "properties.licenseType",
+      }
+    }
+  }
+};
+
+export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabaseRestoreDetailsResult",
+  type: {
+    name: "Composite",
+    className: "ManagedDatabaseRestoreDetailsResult",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
         type: {
           name: "String"
         }
       },
-      maxLogSizeBytes: {
+      currentRestoringFileName: {
         readOnly: true,
-        serializedName: "properties.maxLogSizeBytes",
+        serializedName: "properties.currentRestoringFileName",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      earliestRestoreDate: {
+      lastRestoredFileName: {
         readOnly: true,
-        serializedName: "properties.earliestRestoreDate",
+        serializedName: "properties.lastRestoredFileName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      readScale: {
-        serializedName: "properties.readScale",
+      lastRestoredFileTime: {
+        readOnly: true,
+        serializedName: "properties.lastRestoredFileTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      readReplicaCount: {
-        serializedName: "properties.readReplicaCount",
+      percentCompleted: {
+        readOnly: true,
+        serializedName: "properties.percentCompleted",
         type: {
           name: "Number"
         }
       },
-      currentSku: {
+      unrestorableFiles: {
         readOnly: true,
-        serializedName: "properties.currentSku",
+        serializedName: "properties.unrestorableFiles",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       },
-      autoPauseDelay: {
-        serializedName: "properties.autoPauseDelay",
+      numberOfFilesDetected: {
+        readOnly: true,
+        serializedName: "properties.numberOfFilesDetected",
         type: {
           name: "Number"
         }
       },
-      minCapacity: {
-        serializedName: "properties.minCapacity",
+      lastUploadedFileName: {
+        readOnly: true,
+        serializedName: "properties.lastUploadedFileName",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      pausedDate: {
+      lastUploadedFileTime: {
         readOnly: true,
-        serializedName: "properties.pausedDate",
+        serializedName: "properties.lastUploadedFileTime",
         type: {
           name: "DateTime"
         }
       },
-      resumedDate: {
+      blockReason: {
         readOnly: true,
-        serializedName: "properties.resumedDate",
+        serializedName: "properties.blockReason",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       }
     }
   }
 };
 
-export const DatabaseUpdate: msRest.CompositeMapper = {
-  serializedName: "DatabaseUpdate",
+export const ManagedDatabase: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabase",
   type: {
     name: "Composite",
-    className: "DatabaseUpdate",
+    className: "ManagedDatabase",
     modelProperties: {
-      sku: {
-        serializedName: "sku",
-        type: {
-          name: "Composite",
-          className: "Sku"
-        }
-      },
-      createMode: {
-        serializedName: "properties.createMode",
+      ...TrackedResource.type.modelProperties,
+      collation: {
+        serializedName: "properties.collation",
         type: {
           name: "String"
         }
       },
-      collation: {
-        serializedName: "properties.collation",
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
         type: {
           name: "String"
         }
       },
-      maxSizeBytes: {
-        serializedName: "properties.maxSizeBytes",
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
         type: {
-          name: "Number"
+          name: "DateTime"
         }
       },
-      sampleName: {
-        serializedName: "properties.sampleName",
+      earliestRestorePoint: {
+        readOnly: true,
+        serializedName: "properties.earliestRestorePoint",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      elasticPoolId: {
-        serializedName: "properties.elasticPoolId",
+      restorePointInTime: {
+        serializedName: "properties.restorePointInTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      sourceDatabaseId: {
-        serializedName: "properties.sourceDatabaseId",
+      defaultSecondaryLocation: {
+        readOnly: true,
+        serializedName: "properties.defaultSecondaryLocation",
         type: {
           name: "String"
         }
       },
-      status: {
-        readOnly: true,
-        serializedName: "properties.status",
+      catalogCollation: {
+        serializedName: "properties.catalogCollation",
         type: {
           name: "String"
         }
       },
-      databaseId: {
-        readOnly: true,
-        serializedName: "properties.databaseId",
+      createMode: {
+        serializedName: "properties.createMode",
         type: {
-          name: "Uuid"
+          name: "String"
         }
       },
-      creationDate: {
-        readOnly: true,
-        serializedName: "properties.creationDate",
+      storageContainerUri: {
+        serializedName: "properties.storageContainerUri",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      currentServiceObjectiveName: {
-        readOnly: true,
-        serializedName: "properties.currentServiceObjectiveName",
+      sourceDatabaseId: {
+        serializedName: "properties.sourceDatabaseId",
         type: {
           name: "String"
         }
       },
-      requestedServiceObjectiveName: {
-        readOnly: true,
-        serializedName: "properties.requestedServiceObjectiveName",
+      restorableDroppedDatabaseId: {
+        serializedName: "properties.restorableDroppedDatabaseId",
         type: {
           name: "String"
         }
       },
-      defaultSecondaryLocation: {
-        readOnly: true,
-        serializedName: "properties.defaultSecondaryLocation",
+      storageContainerSasToken: {
+        serializedName: "properties.storageContainerSasToken",
         type: {
           name: "String"
         }
@@ -6788,20 +6338,8 @@ export const DatabaseUpdate: msRest.CompositeMapper = {
           name: "String"
         }
       },
-      restorePointInTime: {
-        serializedName: "properties.restorePointInTime",
-        type: {
-          name: "DateTime"
-        }
-      },
-      sourceDatabaseDeletionDate: {
-        serializedName: "properties.sourceDatabaseDeletionDate",
-        type: {
-          name: "DateTime"
-        }
-      },
-      recoveryServicesRecoveryPointId: {
-        serializedName: "properties.recoveryServicesRecoveryPointId",
+      recoverableDatabaseId: {
+        serializedName: "properties.recoverableDatabaseId",
         type: {
           name: "String"
         }
@@ -6812,94 +6350,133 @@ export const DatabaseUpdate: msRest.CompositeMapper = {
           name: "String"
         }
       },
-      recoverableDatabaseId: {
-        serializedName: "properties.recoverableDatabaseId",
+      autoCompleteRestore: {
+        serializedName: "properties.autoCompleteRestore",
+        type: {
+          name: "Boolean"
+        }
+      },
+      lastBackupName: {
+        serializedName: "properties.lastBackupName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ManagedDatabaseUpdate: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabaseUpdate",
+  type: {
+    name: "Composite",
+    className: "ManagedDatabaseUpdate",
+    modelProperties: {
+      collation: {
+        serializedName: "properties.collation",
         type: {
           name: "String"
         }
       },
-      restorableDroppedDatabaseId: {
-        serializedName: "properties.restorableDroppedDatabaseId",
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
         type: {
           name: "String"
         }
       },
-      catalogCollation: {
-        serializedName: "properties.catalogCollation",
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      earliestRestorePoint: {
+        readOnly: true,
+        serializedName: "properties.earliestRestorePoint",
+        type: {
+          name: "DateTime"
+        }
+      },
+      restorePointInTime: {
+        serializedName: "properties.restorePointInTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      defaultSecondaryLocation: {
+        readOnly: true,
+        serializedName: "properties.defaultSecondaryLocation",
         type: {
           name: "String"
         }
       },
-      zoneRedundant: {
-        serializedName: "properties.zoneRedundant",
+      catalogCollation: {
+        serializedName: "properties.catalogCollation",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       },
-      licenseType: {
-        serializedName: "properties.licenseType",
+      createMode: {
+        serializedName: "properties.createMode",
         type: {
           name: "String"
         }
       },
-      maxLogSizeBytes: {
-        readOnly: true,
-        serializedName: "properties.maxLogSizeBytes",
+      storageContainerUri: {
+        serializedName: "properties.storageContainerUri",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      earliestRestoreDate: {
-        readOnly: true,
-        serializedName: "properties.earliestRestoreDate",
+      sourceDatabaseId: {
+        serializedName: "properties.sourceDatabaseId",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      readScale: {
-        serializedName: "properties.readScale",
+      restorableDroppedDatabaseId: {
+        serializedName: "properties.restorableDroppedDatabaseId",
         type: {
           name: "String"
         }
       },
-      readReplicaCount: {
-        serializedName: "properties.readReplicaCount",
+      storageContainerSasToken: {
+        serializedName: "properties.storageContainerSasToken",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      currentSku: {
+      failoverGroupId: {
         readOnly: true,
-        serializedName: "properties.currentSku",
+        serializedName: "properties.failoverGroupId",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "String"
         }
       },
-      autoPauseDelay: {
-        serializedName: "properties.autoPauseDelay",
+      recoverableDatabaseId: {
+        serializedName: "properties.recoverableDatabaseId",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      minCapacity: {
-        serializedName: "properties.minCapacity",
+      longTermRetentionBackupResourceId: {
+        serializedName: "properties.longTermRetentionBackupResourceId",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      pausedDate: {
-        readOnly: true,
-        serializedName: "properties.pausedDate",
+      autoCompleteRestore: {
+        serializedName: "properties.autoCompleteRestore",
         type: {
-          name: "DateTime"
+          name: "Boolean"
         }
       },
-      resumedDate: {
-        readOnly: true,
-        serializedName: "properties.resumedDate",
+      lastBackupName: {
+        serializedName: "properties.lastBackupName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
       tags: {
@@ -6917,15 +6494,15 @@ export const DatabaseUpdate: msRest.CompositeMapper = {
   }
 };
 
-export const ResourceMoveDefinition: msRest.CompositeMapper = {
-  serializedName: "ResourceMoveDefinition",
+export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = {
+  serializedName: "CompleteDatabaseRestoreDefinition",
   type: {
     name: "Composite",
-    className: "ResourceMoveDefinition",
+    className: "CompleteDatabaseRestoreDefinition",
     modelProperties: {
-      id: {
+      lastBackupName: {
         required: true,
-        serializedName: "id",
+        serializedName: "lastBackupName",
         type: {
           name: "String"
         }
@@ -6934,84 +6511,155 @@ export const ResourceMoveDefinition: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolPerDatabaseSettings",
+export const ManagedDatabaseSecurityAlertPolicy: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabaseSecurityAlertPolicy",
   type: {
     name: "Composite",
-    className: "ElasticPoolPerDatabaseSettings",
+    className: "ManagedDatabaseSecurityAlertPolicy",
     modelProperties: {
-      minCapacity: {
-        serializedName: "minCapacity",
+      ...ProxyResource.type.modelProperties,
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "New",
+            "Enabled",
+            "Disabled"
+          ]
         }
       },
-      maxCapacity: {
-        serializedName: "maxCapacity",
+      disabledAlerts: {
+        serializedName: "properties.disabledAlerts",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAddresses: {
+        serializedName: "properties.emailAddresses",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAccountAdmins: {
+        serializedName: "properties.emailAccountAdmins",
+        type: {
+          name: "Boolean"
+        }
+      },
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      retentionDays: {
+        serializedName: "properties.retentionDays",
         type: {
           name: "Number"
         }
+      },
+      creationTime: {
+        readOnly: true,
+        serializedName: "properties.creationTime",
+        type: {
+          name: "DateTime"
+        }
       }
     }
   }
 };
 
-export const ElasticPool: msRest.CompositeMapper = {
-  serializedName: "ElasticPool",
+export const SecurityEventsFilterParameters: msRest.CompositeMapper = {
+  serializedName: "SecurityEventsFilterParameters",
   type: {
     name: "Composite",
-    className: "ElasticPool",
+    className: "SecurityEventsFilterParameters",
     modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      sku: {
-        serializedName: "sku",
+      eventTime: {
+        serializedName: "eventTime",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "DateTime"
         }
       },
-      kind: {
+      showServerRecords: {
+        serializedName: "showServerRecords",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const SecurityEventSqlInjectionAdditionalProperties: msRest.CompositeMapper = {
+  serializedName: "SecurityEventSqlInjectionAdditionalProperties",
+  type: {
+    name: "Composite",
+    className: "SecurityEventSqlInjectionAdditionalProperties",
+    modelProperties: {
+      threatId: {
         readOnly: true,
-        serializedName: "kind",
+        serializedName: "threatId",
         type: {
           name: "String"
         }
       },
-      state: {
+      statement: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "statement",
         type: {
           name: "String"
         }
       },
-      creationDate: {
+      statementHighlightOffset: {
         readOnly: true,
-        serializedName: "properties.creationDate",
+        serializedName: "statementHighlightOffset",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      maxSizeBytes: {
-        serializedName: "properties.maxSizeBytes",
+      statementHighlightLength: {
+        readOnly: true,
+        serializedName: "statementHighlightLength",
         type: {
           name: "Number"
         }
       },
-      perDatabaseSettings: {
-        serializedName: "properties.perDatabaseSettings",
+      errorCode: {
+        readOnly: true,
+        serializedName: "errorCode",
         type: {
-          name: "Composite",
-          className: "ElasticPoolPerDatabaseSettings"
+          name: "Number"
         }
       },
-      zoneRedundant: {
-        serializedName: "properties.zoneRedundant",
+      errorSeverity: {
+        readOnly: true,
+        serializedName: "errorSeverity",
         type: {
-          name: "Boolean"
+          name: "Number"
         }
       },
-      licenseType: {
-        serializedName: "properties.licenseType",
+      errorMessage: {
+        readOnly: true,
+        serializedName: "errorMessage",
         type: {
           name: "String"
         }
@@ -7020,316 +6668,298 @@ export const ElasticPool: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolUpdate: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolUpdate",
+export const SecurityEvent: msRest.CompositeMapper = {
+  serializedName: "SecurityEvent",
   type: {
     name: "Composite",
-    className: "ElasticPoolUpdate",
+    className: "SecurityEvent",
     modelProperties: {
-      sku: {
-        serializedName: "sku",
+      ...ProxyResource.type.modelProperties,
+      eventTime: {
+        readOnly: true,
+        serializedName: "properties.eventTime",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "DateTime"
         }
       },
-      maxSizeBytes: {
-        serializedName: "properties.maxSizeBytes",
+      securityEventType: {
+        readOnly: true,
+        serializedName: "properties.securityEventType",
         type: {
-          name: "Number"
-        }
+          name: "Enum",
+          allowedValues: [
+            "Undefined",
+            "SqlInjectionVulnerability",
+            "SqlInjectionExploit"
+          ]
+        }
       },
-      perDatabaseSettings: {
-        serializedName: "properties.perDatabaseSettings",
+      subscription: {
+        readOnly: true,
+        serializedName: "properties.subscription",
         type: {
-          name: "Composite",
-          className: "ElasticPoolPerDatabaseSettings"
+          name: "String"
         }
       },
-      zoneRedundant: {
-        serializedName: "properties.zoneRedundant",
+      server: {
+        readOnly: true,
+        serializedName: "properties.server",
         type: {
-          name: "Boolean"
+          name: "String"
         }
       },
-      licenseType: {
-        serializedName: "properties.licenseType",
+      database: {
+        readOnly: true,
+        serializedName: "properties.database",
         type: {
           name: "String"
         }
       },
-      tags: {
-        serializedName: "tags",
+      clientIp: {
+        readOnly: true,
+        serializedName: "properties.clientIp",
         type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "String"
         }
-      }
-    }
-  }
-};
-
-export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = {
-  serializedName: "VulnerabilityAssessmentScanError",
-  type: {
-    name: "Composite",
-    className: "VulnerabilityAssessmentScanError",
-    modelProperties: {
-      code: {
+      },
+      applicationName: {
         readOnly: true,
-        serializedName: "code",
+        serializedName: "properties.applicationName",
         type: {
           name: "String"
         }
       },
-      message: {
+      principalName: {
         readOnly: true,
-        serializedName: "message",
+        serializedName: "properties.principalName",
         type: {
           name: "String"
         }
+      },
+      securityEventSqlInjectionAdditionalProperties: {
+        readOnly: true,
+        serializedName: "properties.securityEventSqlInjectionAdditionalProperties",
+        type: {
+          name: "Composite",
+          className: "SecurityEventSqlInjectionAdditionalProperties"
+        }
       }
     }
   }
 };
 
-export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = {
-  serializedName: "VulnerabilityAssessmentScanRecord",
+export const SensitivityLabel: msRest.CompositeMapper = {
+  serializedName: "SensitivityLabel",
   type: {
     name: "Composite",
-    className: "VulnerabilityAssessmentScanRecord",
+    className: "SensitivityLabel",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      scanId: {
+      managedBy: {
         readOnly: true,
-        serializedName: "properties.scanId",
+        serializedName: "managedBy",
         type: {
           name: "String"
         }
       },
-      triggerType: {
+      schemaName: {
         readOnly: true,
-        serializedName: "properties.triggerType",
+        serializedName: "properties.schemaName",
         type: {
           name: "String"
         }
       },
-      state: {
+      tableName: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "properties.tableName",
         type: {
           name: "String"
         }
       },
-      startTime: {
+      columnName: {
         readOnly: true,
-        serializedName: "properties.startTime",
+        serializedName: "properties.columnName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      endTime: {
-        readOnly: true,
-        serializedName: "properties.endTime",
+      labelName: {
+        serializedName: "properties.labelName",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      errors: {
-        readOnly: true,
-        serializedName: "properties.errors",
+      labelId: {
+        serializedName: "properties.labelId",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "VulnerabilityAssessmentScanError"
-            }
-          }
+          name: "String"
         }
       },
-      storageContainerPath: {
-        readOnly: true,
-        serializedName: "properties.storageContainerPath",
+      informationType: {
+        serializedName: "properties.informationType",
         type: {
           name: "String"
         }
       },
-      numberOfFailedSecurityChecks: {
-        readOnly: true,
-        serializedName: "properties.numberOfFailedSecurityChecks",
+      informationTypeId: {
+        serializedName: "properties.informationTypeId",
         type: {
-          name: "Number"
+          name: "String"
         }
-      }
-    }
-  }
-};
-
-export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = {
-  serializedName: "DatabaseVulnerabilityAssessmentScansExport",
-  type: {
-    name: "Composite",
-    className: "DatabaseVulnerabilityAssessmentScansExport",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      exportedReportLocation: {
+      },
+      isDisabled: {
         readOnly: true,
-        serializedName: "properties.exportedReportLocation",
+        serializedName: "properties.isDisabled",
         type: {
-          name: "String"
+          name: "Boolean"
+        }
+      },
+      rank: {
+        serializedName: "properties.rank",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "None",
+            "Low",
+            "Medium",
+            "High",
+            "Critical"
+          ]
         }
       }
     }
   }
 };
 
-export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = {
-  serializedName: "InstanceFailoverGroupReadWriteEndpoint",
+export const SensitivityLabelUpdate: msRest.CompositeMapper = {
+  serializedName: "SensitivityLabelUpdate",
   type: {
     name: "Composite",
-    className: "InstanceFailoverGroupReadWriteEndpoint",
+    className: "SensitivityLabelUpdate",
     modelProperties: {
-      failoverPolicy: {
+      ...ProxyResource.type.modelProperties,
+      op: {
         required: true,
-        serializedName: "failoverPolicy",
+        serializedName: "properties.op",
         type: {
-          name: "String"
+          name: "Enum",
+          allowedValues: [
+            "set",
+            "remove"
+          ]
         }
       },
-      failoverWithDataLossGracePeriodMinutes: {
-        serializedName: "failoverWithDataLossGracePeriodMinutes",
+      schema: {
+        required: true,
+        serializedName: "properties.schema",
         type: {
-          name: "Number"
+          name: "String"
         }
-      }
-    }
-  }
-};
-
-export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = {
-  serializedName: "InstanceFailoverGroupReadOnlyEndpoint",
-  type: {
-    name: "Composite",
-    className: "InstanceFailoverGroupReadOnlyEndpoint",
-    modelProperties: {
-      failoverPolicy: {
-        serializedName: "failoverPolicy",
+      },
+      table: {
+        required: true,
+        serializedName: "properties.table",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const PartnerRegionInfo: msRest.CompositeMapper = {
-  serializedName: "PartnerRegionInfo",
-  type: {
-    name: "Composite",
-    className: "PartnerRegionInfo",
-    modelProperties: {
-      location: {
-        serializedName: "location",
+      },
+      column: {
+        required: true,
+        serializedName: "properties.column",
         type: {
           name: "String"
         }
       },
-      replicationRole: {
-        readOnly: true,
-        serializedName: "replicationRole",
+      sensitivityLabel: {
+        serializedName: "properties.sensitivityLabel",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "SensitivityLabel"
         }
       }
     }
   }
 };
 
-export const ManagedInstancePairInfo: msRest.CompositeMapper = {
-  serializedName: "ManagedInstancePairInfo",
+export const SensitivityLabelUpdateList: msRest.CompositeMapper = {
+  serializedName: "SensitivityLabelUpdateList",
   type: {
     name: "Composite",
-    className: "ManagedInstancePairInfo",
+    className: "SensitivityLabelUpdateList",
     modelProperties: {
-      primaryManagedInstanceId: {
-        serializedName: "primaryManagedInstanceId",
-        type: {
-          name: "String"
-        }
-      },
-      partnerManagedInstanceId: {
-        serializedName: "partnerManagedInstanceId",
+      operations: {
+        serializedName: "operations",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "SensitivityLabelUpdate"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const InstanceFailoverGroup: msRest.CompositeMapper = {
-  serializedName: "InstanceFailoverGroup",
+export const RecommendedSensitivityLabelUpdate: msRest.CompositeMapper = {
+  serializedName: "RecommendedSensitivityLabelUpdate",
   type: {
     name: "Composite",
-    className: "InstanceFailoverGroup",
+    className: "RecommendedSensitivityLabelUpdate",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      readWriteEndpoint: {
+      op: {
         required: true,
-        serializedName: "properties.readWriteEndpoint",
-        type: {
-          name: "Composite",
-          className: "InstanceFailoverGroupReadWriteEndpoint"
-        }
-      },
-      readOnlyEndpoint: {
-        serializedName: "properties.readOnlyEndpoint",
+        serializedName: "properties.op",
         type: {
-          name: "Composite",
-          className: "InstanceFailoverGroupReadOnlyEndpoint"
+          name: "Enum",
+          allowedValues: [
+            "enable",
+            "disable"
+          ]
         }
       },
-      replicationRole: {
-        readOnly: true,
-        serializedName: "properties.replicationRole",
+      schema: {
+        required: true,
+        serializedName: "properties.schema",
         type: {
           name: "String"
         }
       },
-      replicationState: {
-        readOnly: true,
-        serializedName: "properties.replicationState",
+      table: {
+        required: true,
+        serializedName: "properties.table",
         type: {
           name: "String"
         }
       },
-      partnerRegions: {
+      column: {
         required: true,
-        serializedName: "properties.partnerRegions",
+        serializedName: "properties.column",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "Composite",
-              className: "PartnerRegionInfo"
-            }
-          }
+          name: "String"
         }
-      },
-      managedInstancePairs: {
-        required: true,
-        serializedName: "properties.managedInstancePairs",
+      }
+    }
+  }
+};
+
+export const RecommendedSensitivityLabelUpdateList: msRest.CompositeMapper = {
+  serializedName: "RecommendedSensitivityLabelUpdateList",
+  type: {
+    name: "Composite",
+    className: "RecommendedSensitivityLabelUpdateList",
+    modelProperties: {
+      operations: {
+        serializedName: "operations",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstancePairInfo"
+              className: "RecommendedSensitivityLabelUpdate"
             }
           }
         }
@@ -7338,86 +6968,80 @@ export const InstanceFailoverGroup: msRest.CompositeMapper = {
   }
 };
 
-export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = {
-  serializedName: "BackupShortTermRetentionPolicy",
+export const ManagedTransparentDataEncryption: msRest.CompositeMapper = {
+  serializedName: "ManagedTransparentDataEncryption",
   type: {
     name: "Composite",
-    className: "BackupShortTermRetentionPolicy",
+    className: "ManagedTransparentDataEncryption",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      retentionDays: {
-        serializedName: "properties.retentionDays",
+      state: {
+        required: true,
+        serializedName: "properties.state",
         type: {
-          name: "Number"
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
         }
       }
     }
   }
 };
 
-export const TdeCertificate: msRest.CompositeMapper = {
-  serializedName: "TdeCertificate",
+export const ManagedInstanceAdministrator: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceAdministrator",
   type: {
     name: "Composite",
-    className: "TdeCertificate",
+    className: "ManagedInstanceAdministrator",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      privateBlob: {
+      administratorType: {
         required: true,
-        serializedName: "properties.privateBlob",
+        isConstant: true,
+        serializedName: "properties.administratorType",
+        defaultValue: 'ActiveDirectory',
         type: {
           name: "String"
         }
       },
-      certPassword: {
-        serializedName: "properties.certPassword",
+      login: {
+        required: true,
+        serializedName: "properties.login",
         type: {
           name: "String"
         }
+      },
+      sid: {
+        required: true,
+        serializedName: "properties.sid",
+        type: {
+          name: "Uuid"
+        }
+      },
+      tenantId: {
+        serializedName: "properties.tenantId",
+        type: {
+          name: "Uuid"
+        }
       }
     }
   }
 };
 
-export const ManagedInstanceKey: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceKey",
+export const ManagedInstanceAzureADOnlyAuthentication: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceAzureADOnlyAuthentication",
   type: {
     name: "Composite",
-    className: "ManagedInstanceKey",
+    className: "ManagedInstanceAzureADOnlyAuthentication",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      kind: {
-        readOnly: true,
-        serializedName: "kind",
-        type: {
-          name: "String"
-        }
-      },
-      serverKeyType: {
+      azureADOnlyAuthentication: {
         required: true,
-        serializedName: "properties.serverKeyType",
-        type: {
-          name: "String"
-        }
-      },
-      uri: {
-        serializedName: "properties.uri",
-        type: {
-          name: "String"
-        }
-      },
-      thumbprint: {
-        readOnly: true,
-        serializedName: "properties.thumbprint",
-        type: {
-          name: "String"
-        }
-      },
-      creationDate: {
-        readOnly: true,
-        serializedName: "properties.creationDate",
+        serializedName: "properties.azureADOnlyAuthentication",
         type: {
-          name: "DateTime"
+          name: "Boolean"
         }
       }
     }
@@ -7464,177 +7088,184 @@ export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = {
         type: {
           name: "String"
         }
+      },
+      autoRotationEnabled: {
+        serializedName: "properties.autoRotationEnabled",
+        type: {
+          name: "Boolean"
+        }
       }
     }
   }
 };
 
-export const RecoverableManagedDatabase: msRest.CompositeMapper = {
-  serializedName: "RecoverableManagedDatabase",
+export const ManagedInstanceKey: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceKey",
   type: {
     name: "Composite",
-    className: "RecoverableManagedDatabase",
+    className: "ManagedInstanceKey",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      lastAvailableBackupDate: {
+      kind: {
         readOnly: true,
-        serializedName: "properties.lastAvailableBackupDate",
+        serializedName: "kind",
         type: {
           name: "String"
         }
-      }
-    }
-  }
-};
-
-export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceVulnerabilityAssessment",
-  type: {
-    name: "Composite",
-    className: "ManagedInstanceVulnerabilityAssessment",
-    modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      storageContainerPath: {
+      },
+      serverKeyType: {
         required: true,
-        serializedName: "properties.storageContainerPath",
+        serializedName: "properties.serverKeyType",
         type: {
           name: "String"
         }
       },
-      storageContainerSasKey: {
-        serializedName: "properties.storageContainerSasKey",
+      uri: {
+        serializedName: "properties.uri",
         type: {
           name: "String"
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      thumbprint: {
+        readOnly: true,
+        serializedName: "properties.thumbprint",
         type: {
           name: "String"
         }
       },
-      recurringScans: {
-        serializedName: "properties.recurringScans",
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
         type: {
-          name: "Composite",
-          className: "VulnerabilityAssessmentRecurringScansProperties"
+          name: "DateTime"
+        }
+      },
+      autoRotationEnabled: {
+        readOnly: true,
+        serializedName: "properties.autoRotationEnabled",
+        type: {
+          name: "Boolean"
         }
       }
     }
   }
 };
 
-export const ServerVulnerabilityAssessment: msRest.CompositeMapper = {
-  serializedName: "ServerVulnerabilityAssessment",
+export const ManagedInstanceLongTermRetentionPolicy: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceLongTermRetentionPolicy",
   type: {
     name: "Composite",
-    className: "ServerVulnerabilityAssessment",
+    className: "ManagedInstanceLongTermRetentionPolicy",
     modelProperties: {
       ...ProxyResource.type.modelProperties,
-      storageContainerPath: {
-        required: true,
-        serializedName: "properties.storageContainerPath",
+      weeklyRetention: {
+        serializedName: "properties.weeklyRetention",
         type: {
           name: "String"
         }
       },
-      storageContainerSasKey: {
-        serializedName: "properties.storageContainerSasKey",
+      monthlyRetention: {
+        serializedName: "properties.monthlyRetention",
         type: {
           name: "String"
         }
       },
-      storageAccountAccessKey: {
-        serializedName: "properties.storageAccountAccessKey",
+      yearlyRetention: {
+        serializedName: "properties.yearlyRetention",
         type: {
           name: "String"
         }
       },
-      recurringScans: {
-        serializedName: "properties.recurringScans",
+      weekOfYear: {
+        serializedName: "properties.weekOfYear",
         type: {
-          name: "Composite",
-          className: "VulnerabilityAssessmentRecurringScansProperties"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const InstancePool: msRest.CompositeMapper = {
-  serializedName: "InstancePool",
+export const UpsertManagedServerOperationParameters: msRest.CompositeMapper = {
+  serializedName: "UpsertManagedServerOperationParameters",
   type: {
     name: "Composite",
-    className: "InstancePool",
+    className: "UpsertManagedServerOperationParameters",
     modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      sku: {
-        serializedName: "sku",
+      family: {
+        serializedName: "family",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "String"
         }
       },
-      subnetId: {
-        required: true,
-        serializedName: "properties.subnetId",
+      tier: {
+        serializedName: "tier",
         type: {
           name: "String"
         }
       },
       vCores: {
-        required: true,
-        serializedName: "properties.vCores",
+        serializedName: "vCores",
         type: {
           name: "Number"
         }
       },
-      licenseType: {
-        required: true,
-        serializedName: "properties.licenseType",
+      storageSizeInGB: {
+        serializedName: "storageSizeInGB",
         type: {
-          name: "String"
+          name: "Number"
         }
       }
     }
   }
 };
 
-export const InstancePoolUpdate: msRest.CompositeMapper = {
-  serializedName: "InstancePoolUpdate",
+export const ManagedInstanceOperationParametersPair: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceOperationParametersPair",
   type: {
     name: "Composite",
-    className: "InstancePoolUpdate",
+    className: "ManagedInstanceOperationParametersPair",
     modelProperties: {
-      tags: {
-        serializedName: "tags",
+      currentParameters: {
+        readOnly: true,
+        serializedName: "currentParameters",
         type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "Composite",
+          className: "UpsertManagedServerOperationParameters"
+        }
+      },
+      requestedParameters: {
+        readOnly: true,
+        serializedName: "requestedParameters",
+        type: {
+          name: "Composite",
+          className: "UpsertManagedServerOperationParameters"
         }
       }
     }
   }
 };
 
-export const Name: msRest.CompositeMapper = {
-  serializedName: "Name",
+export const UpsertManagedServerOperationStep: msRest.CompositeMapper = {
+  serializedName: "UpsertManagedServerOperationStep",
   type: {
     name: "Composite",
-    className: "Name",
+    className: "UpsertManagedServerOperationStep",
     modelProperties: {
-      value: {
-        serializedName: "value",
+      order: {
+        serializedName: "order",
+        type: {
+          name: "Number"
+        }
+      },
+      name: {
+        serializedName: "name",
         type: {
           name: "String"
         }
       },
-      localizedValue: {
-        serializedName: "localizedValue",
+      status: {
+        serializedName: "status",
         type: {
           name: "String"
         }
@@ -7643,459 +7274,569 @@ export const Name: msRest.CompositeMapper = {
   }
 };
 
-export const Usage: msRest.CompositeMapper = {
-  serializedName: "Usage",
+export const ManagedInstanceOperationSteps: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceOperationSteps",
   type: {
     name: "Composite",
-    className: "Usage",
+    className: "ManagedInstanceOperationSteps",
     modelProperties: {
-      id: {
+      totalSteps: {
         readOnly: true,
-        serializedName: "id",
+        serializedName: "totalSteps",
         type: {
           name: "String"
         }
       },
-      name: {
+      currentStep: {
         readOnly: true,
-        serializedName: "name",
+        serializedName: "currentStep",
         type: {
-          name: "Composite",
-          className: "Name"
+          name: "Number"
         }
       },
-      type: {
+      stepsList: {
         readOnly: true,
-        serializedName: "type",
+        serializedName: "stepsList",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "UpsertManagedServerOperationStep"
+            }
+          }
         }
-      },
-      unit: {
+      }
+    }
+  }
+};
+
+export const ManagedInstanceOperation: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceOperation",
+  type: {
+    name: "Composite",
+    className: "ManagedInstanceOperation",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      managedInstanceName: {
         readOnly: true,
-        serializedName: "unit",
+        serializedName: "properties.managedInstanceName",
         type: {
           name: "String"
         }
       },
-      currentValue: {
+      operation: {
         readOnly: true,
-        serializedName: "currentValue",
+        serializedName: "properties.operation",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      limit: {
+      operationFriendlyName: {
         readOnly: true,
-        serializedName: "limit",
+        serializedName: "properties.operationFriendlyName",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      requestedLimit: {
+      percentComplete: {
         readOnly: true,
-        serializedName: "requestedLimit",
+        serializedName: "properties.percentComplete",
         type: {
           name: "Number"
         }
-      }
-    }
-  }
-};
-
-export const ManagedInstance: msRest.CompositeMapper = {
-  serializedName: "ManagedInstance",
-  type: {
-    name: "Composite",
-    className: "ManagedInstance",
-    modelProperties: {
-      ...TrackedResource.type.modelProperties,
-      identity: {
-        serializedName: "identity",
-        type: {
-          name: "Composite",
-          className: "ResourceIdentity"
-        }
       },
-      sku: {
-        serializedName: "sku",
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
         type: {
-          name: "Composite",
-          className: "Sku"
+          name: "DateTime"
         }
       },
-      managedInstanceCreateMode: {
-        serializedName: "properties.managedInstanceCreateMode",
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
         type: {
           name: "String"
         }
       },
-      fullyQualifiedDomainName: {
+      errorCode: {
         readOnly: true,
-        serializedName: "properties.fullyQualifiedDomainName",
+        serializedName: "properties.errorCode",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      administratorLogin: {
-        serializedName: "properties.administratorLogin",
+      errorDescription: {
+        readOnly: true,
+        serializedName: "properties.errorDescription",
         type: {
           name: "String"
         }
       },
-      administratorLoginPassword: {
-        serializedName: "properties.administratorLoginPassword",
+      errorSeverity: {
+        readOnly: true,
+        serializedName: "properties.errorSeverity",
         type: {
-          name: "String"
+          name: "Number"
         }
       },
-      subnetId: {
-        serializedName: "properties.subnetId",
+      isUserError: {
+        readOnly: true,
+        serializedName: "properties.isUserError",
         type: {
-          name: "String"
+          name: "Boolean"
         }
       },
-      state: {
+      estimatedCompletionTime: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "properties.estimatedCompletionTime",
         type: {
-          name: "String"
+          name: "DateTime"
         }
       },
-      licenseType: {
-        serializedName: "properties.licenseType",
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
         type: {
           name: "String"
         }
       },
-      vCores: {
-        serializedName: "properties.vCores",
+      isCancellable: {
+        readOnly: true,
+        serializedName: "properties.isCancellable",
         type: {
-          name: "Number"
+          name: "Boolean"
         }
       },
-      storageSizeInGB: {
-        serializedName: "properties.storageSizeInGB",
+      operationParameters: {
+        readOnly: true,
+        serializedName: "properties.operationParameters",
         type: {
-          name: "Number"
+          name: "Composite",
+          className: "ManagedInstanceOperationParametersPair"
         }
       },
-      collation: {
-        serializedName: "properties.collation",
+      operationSteps: {
+        readOnly: true,
+        serializedName: "properties.operationSteps",
+        type: {
+          name: "Composite",
+          className: "ManagedInstanceOperationSteps"
+        }
+      }
+    }
+  }
+};
+
+export const ManagedInstancePrivateEndpointProperty: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateEndpointProperty",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePrivateEndpointProperty",
+    modelProperties: {
+      id: {
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ManagedInstancePrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateLinkServiceConnectionStateProperty",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePrivateLinkServiceConnectionStateProperty",
+    modelProperties: {
+      status: {
+        required: true,
+        serializedName: "status",
         type: {
           name: "String"
         }
       },
-      dnsZone: {
-        readOnly: true,
-        serializedName: "properties.dnsZone",
+      description: {
+        required: true,
+        serializedName: "description",
         type: {
           name: "String"
         }
       },
-      dnsZonePartner: {
-        serializedName: "properties.dnsZonePartner",
+      actionsRequired: {
+        readOnly: true,
+        serializedName: "actionsRequired",
         type: {
           name: "String"
         }
+      }
+    }
+  }
+};
+
+export const ManagedInstancePrivateEndpointConnectionProperties: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateEndpointConnectionProperties",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePrivateEndpointConnectionProperties",
+    modelProperties: {
+      privateEndpoint: {
+        serializedName: "privateEndpoint",
+        type: {
+          name: "Composite",
+          className: "ManagedInstancePrivateEndpointProperty"
+        }
       },
-      publicDataEndpointEnabled: {
-        serializedName: "properties.publicDataEndpointEnabled",
+      privateLinkServiceConnectionState: {
+        serializedName: "privateLinkServiceConnectionState",
         type: {
-          name: "Boolean"
+          name: "Composite",
+          className: "ManagedInstancePrivateLinkServiceConnectionStateProperty"
         }
       },
-      sourceManagedInstanceId: {
-        serializedName: "properties.sourceManagedInstanceId",
+      provisioningState: {
+        readOnly: true,
+        serializedName: "provisioningState",
         type: {
           name: "String"
         }
+      }
+    }
+  }
+};
+
+export const ManagedInstancePrivateEndpointConnection: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateEndpointConnection",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePrivateEndpointConnection",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      privateEndpoint: {
+        serializedName: "properties.privateEndpoint",
+        type: {
+          name: "Composite",
+          className: "ManagedInstancePrivateEndpointProperty"
+        }
       },
-      restorePointInTime: {
-        serializedName: "properties.restorePointInTime",
+      privateLinkServiceConnectionState: {
+        serializedName: "properties.privateLinkServiceConnectionState",
         type: {
-          name: "DateTime"
+          name: "Composite",
+          className: "ManagedInstancePrivateLinkServiceConnectionStateProperty"
         }
       },
-      proxyOverride: {
-        serializedName: "properties.proxyOverride",
+      provisioningState: {
+        readOnly: true,
+        serializedName: "properties.provisioningState",
         type: {
           name: "String"
         }
-      },
-      timezoneId: {
-        serializedName: "properties.timezoneId",
+      }
+    }
+  }
+};
+
+export const ManagedInstancePrivateLinkProperties: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateLinkProperties",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePrivateLinkProperties",
+    modelProperties: {
+      groupId: {
+        readOnly: true,
+        serializedName: "groupId",
         type: {
           name: "String"
         }
       },
-      instancePoolId: {
-        serializedName: "properties.instancePoolId",
+      requiredMembers: {
+        readOnly: true,
+        serializedName: "requiredMembers",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
         }
       }
     }
   }
 };
 
-export const ManagedInstanceUpdate: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceUpdate",
+export const ManagedInstancePrivateLink: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateLink",
   type: {
     name: "Composite",
-    className: "ManagedInstanceUpdate",
+    className: "ManagedInstancePrivateLink",
     modelProperties: {
-      sku: {
-        serializedName: "sku",
+      ...ProxyResource.type.modelProperties,
+      properties: {
+        readOnly: true,
+        serializedName: "properties",
         type: {
           name: "Composite",
-          className: "Sku"
+          className: "ManagedInstancePrivateLinkProperties"
         }
-      },
-      managedInstanceCreateMode: {
-        serializedName: "properties.managedInstanceCreateMode",
+      }
+    }
+  }
+};
+
+export const UserIdentity: msRest.CompositeMapper = {
+  serializedName: "UserIdentity",
+  type: {
+    name: "Composite",
+    className: "UserIdentity",
+    modelProperties: {
+      principalId: {
+        readOnly: true,
+        serializedName: "principalId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
       },
-      fullyQualifiedDomainName: {
+      clientId: {
         readOnly: true,
-        serializedName: "properties.fullyQualifiedDomainName",
+        serializedName: "clientId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
-      },
-      administratorLogin: {
-        serializedName: "properties.administratorLogin",
+      }
+    }
+  }
+};
+
+export const ResourceIdentityWithUserAssignedIdentities: msRest.CompositeMapper = {
+  serializedName: "ResourceIdentityWithUserAssignedIdentities",
+  type: {
+    name: "Composite",
+    className: "ResourceIdentityWithUserAssignedIdentities",
+    modelProperties: {
+      userAssignedIdentities: {
+        serializedName: "userAssignedIdentities",
         type: {
-          name: "String"
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "Composite",
+              className: "UserIdentity"
+            }
+          }
         }
       },
-      administratorLoginPassword: {
-        serializedName: "properties.administratorLoginPassword",
+      principalId: {
+        readOnly: true,
+        serializedName: "principalId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
       },
-      subnetId: {
-        serializedName: "properties.subnetId",
+      type: {
+        serializedName: "type",
         type: {
           name: "String"
         }
       },
-      state: {
+      tenantId: {
         readOnly: true,
-        serializedName: "properties.state",
+        serializedName: "tenantId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
-      },
-      licenseType: {
-        serializedName: "properties.licenseType",
-        type: {
-          name: "String"
-        }
-      },
-      vCores: {
-        serializedName: "properties.vCores",
-        type: {
-          name: "Number"
-        }
-      },
-      storageSizeInGB: {
-        serializedName: "properties.storageSizeInGB",
-        type: {
-          name: "Number"
-        }
-      },
-      collation: {
-        serializedName: "properties.collation",
+      }
+    }
+  }
+};
+
+export const ManagedInstancePecProperty: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePecProperty",
+  type: {
+    name: "Composite",
+    className: "ManagedInstancePecProperty",
+    modelProperties: {
+      id: {
+        readOnly: true,
+        serializedName: "id",
         type: {
           name: "String"
         }
       },
-      dnsZone: {
+      properties: {
         readOnly: true,
-        serializedName: "properties.dnsZone",
+        serializedName: "properties",
         type: {
-          name: "String"
+          name: "Composite",
+          className: "ManagedInstancePrivateEndpointConnectionProperties"
         }
-      },
-      dnsZonePartner: {
-        serializedName: "properties.dnsZonePartner",
+      }
+    }
+  }
+};
+
+export const ManagedInstanceExternalAdministrator: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceExternalAdministrator",
+  type: {
+    name: "Composite",
+    className: "ManagedInstanceExternalAdministrator",
+    modelProperties: {
+      administratorType: {
+        serializedName: "administratorType",
         type: {
           name: "String"
         }
       },
-      publicDataEndpointEnabled: {
-        serializedName: "properties.publicDataEndpointEnabled",
-        type: {
-          name: "Boolean"
-        }
-      },
-      sourceManagedInstanceId: {
-        serializedName: "properties.sourceManagedInstanceId",
+      principalType: {
+        serializedName: "principalType",
         type: {
           name: "String"
         }
       },
-      restorePointInTime: {
-        serializedName: "properties.restorePointInTime",
-        type: {
-          name: "DateTime"
-        }
-      },
-      proxyOverride: {
-        serializedName: "properties.proxyOverride",
+      login: {
+        serializedName: "login",
         type: {
           name: "String"
         }
       },
-      timezoneId: {
-        serializedName: "properties.timezoneId",
+      sid: {
+        serializedName: "sid",
         type: {
-          name: "String"
+          name: "Uuid"
         }
       },
-      instancePoolId: {
-        serializedName: "properties.instancePoolId",
+      tenantId: {
+        serializedName: "tenantId",
         type: {
-          name: "String"
+          name: "Uuid"
         }
       },
-      tags: {
-        serializedName: "tags",
+      azureADOnlyAuthentication: {
+        serializedName: "azureADOnlyAuthentication",
         type: {
-          name: "Dictionary",
-          value: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "Boolean"
         }
       }
     }
   }
 };
 
-export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabaseRestoreDetailsResult",
+export const ManagedInstance: msRest.CompositeMapper = {
+  serializedName: "ManagedInstance",
   type: {
     name: "Composite",
-    className: "ManagedDatabaseRestoreDetailsResult",
+    className: "ManagedInstance",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      status: {
+      ...TrackedResource.type.modelProperties,
+      identity: {
+        serializedName: "identity",
+        type: {
+          name: "Composite",
+          className: "ResourceIdentityWithUserAssignedIdentities"
+        }
+      },
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      provisioningState: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "properties.provisioningState",
         type: {
           name: "String"
         }
       },
-      currentRestoringFileName: {
-        readOnly: true,
-        serializedName: "properties.currentRestoringFileName",
+      managedInstanceCreateMode: {
+        serializedName: "properties.managedInstanceCreateMode",
         type: {
           name: "String"
         }
       },
-      lastRestoredFileName: {
+      fullyQualifiedDomainName: {
         readOnly: true,
-        serializedName: "properties.lastRestoredFileName",
+        serializedName: "properties.fullyQualifiedDomainName",
         type: {
           name: "String"
         }
       },
-      lastRestoredFileTime: {
-        readOnly: true,
-        serializedName: "properties.lastRestoredFileTime",
+      administratorLogin: {
+        serializedName: "properties.administratorLogin",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      percentCompleted: {
-        readOnly: true,
-        serializedName: "properties.percentCompleted",
+      administratorLoginPassword: {
+        serializedName: "properties.administratorLoginPassword",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      unrestorableFiles: {
-        readOnly: true,
-        serializedName: "properties.unrestorableFiles",
+      subnetId: {
+        serializedName: "properties.subnetId",
         type: {
-          name: "Sequence",
-          element: {
-            type: {
-              name: "String"
-            }
-          }
+          name: "String"
         }
       },
-      numberOfFilesDetected: {
+      state: {
         readOnly: true,
-        serializedName: "properties.numberOfFilesDetected",
+        serializedName: "properties.state",
         type: {
-          name: "Number"
+          name: "String"
         }
       },
-      lastUploadedFileName: {
-        readOnly: true,
-        serializedName: "properties.lastUploadedFileName",
+      licenseType: {
+        serializedName: "properties.licenseType",
         type: {
           name: "String"
         }
       },
-      lastUploadedFileTime: {
-        readOnly: true,
-        serializedName: "properties.lastUploadedFileTime",
+      vCores: {
+        serializedName: "properties.vCores",
         type: {
-          name: "DateTime"
+          name: "Number"
         }
       },
-      blockReason: {
-        readOnly: true,
-        serializedName: "properties.blockReason",
+      storageSizeInGB: {
+        serializedName: "properties.storageSizeInGB",
         type: {
-          name: "String"
+          name: "Number"
         }
-      }
-    }
-  }
-};
-
-export const ManagedDatabase: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabase",
-  type: {
-    name: "Composite",
-    className: "ManagedDatabase",
-    modelProperties: {
-      ...TrackedResource.type.modelProperties,
+      },
       collation: {
         serializedName: "properties.collation",
         type: {
           name: "String"
         }
       },
-      status: {
+      dnsZone: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "properties.dnsZone",
         type: {
           name: "String"
         }
       },
-      creationDate: {
-        readOnly: true,
-        serializedName: "properties.creationDate",
+      dnsZonePartner: {
+        serializedName: "properties.dnsZonePartner",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      earliestRestorePoint: {
-        readOnly: true,
-        serializedName: "properties.earliestRestorePoint",
+      publicDataEndpointEnabled: {
+        serializedName: "properties.publicDataEndpointEnabled",
         type: {
-          name: "DateTime"
+          name: "Boolean"
+        }
+      },
+      sourceManagedInstanceId: {
+        serializedName: "properties.sourceManagedInstanceId",
+        type: {
+          name: "String"
         }
       },
       restorePointInTime: {
@@ -8104,97 +7845,196 @@ export const ManagedDatabase: msRest.CompositeMapper = {
           name: "DateTime"
         }
       },
-      defaultSecondaryLocation: {
-        readOnly: true,
-        serializedName: "properties.defaultSecondaryLocation",
+      proxyOverride: {
+        serializedName: "properties.proxyOverride",
         type: {
           name: "String"
         }
       },
-      catalogCollation: {
-        serializedName: "properties.catalogCollation",
+      timezoneId: {
+        serializedName: "properties.timezoneId",
         type: {
           name: "String"
         }
       },
-      createMode: {
-        serializedName: "properties.createMode",
+      instancePoolId: {
+        serializedName: "properties.instancePoolId",
         type: {
           name: "String"
         }
       },
-      storageContainerUri: {
-        serializedName: "properties.storageContainerUri",
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
         type: {
           name: "String"
         }
       },
-      sourceDatabaseId: {
-        serializedName: "properties.sourceDatabaseId",
+      privateEndpointConnections: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointConnections",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstancePecProperty"
+            }
+          }
         }
       },
-      restorableDroppedDatabaseId: {
-        serializedName: "properties.restorableDroppedDatabaseId",
+      minimalTlsVersion: {
+        serializedName: "properties.minimalTlsVersion",
         type: {
           name: "String"
         }
       },
-      storageContainerSasToken: {
-        serializedName: "properties.storageContainerSasToken",
+      storageAccountType: {
+        serializedName: "properties.storageAccountType",
         type: {
           name: "String"
         }
       },
-      failoverGroupId: {
-        readOnly: true,
-        serializedName: "properties.failoverGroupId",
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
+        type: {
+          name: "Boolean"
+        }
+      },
+      primaryUserAssignedIdentityId: {
+        serializedName: "properties.primaryUserAssignedIdentityId",
         type: {
           name: "String"
         }
       },
-      recoverableDatabaseId: {
-        serializedName: "properties.recoverableDatabaseId",
+      keyId: {
+        serializedName: "properties.keyId",
         type: {
           name: "String"
         }
+      },
+      administrators: {
+        serializedName: "properties.administrators",
+        type: {
+          name: "Composite",
+          className: "ManagedInstanceExternalAdministrator"
+        }
       }
     }
   }
 };
 
-export const ManagedDatabaseUpdate: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabaseUpdate",
-  type: {
+export const ManagedInstanceUpdate: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceUpdate",
+  type: {
     name: "Composite",
-    className: "ManagedDatabaseUpdate",
+    className: "ManagedInstanceUpdate",
     modelProperties: {
-      collation: {
-        serializedName: "properties.collation",
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      identity: {
+        serializedName: "identity",
+        type: {
+          name: "Composite",
+          className: "ResourceIdentityWithUserAssignedIdentities"
+        }
+      },
+      provisioningState: {
+        readOnly: true,
+        serializedName: "properties.provisioningState",
         type: {
           name: "String"
         }
       },
-      status: {
+      managedInstanceCreateMode: {
+        serializedName: "properties.managedInstanceCreateMode",
+        type: {
+          name: "String"
+        }
+      },
+      fullyQualifiedDomainName: {
         readOnly: true,
-        serializedName: "properties.status",
+        serializedName: "properties.fullyQualifiedDomainName",
         type: {
           name: "String"
         }
       },
-      creationDate: {
+      administratorLogin: {
+        serializedName: "properties.administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        serializedName: "properties.administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      subnetId: {
+        serializedName: "properties.subnetId",
+        type: {
+          name: "String"
+        }
+      },
+      state: {
         readOnly: true,
-        serializedName: "properties.creationDate",
+        serializedName: "properties.state",
         type: {
-          name: "DateTime"
+          name: "String"
         }
       },
-      earliestRestorePoint: {
+      licenseType: {
+        serializedName: "properties.licenseType",
+        type: {
+          name: "String"
+        }
+      },
+      vCores: {
+        serializedName: "properties.vCores",
+        type: {
+          name: "Number"
+        }
+      },
+      storageSizeInGB: {
+        serializedName: "properties.storageSizeInGB",
+        type: {
+          name: "Number"
+        }
+      },
+      collation: {
+        serializedName: "properties.collation",
+        type: {
+          name: "String"
+        }
+      },
+      dnsZone: {
         readOnly: true,
-        serializedName: "properties.earliestRestorePoint",
+        serializedName: "properties.dnsZone",
         type: {
-          name: "DateTime"
+          name: "String"
+        }
+      },
+      dnsZonePartner: {
+        serializedName: "properties.dnsZonePartner",
+        type: {
+          name: "String"
+        }
+      },
+      publicDataEndpointEnabled: {
+        serializedName: "properties.publicDataEndpointEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      sourceManagedInstanceId: {
+        serializedName: "properties.sourceManagedInstanceId",
+        type: {
+          name: "String"
         }
       },
       restorePointInTime: {
@@ -8203,62 +8043,80 @@ export const ManagedDatabaseUpdate: msRest.CompositeMapper = {
           name: "DateTime"
         }
       },
-      defaultSecondaryLocation: {
-        readOnly: true,
-        serializedName: "properties.defaultSecondaryLocation",
+      proxyOverride: {
+        serializedName: "properties.proxyOverride",
         type: {
           name: "String"
         }
       },
-      catalogCollation: {
-        serializedName: "properties.catalogCollation",
+      timezoneId: {
+        serializedName: "properties.timezoneId",
         type: {
           name: "String"
         }
       },
-      createMode: {
-        serializedName: "properties.createMode",
+      instancePoolId: {
+        serializedName: "properties.instancePoolId",
         type: {
           name: "String"
         }
       },
-      storageContainerUri: {
-        serializedName: "properties.storageContainerUri",
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
         type: {
           name: "String"
         }
       },
-      sourceDatabaseId: {
-        serializedName: "properties.sourceDatabaseId",
+      privateEndpointConnections: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointConnections",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ManagedInstancePecProperty"
+            }
+          }
         }
       },
-      restorableDroppedDatabaseId: {
-        serializedName: "properties.restorableDroppedDatabaseId",
+      minimalTlsVersion: {
+        serializedName: "properties.minimalTlsVersion",
         type: {
           name: "String"
         }
       },
-      storageContainerSasToken: {
-        serializedName: "properties.storageContainerSasToken",
+      storageAccountType: {
+        serializedName: "properties.storageAccountType",
         type: {
           name: "String"
         }
       },
-      failoverGroupId: {
-        readOnly: true,
-        serializedName: "properties.failoverGroupId",
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
+        type: {
+          name: "Boolean"
+        }
+      },
+      primaryUserAssignedIdentityId: {
+        serializedName: "properties.primaryUserAssignedIdentityId",
         type: {
           name: "String"
         }
       },
-      recoverableDatabaseId: {
-        serializedName: "properties.recoverableDatabaseId",
+      keyId: {
+        serializedName: "properties.keyId",
         type: {
           name: "String"
         }
       },
+      administrators: {
+        serializedName: "properties.administrators",
+        type: {
+          name: "Composite",
+          className: "ManagedInstanceExternalAdministrator"
+        }
+      },
       tags: {
         serializedName: "tags",
         type: {
@@ -8274,15 +8132,4505 @@ export const ManagedDatabaseUpdate: msRest.CompositeMapper = {
   }
 };
 
-export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = {
-  serializedName: "CompleteDatabaseRestoreDefinition",
+export const TopQueries: msRest.CompositeMapper = {
+  serializedName: "TopQueries",
   type: {
     name: "Composite",
-    className: "CompleteDatabaseRestoreDefinition",
+    className: "TopQueries",
     modelProperties: {
-      lastBackupName: {
+      numberOfQueries: {
+        readOnly: true,
+        serializedName: "numberOfQueries",
+        type: {
+          name: "Number"
+        }
+      },
+      aggregationFunction: {
+        readOnly: true,
+        serializedName: "aggregationFunction",
+        type: {
+          name: "String"
+        }
+      },
+      observationMetric: {
+        readOnly: true,
+        serializedName: "observationMetric",
+        type: {
+          name: "String"
+        }
+      },
+      intervalType: {
+        readOnly: true,
+        serializedName: "intervalType",
+        type: {
+          name: "String"
+        }
+      },
+      startTime: {
+        readOnly: true,
+        serializedName: "startTime",
+        type: {
+          name: "String"
+        }
+      },
+      endTime: {
+        readOnly: true,
+        serializedName: "endTime",
+        type: {
+          name: "String"
+        }
+      },
+      queries: {
+        serializedName: "queries",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "QueryStatisticsProperties"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const TdeCertificate: msRest.CompositeMapper = {
+  serializedName: "TdeCertificate",
+  type: {
+    name: "Composite",
+    className: "TdeCertificate",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      privateBlob: {
         required: true,
-        serializedName: "lastBackupName",
+        serializedName: "properties.privateBlob",
+        type: {
+          name: "String"
+        }
+      },
+      certPassword: {
+        serializedName: "properties.certPassword",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceVulnerabilityAssessment",
+  type: {
+    name: "Composite",
+    className: "ManagedInstanceVulnerabilityAssessment",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      storageContainerPath: {
+        required: true,
+        serializedName: "properties.storageContainerPath",
+        type: {
+          name: "String"
+        }
+      },
+      storageContainerSasKey: {
+        serializedName: "properties.storageContainerSasKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      recurringScans: {
+        serializedName: "properties.recurringScans",
+        type: {
+          name: "Composite",
+          className: "VulnerabilityAssessmentRecurringScansProperties"
+        }
+      }
+    }
+  }
+};
+
+export const ManagedServerSecurityAlertPolicy: msRest.CompositeMapper = {
+  serializedName: "ManagedServerSecurityAlertPolicy",
+  type: {
+    name: "Composite",
+    className: "ManagedServerSecurityAlertPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      systemData: {
+        readOnly: true,
+        serializedName: "systemData",
+        type: {
+          name: "Composite",
+          className: "SystemData"
+        }
+      },
+      state: {
+        required: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
+        }
+      },
+      disabledAlerts: {
+        serializedName: "properties.disabledAlerts",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAddresses: {
+        serializedName: "properties.emailAddresses",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAccountAdmins: {
+        serializedName: "properties.emailAccountAdmins",
+        type: {
+          name: "Boolean"
+        }
+      },
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      retentionDays: {
+        serializedName: "properties.retentionDays",
+        type: {
+          name: "Number"
+        }
+      },
+      creationTime: {
+        readOnly: true,
+        serializedName: "properties.creationTime",
+        type: {
+          name: "DateTime"
+        }
+      }
+    }
+  }
+};
+
+export const OperationDisplay: msRest.CompositeMapper = {
+  serializedName: "OperationDisplay",
+  type: {
+    name: "Composite",
+    className: "OperationDisplay",
+    modelProperties: {
+      provider: {
+        readOnly: true,
+        serializedName: "provider",
+        type: {
+          name: "String"
+        }
+      },
+      resource: {
+        readOnly: true,
+        serializedName: "resource",
+        type: {
+          name: "String"
+        }
+      },
+      operation: {
+        readOnly: true,
+        serializedName: "operation",
+        type: {
+          name: "String"
+        }
+      },
+      description: {
+        readOnly: true,
+        serializedName: "description",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const Operation: msRest.CompositeMapper = {
+  serializedName: "Operation",
+  type: {
+    name: "Composite",
+    className: "Operation",
+    modelProperties: {
+      name: {
+        readOnly: true,
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      display: {
+        readOnly: true,
+        serializedName: "display",
+        type: {
+          name: "Composite",
+          className: "OperationDisplay"
+        }
+      },
+      origin: {
+        readOnly: true,
+        serializedName: "origin",
+        type: {
+          name: "String"
+        }
+      },
+      properties: {
+        readOnly: true,
+        serializedName: "properties",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "Object"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const OperationsHealth: msRest.CompositeMapper = {
+  serializedName: "OperationsHealth",
+  type: {
+    name: "Composite",
+    className: "OperationsHealth",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      operationsHealthName: {
+        readOnly: true,
+        serializedName: "properties.name",
+        type: {
+          name: "String"
+        }
+      },
+      health: {
+        readOnly: true,
+        serializedName: "properties.health",
+        type: {
+          name: "String"
+        }
+      },
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateEndpointProperty: msRest.CompositeMapper = {
+  serializedName: "PrivateEndpointProperty",
+  type: {
+    name: "Composite",
+    className: "PrivateEndpointProperty",
+    modelProperties: {
+      id: {
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = {
+  serializedName: "PrivateLinkServiceConnectionStateProperty",
+  type: {
+    name: "Composite",
+    className: "PrivateLinkServiceConnectionStateProperty",
+    modelProperties: {
+      status: {
+        required: true,
+        serializedName: "status",
+        type: {
+          name: "String"
+        }
+      },
+      description: {
+        required: true,
+        serializedName: "description",
+        type: {
+          name: "String"
+        }
+      },
+      actionsRequired: {
+        readOnly: true,
+        serializedName: "actionsRequired",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateEndpointConnectionProperties: msRest.CompositeMapper = {
+  serializedName: "PrivateEndpointConnectionProperties",
+  type: {
+    name: "Composite",
+    className: "PrivateEndpointConnectionProperties",
+    modelProperties: {
+      privateEndpoint: {
+        serializedName: "privateEndpoint",
+        type: {
+          name: "Composite",
+          className: "PrivateEndpointProperty"
+        }
+      },
+      privateLinkServiceConnectionState: {
+        serializedName: "privateLinkServiceConnectionState",
+        type: {
+          name: "Composite",
+          className: "PrivateLinkServiceConnectionStateProperty"
+        }
+      },
+      provisioningState: {
+        readOnly: true,
+        serializedName: "provisioningState",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateEndpointConnection: msRest.CompositeMapper = {
+  serializedName: "PrivateEndpointConnection",
+  type: {
+    name: "Composite",
+    className: "PrivateEndpointConnection",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      privateEndpoint: {
+        serializedName: "properties.privateEndpoint",
+        type: {
+          name: "Composite",
+          className: "PrivateEndpointProperty"
+        }
+      },
+      privateLinkServiceConnectionState: {
+        serializedName: "properties.privateLinkServiceConnectionState",
+        type: {
+          name: "Composite",
+          className: "PrivateLinkServiceConnectionStateProperty"
+        }
+      },
+      provisioningState: {
+        readOnly: true,
+        serializedName: "properties.provisioningState",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateLinkResourceProperties: msRest.CompositeMapper = {
+  serializedName: "PrivateLinkResourceProperties",
+  type: {
+    name: "Composite",
+    className: "PrivateLinkResourceProperties",
+    modelProperties: {
+      groupId: {
+        readOnly: true,
+        serializedName: "groupId",
+        type: {
+          name: "String"
+        }
+      },
+      requiredMembers: {
+        readOnly: true,
+        serializedName: "requiredMembers",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      requiredZoneNames: {
+        readOnly: true,
+        serializedName: "requiredZoneNames",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const PrivateLinkResource: msRest.CompositeMapper = {
+  serializedName: "PrivateLinkResource",
+  type: {
+    name: "Composite",
+    className: "PrivateLinkResource",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      properties: {
+        readOnly: true,
+        serializedName: "properties",
+        type: {
+          name: "Composite",
+          className: "PrivateLinkResourceProperties"
+        }
+      }
+    }
+  }
+};
+
+export const RecoverableManagedDatabase: msRest.CompositeMapper = {
+  serializedName: "RecoverableManagedDatabase",
+  type: {
+    name: "Composite",
+    className: "RecoverableManagedDatabase",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      lastAvailableBackupDate: {
+        readOnly: true,
+        serializedName: "properties.lastAvailableBackupDate",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ReplicationLink: msRest.CompositeMapper = {
+  serializedName: "ReplicationLink",
+  type: {
+    name: "Composite",
+    className: "ReplicationLink",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      partnerServer: {
+        readOnly: true,
+        serializedName: "properties.partnerServer",
+        type: {
+          name: "String"
+        }
+      },
+      partnerDatabase: {
+        readOnly: true,
+        serializedName: "properties.partnerDatabase",
+        type: {
+          name: "String"
+        }
+      },
+      partnerLocation: {
+        readOnly: true,
+        serializedName: "properties.partnerLocation",
+        type: {
+          name: "String"
+        }
+      },
+      role: {
+        readOnly: true,
+        serializedName: "properties.role",
+        type: {
+          name: "String"
+        }
+      },
+      partnerRole: {
+        readOnly: true,
+        serializedName: "properties.partnerRole",
+        type: {
+          name: "String"
+        }
+      },
+      replicationMode: {
+        readOnly: true,
+        serializedName: "properties.replicationMode",
+        type: {
+          name: "String"
+        }
+      },
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
+        type: {
+          name: "Number"
+        }
+      },
+      replicationState: {
+        readOnly: true,
+        serializedName: "properties.replicationState",
+        type: {
+          name: "String"
+        }
+      },
+      isTerminationAllowed: {
+        readOnly: true,
+        serializedName: "properties.isTerminationAllowed",
+        type: {
+          name: "Boolean"
+        }
+      },
+      linkType: {
+        readOnly: true,
+        serializedName: "properties.linkType",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const RestorePoint: msRest.CompositeMapper = {
+  serializedName: "RestorePoint",
+  type: {
+    name: "Composite",
+    className: "RestorePoint",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      location: {
+        readOnly: true,
+        serializedName: "location",
+        type: {
+          name: "String"
+        }
+      },
+      restorePointType: {
+        readOnly: true,
+        serializedName: "properties.restorePointType",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "CONTINUOUS",
+            "DISCRETE"
+          ]
+        }
+      },
+      earliestRestoreDate: {
+        readOnly: true,
+        serializedName: "properties.earliestRestoreDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      restorePointCreationDate: {
+        readOnly: true,
+        serializedName: "properties.restorePointCreationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      restorePointLabel: {
+        readOnly: true,
+        serializedName: "properties.restorePointLabel",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const CreateDatabaseRestorePointDefinition: msRest.CompositeMapper = {
+  serializedName: "CreateDatabaseRestorePointDefinition",
+  type: {
+    name: "Composite",
+    className: "CreateDatabaseRestorePointDefinition",
+    modelProperties: {
+      restorePointLabel: {
+        required: true,
+        serializedName: "restorePointLabel",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const AutomaticTuningServerOptions: msRest.CompositeMapper = {
+  serializedName: "AutomaticTuningServerOptions",
+  type: {
+    name: "Composite",
+    className: "AutomaticTuningServerOptions",
+    modelProperties: {
+      desiredState: {
+        serializedName: "desiredState",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Off",
+            "On",
+            "Default"
+          ]
+        }
+      },
+      actualState: {
+        readOnly: true,
+        serializedName: "actualState",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Off",
+            "On"
+          ]
+        }
+      },
+      reasonCode: {
+        readOnly: true,
+        serializedName: "reasonCode",
+        type: {
+          name: "Number"
+        }
+      },
+      reasonDesc: {
+        readOnly: true,
+        serializedName: "reasonDesc",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Default",
+            "Disabled",
+            "AutoConfigured"
+          ]
+        }
+      }
+    }
+  }
+};
+
+export const ServerAutomaticTuning: msRest.CompositeMapper = {
+  serializedName: "ServerAutomaticTuning",
+  type: {
+    name: "Composite",
+    className: "ServerAutomaticTuning",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      desiredState: {
+        serializedName: "properties.desiredState",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Custom",
+            "Auto",
+            "Unspecified"
+          ]
+        }
+      },
+      actualState: {
+        readOnly: true,
+        serializedName: "properties.actualState",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Custom",
+            "Auto",
+            "Unspecified"
+          ]
+        }
+      },
+      options: {
+        serializedName: "properties.options",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "Composite",
+              className: "AutomaticTuningServerOptions"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ServerAzureADAdministrator: msRest.CompositeMapper = {
+  serializedName: "ServerAzureADAdministrator",
+  type: {
+    name: "Composite",
+    className: "ServerAzureADAdministrator",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      administratorType: {
+        required: true,
+        isConstant: true,
+        serializedName: "properties.administratorType",
+        defaultValue: 'ActiveDirectory',
+        type: {
+          name: "String"
+        }
+      },
+      login: {
+        required: true,
+        serializedName: "properties.login",
+        type: {
+          name: "String"
+        }
+      },
+      sid: {
+        required: true,
+        serializedName: "properties.sid",
+        type: {
+          name: "Uuid"
+        }
+      },
+      tenantId: {
+        serializedName: "properties.tenantId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      azureADOnlyAuthentication: {
+        readOnly: true,
+        serializedName: "properties.azureADOnlyAuthentication",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const ServerAzureADOnlyAuthentication: msRest.CompositeMapper = {
+  serializedName: "ServerAzureADOnlyAuthentication",
+  type: {
+    name: "Composite",
+    className: "ServerAzureADOnlyAuthentication",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      azureADOnlyAuthentication: {
+        required: true,
+        serializedName: "properties.azureADOnlyAuthentication",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const ServerDevOpsAuditingSettings: msRest.CompositeMapper = {
+  serializedName: "ServerDevOpsAuditingSettings",
+  type: {
+    name: "Composite",
+    className: "ServerDevOpsAuditingSettings",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      systemData: {
+        readOnly: true,
+        serializedName: "systemData",
+        type: {
+          name: "Composite",
+          className: "SystemData"
+        }
+      },
+      isAzureMonitorTargetEnabled: {
+        serializedName: "properties.isAzureMonitorTargetEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      state: {
+        required: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
+        }
+      },
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountSubscriptionId: {
+        serializedName: "properties.storageAccountSubscriptionId",
+        type: {
+          name: "Uuid"
+        }
+      }
+    }
+  }
+};
+
+export const ServerDnsAlias: msRest.CompositeMapper = {
+  serializedName: "ServerDnsAlias",
+  type: {
+    name: "Composite",
+    className: "ServerDnsAlias",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      azureDnsRecord: {
+        readOnly: true,
+        serializedName: "properties.azureDnsRecord",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerDnsAliasAcquisition: msRest.CompositeMapper = {
+  serializedName: "ServerDnsAliasAcquisition",
+  type: {
+    name: "Composite",
+    className: "ServerDnsAliasAcquisition",
+    modelProperties: {
+      oldServerDnsAliasId: {
+        required: true,
+        serializedName: "oldServerDnsAliasId",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerKey: msRest.CompositeMapper = {
+  serializedName: "ServerKey",
+  type: {
+    name: "Composite",
+    className: "ServerKey",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      kind: {
+        readOnly: true,
+        serializedName: "kind",
+        type: {
+          name: "String"
+        }
+      },
+      location: {
+        readOnly: true,
+        serializedName: "location",
+        type: {
+          name: "String"
+        }
+      },
+      subregion: {
+        readOnly: true,
+        serializedName: "properties.subregion",
+        type: {
+          name: "String"
+        }
+      },
+      serverKeyType: {
+        required: true,
+        serializedName: "properties.serverKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      uri: {
+        serializedName: "properties.uri",
+        type: {
+          name: "String"
+        }
+      },
+      thumbprint: {
+        readOnly: true,
+        serializedName: "properties.thumbprint",
+        type: {
+          name: "String"
+        }
+      },
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      autoRotationEnabled: {
+        readOnly: true,
+        serializedName: "properties.autoRotationEnabled",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const ServerOperation: msRest.CompositeMapper = {
+  serializedName: "ServerOperation",
+  type: {
+    name: "Composite",
+    className: "ServerOperation",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      operation: {
+        readOnly: true,
+        serializedName: "properties.operation",
+        type: {
+          name: "String"
+        }
+      },
+      operationFriendlyName: {
+        readOnly: true,
+        serializedName: "properties.operationFriendlyName",
+        type: {
+          name: "String"
+        }
+      },
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
+        type: {
+          name: "Number"
+        }
+      },
+      serverName: {
+        readOnly: true,
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      },
+      errorCode: {
+        readOnly: true,
+        serializedName: "properties.errorCode",
+        type: {
+          name: "Number"
+        }
+      },
+      errorDescription: {
+        readOnly: true,
+        serializedName: "properties.errorDescription",
+        type: {
+          name: "String"
+        }
+      },
+      errorSeverity: {
+        readOnly: true,
+        serializedName: "properties.errorSeverity",
+        type: {
+          name: "Number"
+        }
+      },
+      isUserError: {
+        readOnly: true,
+        serializedName: "properties.isUserError",
+        type: {
+          name: "Boolean"
+        }
+      },
+      estimatedCompletionTime: {
+        readOnly: true,
+        serializedName: "properties.estimatedCompletionTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
+        type: {
+          name: "String"
+        }
+      },
+      isCancellable: {
+        readOnly: true,
+        serializedName: "properties.isCancellable",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const ServerPrivateEndpointConnection: msRest.CompositeMapper = {
+  serializedName: "ServerPrivateEndpointConnection",
+  type: {
+    name: "Composite",
+    className: "ServerPrivateEndpointConnection",
+    modelProperties: {
+      id: {
+        readOnly: true,
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      },
+      properties: {
+        readOnly: true,
+        serializedName: "properties",
+        type: {
+          name: "Composite",
+          className: "PrivateEndpointConnectionProperties"
+        }
+      }
+    }
+  }
+};
+
+export const ServerExternalAdministrator: msRest.CompositeMapper = {
+  serializedName: "ServerExternalAdministrator",
+  type: {
+    name: "Composite",
+    className: "ServerExternalAdministrator",
+    modelProperties: {
+      administratorType: {
+        serializedName: "administratorType",
+        type: {
+          name: "String"
+        }
+      },
+      principalType: {
+        serializedName: "principalType",
+        type: {
+          name: "String"
+        }
+      },
+      login: {
+        serializedName: "login",
+        type: {
+          name: "String"
+        }
+      },
+      sid: {
+        serializedName: "sid",
+        type: {
+          name: "Uuid"
+        }
+      },
+      tenantId: {
+        serializedName: "tenantId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      azureADOnlyAuthentication: {
+        serializedName: "azureADOnlyAuthentication",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const Server: msRest.CompositeMapper = {
+  serializedName: "Server",
+  type: {
+    name: "Composite",
+    className: "Server",
+    modelProperties: {
+      ...TrackedResource.type.modelProperties,
+      identity: {
+        serializedName: "identity",
+        type: {
+          name: "Composite",
+          className: "ResourceIdentityWithUserAssignedIdentities"
+        }
+      },
+      kind: {
+        readOnly: true,
+        serializedName: "kind",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLogin: {
+        serializedName: "properties.administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        serializedName: "properties.administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      version: {
+        serializedName: "properties.version",
+        type: {
+          name: "String"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      },
+      fullyQualifiedDomainName: {
+        readOnly: true,
+        serializedName: "properties.fullyQualifiedDomainName",
+        type: {
+          name: "String"
+        }
+      },
+      privateEndpointConnections: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointConnections",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerPrivateEndpointConnection"
+            }
+          }
+        }
+      },
+      minimalTlsVersion: {
+        serializedName: "properties.minimalTlsVersion",
+        type: {
+          name: "String"
+        }
+      },
+      publicNetworkAccess: {
+        serializedName: "properties.publicNetworkAccess",
+        type: {
+          name: "String"
+        }
+      },
+      workspaceFeature: {
+        readOnly: true,
+        serializedName: "properties.workspaceFeature",
+        type: {
+          name: "String"
+        }
+      },
+      primaryUserAssignedIdentityId: {
+        serializedName: "properties.primaryUserAssignedIdentityId",
+        type: {
+          name: "String"
+        }
+      },
+      keyId: {
+        serializedName: "properties.keyId",
+        type: {
+          name: "String"
+        }
+      },
+      administrators: {
+        serializedName: "properties.administrators",
+        type: {
+          name: "Composite",
+          className: "ServerExternalAdministrator"
+        }
+      }
+    }
+  }
+};
+
+export const ServerUpdate: msRest.CompositeMapper = {
+  serializedName: "ServerUpdate",
+  type: {
+    name: "Composite",
+    className: "ServerUpdate",
+    modelProperties: {
+      identity: {
+        serializedName: "identity",
+        type: {
+          name: "Composite",
+          className: "ResourceIdentityWithUserAssignedIdentities"
+        }
+      },
+      administratorLogin: {
+        serializedName: "properties.administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        serializedName: "properties.administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      version: {
+        serializedName: "properties.version",
+        type: {
+          name: "String"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      },
+      fullyQualifiedDomainName: {
+        readOnly: true,
+        serializedName: "properties.fullyQualifiedDomainName",
+        type: {
+          name: "String"
+        }
+      },
+      privateEndpointConnections: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointConnections",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerPrivateEndpointConnection"
+            }
+          }
+        }
+      },
+      minimalTlsVersion: {
+        serializedName: "properties.minimalTlsVersion",
+        type: {
+          name: "String"
+        }
+      },
+      publicNetworkAccess: {
+        serializedName: "properties.publicNetworkAccess",
+        type: {
+          name: "String"
+        }
+      },
+      workspaceFeature: {
+        readOnly: true,
+        serializedName: "properties.workspaceFeature",
+        type: {
+          name: "String"
+        }
+      },
+      primaryUserAssignedIdentityId: {
+        serializedName: "properties.primaryUserAssignedIdentityId",
+        type: {
+          name: "String"
+        }
+      },
+      keyId: {
+        serializedName: "properties.keyId",
+        type: {
+          name: "String"
+        }
+      },
+      administrators: {
+        serializedName: "properties.administrators",
+        type: {
+          name: "Composite",
+          className: "ServerExternalAdministrator"
+        }
+      },
+      tags: {
+        serializedName: "tags",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const NetworkIsolationSettings: msRest.CompositeMapper = {
+  serializedName: "NetworkIsolationSettings",
+  type: {
+    name: "Composite",
+    className: "NetworkIsolationSettings",
+    modelProperties: {
+      storageAccountResourceId: {
+        serializedName: "storageAccountResourceId",
+        type: {
+          name: "String"
+        }
+      },
+      sqlServerResourceId: {
+        serializedName: "sqlServerResourceId",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ImportNewDatabaseDefinition: msRest.CompositeMapper = {
+  serializedName: "ImportNewDatabaseDefinition",
+  type: {
+    name: "Composite",
+    className: "ImportNewDatabaseDefinition",
+    modelProperties: {
+      databaseName: {
+        serializedName: "databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      edition: {
+        serializedName: "edition",
+        type: {
+          name: "String"
+        }
+      },
+      serviceObjectiveName: {
+        serializedName: "serviceObjectiveName",
+        type: {
+          name: "String"
+        }
+      },
+      maxSizeBytes: {
+        serializedName: "maxSizeBytes",
+        type: {
+          name: "String"
+        }
+      },
+      storageKeyType: {
+        required: true,
+        serializedName: "storageKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      storageKey: {
+        required: true,
+        serializedName: "storageKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageUri: {
+        required: true,
+        serializedName: "storageUri",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLogin: {
+        required: true,
+        serializedName: "administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        required: true,
+        serializedName: "administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      authenticationType: {
+        serializedName: "authenticationType",
+        type: {
+          name: "String"
+        }
+      },
+      networkIsolation: {
+        serializedName: "networkIsolation",
+        type: {
+          name: "Composite",
+          className: "NetworkIsolationSettings"
+        }
+      }
+    }
+  }
+};
+
+export const PrivateEndpointConnectionRequestStatus: msRest.CompositeMapper = {
+  serializedName: "PrivateEndpointConnectionRequestStatus",
+  type: {
+    name: "Composite",
+    className: "PrivateEndpointConnectionRequestStatus",
+    modelProperties: {
+      privateLinkServiceId: {
+        readOnly: true,
+        serializedName: "privateLinkServiceId",
+        type: {
+          name: "String"
+        }
+      },
+      privateEndpointConnectionName: {
+        readOnly: true,
+        serializedName: "privateEndpointConnectionName",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "status",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ImportExportOperationResult: msRest.CompositeMapper = {
+  serializedName: "ImportExportOperationResult",
+  type: {
+    name: "Composite",
+    className: "ImportExportOperationResult",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      requestId: {
+        readOnly: true,
+        serializedName: "properties.requestId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      requestType: {
+        readOnly: true,
+        serializedName: "properties.requestType",
+        type: {
+          name: "String"
+        }
+      },
+      queuedTime: {
+        readOnly: true,
+        serializedName: "properties.queuedTime",
+        type: {
+          name: "String"
+        }
+      },
+      lastModifiedTime: {
+        readOnly: true,
+        serializedName: "properties.lastModifiedTime",
+        type: {
+          name: "String"
+        }
+      },
+      blobUri: {
+        readOnly: true,
+        serializedName: "properties.blobUri",
+        type: {
+          name: "String"
+        }
+      },
+      serverName: {
+        readOnly: true,
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
+        type: {
+          name: "String"
+        }
+      },
+      errorMessage: {
+        readOnly: true,
+        serializedName: "properties.errorMessage",
+        type: {
+          name: "String"
+        }
+      },
+      privateEndpointConnections: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointConnections",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "PrivateEndpointConnectionRequestStatus"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const CheckNameAvailabilityRequest: msRest.CompositeMapper = {
+  serializedName: "CheckNameAvailabilityRequest",
+  type: {
+    name: "Composite",
+    className: "CheckNameAvailabilityRequest",
+    modelProperties: {
+      name: {
+        required: true,
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      type: {
+        required: true,
+        isConstant: true,
+        serializedName: "type",
+        defaultValue: 'Microsoft.Sql/servers',
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const CheckNameAvailabilityResponse: msRest.CompositeMapper = {
+  serializedName: "CheckNameAvailabilityResponse",
+  type: {
+    name: "Composite",
+    className: "CheckNameAvailabilityResponse",
+    modelProperties: {
+      name: {
+        readOnly: true,
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      available: {
+        readOnly: true,
+        serializedName: "available",
+        type: {
+          name: "Boolean"
+        }
+      },
+      reason: {
+        readOnly: true,
+        serializedName: "reason",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Invalid",
+            "AlreadyExists"
+          ]
+        }
+      },
+      message: {
+        readOnly: true,
+        serializedName: "message",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerSecurityAlertPolicy: msRest.CompositeMapper = {
+  serializedName: "ServerSecurityAlertPolicy",
+  type: {
+    name: "Composite",
+    className: "ServerSecurityAlertPolicy",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      systemData: {
+        readOnly: true,
+        serializedName: "systemData",
+        type: {
+          name: "Composite",
+          className: "SystemData"
+        }
+      },
+      state: {
+        required: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
+        }
+      },
+      disabledAlerts: {
+        serializedName: "properties.disabledAlerts",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAddresses: {
+        serializedName: "properties.emailAddresses",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      emailAccountAdmins: {
+        serializedName: "properties.emailAccountAdmins",
+        type: {
+          name: "Boolean"
+        }
+      },
+      storageEndpoint: {
+        serializedName: "properties.storageEndpoint",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      retentionDays: {
+        serializedName: "properties.retentionDays",
+        type: {
+          name: "Number"
+        }
+      },
+      creationTime: {
+        readOnly: true,
+        serializedName: "properties.creationTime",
+        type: {
+          name: "DateTime"
+        }
+      }
+    }
+  }
+};
+
+export const ServerInfo: msRest.CompositeMapper = {
+  serializedName: "ServerInfo",
+  type: {
+    name: "Composite",
+    className: "ServerInfo",
+    modelProperties: {
+      serverId: {
+        required: true,
+        serializedName: "serverId",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerTrustGroup: msRest.CompositeMapper = {
+  serializedName: "ServerTrustGroup",
+  type: {
+    name: "Composite",
+    className: "ServerTrustGroup",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      groupMembers: {
+        required: true,
+        serializedName: "properties.groupMembers",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerInfo"
+            }
+          }
+        }
+      },
+      trustScopes: {
+        required: true,
+        serializedName: "properties.trustScopes",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ServerVulnerabilityAssessment: msRest.CompositeMapper = {
+  serializedName: "ServerVulnerabilityAssessment",
+  type: {
+    name: "Composite",
+    className: "ServerVulnerabilityAssessment",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      storageContainerPath: {
+        required: true,
+        serializedName: "properties.storageContainerPath",
+        type: {
+          name: "String"
+        }
+      },
+      storageContainerSasKey: {
+        serializedName: "properties.storageContainerSasKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageAccountAccessKey: {
+        serializedName: "properties.storageAccountAccessKey",
+        type: {
+          name: "String"
+        }
+      },
+      recurringScans: {
+        serializedName: "properties.recurringScans",
+        type: {
+          name: "Composite",
+          className: "VulnerabilityAssessmentRecurringScansProperties"
+        }
+      }
+    }
+  }
+};
+
+export const SqlAgentConfiguration: msRest.CompositeMapper = {
+  serializedName: "SqlAgentConfiguration",
+  type: {
+    name: "Composite",
+    className: "SqlAgentConfiguration",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      state: {
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SubscriptionUsage: msRest.CompositeMapper = {
+  serializedName: "SubscriptionUsage",
+  type: {
+    name: "Composite",
+    className: "SubscriptionUsage",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      displayName: {
+        readOnly: true,
+        serializedName: "properties.displayName",
+        type: {
+          name: "String"
+        }
+      },
+      currentValue: {
+        readOnly: true,
+        serializedName: "properties.currentValue",
+        type: {
+          name: "Number"
+        }
+      },
+      limit: {
+        readOnly: true,
+        serializedName: "properties.limit",
+        type: {
+          name: "Number"
+        }
+      },
+      unit: {
+        readOnly: true,
+        serializedName: "properties.unit",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncAgent: msRest.CompositeMapper = {
+  serializedName: "SyncAgent",
+  type: {
+    name: "Composite",
+    className: "SyncAgent",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      syncAgentName: {
+        readOnly: true,
+        serializedName: "properties.name",
+        type: {
+          name: "String"
+        }
+      },
+      syncDatabaseId: {
+        serializedName: "properties.syncDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      lastAliveTime: {
+        readOnly: true,
+        serializedName: "properties.lastAliveTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      },
+      isUpToDate: {
+        readOnly: true,
+        serializedName: "properties.isUpToDate",
+        type: {
+          name: "Boolean"
+        }
+      },
+      expiryTime: {
+        readOnly: true,
+        serializedName: "properties.expiryTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      version: {
+        readOnly: true,
+        serializedName: "properties.version",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncAgentKeyProperties: msRest.CompositeMapper = {
+  serializedName: "SyncAgentKeyProperties",
+  type: {
+    name: "Composite",
+    className: "SyncAgentKeyProperties",
+    modelProperties: {
+      syncAgentKey: {
+        readOnly: true,
+        serializedName: "syncAgentKey",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncAgentLinkedDatabase: msRest.CompositeMapper = {
+  serializedName: "SyncAgentLinkedDatabase",
+  type: {
+    name: "Composite",
+    className: "SyncAgentLinkedDatabase",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      databaseType: {
+        readOnly: true,
+        serializedName: "properties.databaseType",
+        type: {
+          name: "String"
+        }
+      },
+      databaseId: {
+        readOnly: true,
+        serializedName: "properties.databaseId",
+        type: {
+          name: "String"
+        }
+      },
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
+        type: {
+          name: "String"
+        }
+      },
+      serverName: {
+        readOnly: true,
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      userName: {
+        readOnly: true,
+        serializedName: "properties.userName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncDatabaseIdProperties: msRest.CompositeMapper = {
+  serializedName: "SyncDatabaseIdProperties",
+  type: {
+    name: "Composite",
+    className: "SyncDatabaseIdProperties",
+    modelProperties: {
+      id: {
+        readOnly: true,
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncFullSchemaTableColumn: msRest.CompositeMapper = {
+  serializedName: "SyncFullSchemaTableColumn",
+  type: {
+    name: "Composite",
+    className: "SyncFullSchemaTableColumn",
+    modelProperties: {
+      dataSize: {
+        readOnly: true,
+        serializedName: "dataSize",
+        type: {
+          name: "String"
+        }
+      },
+      dataType: {
+        readOnly: true,
+        serializedName: "dataType",
+        type: {
+          name: "String"
+        }
+      },
+      errorId: {
+        readOnly: true,
+        serializedName: "errorId",
+        type: {
+          name: "String"
+        }
+      },
+      hasError: {
+        readOnly: true,
+        serializedName: "hasError",
+        type: {
+          name: "Boolean"
+        }
+      },
+      isPrimaryKey: {
+        readOnly: true,
+        serializedName: "isPrimaryKey",
+        type: {
+          name: "Boolean"
+        }
+      },
+      name: {
+        readOnly: true,
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      quotedName: {
+        readOnly: true,
+        serializedName: "quotedName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncFullSchemaTable: msRest.CompositeMapper = {
+  serializedName: "SyncFullSchemaTable",
+  type: {
+    name: "Composite",
+    className: "SyncFullSchemaTable",
+    modelProperties: {
+      columns: {
+        readOnly: true,
+        serializedName: "columns",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "SyncFullSchemaTableColumn"
+            }
+          }
+        }
+      },
+      errorId: {
+        readOnly: true,
+        serializedName: "errorId",
+        type: {
+          name: "String"
+        }
+      },
+      hasError: {
+        readOnly: true,
+        serializedName: "hasError",
+        type: {
+          name: "Boolean"
+        }
+      },
+      name: {
+        readOnly: true,
+        serializedName: "name",
+        type: {
+          name: "String"
+        }
+      },
+      quotedName: {
+        readOnly: true,
+        serializedName: "quotedName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncFullSchemaProperties: msRest.CompositeMapper = {
+  serializedName: "SyncFullSchemaProperties",
+  type: {
+    name: "Composite",
+    className: "SyncFullSchemaProperties",
+    modelProperties: {
+      tables: {
+        readOnly: true,
+        serializedName: "tables",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "SyncFullSchemaTable"
+            }
+          }
+        }
+      },
+      lastUpdateTime: {
+        readOnly: true,
+        serializedName: "lastUpdateTime",
+        type: {
+          name: "DateTime"
+        }
+      }
+    }
+  }
+};
+
+export const SyncGroupLogProperties: msRest.CompositeMapper = {
+  serializedName: "SyncGroupLogProperties",
+  type: {
+    name: "Composite",
+    className: "SyncGroupLogProperties",
+    modelProperties: {
+      timestamp: {
+        readOnly: true,
+        serializedName: "timestamp",
+        type: {
+          name: "DateTime"
+        }
+      },
+      type: {
+        readOnly: true,
+        serializedName: "type",
+        type: {
+          name: "String"
+        }
+      },
+      source: {
+        readOnly: true,
+        serializedName: "source",
+        type: {
+          name: "String"
+        }
+      },
+      details: {
+        readOnly: true,
+        serializedName: "details",
+        type: {
+          name: "String"
+        }
+      },
+      tracingId: {
+        readOnly: true,
+        serializedName: "tracingId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      operationStatus: {
+        readOnly: true,
+        serializedName: "operationStatus",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = {
+  serializedName: "SyncGroupSchemaTableColumn",
+  type: {
+    name: "Composite",
+    className: "SyncGroupSchemaTableColumn",
+    modelProperties: {
+      quotedName: {
+        serializedName: "quotedName",
+        type: {
+          name: "String"
+        }
+      },
+      dataSize: {
+        serializedName: "dataSize",
+        type: {
+          name: "String"
+        }
+      },
+      dataType: {
+        serializedName: "dataType",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncGroupSchemaTable: msRest.CompositeMapper = {
+  serializedName: "SyncGroupSchemaTable",
+  type: {
+    name: "Composite",
+    className: "SyncGroupSchemaTable",
+    modelProperties: {
+      columns: {
+        serializedName: "columns",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "SyncGroupSchemaTableColumn"
+            }
+          }
+        }
+      },
+      quotedName: {
+        serializedName: "quotedName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncGroupSchema: msRest.CompositeMapper = {
+  serializedName: "SyncGroupSchema",
+  type: {
+    name: "Composite",
+    className: "SyncGroupSchema",
+    modelProperties: {
+      tables: {
+        serializedName: "tables",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "SyncGroupSchemaTable"
+            }
+          }
+        }
+      },
+      masterSyncMemberName: {
+        serializedName: "masterSyncMemberName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncGroup: msRest.CompositeMapper = {
+  serializedName: "SyncGroup",
+  type: {
+    name: "Composite",
+    className: "SyncGroup",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      interval: {
+        serializedName: "properties.interval",
+        type: {
+          name: "Number"
+        }
+      },
+      lastSyncTime: {
+        readOnly: true,
+        serializedName: "properties.lastSyncTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      conflictResolutionPolicy: {
+        serializedName: "properties.conflictResolutionPolicy",
+        type: {
+          name: "String"
+        }
+      },
+      syncDatabaseId: {
+        serializedName: "properties.syncDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      hubDatabaseUserName: {
+        serializedName: "properties.hubDatabaseUserName",
+        type: {
+          name: "String"
+        }
+      },
+      hubDatabasePassword: {
+        serializedName: "properties.hubDatabasePassword",
+        type: {
+          name: "String"
+        }
+      },
+      syncState: {
+        readOnly: true,
+        serializedName: "properties.syncState",
+        type: {
+          name: "String"
+        }
+      },
+      schema: {
+        serializedName: "properties.schema",
+        type: {
+          name: "Composite",
+          className: "SyncGroupSchema"
+        }
+      },
+      enableConflictLogging: {
+        serializedName: "properties.enableConflictLogging",
+        type: {
+          name: "Boolean"
+        }
+      },
+      conflictLoggingRetentionInDays: {
+        serializedName: "properties.conflictLoggingRetentionInDays",
+        type: {
+          name: "Number"
+        }
+      },
+      usePrivateLinkConnection: {
+        serializedName: "properties.usePrivateLinkConnection",
+        type: {
+          name: "Boolean"
+        }
+      },
+      privateEndpointName: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const SyncMember: msRest.CompositeMapper = {
+  serializedName: "SyncMember",
+  type: {
+    name: "Composite",
+    className: "SyncMember",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      databaseType: {
+        serializedName: "properties.databaseType",
+        type: {
+          name: "String"
+        }
+      },
+      syncAgentId: {
+        serializedName: "properties.syncAgentId",
+        type: {
+          name: "String"
+        }
+      },
+      sqlServerDatabaseId: {
+        serializedName: "properties.sqlServerDatabaseId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      syncMemberAzureDatabaseResourceId: {
+        serializedName: "properties.syncMemberAzureDatabaseResourceId",
+        type: {
+          name: "String"
+        }
+      },
+      usePrivateLinkConnection: {
+        serializedName: "properties.usePrivateLinkConnection",
+        type: {
+          name: "Boolean"
+        }
+      },
+      privateEndpointName: {
+        readOnly: true,
+        serializedName: "properties.privateEndpointName",
+        type: {
+          name: "String"
+        }
+      },
+      serverName: {
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      databaseName: {
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      userName: {
+        serializedName: "properties.userName",
+        type: {
+          name: "String"
+        }
+      },
+      password: {
+        serializedName: "properties.password",
+        type: {
+          name: "String"
+        }
+      },
+      syncDirection: {
+        serializedName: "properties.syncDirection",
+        type: {
+          name: "String"
+        }
+      },
+      syncState: {
+        readOnly: true,
+        serializedName: "properties.syncState",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const TimeZone: msRest.CompositeMapper = {
+  serializedName: "TimeZone",
+  type: {
+    name: "Composite",
+    className: "TimeZone",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      timeZoneId: {
+        readOnly: true,
+        serializedName: "properties.timeZoneId",
+        type: {
+          name: "String"
+        }
+      },
+      displayName: {
+        readOnly: true,
+        serializedName: "properties.displayName",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const UpdateManagedInstanceDnsServersOperation: msRest.CompositeMapper = {
+  serializedName: "UpdateManagedInstanceDnsServersOperation",
+  type: {
+    name: "Composite",
+    className: "UpdateManagedInstanceDnsServersOperation",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const VirtualCluster: msRest.CompositeMapper = {
+  serializedName: "VirtualCluster",
+  type: {
+    name: "Composite",
+    className: "VirtualCluster",
+    modelProperties: {
+      ...TrackedResource.type.modelProperties,
+      subnetId: {
+        readOnly: true,
+        serializedName: "properties.subnetId",
+        type: {
+          name: "String"
+        }
+      },
+      family: {
+        serializedName: "properties.family",
+        type: {
+          name: "String"
+        }
+      },
+      childResources: {
+        readOnly: true,
+        serializedName: "properties.childResources",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const VirtualClusterUpdate: msRest.CompositeMapper = {
+  serializedName: "VirtualClusterUpdate",
+  type: {
+    name: "Composite",
+    className: "VirtualClusterUpdate",
+    modelProperties: {
+      subnetId: {
+        readOnly: true,
+        serializedName: "properties.subnetId",
+        type: {
+          name: "String"
+        }
+      },
+      family: {
+        serializedName: "properties.family",
+        type: {
+          name: "String"
+        }
+      },
+      childResources: {
+        readOnly: true,
+        serializedName: "properties.childResources",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
+        type: {
+          name: "String"
+        }
+      },
+      tags: {
+        serializedName: "tags",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const VirtualNetworkRule: msRest.CompositeMapper = {
+  serializedName: "VirtualNetworkRule",
+  type: {
+    name: "Composite",
+    className: "VirtualNetworkRule",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      virtualNetworkSubnetId: {
+        required: true,
+        serializedName: "properties.virtualNetworkSubnetId",
+        type: {
+          name: "String"
+        }
+      },
+      ignoreMissingVnetServiceEndpoint: {
+        serializedName: "properties.ignoreMissingVnetServiceEndpoint",
+        type: {
+          name: "Boolean"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const WorkloadClassifier: msRest.CompositeMapper = {
+  serializedName: "WorkloadClassifier",
+  type: {
+    name: "Composite",
+    className: "WorkloadClassifier",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      memberName: {
+        required: true,
+        serializedName: "properties.memberName",
+        type: {
+          name: "String"
+        }
+      },
+      label: {
+        serializedName: "properties.label",
+        type: {
+          name: "String"
+        }
+      },
+      context: {
+        serializedName: "properties.context",
+        type: {
+          name: "String"
+        }
+      },
+      startTime: {
+        serializedName: "properties.startTime",
+        type: {
+          name: "String"
+        }
+      },
+      endTime: {
+        serializedName: "properties.endTime",
+        type: {
+          name: "String"
+        }
+      },
+      importance: {
+        serializedName: "properties.importance",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const WorkloadGroup: msRest.CompositeMapper = {
+  serializedName: "WorkloadGroup",
+  type: {
+    name: "Composite",
+    className: "WorkloadGroup",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      minResourcePercent: {
+        required: true,
+        serializedName: "properties.minResourcePercent",
+        type: {
+          name: "Number"
+        }
+      },
+      maxResourcePercent: {
+        required: true,
+        serializedName: "properties.maxResourcePercent",
+        type: {
+          name: "Number"
+        }
+      },
+      minResourcePercentPerRequest: {
+        required: true,
+        serializedName: "properties.minResourcePercentPerRequest",
+        type: {
+          name: "Number"
+        }
+      },
+      maxResourcePercentPerRequest: {
+        serializedName: "properties.maxResourcePercentPerRequest",
+        type: {
+          name: "Number"
+        }
+      },
+      importance: {
+        serializedName: "properties.importance",
+        type: {
+          name: "String"
+        }
+      },
+      queryExecutionTimeout: {
+        serializedName: "properties.queryExecutionTimeout",
+        type: {
+          name: "Number"
+        }
+      }
+    }
+  }
+};
+
+export const Database: msRest.CompositeMapper = {
+  serializedName: "Database",
+  type: {
+    name: "Composite",
+    className: "Database",
+    modelProperties: {
+      ...TrackedResource.type.modelProperties,
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      kind: {
+        readOnly: true,
+        serializedName: "kind",
+        type: {
+          name: "String"
+        }
+      },
+      managedBy: {
+        readOnly: true,
+        serializedName: "managedBy",
+        type: {
+          name: "String"
+        }
+      },
+      createMode: {
+        serializedName: "properties.createMode",
+        type: {
+          name: "String"
+        }
+      },
+      collation: {
+        serializedName: "properties.collation",
+        type: {
+          name: "String"
+        }
+      },
+      maxSizeBytes: {
+        serializedName: "properties.maxSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      sampleName: {
+        serializedName: "properties.sampleName",
+        type: {
+          name: "String"
+        }
+      },
+      elasticPoolId: {
+        serializedName: "properties.elasticPoolId",
+        type: {
+          name: "String"
+        }
+      },
+      sourceDatabaseId: {
+        serializedName: "properties.sourceDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
+        type: {
+          name: "String"
+        }
+      },
+      databaseId: {
+        readOnly: true,
+        serializedName: "properties.databaseId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      currentServiceObjectiveName: {
+        readOnly: true,
+        serializedName: "properties.currentServiceObjectiveName",
+        type: {
+          name: "String"
+        }
+      },
+      requestedServiceObjectiveName: {
+        readOnly: true,
+        serializedName: "properties.requestedServiceObjectiveName",
+        type: {
+          name: "String"
+        }
+      },
+      defaultSecondaryLocation: {
+        readOnly: true,
+        serializedName: "properties.defaultSecondaryLocation",
+        type: {
+          name: "String"
+        }
+      },
+      failoverGroupId: {
+        readOnly: true,
+        serializedName: "properties.failoverGroupId",
+        type: {
+          name: "String"
+        }
+      },
+      restorePointInTime: {
+        serializedName: "properties.restorePointInTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      sourceDatabaseDeletionDate: {
+        serializedName: "properties.sourceDatabaseDeletionDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      recoveryServicesRecoveryPointId: {
+        serializedName: "properties.recoveryServicesRecoveryPointId",
+        type: {
+          name: "String"
+        }
+      },
+      longTermRetentionBackupResourceId: {
+        serializedName: "properties.longTermRetentionBackupResourceId",
+        type: {
+          name: "String"
+        }
+      },
+      recoverableDatabaseId: {
+        serializedName: "properties.recoverableDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      restorableDroppedDatabaseId: {
+        serializedName: "properties.restorableDroppedDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      catalogCollation: {
+        serializedName: "properties.catalogCollation",
+        type: {
+          name: "String"
+        }
+      },
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
+        type: {
+          name: "Boolean"
+        }
+      },
+      licenseType: {
+        serializedName: "properties.licenseType",
+        type: {
+          name: "String"
+        }
+      },
+      maxLogSizeBytes: {
+        readOnly: true,
+        serializedName: "properties.maxLogSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      earliestRestoreDate: {
+        readOnly: true,
+        serializedName: "properties.earliestRestoreDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      readScale: {
+        serializedName: "properties.readScale",
+        type: {
+          name: "String"
+        }
+      },
+      highAvailabilityReplicaCount: {
+        serializedName: "properties.highAvailabilityReplicaCount",
+        type: {
+          name: "Number"
+        }
+      },
+      secondaryType: {
+        serializedName: "properties.secondaryType",
+        type: {
+          name: "String"
+        }
+      },
+      currentSku: {
+        readOnly: true,
+        serializedName: "properties.currentSku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      autoPauseDelay: {
+        serializedName: "properties.autoPauseDelay",
+        type: {
+          name: "Number"
+        }
+      },
+      currentBackupStorageRedundancy: {
+        readOnly: true,
+        serializedName: "properties.currentBackupStorageRedundancy",
+        type: {
+          name: "String"
+        }
+      },
+      requestedBackupStorageRedundancy: {
+        serializedName: "properties.requestedBackupStorageRedundancy",
+        type: {
+          name: "String"
+        }
+      },
+      minCapacity: {
+        serializedName: "properties.minCapacity",
+        type: {
+          name: "Number"
+        }
+      },
+      pausedDate: {
+        readOnly: true,
+        serializedName: "properties.pausedDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      resumedDate: {
+        readOnly: true,
+        serializedName: "properties.resumedDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
+        type: {
+          name: "String"
+        }
+      },
+      isLedgerOn: {
+        serializedName: "properties.isLedgerOn",
+        type: {
+          name: "Boolean"
+        }
+      },
+      isInfraEncryptionEnabled: {
+        readOnly: true,
+        serializedName: "properties.isInfraEncryptionEnabled",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseUpdate: msRest.CompositeMapper = {
+  serializedName: "DatabaseUpdate",
+  type: {
+    name: "Composite",
+    className: "DatabaseUpdate",
+    modelProperties: {
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      createMode: {
+        serializedName: "properties.createMode",
+        type: {
+          name: "String"
+        }
+      },
+      collation: {
+        serializedName: "properties.collation",
+        type: {
+          name: "String"
+        }
+      },
+      maxSizeBytes: {
+        serializedName: "properties.maxSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      sampleName: {
+        serializedName: "properties.sampleName",
+        type: {
+          name: "String"
+        }
+      },
+      elasticPoolId: {
+        serializedName: "properties.elasticPoolId",
+        type: {
+          name: "String"
+        }
+      },
+      sourceDatabaseId: {
+        serializedName: "properties.sourceDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
+        type: {
+          name: "String"
+        }
+      },
+      databaseId: {
+        readOnly: true,
+        serializedName: "properties.databaseId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      currentServiceObjectiveName: {
+        readOnly: true,
+        serializedName: "properties.currentServiceObjectiveName",
+        type: {
+          name: "String"
+        }
+      },
+      requestedServiceObjectiveName: {
+        readOnly: true,
+        serializedName: "properties.requestedServiceObjectiveName",
+        type: {
+          name: "String"
+        }
+      },
+      defaultSecondaryLocation: {
+        readOnly: true,
+        serializedName: "properties.defaultSecondaryLocation",
+        type: {
+          name: "String"
+        }
+      },
+      failoverGroupId: {
+        readOnly: true,
+        serializedName: "properties.failoverGroupId",
+        type: {
+          name: "String"
+        }
+      },
+      restorePointInTime: {
+        serializedName: "properties.restorePointInTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      sourceDatabaseDeletionDate: {
+        serializedName: "properties.sourceDatabaseDeletionDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      recoveryServicesRecoveryPointId: {
+        serializedName: "properties.recoveryServicesRecoveryPointId",
+        type: {
+          name: "String"
+        }
+      },
+      longTermRetentionBackupResourceId: {
+        serializedName: "properties.longTermRetentionBackupResourceId",
+        type: {
+          name: "String"
+        }
+      },
+      recoverableDatabaseId: {
+        serializedName: "properties.recoverableDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      restorableDroppedDatabaseId: {
+        serializedName: "properties.restorableDroppedDatabaseId",
+        type: {
+          name: "String"
+        }
+      },
+      catalogCollation: {
+        serializedName: "properties.catalogCollation",
+        type: {
+          name: "String"
+        }
+      },
+      zoneRedundant: {
+        serializedName: "properties.zoneRedundant",
+        type: {
+          name: "Boolean"
+        }
+      },
+      licenseType: {
+        serializedName: "properties.licenseType",
+        type: {
+          name: "String"
+        }
+      },
+      maxLogSizeBytes: {
+        readOnly: true,
+        serializedName: "properties.maxLogSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      earliestRestoreDate: {
+        readOnly: true,
+        serializedName: "properties.earliestRestoreDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      readScale: {
+        serializedName: "properties.readScale",
+        type: {
+          name: "String"
+        }
+      },
+      highAvailabilityReplicaCount: {
+        serializedName: "properties.highAvailabilityReplicaCount",
+        type: {
+          name: "Number"
+        }
+      },
+      secondaryType: {
+        serializedName: "properties.secondaryType",
+        type: {
+          name: "String"
+        }
+      },
+      currentSku: {
+        readOnly: true,
+        serializedName: "properties.currentSku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      autoPauseDelay: {
+        serializedName: "properties.autoPauseDelay",
+        type: {
+          name: "Number"
+        }
+      },
+      currentBackupStorageRedundancy: {
+        readOnly: true,
+        serializedName: "properties.currentBackupStorageRedundancy",
+        type: {
+          name: "String"
+        }
+      },
+      requestedBackupStorageRedundancy: {
+        serializedName: "properties.requestedBackupStorageRedundancy",
+        type: {
+          name: "String"
+        }
+      },
+      minCapacity: {
+        serializedName: "properties.minCapacity",
+        type: {
+          name: "Number"
+        }
+      },
+      pausedDate: {
+        readOnly: true,
+        serializedName: "properties.pausedDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      resumedDate: {
+        readOnly: true,
+        serializedName: "properties.resumedDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      maintenanceConfigurationId: {
+        serializedName: "properties.maintenanceConfigurationId",
+        type: {
+          name: "String"
+        }
+      },
+      isLedgerOn: {
+        serializedName: "properties.isLedgerOn",
+        type: {
+          name: "Boolean"
+        }
+      },
+      isInfraEncryptionEnabled: {
+        readOnly: true,
+        serializedName: "properties.isInfraEncryptionEnabled",
+        type: {
+          name: "Boolean"
+        }
+      },
+      tags: {
+        serializedName: "tags",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ResourceMoveDefinition: msRest.CompositeMapper = {
+  serializedName: "ResourceMoveDefinition",
+  type: {
+    name: "Composite",
+    className: "ResourceMoveDefinition",
+    modelProperties: {
+      id: {
+        required: true,
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ImportExistingDatabaseDefinition: msRest.CompositeMapper = {
+  serializedName: "ImportExistingDatabaseDefinition",
+  type: {
+    name: "Composite",
+    className: "ImportExistingDatabaseDefinition",
+    modelProperties: {
+      storageKeyType: {
+        required: true,
+        serializedName: "storageKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      storageKey: {
+        required: true,
+        serializedName: "storageKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageUri: {
+        required: true,
+        serializedName: "storageUri",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLogin: {
+        required: true,
+        serializedName: "administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        required: true,
+        serializedName: "administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      authenticationType: {
+        serializedName: "authenticationType",
+        type: {
+          name: "String"
+        }
+      },
+      networkIsolation: {
+        serializedName: "networkIsolation",
+        type: {
+          name: "Composite",
+          className: "NetworkIsolationSettings"
+        }
+      }
+    }
+  }
+};
+
+export const ExportDatabaseDefinition: msRest.CompositeMapper = {
+  serializedName: "ExportDatabaseDefinition",
+  type: {
+    name: "Composite",
+    className: "ExportDatabaseDefinition",
+    modelProperties: {
+      storageKeyType: {
+        required: true,
+        serializedName: "storageKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      storageKey: {
+        required: true,
+        serializedName: "storageKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageUri: {
+        required: true,
+        serializedName: "storageUri",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLogin: {
+        required: true,
+        serializedName: "administratorLogin",
+        type: {
+          name: "String"
+        }
+      },
+      administratorLoginPassword: {
+        required: true,
+        serializedName: "administratorLoginPassword",
+        type: {
+          name: "String"
+        }
+      },
+      authenticationType: {
+        serializedName: "authenticationType",
+        type: {
+          name: "String"
+        }
+      },
+      networkIsolation: {
+        serializedName: "networkIsolation",
+        type: {
+          name: "Composite",
+          className: "NetworkIsolationSettings"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseExtensions: msRest.CompositeMapper = {
+  serializedName: "DatabaseExtensions",
+  type: {
+    name: "Composite",
+    className: "DatabaseExtensions",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      operationMode: {
+        required: true,
+        isConstant: true,
+        serializedName: "properties.operationMode",
+        defaultValue: 'PolybaseImport',
+        type: {
+          name: "String"
+        }
+      },
+      storageKeyType: {
+        required: true,
+        serializedName: "properties.storageKeyType",
+        type: {
+          name: "String"
+        }
+      },
+      storageKey: {
+        required: true,
+        serializedName: "properties.storageKey",
+        type: {
+          name: "String"
+        }
+      },
+      storageUri: {
+        required: true,
+        serializedName: "properties.storageUri",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ImportExportExtensionsOperationResult: msRest.CompositeMapper = {
+  serializedName: "ImportExportExtensionsOperationResult",
+  type: {
+    name: "Composite",
+    className: "ImportExportExtensionsOperationResult",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      requestId: {
+        readOnly: true,
+        serializedName: "properties.requestId",
+        type: {
+          name: "Uuid"
+        }
+      },
+      requestType: {
+        readOnly: true,
+        serializedName: "properties.requestType",
+        type: {
+          name: "String"
+        }
+      },
+      lastModifiedTime: {
+        readOnly: true,
+        serializedName: "properties.lastModifiedTime",
+        type: {
+          name: "String"
+        }
+      },
+      serverName: {
+        readOnly: true,
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      status: {
+        readOnly: true,
+        serializedName: "properties.status",
+        type: {
+          name: "String"
+        }
+      },
+      errorMessage: {
+        readOnly: true,
+        serializedName: "properties.errorMessage",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseOperation: msRest.CompositeMapper = {
+  serializedName: "DatabaseOperation",
+  type: {
+    name: "Composite",
+    className: "DatabaseOperation",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      operation: {
+        readOnly: true,
+        serializedName: "properties.operation",
+        type: {
+          name: "String"
+        }
+      },
+      operationFriendlyName: {
+        readOnly: true,
+        serializedName: "properties.operationFriendlyName",
+        type: {
+          name: "String"
+        }
+      },
+      percentComplete: {
+        readOnly: true,
+        serializedName: "properties.percentComplete",
+        type: {
+          name: "Number"
+        }
+      },
+      serverName: {
+        readOnly: true,
+        serializedName: "properties.serverName",
+        type: {
+          name: "String"
+        }
+      },
+      startTime: {
+        readOnly: true,
+        serializedName: "properties.startTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "String"
+        }
+      },
+      errorCode: {
+        readOnly: true,
+        serializedName: "properties.errorCode",
+        type: {
+          name: "Number"
+        }
+      },
+      errorDescription: {
+        readOnly: true,
+        serializedName: "properties.errorDescription",
+        type: {
+          name: "String"
+        }
+      },
+      errorSeverity: {
+        readOnly: true,
+        serializedName: "properties.errorSeverity",
+        type: {
+          name: "Number"
+        }
+      },
+      isUserError: {
+        readOnly: true,
+        serializedName: "properties.isUserError",
+        type: {
+          name: "Boolean"
+        }
+      },
+      estimatedCompletionTime: {
+        readOnly: true,
+        serializedName: "properties.estimatedCompletionTime",
+        type: {
+          name: "DateTime"
+        }
+      },
+      description: {
+        readOnly: true,
+        serializedName: "properties.description",
+        type: {
+          name: "String"
+        }
+      },
+      isCancellable: {
+        readOnly: true,
+        serializedName: "properties.isCancellable",
+        type: {
+          name: "Boolean"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseUsage: msRest.CompositeMapper = {
+  serializedName: "DatabaseUsage",
+  type: {
+    name: "Composite",
+    className: "DatabaseUsage",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      displayName: {
+        readOnly: true,
+        serializedName: "properties.displayName",
+        type: {
+          name: "String"
+        }
+      },
+      currentValue: {
+        readOnly: true,
+        serializedName: "properties.currentValue",
+        type: {
+          name: "Number"
+        }
+      },
+      limit: {
+        readOnly: true,
+        serializedName: "properties.limit",
+        type: {
+          name: "Number"
+        }
+      },
+      unit: {
+        readOnly: true,
+        serializedName: "properties.unit",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const LedgerDigestUploads: msRest.CompositeMapper = {
+  serializedName: "LedgerDigestUploads",
+  type: {
+    name: "Composite",
+    className: "LedgerDigestUploads",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      digestStorageEndpoint: {
+        serializedName: "properties.digestStorageEndpoint",
+        type: {
+          name: "String"
+        }
+      },
+      state: {
+        readOnly: true,
+        serializedName: "properties.state",
+        type: {
+          name: "Enum",
+          allowedValues: [
+            "Enabled",
+            "Disabled"
+          ]
+        }
+      }
+    }
+  }
+};
+
+export const OutboundFirewallRule: msRest.CompositeMapper = {
+  serializedName: "OutboundFirewallRule",
+  type: {
+    name: "Composite",
+    className: "OutboundFirewallRule",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      provisioningState: {
+        readOnly: true,
+        serializedName: "properties.provisioningState",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const RestorableDroppedDatabase: msRest.CompositeMapper = {
+  serializedName: "RestorableDroppedDatabase",
+  type: {
+    name: "Composite",
+    className: "RestorableDroppedDatabase",
+    modelProperties: {
+      ...ProxyResource.type.modelProperties,
+      sku: {
+        serializedName: "sku",
+        type: {
+          name: "Composite",
+          className: "Sku"
+        }
+      },
+      location: {
+        serializedName: "location",
+        type: {
+          name: "String"
+        }
+      },
+      tags: {
+        serializedName: "tags",
+        type: {
+          name: "Dictionary",
+          value: {
+            type: {
+              name: "String"
+            }
+          }
+        }
+      },
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      maxSizeBytes: {
+        readOnly: true,
+        serializedName: "properties.maxSizeBytes",
+        type: {
+          name: "Number"
+        }
+      },
+      elasticPoolId: {
+        readOnly: true,
+        serializedName: "properties.elasticPoolId",
+        type: {
+          name: "String"
+        }
+      },
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      deletionDate: {
+        readOnly: true,
+        serializedName: "properties.deletionDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      earliestRestoreDate: {
+        readOnly: true,
+        serializedName: "properties.earliestRestoreDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      backupStorageRedundancy: {
+        readOnly: true,
+        serializedName: "properties.backupStorageRedundancy",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const RestorableDroppedManagedDatabase: msRest.CompositeMapper = {
+  serializedName: "RestorableDroppedManagedDatabase",
+  type: {
+    name: "Composite",
+    className: "RestorableDroppedManagedDatabase",
+    modelProperties: {
+      ...TrackedResource.type.modelProperties,
+      databaseName: {
+        readOnly: true,
+        serializedName: "properties.databaseName",
+        type: {
+          name: "String"
+        }
+      },
+      creationDate: {
+        readOnly: true,
+        serializedName: "properties.creationDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      deletionDate: {
+        readOnly: true,
+        serializedName: "properties.deletionDate",
+        type: {
+          name: "DateTime"
+        }
+      },
+      earliestRestoreDate: {
+        readOnly: true,
+        serializedName: "properties.earliestRestoreDate",
+        type: {
+          name: "DateTime"
+        }
+      }
+    }
+  }
+};
+
+export const Name: msRest.CompositeMapper = {
+  serializedName: "Name",
+  type: {
+    name: "Composite",
+    className: "Name",
+    modelProperties: {
+      value: {
+        serializedName: "value",
+        type: {
+          name: "String"
+        }
+      },
+      localizedValue: {
+        serializedName: "localizedValue",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const Usage: msRest.CompositeMapper = {
+  serializedName: "Usage",
+  type: {
+    name: "Composite",
+    className: "Usage",
+    modelProperties: {
+      id: {
+        readOnly: true,
+        serializedName: "id",
+        type: {
+          name: "String"
+        }
+      },
+      name: {
+        readOnly: true,
+        serializedName: "name",
+        type: {
+          name: "Composite",
+          className: "Name"
+        }
+      },
+      type: {
+        readOnly: true,
+        serializedName: "type",
+        type: {
+          name: "String"
+        }
+      },
+      unit: {
+        readOnly: true,
+        serializedName: "unit",
+        type: {
+          name: "String"
+        }
+      },
+      currentValue: {
+        readOnly: true,
+        serializedName: "currentValue",
+        type: {
+          name: "Number"
+        }
+      },
+      limit: {
+        readOnly: true,
+        serializedName: "limit",
+        type: {
+          name: "Number"
+        }
+      },
+      requestedLimit: {
+        readOnly: true,
+        serializedName: "requestedLimit",
+        type: {
+          name: "Number"
+        }
+      }
+    }
+  }
+};
+
+export const RecoverableDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "RecoverableDatabaseListResult",
+  type: {
+    name: "Composite",
+    className: "RecoverableDatabaseListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "RecoverableDatabase"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const DataMaskingRuleListResult: msRest.CompositeMapper = {
+  serializedName: "DataMaskingRuleListResult",
+  type: {
+    name: "Composite",
+    className: "DataMaskingRuleListResult",
+    modelProperties: {
+      value: {
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DataMaskingRule"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const GeoBackupPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "GeoBackupPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "GeoBackupPolicyListResult",
+    modelProperties: {
+      value: {
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "GeoBackupPolicy"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const MetricListResult: msRest.CompositeMapper = {
+  serializedName: "MetricListResult",
+  type: {
+    name: "Composite",
+    className: "MetricListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "Metric"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const MetricDefinitionListResult: msRest.CompositeMapper = {
+  serializedName: "MetricDefinitionListResult",
+  type: {
+    name: "Composite",
+    className: "MetricDefinitionListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "MetricDefinition"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseListResult",
+  type: {
+    name: "Composite",
+    className: "DatabaseListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "Database"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ElasticPoolListResult: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolListResult",
+  type: {
+    name: "Composite",
+    className: "ElasticPoolListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPool"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ReplicationLinksListResult: msRest.CompositeMapper = {
+  serializedName: "ReplicationLinksListResult",
+  type: {
+    name: "Composite",
+    className: "ReplicationLinksListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ReplicationLink"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerCommunicationLinkListResult: msRest.CompositeMapper = {
+  serializedName: "ServerCommunicationLinkListResult",
+  type: {
+    name: "Composite",
+    className: "ServerCommunicationLinkListResult",
+    modelProperties: {
+      value: {
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerCommunicationLink"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ServiceObjectiveListResult: msRest.CompositeMapper = {
+  serializedName: "ServiceObjectiveListResult",
+  type: {
+    name: "Composite",
+    className: "ServiceObjectiveListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServiceObjective"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ElasticPoolActivityListResult: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolActivityListResult",
+  type: {
+    name: "Composite",
+    className: "ElasticPoolActivityListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolActivity"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ElasticPoolDatabaseActivityListResult: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolDatabaseActivityListResult",
+  type: {
+    name: "Composite",
+    className: "ElasticPoolDatabaseActivityListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ElasticPoolDatabaseActivity"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const TransparentDataEncryptionActivityListResult: msRest.CompositeMapper = {
+  serializedName: "TransparentDataEncryptionActivityListResult",
+  type: {
+    name: "Composite",
+    className: "TransparentDataEncryptionActivityListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "TransparentDataEncryptionActivity"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const ServerUsageListResult: msRest.CompositeMapper = {
+  serializedName: "ServerUsageListResult",
+  type: {
+    name: "Composite",
+    className: "ServerUsageListResult",
+    modelProperties: {
+      value: {
+        required: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerUsage"
+            }
+          }
+        }
+      }
+    }
+  }
+};
+
+export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "BackupShortTermRetentionPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "BackupShortTermRetentionPolicyListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "BackupShortTermRetentionPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ExtendedDatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ExtendedDatabaseBlobAuditingPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "ExtendedDatabaseBlobAuditingPolicyListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ExtendedDatabaseBlobAuditingPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ExtendedServerBlobAuditingPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ExtendedServerBlobAuditingPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "ExtendedServerBlobAuditingPolicyListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ExtendedServerBlobAuditingPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ServerBlobAuditingPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "ServerBlobAuditingPolicyListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "ServerBlobAuditingPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseBlobAuditingPolicyListResult",
+  type: {
+    name: "Composite",
+    className: "DatabaseBlobAuditingPolicyListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseBlobAuditingPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseColumnListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseColumnListResult",
+  type: {
+    name: "Composite",
+    className: "DatabaseColumnListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseColumn"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseSchemaListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseSchemaListResult",
+  type: {
+    name: "Composite",
+    className: "DatabaseSchemaListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseSchema"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
+      }
+    }
+  }
+};
+
+export const DatabaseSecurityAlertListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseSecurityAlertListResult",
+  type: {
+    name: "Composite",
+    className: "DatabaseSecurityAlertListResult",
+    modelProperties: {
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseSecurityAlertPolicy"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
         type: {
           name: "String"
         }
@@ -8291,14 +12639,28 @@ export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = {
   }
 };
 
-export const PrivateEndpointProperty: msRest.CompositeMapper = {
-  serializedName: "PrivateEndpointProperty",
+export const DatabaseTableListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseTableListResult",
   type: {
     name: "Composite",
-    className: "PrivateEndpointProperty",
+    className: "DatabaseTableListResult",
     modelProperties: {
-      id: {
-        serializedName: "id",
+      value: {
+        readOnly: true,
+        serializedName: "",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseTable"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
         type: {
           name: "String"
         }
@@ -8307,29 +12669,28 @@ export const PrivateEndpointProperty: msRest.CompositeMapper = {
   }
 };
 
-export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = {
-  serializedName: "PrivateLinkServiceConnectionStateProperty",
+export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseVulnerabilityAssessmentListResult",
   type: {
     name: "Composite",
-    className: "PrivateLinkServiceConnectionStateProperty",
+    className: "DatabaseVulnerabilityAssessmentListResult",
     modelProperties: {
-      status: {
-        required: true,
-        serializedName: "status",
-        type: {
-          name: "String"
-        }
-      },
-      description: {
-        required: true,
-        serializedName: "description",
+      value: {
+        readOnly: true,
+        serializedName: "",
         type: {
-          name: "String"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DatabaseVulnerabilityAssessment"
+            }
+          }
         }
       },
-      actionsRequired: {
+      nextLink: {
         readOnly: true,
-        serializedName: "actionsRequired",
+        serializedName: "nextLink",
         type: {
           name: "String"
         }
@@ -8338,30 +12699,28 @@ export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper =
   }
 };
 
-export const PrivateEndpointConnection: msRest.CompositeMapper = {
-  serializedName: "PrivateEndpointConnection",
+export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = {
+  serializedName: "VulnerabilityAssessmentScanRecordListResult",
   type: {
     name: "Composite",
-    className: "PrivateEndpointConnection",
+    className: "VulnerabilityAssessmentScanRecordListResult",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      privateEndpoint: {
-        serializedName: "properties.privateEndpoint",
-        type: {
-          name: "Composite",
-          className: "PrivateEndpointProperty"
-        }
-      },
-      privateLinkServiceConnectionState: {
-        serializedName: "properties.privateLinkServiceConnectionState",
+      value: {
+        readOnly: true,
+        serializedName: "",
         type: {
-          name: "Composite",
-          className: "PrivateLinkServiceConnectionStateProperty"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "VulnerabilityAssessmentScanRecord"
+            }
+          }
         }
       },
-      provisioningState: {
+      nextLink: {
         readOnly: true,
-        serializedName: "properties.provisioningState",
+        serializedName: "nextLink",
         type: {
           name: "String"
         }
@@ -8370,105 +12729,131 @@ export const PrivateEndpointConnection: msRest.CompositeMapper = {
   }
 };
 
-export const PrivateLinkResourceProperties: msRest.CompositeMapper = {
-  serializedName: "PrivateLinkResourceProperties",
+export const DataWarehouseUserActivitiesListResult: msRest.CompositeMapper = {
+  serializedName: "DataWarehouseUserActivitiesListResult",
   type: {
     name: "Composite",
-    className: "PrivateLinkResourceProperties",
+    className: "DataWarehouseUserActivitiesListResult",
     modelProperties: {
-      groupId: {
-        readOnly: true,
-        serializedName: "groupId",
-        type: {
-          name: "String"
-        }
-      },
-      requiredMembers: {
+      value: {
         readOnly: true,
-        serializedName: "requiredMembers",
+        serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
-              name: "String"
+              name: "Composite",
+              className: "DataWarehouseUserActivities"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const PrivateLinkResource: msRest.CompositeMapper = {
-  serializedName: "PrivateLinkResource",
+export const DeletedServerListResult: msRest.CompositeMapper = {
+  serializedName: "DeletedServerListResult",
   type: {
     name: "Composite",
-    className: "PrivateLinkResource",
+    className: "DeletedServerListResult",
     modelProperties: {
-      ...ProxyResource.type.modelProperties,
-      properties: {
+      value: {
         readOnly: true,
-        serializedName: "properties",
+        serializedName: "",
         type: {
-          name: "Composite",
-          className: "PrivateLinkResourceProperties"
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "DeletedServer"
+            }
+          }
+        }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
         }
       }
     }
   }
 };
 
-export const RecoverableDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "RecoverableDatabaseListResult",
+export const ElasticPoolOperationListResult: msRest.CompositeMapper = {
+  serializedName: "ElasticPoolOperationListResult",
   type: {
     name: "Composite",
-    className: "RecoverableDatabaseListResult",
+    className: "ElasticPoolOperationListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "RecoverableDatabase"
+              className: "ElasticPoolOperation"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "RestorableDroppedDatabaseListResult",
+export const EncryptionProtectorListResult: msRest.CompositeMapper = {
+  serializedName: "EncryptionProtectorListResult",
   type: {
     name: "Composite",
-    className: "RestorableDroppedDatabaseListResult",
+    className: "EncryptionProtectorListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "RestorableDroppedDatabase"
+              className: "EncryptionProtector"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServerListResult: msRest.CompositeMapper = {
-  serializedName: "ServerListResult",
+export const FailoverGroupListResult: msRest.CompositeMapper = {
+  serializedName: "FailoverGroupListResult",
   type: {
     name: "Composite",
-    className: "ServerListResult",
+    className: "FailoverGroupListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -8478,7 +12863,7 @@ export const ServerListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "Server"
+              className: "FailoverGroup"
             }
           }
         }
@@ -8494,123 +12879,161 @@ export const ServerListResult: msRest.CompositeMapper = {
   }
 };
 
-export const DataMaskingRuleListResult: msRest.CompositeMapper = {
-  serializedName: "DataMaskingRuleListResult",
+export const FirewallRuleListResult: msRest.CompositeMapper = {
+  serializedName: "FirewallRuleListResult",
   type: {
     name: "Composite",
-    className: "DataMaskingRuleListResult",
+    className: "FirewallRuleListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "DataMaskingRule"
+              className: "FirewallRule"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const FirewallRuleListResult: msRest.CompositeMapper = {
-  serializedName: "FirewallRuleListResult",
+export const InstanceFailoverGroupListResult: msRest.CompositeMapper = {
+  serializedName: "InstanceFailoverGroupListResult",
   type: {
     name: "Composite",
-    className: "FirewallRuleListResult",
+    className: "InstanceFailoverGroupListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "FirewallRule"
+              className: "InstanceFailoverGroup"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const GeoBackupPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "GeoBackupPolicyListResult",
+export const InstancePoolListResult: msRest.CompositeMapper = {
+  serializedName: "InstancePoolListResult",
   type: {
     name: "Composite",
-    className: "GeoBackupPolicyListResult",
+    className: "InstancePoolListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "GeoBackupPolicy"
+              className: "InstancePool"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const MetricListResult: msRest.CompositeMapper = {
-  serializedName: "MetricListResult",
+export const JobAgentListResult: msRest.CompositeMapper = {
+  serializedName: "JobAgentListResult",
   type: {
     name: "Composite",
-    className: "MetricListResult",
+    className: "JobAgentListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "Metric"
+              className: "JobAgent"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const MetricDefinitionListResult: msRest.CompositeMapper = {
-  serializedName: "MetricDefinitionListResult",
+export const JobCredentialListResult: msRest.CompositeMapper = {
+  serializedName: "JobCredentialListResult",
   type: {
     name: "Composite",
-    className: "MetricDefinitionListResult",
+    className: "JobCredentialListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "MetricDefinition"
+              className: "JobCredential"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const DatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "DatabaseListResult",
+export const JobExecutionListResult: msRest.CompositeMapper = {
+  serializedName: "JobExecutionListResult",
   type: {
     name: "Composite",
-    className: "DatabaseListResult",
+    className: "JobExecutionListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -8620,7 +13043,7 @@ export const DatabaseListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "Database"
+              className: "JobExecution"
             }
           }
         }
@@ -8636,11 +13059,11 @@ export const DatabaseListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolListResult: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolListResult",
+export const JobListResult: msRest.CompositeMapper = {
+  serializedName: "JobListResult",
   type: {
     name: "Composite",
-    className: "ElasticPoolListResult",
+    className: "JobListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -8650,7 +13073,7 @@ export const ElasticPoolListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPool"
+              className: "Job"
             }
           }
         }
@@ -8666,284 +13089,371 @@ export const ElasticPoolListResult: msRest.CompositeMapper = {
   }
 };
 
-export const RecommendedElasticPoolListResult: msRest.CompositeMapper = {
-  serializedName: "RecommendedElasticPoolListResult",
+export const JobStepListResult: msRest.CompositeMapper = {
+  serializedName: "JobStepListResult",
   type: {
     name: "Composite",
-    className: "RecommendedElasticPoolListResult",
+    className: "JobStepListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "RecommendedElasticPool"
+              className: "JobStep"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const RecommendedElasticPoolListMetricsResult: msRest.CompositeMapper = {
-  serializedName: "RecommendedElasticPoolListMetricsResult",
+export const JobTargetGroupListResult: msRest.CompositeMapper = {
+  serializedName: "JobTargetGroupListResult",
   type: {
     name: "Composite",
-    className: "RecommendedElasticPoolListMetricsResult",
+    className: "JobTargetGroupListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "RecommendedElasticPoolMetric"
+              className: "JobTargetGroup"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ReplicationLinkListResult: msRest.CompositeMapper = {
-  serializedName: "ReplicationLinkListResult",
+export const JobVersionListResult: msRest.CompositeMapper = {
+  serializedName: "JobVersionListResult",
   type: {
     name: "Composite",
-    className: "ReplicationLinkListResult",
+    className: "JobVersionListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ReplicationLink"
+              className: "JobVersion"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServerAdministratorListResult: msRest.CompositeMapper = {
-  serializedName: "ServerAdministratorListResult",
+export const LongTermRetentionBackupListResult: msRest.CompositeMapper = {
+  serializedName: "LongTermRetentionBackupListResult",
   type: {
     name: "Composite",
-    className: "ServerAdministratorListResult",
+    className: "LongTermRetentionBackupListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServerAzureADAdministrator"
+              className: "LongTermRetentionBackup"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServerCommunicationLinkListResult: msRest.CompositeMapper = {
-  serializedName: "ServerCommunicationLinkListResult",
+export const ManagedInstanceLongTermRetentionBackupListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceLongTermRetentionBackupListResult",
   type: {
     name: "Composite",
-    className: "ServerCommunicationLinkListResult",
+    className: "ManagedInstanceLongTermRetentionBackupListResult",
     modelProperties: {
       value: {
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServerCommunicationLink"
+              className: "ManagedInstanceLongTermRetentionBackup"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServiceObjectiveListResult: msRest.CompositeMapper = {
-  serializedName: "ServiceObjectiveListResult",
+export const LongTermRetentionPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "LongTermRetentionPolicyListResult",
   type: {
     name: "Composite",
-    className: "ServiceObjectiveListResult",
+    className: "LongTermRetentionPolicyListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServiceObjective"
+              className: "LongTermRetentionPolicy"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ElasticPoolActivityListResult: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolActivityListResult",
+export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedBackupShortTermRetentionPolicyListResult",
   type: {
     name: "Composite",
-    className: "ElasticPoolActivityListResult",
+    className: "ManagedBackupShortTermRetentionPolicyListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPoolActivity"
+              className: "ManagedBackupShortTermRetentionPolicy"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ElasticPoolDatabaseActivityListResult: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolDatabaseActivityListResult",
+export const ManagedInstanceQueryStatistics: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceQueryStatistics",
   type: {
     name: "Composite",
-    className: "ElasticPoolDatabaseActivityListResult",
+    className: "ManagedInstanceQueryStatistics",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPoolDatabaseActivity"
+              className: "QueryStatistics"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServiceTierAdvisorListResult: msRest.CompositeMapper = {
-  serializedName: "ServiceTierAdvisorListResult",
+export const ManagedDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabaseListResult",
   type: {
     name: "Composite",
-    className: "ServiceTierAdvisorListResult",
+    className: "ManagedDatabaseListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServiceTierAdvisor"
+              className: "ManagedDatabase"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const TransparentDataEncryptionActivityListResult: msRest.CompositeMapper = {
-  serializedName: "TransparentDataEncryptionActivityListResult",
+export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedDatabaseSecurityAlertPolicyListResult",
   type: {
     name: "Composite",
-    className: "TransparentDataEncryptionActivityListResult",
+    className: "ManagedDatabaseSecurityAlertPolicyListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "TransparentDataEncryptionActivity"
+              className: "ManagedDatabaseSecurityAlertPolicy"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ServerUsageListResult: msRest.CompositeMapper = {
-  serializedName: "ServerUsageListResult",
+export const SecurityEventCollection: msRest.CompositeMapper = {
+  serializedName: "SecurityEventCollection",
   type: {
     name: "Composite",
-    className: "ServerUsageListResult",
+    className: "SecurityEventCollection",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "ServerUsage"
+              className: "SecurityEvent"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const DatabaseUsageListResult: msRest.CompositeMapper = {
-  serializedName: "DatabaseUsageListResult",
+export const SensitivityLabelListResult: msRest.CompositeMapper = {
+  serializedName: "SensitivityLabelListResult",
   type: {
     name: "Composite",
-    className: "DatabaseUsageListResult",
+    className: "SensitivityLabelListResult",
     modelProperties: {
       value: {
-        required: true,
+        readOnly: true,
         serializedName: "",
         type: {
           name: "Sequence",
           element: {
             type: {
               name: "Composite",
-              className: "DatabaseUsage"
+              className: "SensitivityLabel"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const EncryptionProtectorListResult: msRest.CompositeMapper = {
-  serializedName: "EncryptionProtectorListResult",
+export const ManagedTransparentDataEncryptionListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedTransparentDataEncryptionListResult",
   type: {
     name: "Composite",
-    className: "EncryptionProtectorListResult",
+    className: "ManagedTransparentDataEncryptionListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -8953,7 +13463,7 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "EncryptionProtector"
+              className: "ManagedTransparentDataEncryption"
             }
           }
         }
@@ -8969,11 +13479,11 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = {
   }
 };
 
-export const FailoverGroupListResult: msRest.CompositeMapper = {
-  serializedName: "FailoverGroupListResult",
+export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceAdministratorListResult",
   type: {
     name: "Composite",
-    className: "FailoverGroupListResult",
+    className: "ManagedInstanceAdministratorListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -8983,7 +13493,7 @@ export const FailoverGroupListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "FailoverGroup"
+              className: "ManagedInstanceAdministrator"
             }
           }
         }
@@ -8999,11 +13509,11 @@ export const FailoverGroupListResult: msRest.CompositeMapper = {
   }
 };
 
-export const OperationListResult: msRest.CompositeMapper = {
-  serializedName: "OperationListResult",
+export const ManagedInstanceAzureADOnlyAuthListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceAzureADOnlyAuthListResult",
   type: {
     name: "Composite",
-    className: "OperationListResult",
+    className: "ManagedInstanceAzureADOnlyAuthListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9013,7 +13523,7 @@ export const OperationListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "Operation"
+              className: "ManagedInstanceAzureADOnlyAuthentication"
             }
           }
         }
@@ -9029,11 +13539,11 @@ export const OperationListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ServerKeyListResult: msRest.CompositeMapper = {
-  serializedName: "ServerKeyListResult",
+export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceEncryptionProtectorListResult",
   type: {
     name: "Composite",
-    className: "ServerKeyListResult",
+    className: "ManagedInstanceEncryptionProtectorListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9043,7 +13553,7 @@ export const ServerKeyListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ServerKey"
+              className: "ManagedInstanceEncryptionProtector"
             }
           }
         }
@@ -9059,11 +13569,11 @@ export const ServerKeyListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncAgentListResult: msRest.CompositeMapper = {
-  serializedName: "SyncAgentListResult",
+export const ManagedInstanceKeyListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceKeyListResult",
   type: {
     name: "Composite",
-    className: "SyncAgentListResult",
+    className: "ManagedInstanceKeyListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9073,7 +13583,7 @@ export const SyncAgentListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncAgent"
+              className: "ManagedInstanceKey"
             }
           }
         }
@@ -9089,11 +13599,11 @@ export const SyncAgentListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "SyncAgentLinkedDatabaseListResult",
+export const ManagedInstanceLongTermRetentionPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceLongTermRetentionPolicyListResult",
   type: {
     name: "Composite",
-    className: "SyncAgentLinkedDatabaseListResult",
+    className: "ManagedInstanceLongTermRetentionPolicyListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9103,7 +13613,7 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncAgentLinkedDatabase"
+              className: "ManagedInstanceLongTermRetentionPolicy"
             }
           }
         }
@@ -9119,11 +13629,11 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncDatabaseIdListResult: msRest.CompositeMapper = {
-  serializedName: "SyncDatabaseIdListResult",
+export const ManagedInstanceOperationListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceOperationListResult",
   type: {
     name: "Composite",
-    className: "SyncDatabaseIdListResult",
+    className: "ManagedInstanceOperationListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9133,7 +13643,7 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncDatabaseIdProperties"
+              className: "ManagedInstanceOperation"
             }
           }
         }
@@ -9149,11 +13659,11 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = {
-  serializedName: "SyncFullSchemaPropertiesListResult",
+export const ManagedInstancePrivateEndpointConnectionListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateEndpointConnectionListResult",
   type: {
     name: "Composite",
-    className: "SyncFullSchemaPropertiesListResult",
+    className: "ManagedInstancePrivateEndpointConnectionListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9163,7 +13673,7 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncFullSchemaProperties"
+              className: "ManagedInstancePrivateEndpointConnection"
             }
           }
         }
@@ -9179,11 +13689,11 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncGroupLogListResult: msRest.CompositeMapper = {
-  serializedName: "SyncGroupLogListResult",
+export const ManagedInstancePrivateLinkListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstancePrivateLinkListResult",
   type: {
     name: "Composite",
-    className: "SyncGroupLogListResult",
+    className: "ManagedInstancePrivateLinkListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9193,7 +13703,7 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncGroupLogProperties"
+              className: "ManagedInstancePrivateLink"
             }
           }
         }
@@ -9209,11 +13719,11 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncGroupListResult: msRest.CompositeMapper = {
-  serializedName: "SyncGroupListResult",
+export const ManagedInstanceListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceListResult",
   type: {
     name: "Composite",
-    className: "SyncGroupListResult",
+    className: "ManagedInstanceListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9223,7 +13733,7 @@ export const SyncGroupListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncGroup"
+              className: "ManagedInstance"
             }
           }
         }
@@ -9239,11 +13749,11 @@ export const SyncGroupListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SyncMemberListResult: msRest.CompositeMapper = {
-  serializedName: "SyncMemberListResult",
+export const TopQueriesListResult: msRest.CompositeMapper = {
+  serializedName: "TopQueriesListResult",
   type: {
     name: "Composite",
-    className: "SyncMemberListResult",
+    className: "TopQueriesListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9253,7 +13763,7 @@ export const SyncMemberListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SyncMember"
+              className: "TopQueries"
             }
           }
         }
@@ -9269,11 +13779,11 @@ export const SyncMemberListResult: msRest.CompositeMapper = {
   }
 };
 
-export const SubscriptionUsageListResult: msRest.CompositeMapper = {
-  serializedName: "SubscriptionUsageListResult",
+export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedInstanceVulnerabilityAssessmentListResult",
   type: {
     name: "Composite",
-    className: "SubscriptionUsageListResult",
+    className: "ManagedInstanceVulnerabilityAssessmentListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9283,7 +13793,7 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SubscriptionUsage"
+              className: "ManagedInstanceVulnerabilityAssessment"
             }
           }
         }
@@ -9299,11 +13809,11 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = {
   }
 };
 
-export const VirtualClusterListResult: msRest.CompositeMapper = {
-  serializedName: "VirtualClusterListResult",
+export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "ManagedServerSecurityAlertPolicyListResult",
   type: {
     name: "Composite",
-    className: "VirtualClusterListResult",
+    className: "ManagedServerSecurityAlertPolicyListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9313,7 +13823,7 @@ export const VirtualClusterListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "VirtualCluster"
+              className: "ManagedServerSecurityAlertPolicy"
             }
           }
         }
@@ -9329,11 +13839,11 @@ export const VirtualClusterListResult: msRest.CompositeMapper = {
   }
 };
 
-export const VirtualNetworkRuleListResult: msRest.CompositeMapper = {
-  serializedName: "VirtualNetworkRuleListResult",
+export const OperationListResult: msRest.CompositeMapper = {
+  serializedName: "OperationListResult",
   type: {
     name: "Composite",
-    className: "VirtualNetworkRuleListResult",
+    className: "OperationListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9343,7 +13853,7 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "VirtualNetworkRule"
+              className: "Operation"
             }
           }
         }
@@ -9359,11 +13869,11 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "ServerBlobAuditingPolicyListResult",
+export const OperationsHealthListResult: msRest.CompositeMapper = {
+  serializedName: "OperationsHealthListResult",
   type: {
     name: "Composite",
-    className: "ServerBlobAuditingPolicyListResult",
+    className: "OperationsHealthListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9373,7 +13883,7 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ServerBlobAuditingPolicy"
+              className: "OperationsHealth"
             }
           }
         }
@@ -9389,11 +13899,11 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = {
   }
 };
 
-export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "DatabaseBlobAuditingPolicyListResult",
+export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
+  serializedName: "PrivateEndpointConnectionListResult",
   type: {
     name: "Composite",
-    className: "DatabaseBlobAuditingPolicyListResult",
+    className: "PrivateEndpointConnectionListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9403,7 +13913,7 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "DatabaseBlobAuditingPolicy"
+              className: "PrivateEndpointConnection"
             }
           }
         }
@@ -9419,11 +13929,11 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = {
   }
 };
 
-export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
-  serializedName: "DatabaseVulnerabilityAssessmentListResult",
+export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
+  serializedName: "PrivateLinkResourceListResult",
   type: {
     name: "Composite",
-    className: "DatabaseVulnerabilityAssessmentListResult",
+    className: "PrivateLinkResourceListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9433,7 +13943,7 @@ export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper =
           element: {
             type: {
               name: "Composite",
-              className: "DatabaseVulnerabilityAssessment"
+              className: "PrivateLinkResource"
             }
           }
         }
@@ -9449,11 +13959,11 @@ export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper =
   }
 };
 
-export const JobAgentListResult: msRest.CompositeMapper = {
-  serializedName: "JobAgentListResult",
+export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "RecoverableManagedDatabaseListResult",
   type: {
     name: "Composite",
-    className: "JobAgentListResult",
+    className: "RecoverableManagedDatabaseListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9463,7 +13973,7 @@ export const JobAgentListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobAgent"
+              className: "RecoverableManagedDatabase"
             }
           }
         }
@@ -9479,11 +13989,11 @@ export const JobAgentListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobCredentialListResult: msRest.CompositeMapper = {
-  serializedName: "JobCredentialListResult",
+export const RestorePointListResult: msRest.CompositeMapper = {
+  serializedName: "RestorePointListResult",
   type: {
     name: "Composite",
-    className: "JobCredentialListResult",
+    className: "RestorePointListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9493,7 +14003,7 @@ export const JobCredentialListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobCredential"
+              className: "RestorePoint"
             }
           }
         }
@@ -9509,11 +14019,11 @@ export const JobCredentialListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobExecutionListResult: msRest.CompositeMapper = {
-  serializedName: "JobExecutionListResult",
+export const AdministratorListResult: msRest.CompositeMapper = {
+  serializedName: "AdministratorListResult",
   type: {
     name: "Composite",
-    className: "JobExecutionListResult",
+    className: "AdministratorListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9523,7 +14033,7 @@ export const JobExecutionListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobExecution"
+              className: "ServerAzureADAdministrator"
             }
           }
         }
@@ -9539,11 +14049,11 @@ export const JobExecutionListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobListResult: msRest.CompositeMapper = {
-  serializedName: "JobListResult",
+export const AzureADOnlyAuthListResult: msRest.CompositeMapper = {
+  serializedName: "AzureADOnlyAuthListResult",
   type: {
     name: "Composite",
-    className: "JobListResult",
+    className: "AzureADOnlyAuthListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9553,7 +14063,7 @@ export const JobListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "Job"
+              className: "ServerAzureADOnlyAuthentication"
             }
           }
         }
@@ -9569,11 +14079,11 @@ export const JobListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobStepListResult: msRest.CompositeMapper = {
-  serializedName: "JobStepListResult",
+export const ServerDevOpsAuditSettingsListResult: msRest.CompositeMapper = {
+  serializedName: "ServerDevOpsAuditSettingsListResult",
   type: {
     name: "Composite",
-    className: "JobStepListResult",
+    className: "ServerDevOpsAuditSettingsListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9583,7 +14093,7 @@ export const JobStepListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobStep"
+              className: "ServerDevOpsAuditingSettings"
             }
           }
         }
@@ -9599,11 +14109,11 @@ export const JobStepListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobTargetGroupListResult: msRest.CompositeMapper = {
-  serializedName: "JobTargetGroupListResult",
+export const ServerDnsAliasListResult: msRest.CompositeMapper = {
+  serializedName: "ServerDnsAliasListResult",
   type: {
     name: "Composite",
-    className: "JobTargetGroupListResult",
+    className: "ServerDnsAliasListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9613,7 +14123,7 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobTargetGroup"
+              className: "ServerDnsAlias"
             }
           }
         }
@@ -9629,11 +14139,11 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = {
   }
 };
 
-export const JobVersionListResult: msRest.CompositeMapper = {
-  serializedName: "JobVersionListResult",
+export const ServerKeyListResult: msRest.CompositeMapper = {
+  serializedName: "ServerKeyListResult",
   type: {
     name: "Composite",
-    className: "JobVersionListResult",
+    className: "ServerKeyListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9643,7 +14153,7 @@ export const JobVersionListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "JobVersion"
+              className: "ServerKey"
             }
           }
         }
@@ -9659,11 +14169,11 @@ export const JobVersionListResult: msRest.CompositeMapper = {
   }
 };
 
-export const LongTermRetentionBackupListResult: msRest.CompositeMapper = {
-  serializedName: "LongTermRetentionBackupListResult",
+export const ServerOperationListResult: msRest.CompositeMapper = {
+  serializedName: "ServerOperationListResult",
   type: {
     name: "Composite",
-    className: "LongTermRetentionBackupListResult",
+    className: "ServerOperationListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9673,7 +14183,7 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "LongTermRetentionBackup"
+              className: "ServerOperation"
             }
           }
         }
@@ -9689,11 +14199,11 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedBackupShortTermRetentionPolicyListResult",
+export const ServerListResult: msRest.CompositeMapper = {
+  serializedName: "ServerListResult",
   type: {
     name: "Composite",
-    className: "ManagedBackupShortTermRetentionPolicyListResult",
+    className: "ServerListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9703,7 +14213,7 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa
           element: {
             type: {
               name: "Composite",
-              className: "ManagedBackupShortTermRetentionPolicy"
+              className: "Server"
             }
           }
         }
@@ -9719,11 +14229,11 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa
   }
 };
 
-export const ServerDnsAliasListResult: msRest.CompositeMapper = {
-  serializedName: "ServerDnsAliasListResult",
+export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = {
+  serializedName: "LogicalServerSecurityAlertPolicyListResult",
   type: {
     name: "Composite",
-    className: "ServerDnsAliasListResult",
+    className: "LogicalServerSecurityAlertPolicyListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9733,7 +14243,7 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ServerDnsAlias"
+              className: "ServerSecurityAlertPolicy"
             }
           }
         }
@@ -9749,11 +14259,11 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = {
   }
 };
 
-export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "LogicalServerSecurityAlertPolicyListResult",
+export const ServerTrustGroupListResult: msRest.CompositeMapper = {
+  serializedName: "ServerTrustGroupListResult",
   type: {
     name: "Composite",
-    className: "LogicalServerSecurityAlertPolicyListResult",
+    className: "ServerTrustGroupListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9763,7 +14273,7 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper
           element: {
             type: {
               name: "Composite",
-              className: "ServerSecurityAlertPolicy"
+              className: "ServerTrustGroup"
             }
           }
         }
@@ -9779,11 +14289,11 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper
   }
 };
 
-export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "RestorableDroppedManagedDatabaseListResult",
+export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
+  serializedName: "ServerVulnerabilityAssessmentListResult",
   type: {
     name: "Composite",
-    className: "RestorableDroppedManagedDatabaseListResult",
+    className: "ServerVulnerabilityAssessmentListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9793,7 +14303,7 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper
           element: {
             type: {
               name: "Composite",
-              className: "RestorableDroppedManagedDatabase"
+              className: "ServerVulnerabilityAssessment"
             }
           }
         }
@@ -9809,11 +14319,11 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper
   }
 };
 
-export const RestorePointListResult: msRest.CompositeMapper = {
-  serializedName: "RestorePointListResult",
+export const SubscriptionUsageListResult: msRest.CompositeMapper = {
+  serializedName: "SubscriptionUsageListResult",
   type: {
     name: "Composite",
-    className: "RestorePointListResult",
+    className: "SubscriptionUsageListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9823,20 +14333,27 @@ export const RestorePointListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "RestorePoint"
+              className: "SubscriptionUsage"
             }
           }
         }
+      },
+      nextLink: {
+        readOnly: true,
+        serializedName: "nextLink",
+        type: {
+          name: "String"
+        }
       }
     }
   }
 };
 
-export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabaseSecurityAlertPolicyListResult",
+export const SyncAgentListResult: msRest.CompositeMapper = {
+  serializedName: "SyncAgentListResult",
   type: {
     name: "Composite",
-    className: "ManagedDatabaseSecurityAlertPolicyListResult",
+    className: "SyncAgentListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9846,7 +14363,7 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe
           element: {
             type: {
               name: "Composite",
-              className: "ManagedDatabaseSecurityAlertPolicy"
+              className: "SyncAgent"
             }
           }
         }
@@ -9862,11 +14379,11 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe
   }
 };
 
-export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedServerSecurityAlertPolicyListResult",
+export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "SyncAgentLinkedDatabaseListResult",
   type: {
     name: "Composite",
-    className: "ManagedServerSecurityAlertPolicyListResult",
+    className: "SyncAgentLinkedDatabaseListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9876,7 +14393,7 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper
           element: {
             type: {
               name: "Composite",
-              className: "ManagedServerSecurityAlertPolicy"
+              className: "SyncAgentLinkedDatabase"
             }
           }
         }
@@ -9892,11 +14409,11 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper
   }
 };
 
-export const SensitivityLabelListResult: msRest.CompositeMapper = {
-  serializedName: "SensitivityLabelListResult",
+export const SyncDatabaseIdListResult: msRest.CompositeMapper = {
+  serializedName: "SyncDatabaseIdListResult",
   type: {
     name: "Composite",
-    className: "SensitivityLabelListResult",
+    className: "SyncDatabaseIdListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9906,7 +14423,7 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "SensitivityLabel"
+              className: "SyncDatabaseIdProperties"
             }
           }
         }
@@ -9922,11 +14439,11 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceAdministratorListResult",
+export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = {
+  serializedName: "SyncFullSchemaPropertiesListResult",
   type: {
     name: "Composite",
-    className: "ManagedInstanceAdministratorListResult",
+    className: "SyncFullSchemaPropertiesListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9936,7 +14453,7 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstanceAdministrator"
+              className: "SyncFullSchemaProperties"
             }
           }
         }
@@ -9952,11 +14469,11 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = {
   }
 };
 
-export const DatabaseOperationListResult: msRest.CompositeMapper = {
-  serializedName: "DatabaseOperationListResult",
+export const SyncGroupLogListResult: msRest.CompositeMapper = {
+  serializedName: "SyncGroupLogListResult",
   type: {
     name: "Composite",
-    className: "DatabaseOperationListResult",
+    className: "SyncGroupLogListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9966,7 +14483,7 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "DatabaseOperation"
+              className: "SyncGroupLogProperties"
             }
           }
         }
@@ -9982,11 +14499,11 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ElasticPoolOperationListResult: msRest.CompositeMapper = {
-  serializedName: "ElasticPoolOperationListResult",
+export const SyncGroupListResult: msRest.CompositeMapper = {
+  serializedName: "SyncGroupListResult",
   type: {
     name: "Composite",
-    className: "ElasticPoolOperationListResult",
+    className: "SyncGroupListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -9996,7 +14513,7 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ElasticPoolOperation"
+              className: "SyncGroup"
             }
           }
         }
@@ -10012,11 +14529,11 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = {
   }
 };
 
-export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = {
-  serializedName: "VulnerabilityAssessmentScanRecordListResult",
+export const SyncMemberListResult: msRest.CompositeMapper = {
+  serializedName: "SyncMemberListResult",
   type: {
     name: "Composite",
-    className: "VulnerabilityAssessmentScanRecordListResult",
+    className: "SyncMemberListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10026,7 +14543,7 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper
           element: {
             type: {
               name: "Composite",
-              className: "VulnerabilityAssessmentScanRecord"
+              className: "SyncMember"
             }
           }
         }
@@ -10042,11 +14559,11 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper
   }
 };
 
-export const InstanceFailoverGroupListResult: msRest.CompositeMapper = {
-  serializedName: "InstanceFailoverGroupListResult",
+export const TimeZoneListResult: msRest.CompositeMapper = {
+  serializedName: "TimeZoneListResult",
   type: {
     name: "Composite",
-    className: "InstanceFailoverGroupListResult",
+    className: "TimeZoneListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10056,7 +14573,7 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "InstanceFailoverGroup"
+              className: "TimeZone"
             }
           }
         }
@@ -10072,11 +14589,11 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = {
   }
 };
 
-export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = {
-  serializedName: "BackupShortTermRetentionPolicyListResult",
+export const VirtualClusterListResult: msRest.CompositeMapper = {
+  serializedName: "VirtualClusterListResult",
   type: {
     name: "Composite",
-    className: "BackupShortTermRetentionPolicyListResult",
+    className: "VirtualClusterListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10086,7 +14603,7 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper =
           element: {
             type: {
               name: "Composite",
-              className: "BackupShortTermRetentionPolicy"
+              className: "VirtualCluster"
             }
           }
         }
@@ -10102,11 +14619,11 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper =
   }
 };
 
-export const ManagedInstanceKeyListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceKeyListResult",
+export const VirtualNetworkRuleListResult: msRest.CompositeMapper = {
+  serializedName: "VirtualNetworkRuleListResult",
   type: {
     name: "Composite",
-    className: "ManagedInstanceKeyListResult",
+    className: "VirtualNetworkRuleListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10116,7 +14633,7 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstanceKey"
+              className: "VirtualNetworkRule"
             }
           }
         }
@@ -10132,11 +14649,11 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceEncryptionProtectorListResult",
+export const WorkloadClassifierListResult: msRest.CompositeMapper = {
+  serializedName: "WorkloadClassifierListResult",
   type: {
     name: "Composite",
-    className: "ManagedInstanceEncryptionProtectorListResult",
+    className: "WorkloadClassifierListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10146,7 +14663,7 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstanceEncryptionProtector"
+              className: "WorkloadClassifier"
             }
           }
         }
@@ -10162,11 +14679,11 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe
   }
 };
 
-export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "RecoverableManagedDatabaseListResult",
+export const WorkloadGroupListResult: msRest.CompositeMapper = {
+  serializedName: "WorkloadGroupListResult",
   type: {
     name: "Composite",
-    className: "RecoverableManagedDatabaseListResult",
+    className: "WorkloadGroupListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10176,7 +14693,7 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "RecoverableManagedDatabase"
+              className: "WorkloadGroup"
             }
           }
         }
@@ -10192,11 +14709,11 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceVulnerabilityAssessmentListResult",
+export const ImportExportExtensionsOperationListResult: msRest.CompositeMapper = {
+  serializedName: "ImportExportExtensionsOperationListResult",
   type: {
     name: "Composite",
-    className: "ManagedInstanceVulnerabilityAssessmentListResult",
+    className: "ImportExportExtensionsOperationListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10206,7 +14723,7 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstanceVulnerabilityAssessment"
+              className: "ImportExportExtensionsOperationResult"
             }
           }
         }
@@ -10222,11 +14739,11 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM
   }
 };
 
-export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
-  serializedName: "ServerVulnerabilityAssessmentListResult",
+export const DatabaseOperationListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseOperationListResult",
   type: {
     name: "Composite",
-    className: "ServerVulnerabilityAssessmentListResult",
+    className: "DatabaseOperationListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10236,7 +14753,7 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ServerVulnerabilityAssessment"
+              className: "DatabaseOperation"
             }
           }
         }
@@ -10252,11 +14769,11 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = {
   }
 };
 
-export const InstancePoolListResult: msRest.CompositeMapper = {
-  serializedName: "InstancePoolListResult",
+export const DatabaseUsageListResult: msRest.CompositeMapper = {
+  serializedName: "DatabaseUsageListResult",
   type: {
     name: "Composite",
-    className: "InstancePoolListResult",
+    className: "DatabaseUsageListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10266,7 +14783,7 @@ export const InstancePoolListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "InstancePool"
+              className: "DatabaseUsage"
             }
           }
         }
@@ -10282,11 +14799,11 @@ export const InstancePoolListResult: msRest.CompositeMapper = {
   }
 };
 
-export const UsageListResult: msRest.CompositeMapper = {
-  serializedName: "UsageListResult",
+export const LedgerDigestUploadsListResult: msRest.CompositeMapper = {
+  serializedName: "LedgerDigestUploadsListResult",
   type: {
     name: "Composite",
-    className: "UsageListResult",
+    className: "LedgerDigestUploadsListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10296,7 +14813,7 @@ export const UsageListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "Usage"
+              className: "LedgerDigestUploads"
             }
           }
         }
@@ -10312,11 +14829,11 @@ export const UsageListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedInstanceListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedInstanceListResult",
+export const OutboundFirewallRuleListResult: msRest.CompositeMapper = {
+  serializedName: "OutboundFirewallRuleListResult",
   type: {
     name: "Composite",
-    className: "ManagedInstanceListResult",
+    className: "OutboundFirewallRuleListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10326,7 +14843,7 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ManagedInstance"
+              className: "OutboundFirewallRule"
             }
           }
         }
@@ -10342,11 +14859,11 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = {
   }
 };
 
-export const ManagedDatabaseListResult: msRest.CompositeMapper = {
-  serializedName: "ManagedDatabaseListResult",
+export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "RestorableDroppedDatabaseListResult",
   type: {
     name: "Composite",
-    className: "ManagedDatabaseListResult",
+    className: "RestorableDroppedDatabaseListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10356,7 +14873,7 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "ManagedDatabase"
+              className: "RestorableDroppedDatabase"
             }
           }
         }
@@ -10372,11 +14889,11 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = {
   }
 };
 
-export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
-  serializedName: "PrivateEndpointConnectionListResult",
+export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = {
+  serializedName: "RestorableDroppedManagedDatabaseListResult",
   type: {
     name: "Composite",
-    className: "PrivateEndpointConnectionListResult",
+    className: "RestorableDroppedManagedDatabaseListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10386,7 +14903,7 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "PrivateEndpointConnection"
+              className: "RestorableDroppedManagedDatabase"
             }
           }
         }
@@ -10402,11 +14919,11 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
   }
 };
 
-export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
-  serializedName: "PrivateLinkResourceListResult",
+export const UsageListResult: msRest.CompositeMapper = {
+  serializedName: "UsageListResult",
   type: {
     name: "Composite",
-    className: "PrivateLinkResourceListResult",
+    className: "UsageListResult",
     modelProperties: {
       value: {
         readOnly: true,
@@ -10416,7 +14933,7 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
           element: {
             type: {
               name: "Composite",
-              className: "PrivateLinkResource"
+              className: "Usage"
             }
           }
         }
diff --git a/sdk/sql/arm-sql/src/models/operationsHealthOperationsMappers.ts b/sdk/sql/arm-sql/src/models/operationsHealthOperationsMappers.ts
new file mode 100644
index 000000000000..da893cd0312a
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/operationsHealthOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OperationsHealthListResult,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/operationsMappers.ts b/sdk/sql/arm-sql/src/models/operationsMappers.ts
index 689688180be7..938d3e665a23 100644
--- a/sdk/sql/arm-sql/src/models/operationsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/operationsMappers.ts
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
diff --git a/sdk/sql/arm-sql/src/models/outboundFirewallRulesMappers.ts b/sdk/sql/arm-sql/src/models/outboundFirewallRulesMappers.ts
new file mode 100644
index 000000000000..85fd14cd09aa
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/outboundFirewallRulesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  OutboundFirewallRuleListResult,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts
index 85f7ca30cdca..4606092fe3f7 100644
--- a/sdk/sql/arm-sql/src/models/parameters.ts
+++ b/sdk/sql/arm-sql/src/models/parameters.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -20,85 +19,83 @@ export const acceptLanguage: msRest.OperationParameter = {
     }
   }
 };
-export const administratorName0: msRest.OperationURLParameter = {
+export const administratorName: msRest.OperationURLParameter = {
   parameterPath: "administratorName",
   mapper: {
     required: true,
     isConstant: true,
     serializedName: "administratorName",
-    defaultValue: 'activeDirectory',
+    defaultValue: 'ActiveDirectory',
     type: {
       name: "String"
     }
   }
 };
-export const administratorName1: msRest.OperationURLParameter = {
-  parameterPath: "administratorName",
+export const advisorName: msRest.OperationURLParameter = {
+  parameterPath: "advisorName",
   mapper: {
     required: true,
-    isConstant: true,
-    serializedName: "administratorName",
-    defaultValue: 'ActiveDirectory',
+    serializedName: "advisorName",
     type: {
       name: "String"
     }
   }
 };
-export const apiVersion0: msRest.OperationQueryParameter = {
-  parameterPath: "apiVersion",
+export const aggregationFunction: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "aggregationFunction"
+  ],
   mapper: {
-    required: true,
-    isConstant: true,
-    serializedName: "api-version",
-    defaultValue: '2014-04-01',
+    serializedName: "aggregationFunction",
     type: {
       name: "String"
     }
   }
 };
-export const apiVersion1: msRest.OperationQueryParameter = {
+export const apiVersion0: msRest.OperationQueryParameter = {
   parameterPath: "apiVersion",
   mapper: {
     required: true,
     isConstant: true,
     serializedName: "api-version",
-    defaultValue: '2015-05-01-preview',
+    defaultValue: '2014-04-01',
     type: {
       name: "String"
     }
   }
 };
-export const apiVersion2: msRest.OperationQueryParameter = {
+export const apiVersion1: msRest.OperationQueryParameter = {
   parameterPath: "apiVersion",
   mapper: {
     required: true,
     isConstant: true,
     serializedName: "api-version",
-    defaultValue: '2017-10-01-preview',
+    defaultValue: '2021-02-01-preview',
     type: {
       name: "String"
     }
   }
 };
-export const apiVersion3: msRest.OperationQueryParameter = {
+export const apiVersion2: msRest.OperationQueryParameter = {
   parameterPath: "apiVersion",
   mapper: {
     required: true,
     isConstant: true,
     serializedName: "api-version",
-    defaultValue: '2018-06-01-preview',
+    defaultValue: '2020-11-01-preview',
     type: {
       name: "String"
     }
   }
 };
-export const apiVersion4: msRest.OperationQueryParameter = {
-  parameterPath: "apiVersion",
+export const authenticationName: msRest.OperationURLParameter = {
+  parameterPath: "authenticationName",
   mapper: {
     required: true,
     isConstant: true,
-    serializedName: "api-version",
-    defaultValue: '2017-03-01-preview',
+    serializedName: "authenticationName",
+    defaultValue: 'Default',
     type: {
       name: "String"
     }
@@ -140,6 +137,24 @@ export const blobAuditingPolicyName: msRest.OperationURLParameter = {
     }
   }
 };
+export const column: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "column"
+  ],
+  mapper: {
+    serializedName: "column",
+    type: {
+      name: "Sequence",
+      element: {
+        type: {
+          name: "String"
+        }
+      }
+    }
+  },
+  collectionFormat: msRest.QueryCollectionFormat.Multi
+};
 export const columnName: msRest.OperationURLParameter = {
   parameterPath: "columnName",
   mapper: {
@@ -184,6 +199,18 @@ export const continuationToken: msRest.OperationQueryParameter = {
     }
   }
 };
+export const count: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "count"
+  ],
+  mapper: {
+    serializedName: "$count",
+    type: {
+      name: "Boolean"
+    }
+  }
+};
 export const createTimeMax: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -228,6 +255,18 @@ export const databaseName: msRest.OperationURLParameter = {
     }
   }
 };
+export const databases: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "databases"
+  ],
+  mapper: {
+    serializedName: "databases",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const databaseState: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -262,6 +301,38 @@ export const dataMaskingRuleName: msRest.OperationURLParameter = {
     }
   }
 };
+export const dataWarehouseUserActivityName: msRest.OperationURLParameter = {
+  parameterPath: "dataWarehouseUserActivityName",
+  mapper: {
+    required: true,
+    isConstant: true,
+    serializedName: "dataWarehouseUserActivityName",
+    defaultValue: 'current',
+    type: {
+      name: "String"
+    }
+  }
+};
+export const deletedServerName: msRest.OperationURLParameter = {
+  parameterPath: "deletedServerName",
+  mapper: {
+    required: true,
+    serializedName: "deletedServerName",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const devOpsAuditingSettingsName: msRest.OperationURLParameter = {
+  parameterPath: "devOpsAuditingSettingsName",
+  mapper: {
+    required: true,
+    serializedName: "devOpsAuditingSettingsName",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const dnsAliasName: msRest.OperationURLParameter = {
   parameterPath: "dnsAliasName",
   mapper: {
@@ -294,7 +365,19 @@ export const encryptionProtectorName: msRest.OperationURLParameter = {
     }
   }
 };
-export const endTime: msRest.OperationQueryParameter = {
+export const endTime0: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "endTime"
+  ],
+  mapper: {
+    serializedName: "endTime",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const endTime1: msRest.OperationQueryParameter = {
   parameterPath: "endTime",
   mapper: {
     required: true,
@@ -328,6 +411,18 @@ export const endTimeMin: msRest.OperationQueryParameter = {
     }
   }
 };
+export const expand: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "expand"
+  ],
+  mapper: {
+    serializedName: "$expand",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const expandChildren: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -344,9 +439,7 @@ export const extensionName: msRest.OperationURLParameter = {
   parameterPath: "extensionName",
   mapper: {
     required: true,
-    isConstant: true,
     serializedName: "extensionName",
-    defaultValue: 'import',
     type: {
       name: "String"
     }
@@ -450,6 +543,18 @@ export const instancePoolName: msRest.OperationURLParameter = {
     }
   }
 };
+export const interval: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "interval"
+  ],
+  mapper: {
+    serializedName: "interval",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const isActive: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -512,6 +617,18 @@ export const keyName: msRest.OperationURLParameter = {
     }
   }
 };
+export const ledgerDigestUploads: msRest.OperationURLParameter = {
+  parameterPath: "ledgerDigestUploads",
+  mapper: {
+    required: true,
+    isConstant: true,
+    serializedName: "ledgerDigestUploads",
+    defaultValue: 'current',
+    type: {
+      name: "String"
+    }
+  }
+};
 export const linkId: msRest.OperationURLParameter = {
   parameterPath: "linkId",
   mapper: {
@@ -552,6 +669,26 @@ export const longTermRetentionServerName: msRest.OperationURLParameter = {
     }
   }
 };
+export const maintenanceWindowName: msRest.OperationQueryParameter = {
+  parameterPath: "maintenanceWindowName",
+  mapper: {
+    required: true,
+    serializedName: "maintenanceWindowName",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const maintenanceWindowOptionsName: msRest.OperationQueryParameter = {
+  parameterPath: "maintenanceWindowOptionsName",
+  mapper: {
+    required: true,
+    serializedName: "maintenanceWindowOptionsName",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const managedInstanceName: msRest.OperationURLParameter = {
   parameterPath: "managedInstanceName",
   mapper: {
@@ -573,6 +710,30 @@ export const nextPageLink: msRest.OperationURLParameter = {
   },
   skipEncoding: true
 };
+export const numberOfQueries: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "numberOfQueries"
+  ],
+  mapper: {
+    serializedName: "numberOfQueries",
+    type: {
+      name: "Number"
+    }
+  }
+};
+export const observationMetric: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "observationMetric"
+  ],
+  mapper: {
+    serializedName: "observationMetric",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const onlyLatestPerDatabase: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -595,6 +756,34 @@ export const operationId: msRest.OperationURLParameter = {
     }
   }
 };
+export const orderBy: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "orderBy"
+  ],
+  mapper: {
+    serializedName: "orderBy",
+    type: {
+      name: "Sequence",
+      element: {
+        type: {
+          name: "String"
+        }
+      }
+    }
+  },
+  collectionFormat: msRest.QueryCollectionFormat.Multi
+};
+export const outboundRuleFqdn: msRest.OperationURLParameter = {
+  parameterPath: "outboundRuleFqdn",
+  mapper: {
+    required: true,
+    serializedName: "outboundRuleFqdn",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const policyName: msRest.OperationURLParameter = {
   parameterPath: "policyName",
   mapper: {
@@ -617,11 +806,21 @@ export const privateEndpointConnectionName: msRest.OperationURLParameter = {
     }
   }
 };
-export const recommendedElasticPoolName: msRest.OperationURLParameter = {
-  parameterPath: "recommendedElasticPoolName",
+export const queryId: msRest.OperationURLParameter = {
+  parameterPath: "queryId",
   mapper: {
     required: true,
-    serializedName: "recommendedElasticPoolName",
+    serializedName: "queryId",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const recommendedActionName: msRest.OperationURLParameter = {
+  parameterPath: "recommendedActionName",
+  mapper: {
+    required: true,
+    serializedName: "recommendedActionName",
     type: {
       name: "String"
     }
@@ -637,6 +836,16 @@ export const recoverableDatabaseName: msRest.OperationURLParameter = {
     }
   }
 };
+export const replicationLinkName: msRest.OperationURLParameter = {
+  parameterPath: "replicationLinkName",
+  mapper: {
+    required: true,
+    serializedName: "replicationLinkName",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const replicaType: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -669,16 +878,6 @@ export const restorableDroppedDatabaseId: msRest.OperationURLParameter = {
     }
   }
 };
-export const restorableDroppededDatabaseId: msRest.OperationURLParameter = {
-  parameterPath: "restorableDroppededDatabaseId",
-  mapper: {
-    required: true,
-    serializedName: "restorableDroppededDatabaseId",
-    type: {
-      name: "String"
-    }
-  }
-};
 export const restoreDetailsName: msRest.OperationURLParameter = {
   parameterPath: "restoreDetailsName",
   mapper: {
@@ -721,6 +920,24 @@ export const scanId: msRest.OperationURLParameter = {
     }
   }
 };
+export const schema: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "schema"
+  ],
+  mapper: {
+    serializedName: "schema",
+    type: {
+      name: "Sequence",
+      element: {
+        type: {
+          name: "String"
+        }
+      }
+    }
+  },
+  collectionFormat: msRest.QueryCollectionFormat.Multi
+};
 export const schemaName: msRest.OperationURLParameter = {
   parameterPath: "schemaName",
   mapper: {
@@ -759,11 +976,13 @@ export const sensitivityLabelSource0: msRest.OperationURLParameter = {
   parameterPath: "sensitivityLabelSource",
   mapper: {
     required: true,
-    isConstant: true,
     serializedName: "sensitivityLabelSource",
-    defaultValue: 'recommended',
     type: {
-      name: "String"
+      name: "Enum",
+      allowedValues: [
+        "current",
+        "recommended"
+      ]
     }
   }
 };
@@ -771,13 +990,11 @@ export const sensitivityLabelSource1: msRest.OperationURLParameter = {
   parameterPath: "sensitivityLabelSource",
   mapper: {
     required: true,
+    isConstant: true,
     serializedName: "sensitivityLabelSource",
+    defaultValue: 'current',
     type: {
-      name: "Enum",
-      allowedValues: [
-        "current",
-        "recommended"
-      ]
+      name: "String"
     }
   }
 };
@@ -787,7 +1004,7 @@ export const sensitivityLabelSource2: msRest.OperationURLParameter = {
     required: true,
     isConstant: true,
     serializedName: "sensitivityLabelSource",
-    defaultValue: 'current',
+    defaultValue: 'recommended',
     type: {
       name: "String"
     }
@@ -803,21 +1020,21 @@ export const serverName: msRest.OperationURLParameter = {
     }
   }
 };
-export const serviceObjectiveName: msRest.OperationURLParameter = {
-  parameterPath: "serviceObjectiveName",
+export const serverTrustGroupName: msRest.OperationURLParameter = {
+  parameterPath: "serverTrustGroupName",
   mapper: {
     required: true,
-    serializedName: "serviceObjectiveName",
+    serializedName: "serverTrustGroupName",
     type: {
       name: "String"
     }
   }
 };
-export const serviceTierAdvisorName: msRest.OperationURLParameter = {
-  parameterPath: "serviceTierAdvisorName",
+export const serviceObjectiveName: msRest.OperationURLParameter = {
+  parameterPath: "serviceObjectiveName",
   mapper: {
     required: true,
-    serializedName: "serviceTierAdvisorName",
+    serializedName: "serviceObjectiveName",
     type: {
       name: "String"
     }
@@ -835,6 +1052,18 @@ export const skip: msRest.OperationQueryParameter = {
     }
   }
 };
+export const skiptoken: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "skiptoken"
+  ],
+  mapper: {
+    serializedName: "$skiptoken",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const skipToken: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -847,7 +1076,19 @@ export const skipToken: msRest.OperationQueryParameter = {
     }
   }
 };
-export const startTime: msRest.OperationQueryParameter = {
+export const startTime0: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "startTime"
+  ],
+  mapper: {
+    serializedName: "startTime",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const startTime1: msRest.OperationQueryParameter = {
   parameterPath: "startTime",
   mapper: {
     required: true,
@@ -907,6 +1148,24 @@ export const syncMemberName: msRest.OperationURLParameter = {
     }
   }
 };
+export const table: msRest.OperationQueryParameter = {
+  parameterPath: [
+    "options",
+    "table"
+  ],
+  mapper: {
+    serializedName: "table",
+    type: {
+      name: "Sequence",
+      element: {
+        type: {
+          name: "String"
+        }
+      }
+    }
+  },
+  collectionFormat: msRest.QueryCollectionFormat.Multi
+};
 export const tableName: msRest.OperationURLParameter = {
   parameterPath: "tableName",
   mapper: {
@@ -937,6 +1196,28 @@ export const targetId: msRest.OperationURLParameter = {
     }
   }
 };
+export const tdeName: msRest.OperationURLParameter = {
+  parameterPath: "tdeName",
+  mapper: {
+    required: true,
+    isConstant: true,
+    serializedName: "tdeName",
+    defaultValue: 'current',
+    type: {
+      name: "String"
+    }
+  }
+};
+export const timeZoneId: msRest.OperationURLParameter = {
+  parameterPath: "timeZoneId",
+  mapper: {
+    required: true,
+    serializedName: "timeZoneId",
+    type: {
+      name: "String"
+    }
+  }
+};
 export const top: msRest.OperationQueryParameter = {
   parameterPath: [
     "options",
@@ -1013,3 +1294,23 @@ export const vulnerabilityAssessmentName: msRest.OperationURLParameter = {
     }
   }
 };
+export const workloadClassifierName: msRest.OperationURLParameter = {
+  parameterPath: "workloadClassifierName",
+  mapper: {
+    required: true,
+    serializedName: "workloadClassifierName",
+    type: {
+      name: "String"
+    }
+  }
+};
+export const workloadGroupName: msRest.OperationURLParameter = {
+  parameterPath: "workloadGroupName",
+  mapper: {
+    required: true,
+    serializedName: "workloadGroupName",
+    type: {
+      name: "String"
+    }
+  }
+};
diff --git a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts
index 6afd01cf22af..180421031521 100644
--- a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
   PrivateEndpointConnectionListResult,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts
index 296ecc5ac9a4..31ccdec8b887 100644
--- a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceListResult,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/recommendedSensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/recommendedSensitivityLabelsMappers.ts
new file mode 100644
index 000000000000..dafdfc6e76fc
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/recommendedSensitivityLabelsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecommendedSensitivityLabelUpdateList,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts
index 9677584090a7..11f3c7e26528 100644
--- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableDatabaseListResult,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts
index 1ddfda89c4cf..627128f2b8e7 100644
--- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   RecoverableManagedDatabaseListResult,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts
index 11f8b42a5b3b..d2a800585d43 100644
--- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts
+++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
-  ReplicationLinkListResult,
+  ReplicationLinksListResult,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UnlinkParameters,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts
index b74820bd914f..08362123b8a5 100644
--- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedDatabaseListResult,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts
index cdc3365f6cf9..13fa4260f81c 100644
--- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorableDroppedManagedDatabaseListResult,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts
index 1dc3fc0e9ba9..e8ad5ea7ce9e 100644
--- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
@@ -17,14 +17,21 @@ export {
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -56,54 +64,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
   RestorePointListResult,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts
index 87d6022ba880..52a10cdacb31 100644
--- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,98 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
   SensitivityLabelListResult,
+  SensitivityLabelUpdate,
+  SensitivityLabelUpdateList,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverAdvisorsMappers.ts b/sdk/sql/arm-sql/src/models/serverAdvisorsMappers.ts
new file mode 100644
index 000000000000..5480c437437f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/serverAdvisorsMappers.ts
@@ -0,0 +1,181 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts
index f9ecf612a004..d7c813ceaf21 100644
--- a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts
@@ -1,29 +1,37 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  AdministratorListResult,
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +45,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +64,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
-  ServerAdministratorListResult,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts b/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts
new file mode 100644
index 000000000000..2b49252e7559
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  AzureADOnlyAuthListResult,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts
index 2c08a5a5d576..e89664c1c14f 100644
--- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerBlobAuditingPolicyListResult,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts
index 8fee97fe4555..97dc456d8efb 100644
--- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerCommunicationLinkListResult,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts b/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts
new file mode 100644
index 000000000000..1104c6a8f3ec
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDevOpsAuditSettingsListResult,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts
index 2df18ff0e2c2..987e6be9dacd 100644
--- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,55 +63,98 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
   ServerDnsAliasAcquisition,
   ServerDnsAliasListResult,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -112,13 +163,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts
index 83ddf2f8f7b2..779299547827 100644
--- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
   ServerKeyListResult,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverOperationsMappers.ts b/sdk/sql/arm-sql/src/models/serverOperationsMappers.ts
new file mode 100644
index 000000000000..4adde1b22765
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/serverOperationsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerOperationListResult,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts
index ffc361e9b674..4eda3aeb97a7 100644
--- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LogicalServerSecurityAlertPolicyListResult,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts b/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts
new file mode 100644
index 000000000000..31fe3b83fda1
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerTrustGroupListResult,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts b/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts
index 518a73b015ba..f42ac245f61a 100644
--- a/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
diff --git a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts
index 752ff0c23f91..642ede986847 100644
--- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServerVulnerabilityAssessmentListResult,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serversMappers.ts b/sdk/sql/arm-sql/src/models/serversMappers.ts
index 30808fc774b5..9bed01a60c60 100644
--- a/sdk/sql/arm-sql/src/models/serversMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serversMappers.ts
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CheckNameAvailabilityRequest,
@@ -18,14 +18,21 @@ export {
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -39,7 +46,9 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  ImportNewDatabaseDefinition,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -57,55 +66,99 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  NetworkIsolationSettings,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
   ServerListResult,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerUpdate,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -114,13 +167,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts
index 9f3c7f50b3ec..3bde2ebe5deb 100644
--- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,54 +63,97 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
   ServiceObjectiveListResult,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/sqlAgentMappers.ts b/sdk/sql/arm-sql/src/models/sqlAgentMappers.ts
new file mode 100644
index 000000000000..5480c437437f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/sqlAgentMappers.ts
@@ -0,0 +1,181 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts
index 00869dab7501..33d35d7b1549 100644
--- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SubscriptionUsageListResult,
   SyncAgent,
@@ -111,13 +162,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts
index b4b302816e20..f674ebdc6301 100644
--- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentKeyProperties,
@@ -113,13 +164,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts
index 2df7178b4a32..7facfcb5935d 100644
--- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -119,13 +170,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts
index 340117c02ee4..7ea482ecd8db 100644
--- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts
+++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -115,13 +166,21 @@ export {
   SyncGroupSchemaTableColumn,
   SyncMember,
   SyncMemberListResult,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/timeZonesMappers.ts b/sdk/sql/arm-sql/src/models/timeZonesMappers.ts
new file mode 100644
index 000000000000..7dfe40db3bbe
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/timeZonesMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TimeZoneListResult,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts
index 27d7b720ae1f..87864e86406d 100644
--- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,14 +161,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
   TransparentDataEncryptionActivityListResult,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts
index 7979989c60d3..5480c437437f 100644
--- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts
+++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,13 +161,21 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/usagesMappers.ts b/sdk/sql/arm-sql/src/models/usagesMappers.ts
index 5e7352c44b40..c3b86c0dc93d 100644
--- a/sdk/sql/arm-sql/src/models/usagesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/usagesMappers.ts
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
diff --git a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts
index 90ecde2829f0..aba21d614abd 100644
--- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts
+++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,15 +161,23 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualClusterListResult,
   VirtualClusterUpdate,
   VirtualNetworkRule,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts
index cdf3c431e362..0e77135f49ec 100644
--- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts
+++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts
@@ -1,29 +1,36 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
  */
 
 export {
+  Advisor,
   AutomaticTuningOptions,
   AutomaticTuningServerOptions,
-  BackupLongTermRetentionPolicy,
   BackupShortTermRetentionPolicy,
   BaseResource,
   CloudError,
   Database,
   DatabaseAutomaticTuning,
   DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
   DatabaseOperation,
+  DatabaseSchema,
   DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
   DatabaseVulnerabilityAssessment,
   DatabaseVulnerabilityAssessmentRuleBaseline,
   DatabaseVulnerabilityAssessmentRuleBaselineItem,
   DatabaseVulnerabilityAssessmentScansExport,
   DataMaskingPolicy,
   DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
   ElasticPool,
   ElasticPoolActivity,
   ElasticPoolDatabaseActivity,
@@ -37,7 +44,8 @@ export {
   FailoverGroupReadWriteEndpoint,
   FirewallRule,
   GeoBackupPolicy,
-  ImportExportResponse,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
   InstanceFailoverGroup,
   InstanceFailoverGroupReadOnlyEndpoint,
   InstanceFailoverGroupReadWriteEndpoint,
@@ -55,53 +63,96 @@ export {
   JobTarget,
   JobTargetGroup,
   JobVersion,
+  LedgerDigestUploads,
   LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
   ManagedBackupShortTermRetentionPolicy,
   ManagedDatabase,
   ManagedDatabaseRestoreDetailsResult,
   ManagedDatabaseSecurityAlertPolicy,
   ManagedInstance,
   ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
   ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
   ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
   ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
   ManagedInstanceVulnerabilityAssessment,
   ManagedServerSecurityAlertPolicy,
-  OperationImpact,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
   PartnerInfo,
   PartnerRegionInfo,
   PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
   PrivateEndpointProperty,
   PrivateLinkResource,
   PrivateLinkResourceProperties,
   PrivateLinkServiceConnectionStateProperty,
   ProxyResource,
-  RecommendedElasticPool,
-  RecommendedElasticPoolMetric,
-  RecommendedIndex,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
   RecoverableDatabase,
   RecoverableManagedDatabase,
   ReplicationLink,
   Resource,
-  ResourceIdentity,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
   RestorableDroppedDatabase,
   RestorableDroppedManagedDatabase,
   RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
   SensitivityLabel,
+  SensitivityLabelUpdate,
   Server,
   ServerAutomaticTuning,
   ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
   ServerBlobAuditingPolicy,
   ServerCommunicationLink,
   ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
   ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
   ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
   ServerSecurityAlertPolicy,
+  ServerTrustGroup,
   ServerVulnerabilityAssessment,
   ServiceObjective,
-  ServiceTierAdvisor,
   Sku,
-  SloUsageMetric,
+  SqlAgentConfiguration,
   SubscriptionUsage,
   SyncAgent,
   SyncAgentLinkedDatabase,
@@ -110,14 +161,22 @@ export {
   SyncGroupSchemaTable,
   SyncGroupSchemaTableColumn,
   SyncMember,
+  SystemData,
   TdeCertificate,
+  TimeZone,
   TrackedResource,
   TransparentDataEncryption,
   TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
   VirtualCluster,
   VirtualNetworkRule,
   VirtualNetworkRuleListResult,
   VulnerabilityAssessmentRecurringScansProperties,
   VulnerabilityAssessmentScanError,
-  VulnerabilityAssessmentScanRecord
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup
 } from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts
new file mode 100644
index 000000000000..95bf0c6c62d6
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadClassifierListResult,
+  WorkloadGroup
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts
new file mode 100644
index 000000000000..589cd6cb6005
--- /dev/null
+++ b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+  Advisor,
+  AutomaticTuningOptions,
+  AutomaticTuningServerOptions,
+  BackupShortTermRetentionPolicy,
+  BaseResource,
+  CloudError,
+  Database,
+  DatabaseAutomaticTuning,
+  DatabaseBlobAuditingPolicy,
+  DatabaseColumn,
+  DatabaseExtensions,
+  DatabaseOperation,
+  DatabaseSchema,
+  DatabaseSecurityAlertPolicy,
+  DatabaseTable,
+  DatabaseUsage,
+  DatabaseVulnerabilityAssessment,
+  DatabaseVulnerabilityAssessmentRuleBaseline,
+  DatabaseVulnerabilityAssessmentRuleBaselineItem,
+  DatabaseVulnerabilityAssessmentScansExport,
+  DataMaskingPolicy,
+  DataMaskingRule,
+  DataWarehouseUserActivities,
+  DeletedServer,
+  ElasticPool,
+  ElasticPoolActivity,
+  ElasticPoolDatabaseActivity,
+  ElasticPoolOperation,
+  ElasticPoolPerDatabaseSettings,
+  EncryptionProtector,
+  ExtendedDatabaseBlobAuditingPolicy,
+  ExtendedServerBlobAuditingPolicy,
+  FailoverGroup,
+  FailoverGroupReadOnlyEndpoint,
+  FailoverGroupReadWriteEndpoint,
+  FirewallRule,
+  GeoBackupPolicy,
+  ImportExportExtensionsOperationResult,
+  ImportExportOperationResult,
+  InstanceFailoverGroup,
+  InstanceFailoverGroupReadOnlyEndpoint,
+  InstanceFailoverGroupReadWriteEndpoint,
+  InstancePool,
+  Job,
+  JobAgent,
+  JobCredential,
+  JobExecution,
+  JobExecutionTarget,
+  JobSchedule,
+  JobStep,
+  JobStepAction,
+  JobStepExecutionOptions,
+  JobStepOutput,
+  JobTarget,
+  JobTargetGroup,
+  JobVersion,
+  LedgerDigestUploads,
+  LongTermRetentionBackup,
+  LongTermRetentionBackupOperationResult,
+  LongTermRetentionPolicy,
+  MaintenanceWindowOptions,
+  MaintenanceWindows,
+  MaintenanceWindowTimeRange,
+  ManagedBackupShortTermRetentionPolicy,
+  ManagedDatabase,
+  ManagedDatabaseRestoreDetailsResult,
+  ManagedDatabaseSecurityAlertPolicy,
+  ManagedInstance,
+  ManagedInstanceAdministrator,
+  ManagedInstanceAzureADOnlyAuthentication,
+  ManagedInstanceEncryptionProtector,
+  ManagedInstanceExternalAdministrator,
+  ManagedInstanceKey,
+  ManagedInstanceLongTermRetentionBackup,
+  ManagedInstanceLongTermRetentionPolicy,
+  ManagedInstanceOperation,
+  ManagedInstanceOperationParametersPair,
+  ManagedInstanceOperationSteps,
+  ManagedInstancePairInfo,
+  ManagedInstancePecProperty,
+  ManagedInstancePrivateEndpointConnection,
+  ManagedInstancePrivateEndpointConnectionProperties,
+  ManagedInstancePrivateEndpointProperty,
+  ManagedInstancePrivateLink,
+  ManagedInstancePrivateLinkProperties,
+  ManagedInstancePrivateLinkServiceConnectionStateProperty,
+  ManagedInstanceQuery,
+  ManagedInstanceVulnerabilityAssessment,
+  ManagedServerSecurityAlertPolicy,
+  ManagedTransparentDataEncryption,
+  OperationsHealth,
+  OutboundFirewallRule,
+  PartnerInfo,
+  PartnerRegionInfo,
+  PrivateEndpointConnection,
+  PrivateEndpointConnectionProperties,
+  PrivateEndpointConnectionRequestStatus,
+  PrivateEndpointProperty,
+  PrivateLinkResource,
+  PrivateLinkResourceProperties,
+  PrivateLinkServiceConnectionStateProperty,
+  ProxyResource,
+  ProxyResourceWithWritableName,
+  QueryMetricInterval,
+  QueryMetricProperties,
+  QueryStatistics,
+  RecommendedAction,
+  RecommendedActionErrorInfo,
+  RecommendedActionImpactRecord,
+  RecommendedActionImplementationInfo,
+  RecommendedActionMetricInfo,
+  RecommendedActionStateInfo,
+  RecommendedSensitivityLabelUpdate,
+  RecoverableDatabase,
+  RecoverableManagedDatabase,
+  ReplicationLink,
+  Resource,
+  ResourceIdentityWithUserAssignedIdentities,
+  ResourceWithWritableName,
+  RestorableDroppedDatabase,
+  RestorableDroppedManagedDatabase,
+  RestorePoint,
+  SecurityEvent,
+  SecurityEventSqlInjectionAdditionalProperties,
+  SensitivityLabel,
+  SensitivityLabelUpdate,
+  Server,
+  ServerAutomaticTuning,
+  ServerAzureADAdministrator,
+  ServerAzureADOnlyAuthentication,
+  ServerBlobAuditingPolicy,
+  ServerCommunicationLink,
+  ServerConnectionPolicy,
+  ServerDevOpsAuditingSettings,
+  ServerDnsAlias,
+  ServerExternalAdministrator,
+  ServerInfo,
+  ServerKey,
+  ServerOperation,
+  ServerPrivateEndpointConnection,
+  ServerSecurityAlertPolicy,
+  ServerTrustGroup,
+  ServerVulnerabilityAssessment,
+  ServiceObjective,
+  Sku,
+  SqlAgentConfiguration,
+  SubscriptionUsage,
+  SyncAgent,
+  SyncAgentLinkedDatabase,
+  SyncGroup,
+  SyncGroupSchema,
+  SyncGroupSchemaTable,
+  SyncGroupSchemaTableColumn,
+  SyncMember,
+  SystemData,
+  TdeCertificate,
+  TimeZone,
+  TrackedResource,
+  TransparentDataEncryption,
+  TransparentDataEncryptionActivity,
+  UpdateManagedInstanceDnsServersOperation,
+  UpsertManagedServerOperationParameters,
+  UpsertManagedServerOperationStep,
+  UserIdentity,
+  VirtualCluster,
+  VirtualNetworkRule,
+  VulnerabilityAssessmentRecurringScansProperties,
+  VulnerabilityAssessmentScanError,
+  VulnerabilityAssessmentScanRecord,
+  WorkloadClassifier,
+  WorkloadGroup,
+  WorkloadGroupListResult
+} from "../models/mappers";
diff --git a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts
index a91d73b39445..77d1d0a30578 100644
--- a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/capabilities.ts b/sdk/sql/arm-sql/src/operations/capabilities.ts
index 56cbe7ea343b..8c7cfb7d652a 100644
--- a/sdk/sql/arm-sql/src/operations/capabilities.ts
+++ b/sdk/sql/arm-sql/src/operations/capabilities.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts
index 66ddab401ec4..00ca97e4723c 100644
--- a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts
index 730fb4fa3c41..3bf9c817b0cd 100644
--- a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts
+++ b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/dataWarehouseUserActivitiesOperations.ts b/sdk/sql/arm-sql/src/operations/dataWarehouseUserActivitiesOperations.ts
new file mode 100644
index 000000000000..d1057babab64
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/dataWarehouseUserActivitiesOperations.ts
@@ -0,0 +1,212 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/dataWarehouseUserActivitiesOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DataWarehouseUserActivitiesOperations. */
+export class DataWarehouseUserActivitiesOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DataWarehouseUserActivitiesOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets the user activities of a data warehouse which includes running and suspended queries
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DataWarehouseUserActivitiesGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DataWarehouseUserActivitiesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivities>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivities>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DataWarehouseUserActivities>, callback?: msRest.ServiceCallback<Models.DataWarehouseUserActivities>): Promise<Models.DataWarehouseUserActivitiesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DataWarehouseUserActivitiesGetResponse>;
+  }
+
+  /**
+   * List the user activities of a data warehouse which includes running and suspended queries
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DataWarehouseUserActivitiesListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DataWarehouseUserActivitiesListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>, callback?: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): Promise<Models.DataWarehouseUserActivitiesListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DataWarehouseUserActivitiesListByDatabaseResponse>;
+  }
+
+  /**
+   * List the user activities of a data warehouse which includes running and suspended queries
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DataWarehouseUserActivitiesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DataWarehouseUserActivitiesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>, callback?: msRest.ServiceCallback<Models.DataWarehouseUserActivitiesListResult>): Promise<Models.DataWarehouseUserActivitiesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DataWarehouseUserActivitiesListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataWarehouseUserActivities/{dataWarehouseUserActivityName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.dataWarehouseUserActivityName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DataWarehouseUserActivities
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataWarehouseUserActivities",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DataWarehouseUserActivitiesListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DataWarehouseUserActivitiesListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseAdvisors.ts b/sdk/sql/arm-sql/src/operations/databaseAdvisors.ts
new file mode 100644
index 000000000000..8e04f486ad2f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseAdvisors.ts
@@ -0,0 +1,257 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseAdvisorsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseAdvisors. */
+export class DatabaseAdvisors {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseAdvisors.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of database advisors.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseAdvisorsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseAdvisorsListByDatabaseOptionalParams): Promise<Models.DatabaseAdvisorsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.Advisor[]>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: Models.DatabaseAdvisorsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.Advisor[]>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseAdvisorsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.Advisor[]>, callback?: msRest.ServiceCallback<Models.Advisor[]>): Promise<Models.DatabaseAdvisorsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DatabaseAdvisorsListByDatabaseResponse>;
+  }
+
+  /**
+   * Gets a database advisor.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseAdvisorsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseAdvisorsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Advisor>, callback?: msRest.ServiceCallback<Models.Advisor>): Promise<Models.DatabaseAdvisorsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        advisorName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseAdvisorsGetResponse>;
+  }
+
+  /**
+   * Updates a database advisor.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param parameters The requested advisor resource state.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseAdvisorsUpdateResponse>
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, parameters: Models.Advisor, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseAdvisorsUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param parameters The requested advisor resource state.
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, parameters: Models.Advisor, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param parameters The requested advisor resource state.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, parameters: Models.Advisor, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, parameters: Models.Advisor, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Advisor>, callback?: msRest.ServiceCallback<Models.Advisor>): Promise<Models.DatabaseAdvisorsUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        advisorName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback) as Promise<Models.DatabaseAdvisorsUpdateResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: {
+        serializedName: "parsedResponse",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "Advisor"
+            }
+          }
+        }
+      }
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.advisorName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.Advisor
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.advisorName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.Advisor,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.Advisor
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts
index c8538356092a..3b9520bacbbf 100644
--- a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -121,7 +120,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -147,7 +146,7 @@ const updateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts
index aa9330f4a0d5..5949fbe4df33 100644
--- a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -189,7 +188,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -216,7 +215,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -252,7 +251,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -275,6 +274,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/databaseColumns.ts b/sdk/sql/arm-sql/src/operations/databaseColumns.ts
new file mode 100644
index 000000000000..9b0310b0b3e0
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseColumns.ts
@@ -0,0 +1,365 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseColumnsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseColumns. */
+export class DatabaseColumns {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseColumns.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List database columns
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseColumnsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseColumnsListByDatabaseOptionalParams): Promise<Models.DatabaseColumnsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: Models.DatabaseColumnsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseColumnsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.DatabaseColumnsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DatabaseColumnsListByDatabaseResponse>;
+  }
+
+  /**
+   * List database columns
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseColumnsListByTableResponse>
+   */
+  listByTable(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options?: Models.DatabaseColumnsListByTableOptionalParams): Promise<Models.DatabaseColumnsListByTableResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param callback The callback
+   */
+  listByTable(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByTable(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options: Models.DatabaseColumnsListByTableOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByTable(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options?: Models.DatabaseColumnsListByTableOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.DatabaseColumnsListByTableResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        schemaName,
+        tableName,
+        options
+      },
+      listByTableOperationSpec,
+      callback) as Promise<Models.DatabaseColumnsListByTableResponse>;
+  }
+
+  /**
+   * Get database column
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseColumnsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseColumnsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback<Models.DatabaseColumn>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseColumn>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseColumn>, callback?: msRest.ServiceCallback<Models.DatabaseColumn>): Promise<Models.DatabaseColumnsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        schemaName,
+        tableName,
+        columnName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseColumnsGetResponse>;
+  }
+
+  /**
+   * List database columns
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseColumnsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.DatabaseColumnsListByDatabaseNextOptionalParams): Promise<Models.DatabaseColumnsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.DatabaseColumnsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.DatabaseColumnsListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.DatabaseColumnsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DatabaseColumnsListByDatabaseNextResponse>;
+  }
+
+  /**
+   * List database columns
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseColumnsListByTableNextResponse>
+   */
+  listByTableNext(nextPageLink: string, options?: Models.DatabaseColumnsListByTableNextOptionalParams): Promise<Models.DatabaseColumnsListByTableNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByTableNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByTableNext(nextPageLink: string, options: Models.DatabaseColumnsListByTableNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByTableNext(nextPageLink: string, options?: Models.DatabaseColumnsListByTableNextOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.DatabaseColumnsListByTableNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByTableNextOperationSpec,
+      callback) as Promise<Models.DatabaseColumnsListByTableNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/columns",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.schema,
+    Parameters.table,
+    Parameters.column,
+    Parameters.orderBy,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByTableOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.columnName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumn
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.schema,
+    Parameters.table,
+    Parameters.column,
+    Parameters.orderBy,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByTableNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseExtensionsOperations.ts b/sdk/sql/arm-sql/src/operations/databaseExtensionsOperations.ts
new file mode 100644
index 000000000000..ec29e2fa4a54
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseExtensionsOperations.ts
@@ -0,0 +1,291 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseExtensionsOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseExtensionsOperations. */
+export class DatabaseExtensionsOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseExtensionsOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a database extension. This will return resource not found as it is not supported.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param extensionName
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param extensionName
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param extensionName
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        extensionName,
+        options
+      },
+      getOperationSpec,
+      callback);
+  }
+
+  /**
+   * Perform a database extension operation, like polybase import
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param extensionName
+   * @param parameters The database import request parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseExtensionsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, parameters: Models.DatabaseExtensions, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseExtensionsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,extensionName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabaseExtensionsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * List database extension. This will return an empty list as it is not supported.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseExtensionsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseExtensionsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>, callback?: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): Promise<Models.DatabaseExtensionsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DatabaseExtensionsListByDatabaseResponse>;
+  }
+
+  /**
+   * Perform a database extension operation, like polybase import
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param extensionName
+   * @param parameters The database import request parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, extensionName: string, parameters: Models.DatabaseExtensions, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        extensionName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * List database extension. This will return an empty list as it is not supported.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseExtensionsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseExtensionsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>, callback?: msRest.ServiceCallback<Models.ImportExportExtensionsOperationListResult>): Promise<Models.DatabaseExtensionsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DatabaseExtensionsListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.extensionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ImportExportExtensionsOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.extensionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.DatabaseExtensions,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ImportExportExtensionsOperationResult
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ImportExportExtensionsOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseOperations.ts b/sdk/sql/arm-sql/src/operations/databaseOperations.ts
index 73da08119974..9e5b57372d6e 100644
--- a/sdk/sql/arm-sql/src/operations/databaseOperations.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseOperations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -150,7 +149,7 @@ const cancelOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -174,7 +173,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -197,6 +196,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/databaseRecommendedActions.ts b/sdk/sql/arm-sql/src/operations/databaseRecommendedActions.ts
new file mode 100644
index 000000000000..b87a881ffc1d
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseRecommendedActions.ts
@@ -0,0 +1,271 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseRecommendedActionsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseRecommendedActions. */
+export class DatabaseRecommendedActions {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseRecommendedActions.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets list of Database Recommended Actions.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseRecommendedActionsListByDatabaseAdvisorResponse>
+   */
+  listByDatabaseAdvisor(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseRecommendedActionsListByDatabaseAdvisorResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param callback The callback
+   */
+  listByDatabaseAdvisor(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, callback: msRest.ServiceCallback<Models.RecommendedAction[]>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseAdvisor(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedAction[]>): void;
+  listByDatabaseAdvisor(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedAction[]>, callback?: msRest.ServiceCallback<Models.RecommendedAction[]>): Promise<Models.DatabaseRecommendedActionsListByDatabaseAdvisorResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        advisorName,
+        options
+      },
+      listByDatabaseAdvisorOperationSpec,
+      callback) as Promise<Models.DatabaseRecommendedActionsListByDatabaseAdvisorResponse>;
+  }
+
+  /**
+   * Gets a database recommended action.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseRecommendedActionsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseRecommendedActionsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, callback: msRest.ServiceCallback<Models.RecommendedAction>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedAction>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedAction>, callback?: msRest.ServiceCallback<Models.RecommendedAction>): Promise<Models.DatabaseRecommendedActionsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        advisorName,
+        recommendedActionName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseRecommendedActionsGetResponse>;
+  }
+
+  /**
+   * Updates a database recommended action.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param parameters The requested recommended action resource state.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseRecommendedActionsUpdateResponse>
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, parameters: Models.RecommendedAction, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseRecommendedActionsUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param parameters The requested recommended action resource state.
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, parameters: Models.RecommendedAction, callback: msRest.ServiceCallback<Models.RecommendedAction>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param advisorName The name of the Database Advisor.
+   * @param recommendedActionName The name of Database Recommended Action.
+   * @param parameters The requested recommended action resource state.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, parameters: Models.RecommendedAction, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedAction>): void;
+  update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, parameters: Models.RecommendedAction, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedAction>, callback?: msRest.ServiceCallback<Models.RecommendedAction>): Promise<Models.DatabaseRecommendedActionsUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        advisorName,
+        recommendedActionName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback) as Promise<Models.DatabaseRecommendedActionsUpdateResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseAdvisorOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.advisorName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: {
+        serializedName: "parsedResponse",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "RecommendedAction"
+            }
+          }
+        }
+      }
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.advisorName,
+    Parameters.recommendedActionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.RecommendedAction
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.advisorName,
+    Parameters.recommendedActionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.RecommendedAction,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.RecommendedAction
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseSchemas.ts b/sdk/sql/arm-sql/src/operations/databaseSchemas.ts
new file mode 100644
index 000000000000..aa63cce524dc
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseSchemas.ts
@@ -0,0 +1,218 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseSchemasMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseSchemas. */
+export class DatabaseSchemas {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseSchemas.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List database schemas
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSchemasListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseSchemasListByDatabaseOptionalParams): Promise<Models.DatabaseSchemasListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: Models.DatabaseSchemasListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabaseSchemasListByDatabaseOptionalParams | msRest.ServiceCallback<Models.DatabaseSchemaListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): Promise<Models.DatabaseSchemasListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DatabaseSchemasListByDatabaseResponse>;
+  }
+
+  /**
+   * Get database schema
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSchemasGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseSchemasGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, callback: msRest.ServiceCallback<Models.DatabaseSchema>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSchema>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSchema>, callback?: msRest.ServiceCallback<Models.DatabaseSchema>): Promise<Models.DatabaseSchemasGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        schemaName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseSchemasGetResponse>;
+  }
+
+  /**
+   * List database schemas
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSchemasListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.DatabaseSchemasListByDatabaseNextOptionalParams): Promise<Models.DatabaseSchemasListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.DatabaseSchemasListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.DatabaseSchemasListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.DatabaseSchemaListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): Promise<Models.DatabaseSchemasListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DatabaseSchemasListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchemaListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchema
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchemaListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseSecurityAlertPolicies.ts
new file mode 100644
index 000000000000..d57763e84ffb
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseSecurityAlertPolicies.ts
@@ -0,0 +1,292 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseSecurityAlertPoliciesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseSecurityAlertPolicies. */
+export class DatabaseSecurityAlertPolicies {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseSecurityAlertPolicies.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a database's security alert policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSecurityAlertPoliciesGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseSecurityAlertPoliciesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): Promise<Models.DatabaseSecurityAlertPoliciesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseSecurityAlertPoliciesGetResponse>;
+  }
+
+  /**
+   * Creates or updates a database's security alert policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param parameters The database security alert policy.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSecurityAlertPoliciesCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseSecurityAlertPoliciesCreateOrUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param parameters The database security alert policy.
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param parameters The database security alert policy.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): Promise<Models.DatabaseSecurityAlertPoliciesCreateOrUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        parameters,
+        options
+      },
+      createOrUpdateOperationSpec,
+      callback) as Promise<Models.DatabaseSecurityAlertPoliciesCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Gets a list of database's security alert policies.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the  server.
+   * @param databaseName The name of the  database for which the security alert policy is defined.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseResponse>;
+  }
+
+  /**
+   * Gets a list of database's security alert policies.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertListResult>): Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DatabaseSecurityAlertPoliciesListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.securityAlertPolicyName0,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const createOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.securityAlertPolicyName0,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.DatabaseSecurityAlertPolicy,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
+    },
+    201: {
+      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSecurityAlertListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSecurityAlertListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseTables.ts b/sdk/sql/arm-sql/src/operations/databaseTables.ts
new file mode 100644
index 000000000000..e95dda341b3d
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/databaseTables.ts
@@ -0,0 +1,228 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/databaseTablesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DatabaseTables. */
+export class DatabaseTables {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DatabaseTables.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List database tables
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseTablesListBySchemaResponse>
+   */
+  listBySchema(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options?: Models.DatabaseTablesListBySchemaOptionalParams): Promise<Models.DatabaseTablesListBySchemaResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param callback The callback
+   */
+  listBySchema(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listBySchema(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options: Models.DatabaseTablesListBySchemaOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  listBySchema(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, options?: Models.DatabaseTablesListBySchemaOptionalParams | msRest.ServiceCallback<Models.DatabaseTableListResult>, callback?: msRest.ServiceCallback<Models.DatabaseTableListResult>): Promise<Models.DatabaseTablesListBySchemaResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        schemaName,
+        options
+      },
+      listBySchemaOperationSpec,
+      callback) as Promise<Models.DatabaseTablesListBySchemaResponse>;
+  }
+
+  /**
+   * Get database table
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseTablesGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseTablesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, callback: msRest.ServiceCallback<Models.DatabaseTable>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseTable>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseTable>, callback?: msRest.ServiceCallback<Models.DatabaseTable>): Promise<Models.DatabaseTablesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        schemaName,
+        tableName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DatabaseTablesGetResponse>;
+  }
+
+  /**
+   * List database tables
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseTablesListBySchemaNextResponse>
+   */
+  listBySchemaNext(nextPageLink: string, options?: Models.DatabaseTablesListBySchemaNextOptionalParams): Promise<Models.DatabaseTablesListBySchemaNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listBySchemaNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listBySchemaNext(nextPageLink: string, options: Models.DatabaseTablesListBySchemaNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  listBySchemaNext(nextPageLink: string, options?: Models.DatabaseTablesListBySchemaNextOptionalParams | msRest.ServiceCallback<Models.DatabaseTableListResult>, callback?: msRest.ServiceCallback<Models.DatabaseTableListResult>): Promise<Models.DatabaseTablesListBySchemaNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listBySchemaNextOperationSpec,
+      callback) as Promise<Models.DatabaseTablesListBySchemaNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listBySchemaOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTableListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTable
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listBySchemaNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTableListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseUsages.ts b/sdk/sql/arm-sql/src/operations/databaseUsages.ts
index a7146aee6cb0..52aec0633445 100644
--- a/sdk/sql/arm-sql/src/operations/databaseUsages.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseUsages.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,7 +26,7 @@ export class DatabaseUsages {
   }
 
   /**
-   * Returns database usages.
+   * Gets database usages.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
@@ -64,6 +63,34 @@ export class DatabaseUsages {
       listByDatabaseOperationSpec,
       callback) as Promise<Models.DatabaseUsagesListByDatabaseResponse>;
   }
+
+  /**
+   * Gets database usages.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabaseUsagesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseUsagesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseUsageListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseUsageListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseUsageListResult>, callback?: msRest.ServiceCallback<Models.DatabaseUsageListResult>): Promise<Models.DatabaseUsagesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.DatabaseUsagesListByDatabaseNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -72,13 +99,37 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/usages",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.databaseName
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseUsageListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts
index 12157deacbb5..16b8a2651826 100644
--- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -214,7 +213,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -243,7 +242,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -279,7 +278,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts
index 20c44d8e1471..ca47eef7dde9 100644
--- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,6 +26,21 @@ export class DatabaseVulnerabilityAssessmentScans {
     this.client = client;
   }
 
+  /**
+   * Executes a Vulnerability Assessment database scan.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  initiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginInitiateScan(resourceGroupName,serverName,databaseName,scanId,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
   /**
    * Lists the vulnerability assessment scans of a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -109,21 +123,6 @@ export class DatabaseVulnerabilityAssessmentScans {
       callback) as Promise<Models.DatabaseVulnerabilityAssessmentScansGetResponse>;
   }
 
-  /**
-   * Executes a Vulnerability Assessment database scan.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database.
-   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
-   * @param [options] The optional parameters
-   * @returns Promise<msRest.RestResponse>
-   */
-  initiateScan(resourceGroupName: string, serverName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
-    return this.beginInitiateScan(resourceGroupName,serverName,databaseName,scanId,options)
-      .then(lroPoller => lroPoller.pollUntilFinished());
-  }
-
   /**
    * Convert an existing scan result to a human readable format. If already exists nothing happens
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -341,6 +340,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts
index 3ed1a774ce50..331ae1f1988e 100644
--- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts
+++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -231,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -258,7 +257,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -295,7 +294,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -319,7 +318,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/databases.ts b/sdk/sql/arm-sql/src/operations/databases.ts
index 846dfc51b1bd..daa49355e47d 100644
--- a/sdk/sql/arm-sql/src/operations/databases.ts
+++ b/sdk/sql/arm-sql/src/operations/databases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,51 +26,6 @@ export class Databases {
     this.client = client;
   }
 
-  /**
-   * Imports a bacpac into a new database.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param parameters The required parameters for importing a Bacpac into a database.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.DatabasesImportMethodResponse>
-   */
-  importMethod(resourceGroupName: string, serverName: string, parameters: Models.ImportRequest, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesImportMethodResponse> {
-    return this.beginImportMethod(resourceGroupName,serverName,parameters,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabasesImportMethodResponse>;
-  }
-
-  /**
-   * Creates an import operation that imports a bacpac into an existing database. The existing
-   * database must be empty.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to import into
-   * @param parameters The required parameters for importing a Bacpac into a database.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.DatabasesCreateImportOperationResponse>
-   */
-  createImportOperation(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExtensionRequest, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesCreateImportOperationResponse> {
-    return this.beginCreateImportOperation(resourceGroupName,serverName,databaseName,parameters,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabasesCreateImportOperationResponse>;
-  }
-
-  /**
-   * Exports a database to a bacpac.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to be exported.
-   * @param parameters The required parameters for exporting a database.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.DatabasesExportMethodResponse>
-   */
-  exportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportRequest, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesExportMethodResponse> {
-    return this.beginExportMethod(resourceGroupName,serverName,databaseName,parameters,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabasesExportMethodResponse>;
-  }
-
   /**
    * Returns database metrics.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -162,7 +116,7 @@ export class Databases {
    * @param [options] The optional parameters
    * @returns Promise<Models.DatabasesListByServerResponse>
    */
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesListByServerResponse>;
+  listByServer(resourceGroupName: string, serverName: string, options?: Models.DatabasesListByServerOptionalParams): Promise<Models.DatabasesListByServerResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -177,8 +131,8 @@ export class Databases {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListByServerResponse> {
+  listByServer(resourceGroupName: string, serverName: string, options: Models.DatabasesListByServerOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: Models.DatabasesListByServerOptionalParams | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListByServerResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -311,6 +265,55 @@ export class Databases {
       callback) as Promise<Models.DatabasesListByElasticPoolResponse>;
   }
 
+  /**
+   * Failovers a database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database to failover.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  failover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesFailoverOptionalParams): Promise<msRest.RestResponse> {
+    return this.beginFailover(resourceGroupName,serverName,databaseName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets a list of inaccessible databases in a logical server
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabasesListInaccessibleByServerResponse>
+   */
+  listInaccessibleByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesListInaccessibleByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listInaccessibleByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listInaccessibleByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  listInaccessibleByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListInaccessibleByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listInaccessibleByServerOperationSpec,
+      callback) as Promise<Models.DatabasesListInaccessibleByServerResponse>;
+  }
+
   /**
    * Pauses a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -397,52 +400,46 @@ export class Databases {
   }
 
   /**
-   * Failovers a database.
+   * Imports a bacpac into a new database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to failover.
+   * @param databaseName The name of the database.
+   * @param parameters The database import request parameters.
    * @param [options] The optional parameters
-   * @returns Promise<msRest.RestResponse>
+   * @returns Promise<Models.DatabasesImportMethodResponse>
    */
-  failover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesFailoverOptionalParams): Promise<msRest.RestResponse> {
-    return this.beginFailover(resourceGroupName,serverName,databaseName,options)
-      .then(lroPoller => lroPoller.pollUntilFinished());
+  importMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExistingDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesImportMethodResponse> {
+    return this.beginImportMethod(resourceGroupName,serverName,databaseName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabasesImportMethodResponse>;
   }
 
   /**
-   * Imports a bacpac into a new database.
+   * Exports a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param parameters The required parameters for importing a Bacpac into a database.
+   * @param databaseName The name of the database.
+   * @param parameters The database export request parameters.
    * @param [options] The optional parameters
-   * @returns Promise<msRestAzure.LROPoller>
+   * @returns Promise<Models.DatabasesExportMethodResponse>
    */
-  beginImportMethod(resourceGroupName: string, serverName: string, parameters: Models.ImportRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
-    return this.client.sendLRORequest(
-      {
-        resourceGroupName,
-        serverName,
-        parameters,
-        options
-      },
-      beginImportMethodOperationSpec,
-      options);
+  exportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesExportMethodResponse> {
+    return this.beginExportMethod(resourceGroupName,serverName,databaseName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DatabasesExportMethodResponse>;
   }
 
   /**
-   * Creates an import operation that imports a bacpac into an existing database. The existing
-   * database must be empty.
+   * Creates a new database or updates an existing database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to import into
-   * @param parameters The required parameters for importing a Bacpac into a database.
+   * @param databaseName The name of the database.
+   * @param parameters The requested database resource state.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginCreateImportOperation(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExtensionRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.Database, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -451,35 +448,33 @@ export class Databases {
         parameters,
         options
       },
-      beginCreateImportOperationOperationSpec,
+      beginCreateOrUpdateOperationSpec,
       options);
   }
 
   /**
-   * Exports a database to a bacpac.
+   * Deletes the database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to be exported.
-   * @param parameters The required parameters for exporting a database.
+   * @param databaseName The name of the database.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginExportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
-        parameters,
         options
       },
-      beginExportMethodOperationSpec,
+      beginDeleteMethodOperationSpec,
       options);
   }
 
   /**
-   * Creates a new database or updates an existing database.
+   * Updates an existing database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
@@ -488,7 +483,7 @@ export class Databases {
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.Database, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseUpdate, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -497,20 +492,20 @@ export class Databases {
         parameters,
         options
       },
-      beginCreateOrUpdateOperationSpec,
+      beginUpdateOperationSpec,
       options);
   }
 
   /**
-   * Deletes the database.
+   * Failovers a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database.
+   * @param databaseName The name of the database to failover.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginFailover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesBeginFailoverOptionalParams): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -518,43 +513,41 @@ export class Databases {
         databaseName,
         options
       },
-      beginDeleteMethodOperationSpec,
+      beginFailoverOperationSpec,
       options);
   }
 
   /**
-   * Updates an existing database.
+   * Pauses a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database.
-   * @param parameters The requested database resource state.
+   * @param databaseName The name of the database to be paused.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseUpdate, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginPause(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
-        parameters,
         options
       },
-      beginUpdateOperationSpec,
+      beginPauseOperationSpec,
       options);
   }
 
   /**
-   * Pauses a database.
+   * Resumes a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to be paused.
+   * @param databaseName The name of the database to be resumed.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginPause(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginResume(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -562,20 +555,20 @@ export class Databases {
         databaseName,
         options
       },
-      beginPauseOperationSpec,
+      beginResumeOperationSpec,
       options);
   }
 
   /**
-   * Resumes a database.
+   * Upgrades a data warehouse.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to be resumed.
+   * @param databaseName The name of the database to be upgraded.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginResume(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginUpgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -583,49 +576,53 @@ export class Databases {
         databaseName,
         options
       },
-      beginResumeOperationSpec,
+      beginUpgradeDataWarehouseOperationSpec,
       options);
   }
 
   /**
-   * Upgrades a data warehouse.
+   * Imports a bacpac into a new database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to be upgraded.
+   * @param databaseName The name of the database.
+   * @param parameters The database import request parameters.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginUpgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginImportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExistingDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
+        parameters,
         options
       },
-      beginUpgradeDataWarehouseOperationSpec,
+      beginImportMethodOperationSpec,
       options);
   }
 
   /**
-   * Failovers a database.
+   * Exports a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to failover.
+   * @param databaseName The name of the database.
+   * @param parameters The database export request parameters.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginFailover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesBeginFailoverOptionalParams): Promise<msRestAzure.LROPoller> {
+  beginExportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
+        parameters,
         options
       },
-      beginFailoverOperationSpec,
+      beginExportMethodOperationSpec,
       options);
   }
 
@@ -635,7 +632,7 @@ export class Databases {
    * @param [options] The optional parameters
    * @returns Promise<Models.DatabasesListByServerNextResponse>
    */
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesListByServerNextResponse>;
+  listByServerNext(nextPageLink: string, options?: Models.DatabasesListByServerNextOptionalParams): Promise<Models.DatabasesListByServerNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -646,8 +643,8 @@ export class Databases {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListByServerNextResponse> {
+  listByServerNext(nextPageLink: string, options: Models.DatabasesListByServerNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  listByServerNext(nextPageLink: string, options?: Models.DatabasesListByServerNextOptionalParams | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListByServerNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -684,6 +681,34 @@ export class Databases {
       listByElasticPoolNextOperationSpec,
       callback) as Promise<Models.DatabasesListByElasticPoolNextResponse>;
   }
+
+  /**
+   * Gets a list of inaccessible databases in a logical server
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DatabasesListInaccessibleByServerNextResponse>
+   */
+  listInaccessibleByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabasesListInaccessibleByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listInaccessibleByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listInaccessibleByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseListResult>): void;
+  listInaccessibleByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseListResult>, callback?: msRest.ServiceCallback<Models.DatabaseListResult>): Promise<Models.DatabasesListInaccessibleByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listInaccessibleByServerNextOperationSpec,
+      callback) as Promise<Models.DatabasesListInaccessibleByServerNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -750,7 +775,8 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.skipToken,
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -776,7 +802,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -802,7 +828,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -818,30 +844,24 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const renameOperationSpec: msRest.OperationSpec = {
-  httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move",
+const listInaccessibleByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.databaseName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
-  requestBody: {
-    parameterPath: "parameters",
-    mapper: {
-      ...Mappers.ResourceMoveDefinition,
-      required: true
-    }
-  },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.DatabaseListResult
+    },
     default: {
       bodyMapper: Mappers.CloudError
     }
@@ -849,16 +869,17 @@ const renameOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginImportMethodOperationSpec: msRest.OperationSpec = {
+const renameOperationSpec: msRest.OperationSpec = {
   httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
-    Parameters.serverName
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -866,15 +887,12 @@ const beginImportMethodOperationSpec: msRest.OperationSpec = {
   requestBody: {
     parameterPath: "parameters",
     mapper: {
-      ...Mappers.ImportRequest,
+      ...Mappers.ResourceMoveDefinition,
       required: true
     }
   },
   responses: {
-    200: {
-      bodyMapper: Mappers.ImportExportResponse
-    },
-    202: {},
+    200: {},
     default: {
       bodyMapper: Mappers.CloudError
     }
@@ -882,18 +900,17 @@ const beginImportMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginCreateImportOperationOperationSpec: msRest.OperationSpec = {
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
     Parameters.databaseName,
-    Parameters.extensionName
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -901,13 +918,16 @@ const beginCreateImportOperationOperationSpec: msRest.OperationSpec = {
   requestBody: {
     parameterPath: "parameters",
     mapper: {
-      ...Mappers.ImportExtensionRequest,
+      ...Mappers.Database,
       required: true
     }
   },
   responses: {
+    200: {
+      bodyMapper: Mappers.Database
+    },
     201: {
-      bodyMapper: Mappers.ImportExportResponse
+      bodyMapper: Mappers.Database
     },
     202: {},
     default: {
@@ -917,33 +937,25 @@ const beginCreateImportOperationOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginExportMethodOperationSpec: msRest.OperationSpec = {
-  httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export",
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.databaseName
+    Parameters.databaseName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
-  requestBody: {
-    parameterPath: "parameters",
-    mapper: {
-      ...Mappers.ExportRequest,
-      required: true
-    }
-  },
   responses: {
-    200: {
-      bodyMapper: Mappers.ImportExportResponse
-    },
+    200: {},
     202: {},
+    204: {},
     default: {
       bodyMapper: Mappers.CloudError
     }
@@ -951,8 +963,8 @@ const beginExportMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
-  httpMethod: "PUT",
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}",
   urlParameters: [
     Parameters.resourceGroupName,
@@ -961,7 +973,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -969,7 +981,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   requestBody: {
     parameterPath: "parameters",
     mapper: {
-      ...Mappers.Database,
+      ...Mappers.DatabaseUpdate,
       required: true
     }
   },
@@ -977,9 +989,6 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     200: {
       bodyMapper: Mappers.Database
     },
-    201: {
-      bodyMapper: Mappers.Database
-    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -988,9 +997,9 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
-  httpMethod: "DELETE",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}",
+const beginFailoverOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -998,7 +1007,8 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.replicaType,
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -1006,7 +1016,6 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
   responses: {
     200: {},
     202: {},
-    204: {},
     default: {
       bodyMapper: Mappers.CloudError
     }
@@ -1014,9 +1023,9 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginUpdateOperationSpec: msRest.OperationSpec = {
-  httpMethod: "PATCH",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}",
+const beginPauseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -1024,18 +1033,11 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
-  requestBody: {
-    parameterPath: "parameters",
-    mapper: {
-      ...Mappers.DatabaseUpdate,
-      required: true
-    }
-  },
   responses: {
     200: {
       bodyMapper: Mappers.Database
@@ -1048,9 +1050,9 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginPauseOperationSpec: msRest.OperationSpec = {
+const beginResumeOperationSpec: msRest.OperationSpec = {
   httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -1058,7 +1060,7 @@ const beginPauseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -1075,9 +1077,9 @@ const beginPauseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginResumeOperationSpec: msRest.OperationSpec = {
+const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = {
   httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -1085,15 +1087,13 @@ const beginResumeOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
-    200: {
-      bodyMapper: Mappers.Database
-    },
+    200: {},
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -1102,9 +1102,9 @@ const beginResumeOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = {
+const beginImportMethodOperationSpec: msRest.OperationSpec = {
   httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/import",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -1112,13 +1112,22 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion2
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ImportExistingDatabaseDefinition,
+      required: true
+    }
+  },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.ImportExportOperationResult
+    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -1127,9 +1136,9 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginFailoverOperationSpec: msRest.OperationSpec = {
+const beginExportMethodOperationSpec: msRest.OperationSpec = {
   httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -1137,14 +1146,22 @@ const beginFailoverOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.replicaType,
-    Parameters.apiVersion3
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ExportDatabaseDefinition,
+      required: true
+    }
+  },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.ImportExportOperationResult
+    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -1160,6 +1177,10 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skipToken,
+    Parameters.apiVersion1
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -1181,6 +1202,33 @@ const listByElasticPoolNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listInaccessibleByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/deletedServers.ts b/sdk/sql/arm-sql/src/operations/deletedServers.ts
new file mode 100644
index 000000000000..608dcf803c46
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/deletedServers.ts
@@ -0,0 +1,346 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/deletedServersMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a DeletedServers. */
+export class DeletedServers {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a DeletedServers.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of all deleted servers in a subscription.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersListResponse>
+   */
+  list(options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersListResponse>;
+  /**
+   * @param callback The callback
+   */
+  list(callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  /**
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DeletedServerListResult>, callback?: msRest.ServiceCallback<Models.DeletedServerListResult>): Promise<Models.DeletedServersListResponse> {
+    return this.client.sendOperationRequest(
+      {
+        options
+      },
+      listOperationSpec,
+      callback) as Promise<Models.DeletedServersListResponse>;
+  }
+
+  /**
+   * Gets a deleted server.
+   * @param locationName The name of the region where the resource is located.
+   * @param deletedServerName The name of the deleted server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersGetResponse>
+   */
+  get(locationName: string, deletedServerName: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersGetResponse>;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param deletedServerName The name of the deleted server.
+   * @param callback The callback
+   */
+  get(locationName: string, deletedServerName: string, callback: msRest.ServiceCallback<Models.DeletedServer>): void;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param deletedServerName The name of the deleted server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(locationName: string, deletedServerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DeletedServer>): void;
+  get(locationName: string, deletedServerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DeletedServer>, callback?: msRest.ServiceCallback<Models.DeletedServer>): Promise<Models.DeletedServersGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        deletedServerName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.DeletedServersGetResponse>;
+  }
+
+  /**
+   * Gets a list of deleted servers for a location.
+   * @param locationName The name of the region where the resource is located.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersListByLocationResponse>
+   */
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersListByLocationResponse>;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DeletedServerListResult>, callback?: msRest.ServiceCallback<Models.DeletedServerListResult>): Promise<Models.DeletedServersListByLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        options
+      },
+      listByLocationOperationSpec,
+      callback) as Promise<Models.DeletedServersListByLocationResponse>;
+  }
+
+  /**
+   * Recovers a deleted server.
+   * @param locationName The name of the region where the resource is located.
+   * @param deletedServerName The name of the deleted server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersRecoverResponse>
+   */
+  recover(locationName: string, deletedServerName: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersRecoverResponse> {
+    return this.beginRecover(locationName,deletedServerName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.DeletedServersRecoverResponse>;
+  }
+
+  /**
+   * Recovers a deleted server.
+   * @param locationName The name of the region where the resource is located.
+   * @param deletedServerName The name of the deleted server.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginRecover(locationName: string, deletedServerName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        locationName,
+        deletedServerName,
+        options
+      },
+      beginRecoverOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a list of all deleted servers in a subscription.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersListNextResponse>
+   */
+  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersListNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DeletedServerListResult>, callback?: msRest.ServiceCallback<Models.DeletedServerListResult>): Promise<Models.DeletedServersListNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listNextOperationSpec,
+      callback) as Promise<Models.DeletedServersListNextResponse>;
+  }
+
+  /**
+   * Gets a list of deleted servers for a location.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.DeletedServersListByLocationNextResponse>
+   */
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.DeletedServersListByLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DeletedServerListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DeletedServerListResult>, callback?: msRest.ServiceCallback<Models.DeletedServerListResult>): Promise<Models.DeletedServersListByLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.DeletedServersListByLocationNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers",
+  urlParameters: [
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServerListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.deletedServerName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServer
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServerListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginRecoverOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/deletedServers/{deletedServerName}/recover",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.deletedServerName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServer
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServerListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DeletedServerListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts
index 41b02ce1dc7a..71dd1f38d425 100644
--- a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts
+++ b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts
index 12a137296830..d9e32c0efe73 100644
--- a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts
+++ b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts
index 049f74e667db..649dfe5c8c62 100644
--- a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts
+++ b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -197,6 +196,9 @@ const listByElasticPoolNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/elasticPools.ts b/sdk/sql/arm-sql/src/operations/elasticPools.ts
index 44ed8f424f87..ad6082e3bc1e 100644
--- a/sdk/sql/arm-sql/src/operations/elasticPools.ts
+++ b/sdk/sql/arm-sql/src/operations/elasticPools.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -335,7 +334,7 @@ export class ElasticPools {
    * @param [options] The optional parameters
    * @returns Promise<Models.ElasticPoolsListByServerNextResponse>
    */
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ElasticPoolsListByServerNextResponse>;
+  listByServerNext(nextPageLink: string, options?: Models.ElasticPoolsListByServerNextOptionalParams): Promise<Models.ElasticPoolsListByServerNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -346,8 +345,8 @@ export class ElasticPools {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ElasticPoolListResult>): void;
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ElasticPoolListResult>, callback?: msRest.ServiceCallback<Models.ElasticPoolListResult>): Promise<Models.ElasticPoolsListByServerNextResponse> {
+  listByServerNext(nextPageLink: string, options: Models.ElasticPoolsListByServerNextOptionalParams, callback: msRest.ServiceCallback<Models.ElasticPoolListResult>): void;
+  listByServerNext(nextPageLink: string, options?: Models.ElasticPoolsListByServerNextOptionalParams | msRest.ServiceCallback<Models.ElasticPoolListResult>, callback?: msRest.ServiceCallback<Models.ElasticPoolListResult>): Promise<Models.ElasticPoolsListByServerNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -572,7 +571,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -594,6 +593,10 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skip,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts
index bc5c040d3f2c..240dd06c37c3 100644
--- a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts
+++ b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,19 +26,6 @@ export class EncryptionProtectors {
     this.client = client;
   }
 
-  /**
-   * Revalidates an existing encryption protector.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param [options] The optional parameters
-   * @returns Promise<msRest.RestResponse>
-   */
-  revalidate(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
-    return this.beginRevalidate(resourceGroupName,serverName,options)
-      .then(lroPoller => lroPoller.pollUntilFinished());
-  }
-
   /**
    * Gets a list of server encryption protectors
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -130,37 +116,50 @@ export class EncryptionProtectors {
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
    * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  revalidate(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginRevalidate(resourceGroupName,serverName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Updates an existing encryption protector.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The requested encryption protector resource state.
+   * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginRevalidate(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.EncryptionProtector, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
+        parameters,
         options
       },
-      beginRevalidateOperationSpec,
+      beginCreateOrUpdateOperationSpec,
       options);
   }
 
   /**
-   * Updates an existing encryption protector.
+   * Revalidates an existing encryption protector.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param parameters The requested encryption protector resource state.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.EncryptionProtector, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginRevalidate(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
-        parameters,
         options
       },
-      beginCreateOrUpdateOperationSpec,
+      beginRevalidateOperationSpec,
       options);
   }
 
@@ -204,7 +203,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -230,7 +229,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -246,9 +245,9 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginRevalidateOperationSpec: msRest.OperationSpec = {
-  httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}/revalidate",
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -256,13 +255,22 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.EncryptionProtector,
+      required: true
+    }
+  },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.EncryptionProtector
+    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -271,9 +279,9 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
-  httpMethod: "PUT",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}",
+const beginRevalidateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}/revalidate",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.serverName,
@@ -281,22 +289,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
-  requestBody: {
-    parameterPath: "parameters",
-    mapper: {
-      ...Mappers.EncryptionProtector,
-      required: true
-    }
-  },
   responses: {
-    200: {
-      bodyMapper: Mappers.EncryptionProtector
-    },
+    200: {},
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -312,6 +311,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts
index 4e0fc83f296f..76f7e354f847 100644
--- a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -107,6 +106,73 @@ export class ExtendedDatabaseBlobAuditingPolicies {
       createOrUpdateOperationSpec,
       callback) as Promise<Models.ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse>;
   }
+
+  /**
+   * Lists extended auditing settings of a database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>, callback?: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse>;
+  }
+
+  /**
+   * Lists extended auditing settings of a database.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>, callback?: msRest.ServiceCallback<Models.ExtendedDatabaseBlobAuditingPolicyListResult>): Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -122,7 +188,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -149,7 +215,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -174,3 +240,53 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ExtendedDatabaseBlobAuditingPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ExtendedDatabaseBlobAuditingPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts
index 20f1bd98df01..882f554f831b 100644
--- a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -76,6 +75,41 @@ export class ExtendedServerBlobAuditingPolicies {
       .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse>;
   }
 
+  /**
+   * Lists extended auditing settings of a server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>, callback?: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerResponse>;
+  }
+
   /**
    * Creates or updates an extended server's blob auditing policy.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -96,6 +130,34 @@ export class ExtendedServerBlobAuditingPolicies {
       beginCreateOrUpdateOperationSpec,
       options);
   }
+
+  /**
+   * Lists extended auditing settings of a server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>, callback?: msRest.ServiceCallback<Models.ExtendedServerBlobAuditingPolicyListResult>): Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ExtendedServerBlobAuditingPoliciesListByServerNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -110,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -126,6 +188,31 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}",
@@ -136,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -159,3 +246,27 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/failoverGroups.ts b/sdk/sql/arm-sql/src/operations/failoverGroups.ts
index 6d848d2f2018..c87e766377e6 100644
--- a/sdk/sql/arm-sql/src/operations/failoverGroups.ts
+++ b/sdk/sql/arm-sql/src/operations/failoverGroups.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -325,7 +324,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -350,7 +349,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -376,7 +375,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -413,7 +412,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -439,7 +438,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -473,7 +472,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -500,7 +499,7 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -524,6 +523,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/firewallRules.ts b/sdk/sql/arm-sql/src/operations/firewallRules.ts
index af4cf9ddac0c..5b1ec6e507ad 100644
--- a/sdk/sql/arm-sql/src/operations/firewallRules.ts
+++ b/sdk/sql/arm-sql/src/operations/firewallRules.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -26,6 +25,45 @@ export class FirewallRules {
     this.client = client;
   }
 
+  /**
+   * Gets a firewall rule.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param firewallRuleName The name of the firewall rule.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.FirewallRulesGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param firewallRuleName The name of the firewall rule.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, firewallRuleName: string, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param firewallRuleName The name of the firewall rule.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
+  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRule>, callback?: msRest.ServiceCallback<Models.FirewallRule>): Promise<Models.FirewallRulesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        firewallRuleName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.FirewallRulesGetResponse>;
+  }
+
   /**
    * Creates or updates a firewall rule.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -109,93 +147,147 @@ export class FirewallRules {
   }
 
   /**
-   * Gets a firewall rule.
+   * Gets a list of firewall rules.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param firewallRuleName The name of the firewall rule.
    * @param [options] The optional parameters
-   * @returns Promise<Models.FirewallRulesGetResponse>
+   * @returns Promise<Models.FirewallRulesListByServerResponse>
    */
-  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesGetResponse>;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesListByServerResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param firewallRuleName The name of the firewall rule.
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, firewallRuleName: string, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param firewallRuleName The name of the firewall rule.
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
-  get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRule>, callback?: msRest.ServiceCallback<Models.FirewallRule>): Promise<Models.FirewallRulesGetResponse> {
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRuleListResult>, callback?: msRest.ServiceCallback<Models.FirewallRuleListResult>): Promise<Models.FirewallRulesListByServerResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
-        firewallRuleName,
         options
       },
-      getOperationSpec,
-      callback) as Promise<Models.FirewallRulesGetResponse>;
+      listByServerOperationSpec,
+      callback) as Promise<Models.FirewallRulesListByServerResponse>;
   }
 
   /**
-   * Returns a list of firewall rules.
+   * Replaces all firewall rules on the server.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param parameters
    * @param [options] The optional parameters
-   * @returns Promise<Models.FirewallRulesListByServerResponse>
+   * @returns Promise<Models.FirewallRulesReplaceResponse>
    */
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesListByServerResponse>;
+  replace(resourceGroupName: string, serverName: string, parameters: Models.FirewallRuleList, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesReplaceResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
+  replace(resourceGroupName: string, serverName: string, parameters: Models.FirewallRuleList, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param parameters
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRuleListResult>, callback?: msRest.ServiceCallback<Models.FirewallRuleListResult>): Promise<Models.FirewallRulesListByServerResponse> {
+  replace(resourceGroupName: string, serverName: string, parameters: Models.FirewallRuleList, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRule>): void;
+  replace(resourceGroupName: string, serverName: string, parameters: Models.FirewallRuleList, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRule>, callback?: msRest.ServiceCallback<Models.FirewallRule>): Promise<Models.FirewallRulesReplaceResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
+        parameters,
         options
       },
-      listByServerOperationSpec,
-      callback) as Promise<Models.FirewallRulesListByServerResponse>;
+      replaceOperationSpec,
+      callback) as Promise<Models.FirewallRulesReplaceResponse>;
+  }
+
+  /**
+   * Gets a list of firewall rules.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.FirewallRulesListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.FirewallRulesListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FirewallRuleListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FirewallRuleListResult>, callback?: msRest.ServiceCallback<Models.FirewallRuleListResult>): Promise<Models.FirewallRulesListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.FirewallRulesListByServerNextResponse>;
   }
 }
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.firewallRuleName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.FirewallRule
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const createOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.firewallRuleName
+    Parameters.firewallRuleName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -225,13 +317,13 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
   httpMethod: "DELETE",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.firewallRuleName
+    Parameters.firewallRuleName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -246,24 +338,23 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const getOperationSpec: msRest.OperationSpec = {
+const listByServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.firewallRuleName
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.FirewallRule
+      bodyMapper: Mappers.FirewallRuleListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -272,16 +363,48 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByServerOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
+const replaceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
-    Parameters.serverName
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.FirewallRuleList,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.FirewallRule
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts
index 661201b459fb..5f7b48b76aa2 100644
--- a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/index.ts b/sdk/sql/arm-sql/src/operations/index.ts
index d044e4c4439f..8edc2392f40d 100644
--- a/sdk/sql/arm-sql/src/operations/index.ts
+++ b/sdk/sql/arm-sql/src/operations/index.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -9,45 +8,43 @@
  */
 
 export * from "./recoverableDatabases";
-export * from "./restorableDroppedDatabases";
-export * from "./servers";
 export * from "./serverConnectionPolicies";
-export * from "./databaseThreatDetectionPolicies";
 export * from "./dataMaskingPolicies";
 export * from "./dataMaskingRules";
-export * from "./firewallRules";
 export * from "./geoBackupPolicies";
 export * from "./databases";
 export * from "./elasticPools";
-export * from "./recommendedElasticPools";
 export * from "./replicationLinks";
-export * from "./serverAzureADAdministrators";
 export * from "./serverCommunicationLinks";
 export * from "./serviceObjectives";
 export * from "./elasticPoolActivities";
 export * from "./elasticPoolDatabaseActivities";
-export * from "./serviceTierAdvisors";
 export * from "./transparentDataEncryptions";
 export * from "./transparentDataEncryptionActivities";
 export * from "./serverUsages";
-export * from "./databaseUsages";
-export * from "./databaseAutomaticTuningOperations";
-export * from "./encryptionProtectors";
-export * from "./failoverGroups";
-export * from "./operations";
-export * from "./serverKeys";
-export * from "./syncAgents";
-export * from "./syncGroups";
-export * from "./syncMembers";
-export * from "./subscriptionUsages";
-export * from "./virtualClusters";
-export * from "./virtualNetworkRules";
+export * from "./backupShortTermRetentionPolicies";
 export * from "./extendedDatabaseBlobAuditingPolicies";
 export * from "./extendedServerBlobAuditingPolicies";
 export * from "./serverBlobAuditingPolicies";
 export * from "./databaseBlobAuditingPolicies";
+export * from "./databaseAdvisors";
+export * from "./databaseAutomaticTuningOperations";
+export * from "./databaseColumns";
+export * from "./databaseRecommendedActions";
+export * from "./databaseSchemas";
+export * from "./databaseSecurityAlertPolicies";
+export * from "./databaseTables";
 export * from "./databaseVulnerabilityAssessmentRuleBaselines";
 export * from "./databaseVulnerabilityAssessments";
+export * from "./databaseVulnerabilityAssessmentScans";
+export * from "./dataWarehouseUserActivitiesOperations";
+export * from "./deletedServers";
+export * from "./elasticPoolOperations";
+export * from "./encryptionProtectors";
+export * from "./failoverGroups";
+export * from "./firewallRules";
+export * from "./instanceFailoverGroups";
+export * from "./instancePools";
 export * from "./jobAgents";
 export * from "./jobCredentials";
 export * from "./jobExecutions";
@@ -57,40 +54,76 @@ export * from "./jobSteps";
 export * from "./jobTargetExecutions";
 export * from "./jobTargetGroups";
 export * from "./jobVersions";
+export * from "./capabilities";
 export * from "./longTermRetentionBackups";
-export * from "./backupLongTermRetentionPolicies";
+export * from "./longTermRetentionManagedInstanceBackups";
+export * from "./longTermRetentionPolicies";
+export * from "./maintenanceWindowOptionsOperations";
+export * from "./maintenanceWindowsOperations";
 export * from "./managedBackupShortTermRetentionPolicies";
-export * from "./managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies";
-export * from "./serverAutomaticTuningOperations";
-export * from "./serverDnsAliases";
-export * from "./serverSecurityAlertPolicies";
-export * from "./restorableDroppedManagedDatabases";
-export * from "./restorePoints";
+export * from "./managedDatabaseColumns";
+export * from "./managedDatabaseQueries";
+export * from "./managedDatabaseRestoreDetails";
+export * from "./managedDatabases";
+export * from "./managedDatabaseSchemas";
 export * from "./managedDatabaseSecurityAlertPolicies";
-export * from "./managedServerSecurityAlertPolicies";
-export * from "./sensitivityLabels";
-export * from "./managedInstanceAdministrators";
-export * from "./databaseOperations";
-export * from "./elasticPoolOperations";
-export * from "./capabilities";
-export * from "./databaseVulnerabilityAssessmentScans";
+export * from "./managedDatabaseSecurityEvents";
+export * from "./managedDatabaseSensitivityLabels";
+export * from "./managedDatabaseRecommendedSensitivityLabels";
+export * from "./managedDatabaseTables";
+export * from "./managedDatabaseTransparentDataEncryption";
 export * from "./managedDatabaseVulnerabilityAssessmentRuleBaselines";
-export * from "./managedDatabaseVulnerabilityAssessmentScans";
 export * from "./managedDatabaseVulnerabilityAssessments";
-export * from "./instanceFailoverGroups";
-export * from "./backupShortTermRetentionPolicies";
-export * from "./tdeCertificates";
-export * from "./managedInstanceTdeCertificates";
-export * from "./managedInstanceKeys";
+export * from "./managedDatabaseVulnerabilityAssessmentScans";
+export * from "./managedInstanceAdministrators";
+export * from "./managedInstanceAzureADOnlyAuthentications";
 export * from "./managedInstanceEncryptionProtectors";
-export * from "./recoverableManagedDatabases";
-export * from "./managedInstanceVulnerabilityAssessments";
-export * from "./serverVulnerabilityAssessments";
-export * from "./managedDatabaseSensitivityLabels";
-export * from "./instancePools";
-export * from "./usages";
+export * from "./managedInstanceKeys";
+export * from "./managedInstanceLongTermRetentionPolicies";
+export * from "./managedInstanceOperations";
+export * from "./managedInstancePrivateEndpointConnections";
+export * from "./managedInstancePrivateLinkResources";
 export * from "./managedInstances";
-export * from "./managedDatabaseRestoreDetails";
-export * from "./managedDatabases";
+export * from "./managedInstanceTdeCertificates";
+export * from "./managedInstanceVulnerabilityAssessments";
+export * from "./managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies";
+export * from "./managedServerSecurityAlertPolicies";
+export * from "./operations";
+export * from "./operationsHealthOperations";
 export * from "./privateEndpointConnections";
 export * from "./privateLinkResources";
+export * from "./recoverableManagedDatabases";
+export * from "./restorePoints";
+export * from "./sensitivityLabels";
+export * from "./recommendedSensitivityLabels";
+export * from "./serverAdvisors";
+export * from "./serverAutomaticTuningOperations";
+export * from "./serverAzureADAdministrators";
+export * from "./serverAzureADOnlyAuthentications";
+export * from "./serverDevOpsAuditSettings";
+export * from "./serverDnsAliases";
+export * from "./serverKeys";
+export * from "./serverOperations";
+export * from "./servers";
+export * from "./serverSecurityAlertPolicies";
+export * from "./serverTrustGroups";
+export * from "./serverVulnerabilityAssessments";
+export * from "./sqlAgent";
+export * from "./subscriptionUsages";
+export * from "./syncAgents";
+export * from "./syncGroups";
+export * from "./syncMembers";
+export * from "./tdeCertificates";
+export * from "./timeZones";
+export * from "./virtualClusters";
+export * from "./virtualNetworkRules";
+export * from "./workloadClassifiers";
+export * from "./workloadGroups";
+export * from "./databaseExtensionsOperations";
+export * from "./databaseOperations";
+export * from "./databaseUsages";
+export * from "./ledgerDigestUploadsOperations";
+export * from "./outboundFirewallRules";
+export * from "./restorableDroppedDatabases";
+export * from "./restorableDroppedManagedDatabases";
+export * from "./usages";
diff --git a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts
index be0ae243f7f4..a96b2ea2f522 100644
--- a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts
+++ b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -452,6 +451,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/instancePools.ts b/sdk/sql/arm-sql/src/operations/instancePools.ts
index 530623321b35..06125305efef 100644
--- a/sdk/sql/arm-sql/src/operations/instancePools.ts
+++ b/sdk/sql/arm-sql/src/operations/instancePools.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -287,7 +286,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -311,7 +310,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -334,7 +333,7 @@ const listOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -359,7 +358,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -395,7 +394,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -420,7 +419,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -451,6 +450,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -472,6 +474,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobAgents.ts b/sdk/sql/arm-sql/src/operations/jobAgents.ts
index 1b7ce4550a4f..cefdbde5c04c 100644
--- a/sdk/sql/arm-sql/src/operations/jobAgents.ts
+++ b/sdk/sql/arm-sql/src/operations/jobAgents.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -252,7 +251,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -278,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -304,7 +303,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -341,7 +340,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -367,7 +366,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -398,6 +397,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobCredentials.ts b/sdk/sql/arm-sql/src/operations/jobCredentials.ts
index caf6404ca3cb..bc81ec40cbe9 100644
--- a/sdk/sql/arm-sql/src/operations/jobCredentials.ts
+++ b/sdk/sql/arm-sql/src/operations/jobCredentials.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobExecutions.ts b/sdk/sql/arm-sql/src/operations/jobExecutions.ts
index 70719de8f48d..59f9acbf85fe 100644
--- a/sdk/sql/arm-sql/src/operations/jobExecutions.ts
+++ b/sdk/sql/arm-sql/src/operations/jobExecutions.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -288,7 +287,7 @@ export class JobExecutions {
    * @param [options] The optional parameters
    * @returns Promise<Models.JobExecutionsListByAgentNextResponse>
    */
-  listByAgentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobExecutionsListByAgentNextResponse>;
+  listByAgentNext(nextPageLink: string, options?: Models.JobExecutionsListByAgentNextOptionalParams): Promise<Models.JobExecutionsListByAgentNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -299,8 +298,8 @@ export class JobExecutions {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByAgentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
-  listByAgentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobExecutionsListByAgentNextResponse> {
+  listByAgentNext(nextPageLink: string, options: Models.JobExecutionsListByAgentNextOptionalParams, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
+  listByAgentNext(nextPageLink: string, options?: Models.JobExecutionsListByAgentNextOptionalParams | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobExecutionsListByAgentNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -316,7 +315,7 @@ export class JobExecutions {
    * @param [options] The optional parameters
    * @returns Promise<Models.JobExecutionsListByJobNextResponse>
    */
-  listByJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobExecutionsListByJobNextResponse>;
+  listByJobNext(nextPageLink: string, options?: Models.JobExecutionsListByJobNextOptionalParams): Promise<Models.JobExecutionsListByJobNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -327,8 +326,8 @@ export class JobExecutions {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
-  listByJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobExecutionsListByJobNextResponse> {
+  listByJobNext(nextPageLink: string, options: Models.JobExecutionsListByJobNextOptionalParams, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
+  listByJobNext(nextPageLink: string, options?: Models.JobExecutionsListByJobNextOptionalParams | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobExecutionsListByJobNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -358,7 +357,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = {
     Parameters.isActive,
     Parameters.skip,
     Parameters.top,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -386,7 +385,7 @@ const cancelOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -418,7 +417,7 @@ const listByJobOperationSpec: msRest.OperationSpec = {
     Parameters.isActive,
     Parameters.skip,
     Parameters.top,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -446,7 +445,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -473,7 +472,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -502,7 +501,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -529,6 +528,16 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.createTimeMin,
+    Parameters.createTimeMax,
+    Parameters.endTimeMin,
+    Parameters.endTimeMax,
+    Parameters.isActive,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -550,6 +559,16 @@ const listByJobNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.createTimeMin,
+    Parameters.createTimeMax,
+    Parameters.endTimeMin,
+    Parameters.endTimeMax,
+    Parameters.isActive,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts
index ccf641ff4a81..3c99f8c71859 100644
--- a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts
+++ b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -130,7 +129,7 @@ export class JobStepExecutions {
    * @param [options] The optional parameters
    * @returns Promise<Models.JobStepExecutionsListByJobExecutionNextResponse>
    */
-  listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobStepExecutionsListByJobExecutionNextResponse>;
+  listByJobExecutionNext(nextPageLink: string, options?: Models.JobStepExecutionsListByJobExecutionNextOptionalParams): Promise<Models.JobStepExecutionsListByJobExecutionNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -141,8 +140,8 @@ export class JobStepExecutions {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByJobExecutionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
-  listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobStepExecutionsListByJobExecutionNextResponse> {
+  listByJobExecutionNext(nextPageLink: string, options: Models.JobStepExecutionsListByJobExecutionNextOptionalParams, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
+  listByJobExecutionNext(nextPageLink: string, options?: Models.JobStepExecutionsListByJobExecutionNextOptionalParams | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobStepExecutionsListByJobExecutionNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -174,7 +173,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = {
     Parameters.isActive,
     Parameters.skip,
     Parameters.top,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -203,7 +202,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -226,6 +225,16 @@ const listByJobExecutionNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.createTimeMin,
+    Parameters.createTimeMax,
+    Parameters.endTimeMin,
+    Parameters.endTimeMax,
+    Parameters.isActive,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobSteps.ts b/sdk/sql/arm-sql/src/operations/jobSteps.ts
index bc44e2296009..fa3a38d97311 100644
--- a/sdk/sql/arm-sql/src/operations/jobSteps.ts
+++ b/sdk/sql/arm-sql/src/operations/jobSteps.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -383,7 +382,7 @@ const listByVersionOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -412,7 +411,7 @@ const getByVersionOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -439,7 +438,7 @@ const listByJobOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -467,7 +466,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -495,7 +494,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -533,7 +532,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -555,6 +554,9 @@ const listByVersionNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -576,6 +578,9 @@ const listByJobNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts
index 0a54d2027c5d..34f7694ce4fe 100644
--- a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts
+++ b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -185,7 +184,7 @@ export class JobTargetExecutions {
    * @param [options] The optional parameters
    * @returns Promise<Models.JobTargetExecutionsListByJobExecutionNextResponse>
    */
-  listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobTargetExecutionsListByJobExecutionNextResponse>;
+  listByJobExecutionNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams): Promise<Models.JobTargetExecutionsListByJobExecutionNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -196,8 +195,8 @@ export class JobTargetExecutions {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByJobExecutionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
-  listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobTargetExecutionsListByJobExecutionNextResponse> {
+  listByJobExecutionNext(nextPageLink: string, options: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
+  listByJobExecutionNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobTargetExecutionsListByJobExecutionNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -213,7 +212,7 @@ export class JobTargetExecutions {
    * @param [options] The optional parameters
    * @returns Promise<Models.JobTargetExecutionsListByStepNextResponse>
    */
-  listByStepNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobTargetExecutionsListByStepNextResponse>;
+  listByStepNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByStepNextOptionalParams): Promise<Models.JobTargetExecutionsListByStepNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -224,8 +223,8 @@ export class JobTargetExecutions {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByStepNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
-  listByStepNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobTargetExecutionsListByStepNextResponse> {
+  listByStepNext(nextPageLink: string, options: Models.JobTargetExecutionsListByStepNextOptionalParams, callback: msRest.ServiceCallback<Models.JobExecutionListResult>): void;
+  listByStepNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByStepNextOptionalParams | msRest.ServiceCallback<Models.JobExecutionListResult>, callback?: msRest.ServiceCallback<Models.JobExecutionListResult>): Promise<Models.JobTargetExecutionsListByStepNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -257,7 +256,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = {
     Parameters.isActive,
     Parameters.skip,
     Parameters.top,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -293,7 +292,7 @@ const listByStepOperationSpec: msRest.OperationSpec = {
     Parameters.isActive,
     Parameters.skip,
     Parameters.top,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -323,7 +322,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -346,6 +345,16 @@ const listByJobExecutionNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.createTimeMin,
+    Parameters.createTimeMax,
+    Parameters.endTimeMin,
+    Parameters.endTimeMax,
+    Parameters.isActive,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -367,6 +376,16 @@ const listByStepNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.createTimeMin,
+    Parameters.createTimeMax,
+    Parameters.endTimeMin,
+    Parameters.endTimeMax,
+    Parameters.isActive,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts
index c2f1291e0923..c83c7f3f15d9 100644
--- a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts
+++ b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobVersions.ts b/sdk/sql/arm-sql/src/operations/jobVersions.ts
index 22c8f459d997..f578d9d5bbe2 100644
--- a/sdk/sql/arm-sql/src/operations/jobVersions.ts
+++ b/sdk/sql/arm-sql/src/operations/jobVersions.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -158,7 +157,7 @@ const listByJobOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -186,7 +185,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -209,6 +208,9 @@ const listByJobNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/jobs.ts b/sdk/sql/arm-sql/src/operations/jobs.ts
index e59fdf513162..1bfd9efbbb8a 100644
--- a/sdk/sql/arm-sql/src/operations/jobs.ts
+++ b/sdk/sql/arm-sql/src/operations/jobs.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/ledgerDigestUploadsOperations.ts b/sdk/sql/arm-sql/src/operations/ledgerDigestUploadsOperations.ts
new file mode 100644
index 000000000000..fb8fbd3ac6b1
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/ledgerDigestUploadsOperations.ts
@@ -0,0 +1,359 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/ledgerDigestUploadsOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a LedgerDigestUploadsOperations. */
+export class LedgerDigestUploadsOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a LedgerDigestUploadsOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets the current ledger digest upload configuration for a database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LedgerDigestUploadsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.LedgerDigestUploadsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LedgerDigestUploads>, callback?: msRest.ServiceCallback<Models.LedgerDigestUploads>): Promise<Models.LedgerDigestUploadsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.LedgerDigestUploadsGetResponse>;
+  }
+
+  /**
+   * Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger
+   * instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LedgerDigestUploadsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LedgerDigestUploads, options?: msRest.RequestOptionsBase): Promise<Models.LedgerDigestUploadsCreateOrUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LedgerDigestUploads, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LedgerDigestUploads, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LedgerDigestUploads, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LedgerDigestUploads>, callback?: msRest.ServiceCallback<Models.LedgerDigestUploads>): Promise<Models.LedgerDigestUploadsCreateOrUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        parameters,
+        options
+      },
+      createOrUpdateOperationSpec,
+      callback) as Promise<Models.LedgerDigestUploadsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Gets all ledger digest upload settings on a database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LedgerDigestUploadsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.LedgerDigestUploadsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>, callback?: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): Promise<Models.LedgerDigestUploadsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.LedgerDigestUploadsListByDatabaseResponse>;
+  }
+
+  /**
+   * Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger
+   * instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LedgerDigestUploadsDisableResponse>
+   */
+  disable(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.LedgerDigestUploadsDisableResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  disable(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  disable(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LedgerDigestUploads>): void;
+  disable(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LedgerDigestUploads>, callback?: msRest.ServiceCallback<Models.LedgerDigestUploads>): Promise<Models.LedgerDigestUploadsDisableResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      disableOperationSpec,
+      callback) as Promise<Models.LedgerDigestUploadsDisableResponse>;
+  }
+
+  /**
+   * Gets all ledger digest upload settings on a database.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LedgerDigestUploadsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LedgerDigestUploadsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>, callback?: msRest.ServiceCallback<Models.LedgerDigestUploadsListResult>): Promise<Models.LedgerDigestUploadsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.LedgerDigestUploadsListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.ledgerDigestUploads,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.LedgerDigestUploads
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const createOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.ledgerDigestUploads,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.LedgerDigestUploads,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.LedgerDigestUploads
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.LedgerDigestUploadsListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const disableOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}/disable",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.ledgerDigestUploads,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.LedgerDigestUploads
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.LedgerDigestUploadsListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts
index 6bc0a26893ad..907b41a3217c 100644
--- a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts
+++ b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,31 +26,55 @@ export class LongTermRetentionBackups {
     this.client = client;
   }
 
+  /**
+   * Copy an existing long term retention backup.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The parameters needed for long term retention copy request
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionBackupsCopyResponse>
+   */
+  copy(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsCopyResponse> {
+    return this.beginCopy(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.LongTermRetentionBackupsCopyResponse>;
+  }
+
+  /**
+   * Updates an existing long term retention backup.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The requested backup resource state
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionBackupsUpdateResponse>
+   */
+  update(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsUpdateResponse> {
+    return this.beginUpdate(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.LongTermRetentionBackupsUpdateResponse>;
+  }
+
   /**
    * Gets a long term retention backup.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param backupName The backup name.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsGetResponse>
    */
-  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>;
+  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsGetResponse>;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param backupName The backup name.
    * @param callback The callback
    */
-  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
+  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
@@ -59,25 +82,22 @@ export class LongTermRetentionBackups {
    * @param options The optional parameters
    * @param callback The callback
    */
-  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
-  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackup>): Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse> {
+  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
+  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackup>): Promise<Models.LongTermRetentionBackupsGetResponse> {
     return this.client.sendOperationRequest(
       {
-        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         backupName,
         options
       },
-      getByResourceGroupOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>;
+      getOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsGetResponse>;
   }
 
   /**
    * Deletes a long term retention backup.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
@@ -85,147 +105,166 @@ export class LongTermRetentionBackups {
    * @param [options] The optional parameters
    * @returns Promise<msRest.RestResponse>
    */
-  deleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
-    return this.beginDeleteByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options)
+  deleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options)
       .then(lroPoller => lroPoller.pollUntilFinished());
   }
 
   /**
    * Lists all long term retention backups for a database.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>
    */
-  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>;
+  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams): Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param callback The callback
    */
-  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse> {
+  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByDatabaseResponse> {
     return this.client.sendOperationRequest(
       {
-        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         options
       },
-      listByResourceGroupDatabaseOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>;
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given location.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByLocationResponse>
    */
-  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>;
+  listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams): Promise<Models.LongTermRetentionBackupsListByLocationResponse>;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param callback The callback
    */
-  listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse> {
+  listByLocation(locationName: string, options: Models.LongTermRetentionBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByLocationResponse> {
     return this.client.sendOperationRequest(
       {
-        resourceGroupName,
         locationName,
         options
       },
-      listByResourceGroupLocationOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>;
+      listByLocationOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByLocationResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given server.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByServerResponse>
    */
-  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>;
+  listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams): Promise<Models.LongTermRetentionBackupsListByServerResponse>;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param callback The callback
    */
-  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByServer(locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse> {
+  listByServer(locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByServerOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByServerResponse> {
     return this.client.sendOperationRequest(
       {
-        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         options
       },
-      listByResourceGroupServerOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>;
+      listByServerOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByServerResponse>;
+  }
+
+  /**
+   * Copy an existing long term retention backup to a different server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The parameters needed for long term retention copy request
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionBackupsCopyByResourceGroupResponse>
+   */
+  copyByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsCopyByResourceGroupResponse> {
+    return this.beginCopyByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.LongTermRetentionBackupsCopyByResourceGroupResponse>;
+  }
+
+  /**
+   * Updates an existing long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The requested backup resource state
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionBackupsUpdateByResourceGroupResponse>
+   */
+  updateByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsUpdateByResourceGroupResponse> {
+    return this.beginUpdateByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.LongTermRetentionBackupsUpdateByResourceGroupResponse>;
   }
 
   /**
    * Gets a long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param backupName The backup name.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsGetResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>
    */
-  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsGetResponse>;
+  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param backupName The backup name.
    * @param callback The callback
    */
-  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
+  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
@@ -233,22 +272,25 @@ export class LongTermRetentionBackups {
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
-  get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackup>): Promise<Models.LongTermRetentionBackupsGetResponse> {
+  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackup>): void;
+  getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackup>): Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse> {
     return this.client.sendOperationRequest(
       {
+        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         backupName,
         options
       },
-      getOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsGetResponse>;
+      getByResourceGroupOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsGetByResourceGroupResponse>;
   }
 
   /**
    * Deletes a long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
@@ -256,119 +298,238 @@ export class LongTermRetentionBackups {
    * @param [options] The optional parameters
    * @returns Promise<msRest.RestResponse>
    */
-  deleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
-    return this.beginDeleteMethod(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options)
+  deleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options)
       .then(lroPoller => lroPoller.pollUntilFinished());
   }
 
   /**
    * Lists all long term retention backups for a database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>
    */
-  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams): Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>;
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param callback The callback
    */
-  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByDatabaseResponse> {
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse> {
     return this.client.sendOperationRequest(
       {
+        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         options
       },
-      listByDatabaseOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByDatabaseResponse>;
+      listByResourceGroupDatabaseOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given location.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByLocationResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>
    */
-  listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams): Promise<Models.LongTermRetentionBackupsListByLocationResponse>;
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param callback The callback
    */
-  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByLocation(locationName: string, options: Models.LongTermRetentionBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByLocationResponse> {
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse> {
     return this.client.sendOperationRequest(
       {
+        resourceGroupName,
         locationName,
         options
       },
-      listByLocationOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByLocationResponse>;
+      listByResourceGroupLocationOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByServerResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>
    */
-  listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams): Promise<Models.LongTermRetentionBackupsListByServerResponse>;
+  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param callback The callback
    */
-  listByServer(locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByServerOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByServerResponse> {
+  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse> {
     return this.client.sendOperationRequest(
       {
+        resourceGroupName,
+        locationName,
+        longTermRetentionServerName,
+        options
+      },
+      listByResourceGroupServerOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupServerResponse>;
+  }
+
+  /**
+   * Copy an existing long term retention backup.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The parameters needed for long term retention copy request
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCopy(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        locationName,
+        longTermRetentionServerName,
+        longTermRetentionDatabaseName,
+        backupName,
+        parameters,
+        options
+      },
+      beginCopyOperationSpec,
+      options);
+  }
+
+  /**
+   * Updates an existing long term retention backup.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The requested backup resource state
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginUpdate(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        locationName,
+        longTermRetentionServerName,
+        longTermRetentionDatabaseName,
+        backupName,
+        parameters,
+        options
+      },
+      beginUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a long term retention backup.
+   * @param locationName The location of the database
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        locationName,
+        longTermRetentionServerName,
+        longTermRetentionDatabaseName,
+        backupName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Copy an existing long term retention backup to a different server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param longTermRetentionServerName The name of the server
+   * @param longTermRetentionDatabaseName The name of the database
+   * @param backupName The backup name.
+   * @param parameters The parameters needed for long term retention copy request
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCopyByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
         locationName,
         longTermRetentionServerName,
+        longTermRetentionDatabaseName,
+        backupName,
+        parameters,
         options
       },
-      listByServerOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByServerResponse>;
+      beginCopyByResourceGroupOperationSpec,
+      options);
   }
 
   /**
-   * Deletes a long term retention backup.
+   * Updates an existing long term retention backup.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
-   * @param locationName The location of the database
+   * @param locationName The location of the database.
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
    * @param backupName The backup name.
+   * @param parameters The requested backup resource state
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginUpdateByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -376,14 +537,17 @@ export class LongTermRetentionBackups {
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         backupName,
+        parameters,
         options
       },
-      beginDeleteByResourceGroupOperationSpec,
+      beginUpdateByResourceGroupOperationSpec,
       options);
   }
 
   /**
    * Deletes a long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
    * @param locationName The location of the database
    * @param longTermRetentionServerName The name of the server
    * @param longTermRetentionDatabaseName The name of the database
@@ -391,16 +555,17 @@ export class LongTermRetentionBackups {
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginDeleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
+        resourceGroupName,
         locationName,
         longTermRetentionServerName,
         longTermRetentionDatabaseName,
         backupName,
         options
       },
-      beginDeleteMethodOperationSpec,
+      beginDeleteByResourceGroupOperationSpec,
       options);
   }
 
@@ -408,178 +573,177 @@ export class LongTermRetentionBackups {
    * Lists all long term retention backups for a database.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>
    */
-  listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>;
+  listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse> {
+  listByDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByResourceGroupDatabaseNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>;
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given location.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>
    */
-  listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>;
+  listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByLocationNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse> {
+  listByLocationNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByLocationNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByLocationNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByLocationNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByResourceGroupLocationNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>;
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given server.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByServerNextResponse>
    */
-  listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>;
+  listByServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByServerNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByServerNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByResourceGroupServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse> {
+  listByServerNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByServerNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByServerNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByServerNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByResourceGroupServerNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>;
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByServerNextResponse>;
   }
 
   /**
    * Lists all long term retention backups for a database.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>
    */
-  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>;
+  listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse> {
+  listByResourceGroupDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByDatabaseNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByDatabaseNextResponse>;
+      listByResourceGroupDatabaseNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given location.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>
    */
-  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>;
+  listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByLocationNextResponse> {
+  listByResourceGroupLocationNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByLocationNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByLocationNextResponse>;
+      listByResourceGroupLocationNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupLocationNextResponse>;
   }
 
   /**
    * Lists the long term retention backups for a given server.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.LongTermRetentionBackupsListByServerNextResponse>
+   * @returns Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>
    */
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionBackupsListByServerNextResponse>;
+  listByResourceGroupServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
-  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByServerNextResponse> {
+  listByResourceGroupServerNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams, callback: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): void;
+  listByResourceGroupServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams | msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByServerNextOperationSpec,
-      callback) as Promise<Models.LongTermRetentionBackupsListByServerNextResponse>;
+      listByResourceGroupServerNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionBackupsListByResourceGroupServerNextResponse>;
   }
 }
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
-const getByResourceGroupOperationSpec: msRest.OperationSpec = {
+const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.longTermRetentionDatabaseName,
@@ -587,7 +751,7 @@ const getByResourceGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -603,11 +767,10 @@ const getByResourceGroupOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = {
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.longTermRetentionDatabaseName,
@@ -616,7 +779,7 @@ const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = {
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -632,18 +795,17 @@ const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = {
+const listByLocationOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.subscriptionId
   ],
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -659,11 +821,10 @@ const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupServerOperationSpec: msRest.OperationSpec = {
+const listByServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.subscriptionId
@@ -671,7 +832,7 @@ const listByResourceGroupServerOperationSpec: msRest.OperationSpec = {
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -687,10 +848,11 @@ const listByResourceGroupServerOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const getOperationSpec: msRest.OperationSpec = {
+const getByResourceGroupOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
   urlParameters: [
+    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.longTermRetentionDatabaseName,
@@ -698,7 +860,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -714,10 +876,11 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByDatabaseOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups",
   urlParameters: [
+    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.longTermRetentionDatabaseName,
@@ -726,7 +889,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -742,17 +905,18 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByLocationOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups",
   urlParameters: [
+    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.subscriptionId
   ],
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -768,10 +932,11 @@ const listByLocationOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByServerOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups",
   urlParameters: [
+    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.subscriptionId
@@ -779,7 +944,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
   queryParameters: [
     Parameters.onlyLatestPerDatabase,
     Parameters.databaseState,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -795,11 +960,10 @@ const listByServerOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = {
-  httpMethod: "DELETE",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
+const beginCopyOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.locationName,
     Parameters.longTermRetentionServerName,
     Parameters.longTermRetentionDatabaseName,
@@ -807,13 +971,57 @@ const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.CopyLongTermRetentionBackupParameters,
+      required: true
+    }
+  },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.LongTermRetentionBackupOperationResult
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/update",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.longTermRetentionServerName,
+    Parameters.longTermRetentionDatabaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.UpdateLongTermRetentionBackupParameters,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.LongTermRetentionBackupOperationResult
+    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -833,7 +1041,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -848,13 +1056,117 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = {
+const beginCopyByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.longTermRetentionServerName,
+    Parameters.longTermRetentionDatabaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.CopyLongTermRetentionBackupParameters,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.LongTermRetentionBackupOperationResult
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginUpdateByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/update",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.longTermRetentionServerName,
+    Parameters.longTermRetentionDatabaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.UpdateLongTermRetentionBackupParameters,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.LongTermRetentionBackupOperationResult
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.longTermRetentionServerName,
+    Parameters.longTermRetentionDatabaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -869,13 +1181,18 @@ const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = {
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -890,13 +1207,18 @@ const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = {
+const listByServerNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -911,13 +1233,18 @@ const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -932,13 +1259,18 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByLocationNextOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -953,13 +1285,18 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByServerNextOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts
new file mode 100644
index 000000000000..a63228b6c66f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts
@@ -0,0 +1,1010 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/longTermRetentionManagedInstanceBackupsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a LongTermRetentionManagedInstanceBackups. */
+export class LongTermRetentionManagedInstanceBackups {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a LongTermRetentionManagedInstanceBackups.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a long term retention backup for a managed database.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsGetResponse>
+   */
+  get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionManagedInstanceBackupsGetResponse>;
+  /**
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param callback The callback
+   */
+  get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): void;
+  /**
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): void;
+  get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): Promise<Models.LongTermRetentionManagedInstanceBackupsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        managedInstanceName,
+        databaseName,
+        backupName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsGetResponse>;
+  }
+
+  /**
+   * Deletes a long term retention backup.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(locationName,managedInstanceName,databaseName,backupName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Lists all long term retention backups for a managed database.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseResponse>
+   */
+  listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseResponse>;
+  /**
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param callback The callback
+   */
+  listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for a given managed instance.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceResponse>
+   */
+  listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceResponse>;
+  /**
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByInstance(locationName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstance(locationName: string, managedInstanceName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        managedInstanceName,
+        options
+      },
+      listByInstanceOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for managed databases in a given location.
+   * @param locationName The location of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationResponse>
+   */
+  listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationResponse>;
+  /**
+   * @param locationName The location of the database.
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param locationName The location of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        options
+      },
+      listByLocationOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationResponse>;
+  }
+
+  /**
+   * Gets a long term retention backup for a managed database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse>
+   */
+  getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param callback The callback
+   */
+  getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): void;
+  getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackup>): Promise<Models.LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        managedInstanceName,
+        databaseName,
+        backupName,
+        options
+      },
+      getByResourceGroupOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse>;
+  }
+
+  /**
+   * Deletes a long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteByResourceGroup(resourceGroupName,locationName,managedInstanceName,databaseName,backupName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Lists all long term retention backups for a managed database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse>
+   */
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param callback The callback
+   */
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByResourceGroupDatabaseOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for a given managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse>
+   */
+  listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        managedInstanceName,
+        options
+      },
+      listByResourceGroupInstanceOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for managed databases in a given location.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse>
+   */
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param callback The callback
+   */
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        options
+      },
+      listByResourceGroupLocationOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse>;
+  }
+
+  /**
+   * Deletes a long term retention backup.
+   * @param locationName The location of the database.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        locationName,
+        managedInstanceName,
+        databaseName,
+        backupName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a long term retention backup.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The location of the database
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database.
+   * @param backupName The backup name.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        locationName,
+        managedInstanceName,
+        databaseName,
+        backupName,
+        options
+      },
+      beginDeleteByResourceGroupOperationSpec,
+      options);
+  }
+
+  /**
+   * Lists all long term retention backups for a managed database.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for a given managed instance.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse>
+   */
+  listByInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByInstanceNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for managed databases in a given location.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationNextResponse>
+   */
+  listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByLocationNextResponse>;
+  }
+
+  /**
+   * Lists all long term retention backups for a managed database.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse>
+   */
+  listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByResourceGroupDatabaseNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for a given managed instance.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse>
+   */
+  listByResourceGroupInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByResourceGroupInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupInstanceNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByResourceGroupInstanceNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse>;
+  }
+
+  /**
+   * Lists the long term retention backups for managed databases in a given location.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse>
+   */
+  listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByResourceGroupLocationNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): void;
+  listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionBackupListResult>): Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByResourceGroupLocationNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackup
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackup
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.backupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.onlyLatestPerDatabase,
+    Parameters.databaseState,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts
similarity index 64%
rename from sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts
rename to sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts
index 015a8db7ac5e..6db4ae303fdc 100644
--- a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -11,16 +10,16 @@
 import * as msRest from "@azure/ms-rest-js";
 import * as msRestAzure from "@azure/ms-rest-azure-js";
 import * as Models from "../models";
-import * as Mappers from "../models/backupLongTermRetentionPoliciesMappers";
+import * as Mappers from "../models/longTermRetentionPoliciesMappers";
 import * as Parameters from "../models/parameters";
 import { SqlManagementClientContext } from "../sqlManagementClientContext";
 
-/** Class representing a BackupLongTermRetentionPolicies. */
-export class BackupLongTermRetentionPolicies {
+/** Class representing a LongTermRetentionPolicies. */
+export class LongTermRetentionPolicies {
   private readonly client: SqlManagementClientContext;
 
   /**
-   * Create a BackupLongTermRetentionPolicies.
+   * Create a LongTermRetentionPolicies.
    * @param {SqlManagementClientContext} client Reference to the service client.
    */
   constructor(client: SqlManagementClientContext) {
@@ -34,9 +33,9 @@ export class BackupLongTermRetentionPolicies {
    * @param serverName The name of the server.
    * @param databaseName The name of the database.
    * @param [options] The optional parameters
-   * @returns Promise<Models.BackupLongTermRetentionPoliciesGetResponse>
+   * @returns Promise<Models.LongTermRetentionPoliciesGetResponse>
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.BackupLongTermRetentionPoliciesGetResponse>;
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionPoliciesGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -44,7 +43,7 @@ export class BackupLongTermRetentionPolicies {
    * @param databaseName The name of the database.
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicy>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -53,8 +52,8 @@ export class BackupLongTermRetentionPolicies {
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): void;
-  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>, callback?: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): Promise<Models.BackupLongTermRetentionPoliciesGetResponse> {
+  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicy>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionPolicy>, callback?: msRest.ServiceCallback<Models.LongTermRetentionPolicy>): Promise<Models.LongTermRetentionPoliciesGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -63,7 +62,7 @@ export class BackupLongTermRetentionPolicies {
         options
       },
       getOperationSpec,
-      callback) as Promise<Models.BackupLongTermRetentionPoliciesGetResponse>;
+      callback) as Promise<Models.LongTermRetentionPoliciesGetResponse>;
   }
 
   /**
@@ -74,11 +73,11 @@ export class BackupLongTermRetentionPolicies {
    * @param databaseName The name of the database.
    * @param parameters The long term retention policy info.
    * @param [options] The optional parameters
-   * @returns Promise<Models.BackupLongTermRetentionPoliciesCreateOrUpdateResponse>
+   * @returns Promise<Models.LongTermRetentionPoliciesCreateOrUpdateResponse>
    */
-  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.BackupLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<Models.BackupLongTermRetentionPoliciesCreateOrUpdateResponse> {
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionPoliciesCreateOrUpdateResponse> {
     return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,parameters,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.BackupLongTermRetentionPoliciesCreateOrUpdateResponse>;
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.LongTermRetentionPoliciesCreateOrUpdateResponse>;
   }
 
   /**
@@ -88,9 +87,9 @@ export class BackupLongTermRetentionPolicies {
    * @param serverName The name of the server.
    * @param databaseName The name of the database.
    * @param [options] The optional parameters
-   * @returns Promise<Models.BackupLongTermRetentionPoliciesListByDatabaseResponse>
+   * @returns Promise<Models.LongTermRetentionPoliciesListByDatabaseResponse>
    */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.BackupLongTermRetentionPoliciesListByDatabaseResponse>;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionPoliciesListByDatabaseResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -98,7 +97,7 @@ export class BackupLongTermRetentionPolicies {
    * @param databaseName The name of the database.
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -107,8 +106,8 @@ export class BackupLongTermRetentionPolicies {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): void;
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>, callback?: msRest.ServiceCallback<Models.BackupLongTermRetentionPolicy>): Promise<Models.BackupLongTermRetentionPoliciesListByDatabaseResponse> {
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): Promise<Models.LongTermRetentionPoliciesListByDatabaseResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -117,7 +116,7 @@ export class BackupLongTermRetentionPolicies {
         options
       },
       listByDatabaseOperationSpec,
-      callback) as Promise<Models.BackupLongTermRetentionPoliciesListByDatabaseResponse>;
+      callback) as Promise<Models.LongTermRetentionPoliciesListByDatabaseResponse>;
   }
 
   /**
@@ -130,7 +129,7 @@ export class BackupLongTermRetentionPolicies {
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.BackupLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
@@ -142,6 +141,34 @@ export class BackupLongTermRetentionPolicies {
       beginCreateOrUpdateOperationSpec,
       options);
   }
+
+  /**
+   * Gets a database's long term retention policy.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.LongTermRetentionPoliciesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LongTermRetentionPoliciesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>, callback?: msRest.ServiceCallback<Models.LongTermRetentionPolicyListResult>): Promise<Models.LongTermRetentionPoliciesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.LongTermRetentionPoliciesListByDatabaseNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -157,14 +184,14 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.BackupLongTermRetentionPolicy
+      bodyMapper: Mappers.LongTermRetentionPolicy
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -183,14 +210,14 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.BackupLongTermRetentionPolicy
+      bodyMapper: Mappers.LongTermRetentionPolicyListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -210,7 +237,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -218,13 +245,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   requestBody: {
     parameterPath: "parameters",
     mapper: {
-      ...Mappers.BackupLongTermRetentionPolicy,
+      ...Mappers.LongTermRetentionPolicy,
       required: true
     }
   },
   responses: {
     200: {
-      bodyMapper: Mappers.BackupLongTermRetentionPolicy
+      bodyMapper: Mappers.LongTermRetentionPolicy
     },
     202: {},
     default: {
@@ -233,3 +260,27 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.LongTermRetentionPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/maintenanceWindowOptionsOperations.ts b/sdk/sql/arm-sql/src/operations/maintenanceWindowOptionsOperations.ts
new file mode 100644
index 000000000000..05e5e6defb47
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/maintenanceWindowOptionsOperations.ts
@@ -0,0 +1,99 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/maintenanceWindowOptionsOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a MaintenanceWindowOptionsOperations. */
+export class MaintenanceWindowOptionsOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a MaintenanceWindowOptionsOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of available maintenance windows.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database to get maintenance windows options for.
+   * @param maintenanceWindowOptionsName Maintenance window options name.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.MaintenanceWindowOptionsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowOptionsName: string, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceWindowOptionsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database to get maintenance windows options for.
+   * @param maintenanceWindowOptionsName Maintenance window options name.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowOptionsName: string, callback: msRest.ServiceCallback<Models.MaintenanceWindowOptions>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database to get maintenance windows options for.
+   * @param maintenanceWindowOptionsName Maintenance window options name.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowOptionsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceWindowOptions>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowOptionsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.MaintenanceWindowOptions>, callback?: msRest.ServiceCallback<Models.MaintenanceWindowOptions>): Promise<Models.MaintenanceWindowOptionsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        maintenanceWindowOptionsName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.MaintenanceWindowOptionsGetResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/maintenanceWindowOptions/current",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.maintenanceWindowOptionsName,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.MaintenanceWindowOptions
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts b/sdk/sql/arm-sql/src/operations/maintenanceWindowsOperations.ts
similarity index 54%
rename from sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts
rename to sdk/sql/arm-sql/src/operations/maintenanceWindowsOperations.ts
index 13565e880d9b..31c085984bb6 100644
--- a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/maintenanceWindowsOperations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -10,16 +9,16 @@
 
 import * as msRest from "@azure/ms-rest-js";
 import * as Models from "../models";
-import * as Mappers from "../models/databaseThreatDetectionPoliciesMappers";
+import * as Mappers from "../models/maintenanceWindowsOperationsMappers";
 import * as Parameters from "../models/parameters";
 import { SqlManagementClientContext } from "../sqlManagementClientContext";
 
-/** Class representing a DatabaseThreatDetectionPolicies. */
-export class DatabaseThreatDetectionPolicies {
+/** Class representing a MaintenanceWindowsOperations. */
+export class MaintenanceWindowsOperations {
   private readonly client: SqlManagementClientContext;
 
   /**
-   * Create a DatabaseThreatDetectionPolicies.
+   * Create a MaintenanceWindowsOperations.
    * @param {SqlManagementClientContext} client Reference to the service client.
    */
   constructor(client: SqlManagementClientContext) {
@@ -27,91 +26,93 @@ export class DatabaseThreatDetectionPolicies {
   }
 
   /**
-   * Gets a database's threat detection policy.
+   * Gets maintenance windows settings for a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
+   * @param databaseName The name of the database to get maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
    * @param [options] The optional parameters
-   * @returns Promise<Models.DatabaseThreatDetectionPoliciesGetResponse>
+   * @returns Promise<Models.MaintenanceWindowsGetResponse>
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseThreatDetectionPoliciesGetResponse>;
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceWindowsGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
+   * @param databaseName The name of the database to get maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, callback: msRest.ServiceCallback<Models.MaintenanceWindows>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
+   * @param databaseName The name of the database to get maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
-  get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): Promise<Models.DatabaseThreatDetectionPoliciesGetResponse> {
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceWindows>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.MaintenanceWindows>, callback?: msRest.ServiceCallback<Models.MaintenanceWindows>): Promise<Models.MaintenanceWindowsGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
+        maintenanceWindowName,
         options
       },
       getOperationSpec,
-      callback) as Promise<Models.DatabaseThreatDetectionPoliciesGetResponse>;
+      callback) as Promise<Models.MaintenanceWindowsGetResponse>;
   }
 
   /**
-   * Creates or updates a database's threat detection policy.
+   * Sets maintenance windows settings for a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
-   * @param parameters The database Threat Detection policy.
+   * @param databaseName The name of the database to set maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
+   * @param parameters
    * @param [options] The optional parameters
-   * @returns Promise<Models.DatabaseThreatDetectionPoliciesCreateOrUpdateResponse>
+   * @returns Promise<msRest.RestResponse>
    */
-  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise<Models.DatabaseThreatDetectionPoliciesCreateOrUpdateResponse>;
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: Models.MaintenanceWindows, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
-   * @param parameters The database Threat Detection policy.
+   * @param databaseName The name of the database to set maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
+   * @param parameters
    * @param callback The callback
    */
-  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: Models.MaintenanceWindows, callback: msRest.ServiceCallback<void>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database for which database Threat Detection policy is
-   * defined.
-   * @param parameters The database Threat Detection policy.
+   * @param databaseName The name of the database to set maintenance windows for.
+   * @param maintenanceWindowName Maintenance window name.
+   * @param parameters
    * @param options The optional parameters
    * @param callback The callback
    */
-  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): void;
-  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.DatabaseSecurityAlertPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>, callback?: msRest.ServiceCallback<Models.DatabaseSecurityAlertPolicy>): Promise<Models.DatabaseThreatDetectionPoliciesCreateOrUpdateResponse> {
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: Models.MaintenanceWindows, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: Models.MaintenanceWindows, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
         databaseName,
+        maintenanceWindowName,
         parameters,
         options
       },
       createOrUpdateOperationSpec,
-      callback) as Promise<Models.DatabaseThreatDetectionPoliciesCreateOrUpdateResponse>;
+      callback);
   }
 }
 
@@ -119,23 +120,23 @@ export class DatabaseThreatDetectionPolicies {
 const serializer = new msRest.Serializer(Mappers);
 const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/maintenanceWindows/current",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
     Parameters.databaseName,
-    Parameters.securityAlertPolicyName0
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.maintenanceWindowName,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
+      bodyMapper: Mappers.MaintenanceWindows
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -146,16 +147,16 @@ const getOperationSpec: msRest.OperationSpec = {
 
 const createOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/maintenanceWindows/current",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
     Parameters.databaseName,
-    Parameters.securityAlertPolicyName0
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.maintenanceWindowName,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -163,17 +164,12 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
   requestBody: {
     parameterPath: "parameters",
     mapper: {
-      ...Mappers.DatabaseSecurityAlertPolicy,
+      ...Mappers.MaintenanceWindows,
       required: true
     }
   },
   responses: {
-    200: {
-      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
-    },
-    201: {
-      bodyMapper: Mappers.DatabaseSecurityAlertPolicy
-    },
+    200: {},
     default: {
       bodyMapper: Mappers.CloudError
     }
diff --git a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts
index 825d783a4032..264d93fb54d8 100644
--- a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -223,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -249,7 +248,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -276,7 +275,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -311,7 +310,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseColumns.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseColumns.ts
new file mode 100644
index 000000000000..64aaf757b39e
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseColumns.ts
@@ -0,0 +1,365 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseColumnsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseColumns. */
+export class ManagedDatabaseColumns {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseColumns.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List managed database columns
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseColumnsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseColumnsListByDatabaseOptionalParams): Promise<Models.ManagedDatabaseColumnsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: Models.ManagedDatabaseColumnsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseColumnsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.ManagedDatabaseColumnsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseColumnsListByDatabaseResponse>;
+  }
+
+  /**
+   * List managed database columns
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseColumnsListByTableResponse>
+   */
+  listByTable(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options?: Models.ManagedDatabaseColumnsListByTableOptionalParams): Promise<Models.ManagedDatabaseColumnsListByTableResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param callback The callback
+   */
+  listByTable(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByTable(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options: Models.ManagedDatabaseColumnsListByTableOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByTable(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options?: Models.ManagedDatabaseColumnsListByTableOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.ManagedDatabaseColumnsListByTableResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        schemaName,
+        tableName,
+        options
+      },
+      listByTableOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseColumnsListByTableResponse>;
+  }
+
+  /**
+   * Get managed database column
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseColumnsGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseColumnsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback<Models.DatabaseColumn>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param columnName The name of the column.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseColumn>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseColumn>, callback?: msRest.ServiceCallback<Models.DatabaseColumn>): Promise<Models.ManagedDatabaseColumnsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        schemaName,
+        tableName,
+        columnName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseColumnsGetResponse>;
+  }
+
+  /**
+   * List managed database columns
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseColumnsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseColumnsListByDatabaseNextOptionalParams): Promise<Models.ManagedDatabaseColumnsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseColumnsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseColumnsListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.ManagedDatabaseColumnsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseColumnsListByDatabaseNextResponse>;
+  }
+
+  /**
+   * List managed database columns
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseColumnsListByTableNextResponse>
+   */
+  listByTableNext(nextPageLink: string, options?: Models.ManagedDatabaseColumnsListByTableNextOptionalParams): Promise<Models.ManagedDatabaseColumnsListByTableNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByTableNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByTableNext(nextPageLink: string, options: Models.ManagedDatabaseColumnsListByTableNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseColumnListResult>): void;
+  listByTableNext(nextPageLink: string, options?: Models.ManagedDatabaseColumnsListByTableNextOptionalParams | msRest.ServiceCallback<Models.DatabaseColumnListResult>, callback?: msRest.ServiceCallback<Models.DatabaseColumnListResult>): Promise<Models.ManagedDatabaseColumnsListByTableNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByTableNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseColumnsListByTableNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/columns",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.schema,
+    Parameters.table,
+    Parameters.column,
+    Parameters.orderBy,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByTableOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.columnName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumn
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.schema,
+    Parameters.table,
+    Parameters.column,
+    Parameters.orderBy,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByTableNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseColumnListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseQueries.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseQueries.ts
new file mode 100644
index 000000000000..aa327a0338ee
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseQueries.ts
@@ -0,0 +1,227 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseQueriesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseQueries. */
+export class ManagedDatabaseQueries {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseQueries.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Get query by query id.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseQueriesGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseQueriesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, callback: msRest.ServiceCallback<Models.ManagedInstanceQuery>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceQuery>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceQuery>, callback?: msRest.ServiceCallback<Models.ManagedInstanceQuery>): Promise<Models.ManagedDatabaseQueriesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        queryId,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseQueriesGetResponse>;
+  }
+
+  /**
+   * Get query execution statistics by query id.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseQueriesListByQueryResponse>
+   */
+  listByQuery(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options?: Models.ManagedDatabaseQueriesListByQueryOptionalParams): Promise<Models.ManagedDatabaseQueriesListByQueryResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param callback The callback
+   */
+  listByQuery(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, callback: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param queryId
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByQuery(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options: Models.ManagedDatabaseQueriesListByQueryOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): void;
+  listByQuery(resourceGroupName: string, managedInstanceName: string, databaseName: string, queryId: string, options?: Models.ManagedDatabaseQueriesListByQueryOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>, callback?: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): Promise<Models.ManagedDatabaseQueriesListByQueryResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        queryId,
+        options
+      },
+      listByQueryOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseQueriesListByQueryResponse>;
+  }
+
+  /**
+   * Get query execution statistics by query id.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseQueriesListByQueryNextResponse>
+   */
+  listByQueryNext(nextPageLink: string, options?: Models.ManagedDatabaseQueriesListByQueryNextOptionalParams): Promise<Models.ManagedDatabaseQueriesListByQueryNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByQueryNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByQueryNext(nextPageLink: string, options: Models.ManagedDatabaseQueriesListByQueryNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): void;
+  listByQueryNext(nextPageLink: string, options?: Models.ManagedDatabaseQueriesListByQueryNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>, callback?: msRest.ServiceCallback<Models.ManagedInstanceQueryStatistics>): Promise<Models.ManagedDatabaseQueriesListByQueryNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByQueryNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseQueriesListByQueryNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.queryId,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceQuery
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByQueryOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}/statistics",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.queryId,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.startTime0,
+    Parameters.endTime0,
+    Parameters.interval,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceQueryStatistics
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByQueryNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.startTime0,
+    Parameters.endTime0,
+    Parameters.interval,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceQueryStatistics
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseRecommendedSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseRecommendedSensitivityLabels.ts
new file mode 100644
index 000000000000..09b391b085ab
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseRecommendedSensitivityLabels.ts
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseRecommendedSensitivityLabelsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseRecommendedSensitivityLabels. */
+export class ManagedDatabaseRecommendedSensitivityLabels {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseRecommendedSensitivityLabels.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Update recommended sensitivity labels states of a given database using an operations batch.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback);
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.RecommendedSensitivityLabelUpdateList,
+      required: true
+    }
+  },
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts
index 1ff1a97ed81b..fc8792bdc69e 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -79,7 +78,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSchemas.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSchemas.ts
new file mode 100644
index 000000000000..1bf548a2d5b5
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSchemas.ts
@@ -0,0 +1,218 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseSchemasMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseSchemas. */
+export class ManagedDatabaseSchemas {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseSchemas.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List managed database schemas
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseSchemasListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseSchemasListByDatabaseOptionalParams): Promise<Models.ManagedDatabaseSchemasListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: Models.ManagedDatabaseSchemasListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseSchemasListByDatabaseOptionalParams | msRest.ServiceCallback<Models.DatabaseSchemaListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): Promise<Models.ManagedDatabaseSchemasListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseSchemasListByDatabaseResponse>;
+  }
+
+  /**
+   * Get managed database schema
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseSchemasGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseSchemasGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, callback: msRest.ServiceCallback<Models.DatabaseSchema>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseSchema>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseSchema>, callback?: msRest.ServiceCallback<Models.DatabaseSchema>): Promise<Models.ManagedDatabaseSchemasGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        schemaName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseSchemasGetResponse>;
+  }
+
+  /**
+   * List managed database schemas
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseSchemasListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSchemasListByDatabaseNextOptionalParams): Promise<Models.ManagedDatabaseSchemasListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSchemasListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSchemasListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.DatabaseSchemaListResult>, callback?: msRest.ServiceCallback<Models.DatabaseSchemaListResult>): Promise<Models.ManagedDatabaseSchemasListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseSchemasListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchemaListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchema
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseSchemaListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts
index a35978ff4977..cd157011562c 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -198,7 +197,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -225,7 +224,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -261,7 +260,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -284,6 +283,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityEvents.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityEvents.ts
new file mode 100644
index 000000000000..28c6795576c3
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityEvents.ts
@@ -0,0 +1,157 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseSecurityEventsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseSecurityEvents. */
+export class ManagedDatabaseSecurityEvents {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseSecurityEvents.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of security events.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security events are
+   * retrieved.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseSecurityEventsListByDatabaseOptionalParams): Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security events are
+   * retrieved.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.SecurityEventCollection>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security events are
+   * retrieved.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: Models.ManagedDatabaseSecurityEventsListByDatabaseOptionalParams, callback: msRest.ServiceCallback<Models.SecurityEventCollection>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: Models.ManagedDatabaseSecurityEventsListByDatabaseOptionalParams | msRest.ServiceCallback<Models.SecurityEventCollection>, callback?: msRest.ServiceCallback<Models.SecurityEventCollection>): Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseResponse>;
+  }
+
+  /**
+   * Gets a list of security events.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams): Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SecurityEventCollection>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.SecurityEventCollection>): void;
+  listByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSecurityEventsListByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.SecurityEventCollection>, callback?: msRest.ServiceCallback<Models.SecurityEventCollection>): Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseSecurityEventsListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityEvents",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.SecurityEventCollection
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.skip,
+    Parameters.top,
+    Parameters.skiptoken,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.SecurityEventCollection
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts
index 78a062d17bb6..94ad24a19998 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -332,6 +331,49 @@ export class ManagedDatabaseSensitivityLabels {
       callback) as Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse>;
   }
 
+  /**
+   * Update sensitivity labels of a given database using an operations batch.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback);
+  }
+
   /**
    * Gets the sensitivity labels of a given database
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -377,7 +419,7 @@ export class ManagedDatabaseSensitivityLabels {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse>
    */
-  listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse>;
+  listCurrentByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams): Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -388,8 +430,8 @@ export class ManagedDatabaseSensitivityLabels {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listCurrentByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
-  listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse> {
+  listCurrentByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
+  listCurrentByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -405,7 +447,7 @@ export class ManagedDatabaseSensitivityLabels {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse>
    */
-  listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse>;
+  listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams): Promise<Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -416,8 +458,8 @@ export class ManagedDatabaseSensitivityLabels {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listRecommendedByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
-  listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse> {
+  listRecommendedByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
+  listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -440,11 +482,11 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource1,
+    Parameters.sensitivityLabelSource0,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -470,11 +512,11 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource2,
+    Parameters.sensitivityLabelSource1,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -510,11 +552,11 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource2,
+    Parameters.sensitivityLabelSource1,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -538,11 +580,11 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource0,
+    Parameters.sensitivityLabelSource2,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -566,11 +608,11 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource0,
+    Parameters.sensitivityLabelSource2,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -594,8 +636,10 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
+    Parameters.skipToken,
+    Parameters.count,
     Parameters.filter1,
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -611,6 +655,37 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.SensitivityLabelUpdateList,
+      required: true
+    }
+  },
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels",
@@ -621,10 +696,10 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.includeDisabledRecommendations,
     Parameters.skipToken,
+    Parameters.includeDisabledRecommendations,
     Parameters.filter1,
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -647,6 +722,12 @@ const listCurrentByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skipToken,
+    Parameters.count,
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -668,6 +749,12 @@ const listRecommendedByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skipToken,
+    Parameters.includeDisabledRecommendations,
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseTables.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseTables.ts
new file mode 100644
index 000000000000..3cf64ccc951a
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseTables.ts
@@ -0,0 +1,228 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseTablesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseTables. */
+export class ManagedDatabaseTables {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseTables.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * List managed database tables
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTablesListBySchemaResponse>
+   */
+  listBySchema(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options?: Models.ManagedDatabaseTablesListBySchemaOptionalParams): Promise<Models.ManagedDatabaseTablesListBySchemaResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param callback The callback
+   */
+  listBySchema(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listBySchema(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options: Models.ManagedDatabaseTablesListBySchemaOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  listBySchema(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, options?: Models.ManagedDatabaseTablesListBySchemaOptionalParams | msRest.ServiceCallback<Models.DatabaseTableListResult>, callback?: msRest.ServiceCallback<Models.DatabaseTableListResult>): Promise<Models.ManagedDatabaseTablesListBySchemaResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        schemaName,
+        options
+      },
+      listBySchemaOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTablesListBySchemaResponse>;
+  }
+
+  /**
+   * Get managed database table
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTablesGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseTablesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, callback: msRest.ServiceCallback<Models.DatabaseTable>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param schemaName The name of the schema.
+   * @param tableName The name of the table.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseTable>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseTable>, callback?: msRest.ServiceCallback<Models.DatabaseTable>): Promise<Models.ManagedDatabaseTablesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        schemaName,
+        tableName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTablesGetResponse>;
+  }
+
+  /**
+   * List managed database tables
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTablesListBySchemaNextResponse>
+   */
+  listBySchemaNext(nextPageLink: string, options?: Models.ManagedDatabaseTablesListBySchemaNextOptionalParams): Promise<Models.ManagedDatabaseTablesListBySchemaNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listBySchemaNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listBySchemaNext(nextPageLink: string, options: Models.ManagedDatabaseTablesListBySchemaNextOptionalParams, callback: msRest.ServiceCallback<Models.DatabaseTableListResult>): void;
+  listBySchemaNext(nextPageLink: string, options?: Models.ManagedDatabaseTablesListBySchemaNextOptionalParams | msRest.ServiceCallback<Models.DatabaseTableListResult>, callback?: msRest.ServiceCallback<Models.DatabaseTableListResult>): Promise<Models.ManagedDatabaseTablesListBySchemaNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listBySchemaNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTablesListBySchemaNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listBySchemaOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTableListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.schemaName,
+    Parameters.tableName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTable
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listBySchemaNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.DatabaseTableListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseTransparentDataEncryption.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseTransparentDataEncryption.ts
new file mode 100644
index 000000000000..a7d70e0cecfe
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseTransparentDataEncryption.ts
@@ -0,0 +1,301 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedDatabaseTransparentDataEncryptionMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedDatabaseTransparentDataEncryption. */
+export class ManagedDatabaseTransparentDataEncryption {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedDatabaseTransparentDataEncryption.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a managed database's transparent data encryption.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTransparentDataEncryptionGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseTransparentDataEncryptionGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>, callback?: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): Promise<Models.ManagedDatabaseTransparentDataEncryptionGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTransparentDataEncryptionGetResponse>;
+  }
+
+  /**
+   * Updates a database's transparent data encryption configuration.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security alert policy is
+   * defined.
+   * @param parameters The database transparent data encryption.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedTransparentDataEncryption, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security alert policy is
+   * defined.
+   * @param parameters The database transparent data encryption.
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedTransparentDataEncryption, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the security alert policy is
+   * defined.
+   * @param parameters The database transparent data encryption.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedTransparentDataEncryption, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): void;
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedTransparentDataEncryption, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>, callback?: msRest.ServiceCallback<Models.ManagedTransparentDataEncryption>): Promise<Models.ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        parameters,
+        options
+      },
+      createOrUpdateOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Gets a list of managed database's transparent data encryptions.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the managed database for which the transparent data encryption
+   * is defined.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>, callback?: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseResponse>;
+  }
+
+  /**
+   * Gets a list of managed database's transparent data encryptions.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>, callback?: msRest.ServiceCallback<Models.ManagedTransparentDataEncryptionListResult>): Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseTransparentDataEncryptionListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/transparentDataEncryption/{tdeName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.tdeName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedTransparentDataEncryption
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const createOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/transparentDataEncryption/{tdeName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.tdeName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ManagedTransparentDataEncryption,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedTransparentDataEncryption
+    },
+    201: {
+      bodyMapper: Mappers.ManagedTransparentDataEncryption
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/transparentDataEncryption",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedTransparentDataEncryptionListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedTransparentDataEncryptionListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts
index 2cff3b673b3f..6dda3ace0b45 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts
index 9cdc67c4f9f3..11588b991d28 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -28,133 +27,133 @@ export class ManagedDatabaseVulnerabilityAssessmentScans {
   }
 
   /**
-   * Lists the vulnerability assessment scans of a database.
+   * Executes a Vulnerability Assessment database scan.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param databaseName The name of the database.
+   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>
+   * @returns Promise<msRest.RestResponse>
    */
-  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>;
+  initiateScan(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginInitiateScan(resourceGroupName,managedInstanceName,databaseName,scanId,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
   /**
+   * Convert an existing scan result to a human readable format. If already exists nothing happens
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
-   * @param databaseName The name of the database.
+   * @param databaseName The name of the scanned database.
+   * @param scanId The vulnerability assessment scan Id.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>
+   */
+  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the scanned database.
+   * @param scanId The vulnerability assessment scan Id.
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): void;
+  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, callback: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
-   * @param databaseName The name of the database.
+   * @param databaseName The name of the scanned database.
+   * @param scanId The vulnerability assessment scan Id.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): void;
-  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>, callback?: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse> {
+  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): void;
+  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>, callback?: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         managedInstanceName,
         databaseName,
+        scanId,
         options
       },
-      listByDatabaseOperationSpec,
-      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>;
+      exportMethodOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>;
   }
 
   /**
-   * Gets a vulnerability assessment scan record of a database.
+   * Lists the vulnerability assessment scans of a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param databaseName The name of the database.
-   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>
+   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>
    */
-  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param databaseName The name of the database.
-   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param callback The callback
    */
-  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param databaseName The name of the database.
-   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): void;
-  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>, callback?: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse> {
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>, callback?: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecordListResult>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         managedInstanceName,
         databaseName,
-        scanId,
         options
       },
-      getOperationSpec,
-      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>;
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse>;
   }
 
   /**
-   * Executes a Vulnerability Assessment database scan.
+   * Gets a vulnerability assessment scan record of a database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param databaseName The name of the database.
    * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param [options] The optional parameters
-   * @returns Promise<msRest.RestResponse>
-   */
-  initiateScan(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
-    return this.beginInitiateScan(resourceGroupName,managedInstanceName,databaseName,scanId,options)
-      .then(lroPoller => lroPoller.pollUntilFinished());
-  }
-
-  /**
-   * Convert an existing scan result to a human readable format. If already exists nothing happens
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param managedInstanceName The name of the managed instance.
-   * @param databaseName The name of the scanned database.
-   * @param scanId The vulnerability assessment scan Id.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>
+   * @returns Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>
    */
-  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
-   * @param databaseName The name of the scanned database.
-   * @param scanId The vulnerability assessment scan Id.
+   * @param databaseName The name of the database.
+   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param callback The callback
    */
-  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, callback: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
-   * @param databaseName The name of the scanned database.
-   * @param scanId The vulnerability assessment scan Id.
+   * @param databaseName The name of the database.
+   * @param scanId The vulnerability assessment scan Id of the scan to retrieve.
    * @param options The optional parameters
    * @param callback The callback
    */
-  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): void;
-  exportMethod(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>, callback?: msRest.ServiceCallback<Models.DatabaseVulnerabilityAssessmentScansExport>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse> {
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, scanId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>, callback?: msRest.ServiceCallback<Models.VulnerabilityAssessmentScanRecord>): Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -163,8 +162,8 @@ export class ManagedDatabaseVulnerabilityAssessmentScans {
         scanId,
         options
       },
-      exportMethodOperationSpec,
-      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse>;
+      getOperationSpec,
+      callback) as Promise<Models.ManagedDatabaseVulnerabilityAssessmentScansGetResponse>;
   }
 
   /**
@@ -221,14 +220,15 @@ export class ManagedDatabaseVulnerabilityAssessmentScans {
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
-const listByDatabaseOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans",
+const exportMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/export",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
     Parameters.databaseName,
     Parameters.vulnerabilityAssessmentName,
+    Parameters.scanId,
     Parameters.subscriptionId
   ],
   queryParameters: [
@@ -239,7 +239,10 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.VulnerabilityAssessmentScanRecordListResult
+      bodyMapper: Mappers.DatabaseVulnerabilityAssessmentScansExport
+    },
+    201: {
+      bodyMapper: Mappers.DatabaseVulnerabilityAssessmentScansExport
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -248,15 +251,14 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const getOperationSpec: msRest.OperationSpec = {
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
     Parameters.databaseName,
     Parameters.vulnerabilityAssessmentName,
-    Parameters.scanId,
     Parameters.subscriptionId
   ],
   queryParameters: [
@@ -267,7 +269,7 @@ const getOperationSpec: msRest.OperationSpec = {
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.VulnerabilityAssessmentScanRecord
+      bodyMapper: Mappers.VulnerabilityAssessmentScanRecordListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -276,9 +278,9 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const exportMethodOperationSpec: msRest.OperationSpec = {
-  httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/export",
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}",
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
@@ -295,10 +297,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = {
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.DatabaseVulnerabilityAssessmentScansExport
-    },
-    201: {
-      bodyMapper: Mappers.DatabaseVulnerabilityAssessmentScansExport
+      bodyMapper: Mappers.VulnerabilityAssessmentScanRecord
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -341,6 +340,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts
index 7880f42b6616..b13198965c42 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -339,6 +338,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedDatabases.ts b/sdk/sql/arm-sql/src/operations/managedDatabases.ts
index 08b45ce8abbc..63c9418f4588 100644
--- a/sdk/sql/arm-sql/src/operations/managedDatabases.ts
+++ b/sdk/sql/arm-sql/src/operations/managedDatabases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -160,6 +159,41 @@ export class ManagedDatabases {
       .then(lroPoller => lroPoller.pollUntilFinished());
   }
 
+  /**
+   * Gets a list of inaccessible managed databases in a managed instance
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabasesListInaccessibleByInstanceResponse>
+   */
+  listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabasesListInaccessibleByInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): void;
+  listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedDatabaseListResult>, callback?: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): Promise<Models.ManagedDatabasesListInaccessibleByInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listInaccessibleByInstanceOperationSpec,
+      callback) as Promise<Models.ManagedDatabasesListInaccessibleByInstanceResponse>;
+  }
+
   /**
    * Creates a new database or updates an existing database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -277,6 +311,34 @@ export class ManagedDatabases {
       listByInstanceNextOperationSpec,
       callback) as Promise<Models.ManagedDatabasesListByInstanceNextResponse>;
   }
+
+  /**
+   * Gets a list of inaccessible managed databases in a managed instance
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedDatabasesListInaccessibleByInstanceNextResponse>
+   */
+  listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedDatabasesListInaccessibleByInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listInaccessibleByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listInaccessibleByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): void;
+  listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedDatabaseListResult>, callback?: msRest.ServiceCallback<Models.ManagedDatabaseListResult>): Promise<Models.ManagedDatabasesListInaccessibleByInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listInaccessibleByInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedDatabasesListInaccessibleByInstanceNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -290,7 +352,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -316,7 +378,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -332,6 +394,31 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const listInaccessibleByInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedDatabaseListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}",
@@ -342,7 +429,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -379,7 +466,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -405,7 +492,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -439,7 +526,7 @@ const beginCompleteRestoreOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -468,6 +555,33 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedDatabaseListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listInaccessibleByInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts
index 6dea07f57bbc..bd0a6fe20237 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -204,7 +203,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -226,11 +225,11 @@ const getOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
-    Parameters.administratorName1,
+    Parameters.administratorName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -252,11 +251,11 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
-    Parameters.administratorName1,
+    Parameters.administratorName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -289,11 +288,11 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.resourceGroupName,
     Parameters.managedInstanceName,
-    Parameters.administratorName1,
+    Parameters.administratorName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -315,6 +314,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts b/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts
new file mode 100644
index 000000000000..39621daeb3ae
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts
@@ -0,0 +1,337 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedInstanceAzureADOnlyAuthenticationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedInstanceAzureADOnlyAuthentications. */
+export class ManagedInstanceAzureADOnlyAuthentications {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedInstanceAzureADOnlyAuthentications.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a specific Azure Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthentication>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthentication>): void;
+  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthentication>, callback?: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthentication>): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsGetResponse>;
+  }
+
+  /**
+   * Sets Server Active Directory only authentication property or updates an existing server Active
+   * Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param parameters The required parameters for creating or updating an Active Directory only
+   * authentication property.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes an existing server Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,managedInstanceName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets a list of server Azure Active Directory only authentications.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse>
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): void;
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listByInstanceOperationSpec,
+      callback) as Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse>;
+  }
+
+  /**
+   * Sets Server Active Directory only authentication property or updates an existing server Active
+   * Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param parameters The required parameters for creating or updating an Active Directory only
+   * authentication property.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes an existing server Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a list of server Azure Active Directory only authentications.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse>
+   */
+  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): void;
+  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceAzureADOnlyAuthListResult>): Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ManagedInstanceAzureADOnlyAuthentication,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication
+    },
+    201: {
+      bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts
index 1a5461fe6288..03d9a6d1c943 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -312,6 +311,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts
index 36bd7ef28283..3964a099889e 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -180,7 +179,7 @@ export class ManagedInstanceKeys {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstanceKeysListByInstanceNextResponse>
    */
-  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceKeysListByInstanceNextResponse>;
+  listByInstanceNext(nextPageLink: string, options?: Models.ManagedInstanceKeysListByInstanceNextOptionalParams): Promise<Models.ManagedInstanceKeysListByInstanceNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -191,8 +190,8 @@ export class ManagedInstanceKeys {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>): void;
-  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>): Promise<Models.ManagedInstanceKeysListByInstanceNextResponse> {
+  listByInstanceNext(nextPageLink: string, options: Models.ManagedInstanceKeysListByInstanceNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>): void;
+  listByInstanceNext(nextPageLink: string, options?: Models.ManagedInstanceKeysListByInstanceNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceKeyListResult>): Promise<Models.ManagedInstanceKeysListByInstanceNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -327,6 +326,10 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts
new file mode 100644
index 000000000000..3f6f1d8b0666
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts
@@ -0,0 +1,286 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedInstanceLongTermRetentionPoliciesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedInstanceLongTermRetentionPolicies. */
+export class ManagedInstanceLongTermRetentionPolicies {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedInstanceLongTermRetentionPolicies.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a managed database's long term retention policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceLongTermRetentionPoliciesGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceLongTermRetentionPoliciesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicy>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicy>): void;
+  get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicy>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicy>): Promise<Models.ManagedInstanceLongTermRetentionPoliciesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedInstanceLongTermRetentionPoliciesGetResponse>;
+  }
+
+  /**
+   * Sets a managed database's long term retention policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters The long term retention policy info.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,databaseName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Gets a database's long term retention policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): void;
+  listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse>;
+  }
+
+  /**
+   * Sets a managed database's long term retention policy.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param databaseName The name of the database.
+   * @param parameters The long term retention policy info.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        databaseName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a database's long term retention policy.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceLongTermRetentionPolicyListResult>): Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.policyName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.databaseName,
+    Parameters.policyName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ManagedInstanceLongTermRetentionPolicy,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts b/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts
new file mode 100644
index 000000000000..834ed3184c9f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts
@@ -0,0 +1,269 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedInstanceOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedInstanceOperations. */
+export class ManagedInstanceOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedInstanceOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of operations performed on the managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceOperationsListByManagedInstanceResponse>
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceOperationsListByManagedInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): void;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): Promise<Models.ManagedInstanceOperationsListByManagedInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listByManagedInstanceOperationSpec,
+      callback) as Promise<Models.ManagedInstanceOperationsListByManagedInstanceResponse>;
+  }
+
+  /**
+   * Gets a management operation on a managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceOperationsGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceOperationsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, operationId: string, callback: msRest.ServiceCallback<Models.ManagedInstanceOperation>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceOperation>): void;
+  get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceOperation>, callback?: msRest.ServiceCallback<Models.ManagedInstanceOperation>): Promise<Models.ManagedInstanceOperationsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        operationId,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedInstanceOperationsGetResponse>;
+  }
+
+  /**
+   * Cancels the asynchronous operation on the managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param callback The callback
+   */
+  cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param operationId
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        operationId,
+        options
+      },
+      cancelOperationSpec,
+      callback);
+  }
+
+  /**
+   * Gets a list of operations performed on the managed instance.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstanceOperationsListByManagedInstanceNextResponse>
+   */
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstanceOperationsListByManagedInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): void;
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceOperationListResult>): Promise<Models.ManagedInstanceOperationsListByManagedInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByManagedInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedInstanceOperationsListByManagedInstanceNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByManagedInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.operationId,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceOperation
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const cancelOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}/cancel",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.operationId,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedInstancePrivateEndpointConnections.ts b/sdk/sql/arm-sql/src/operations/managedInstancePrivateEndpointConnections.ts
new file mode 100644
index 000000000000..70e1a96db884
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedInstancePrivateEndpointConnections.ts
@@ -0,0 +1,341 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedInstancePrivateEndpointConnectionsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedInstancePrivateEndpointConnections. */
+export class ManagedInstancePrivateEndpointConnections {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedInstancePrivateEndpointConnections.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a private endpoint connection.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName The name of the private endpoint connection.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateEndpointConnectionsGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateEndpointConnectionsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName The name of the private endpoint connection.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnection>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName The name of the private endpoint connection.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnection>): void;
+  get(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnection>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnection>): Promise<Models.ManagedInstancePrivateEndpointConnectionsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        privateEndpointConnectionName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateEndpointConnectionsGetResponse>;
+  }
+
+  /**
+   * Approve or reject a private endpoint connection with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateEndpointConnectionsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, parameters: Models.ManagedInstancePrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateEndpointConnectionsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,privateEndpointConnectionName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ManagedInstancePrivateEndpointConnectionsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes a private endpoint connection with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,managedInstanceName,privateEndpointConnectionName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets all private endpoint connections on a server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceResponse>
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): void;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listByManagedInstanceOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceResponse>;
+  }
+
+  /**
+   * Approve or reject a private endpoint connection with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, parameters: Models.ManagedInstancePrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        privateEndpointConnectionName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a private endpoint connection with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param privateEndpointConnectionName
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, managedInstanceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        privateEndpointConnectionName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets all private endpoint connections on a server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns
+   * Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceNextResponse>
+   */
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): void;
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateEndpointConnectionListResult>): Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByManagedInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateEndpointConnectionsListByManagedInstanceNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.privateEndpointConnectionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateEndpointConnection
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByManagedInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateEndpointConnectionListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.privateEndpointConnectionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ManagedInstancePrivateEndpointConnection,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateEndpointConnection
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.privateEndpointConnectionName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateEndpointConnectionListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedInstancePrivateLinkResources.ts b/sdk/sql/arm-sql/src/operations/managedInstancePrivateLinkResources.ts
new file mode 100644
index 000000000000..8998b59e2a59
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/managedInstancePrivateLinkResources.ts
@@ -0,0 +1,206 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/managedInstancePrivateLinkResourcesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ManagedInstancePrivateLinkResources. */
+export class ManagedInstancePrivateLinkResources {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ManagedInstancePrivateLinkResources.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets the private link resources for SQL server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceResponse>
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): void;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listByManagedInstanceOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceResponse>;
+  }
+
+  /**
+   * Gets a private link resource for SQL server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param groupName The name of the private link resource.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateLinkResourcesGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, groupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateLinkResourcesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param groupName The name of the private link resource.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, groupName: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLink>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param groupName The name of the private link resource.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLink>): void;
+  get(resourceGroupName: string, managedInstanceName: string, groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateLink>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateLink>): Promise<Models.ManagedInstancePrivateLinkResourcesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        groupName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateLinkResourcesGetResponse>;
+  }
+
+  /**
+   * Gets the private link resources for SQL server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceNextResponse>
+   */
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByManagedInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): void;
+  listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstancePrivateLinkListResult>): Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByManagedInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedInstancePrivateLinkResourcesListByManagedInstanceNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByManagedInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateLinkListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.groupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateLink
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstancePrivateLinkListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts
index 3f394c1ad151..3a52a905a316 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts
index 11ac9da5bce2..7bb2a1a0b48c 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -65,7 +64,9 @@ export class ManagedInstanceVulnerabilityAssessments {
   }
 
   /**
-   * Creates or updates the managed instance's vulnerability assessment.
+   * Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL
+   * vulnerability assessment with managed identity -
+   * https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance for which the vulnerability
@@ -223,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -249,7 +250,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -285,7 +286,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -308,7 +309,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -331,6 +332,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedInstances.ts b/sdk/sql/arm-sql/src/operations/managedInstances.ts
index 9187f0f06a0d..e927cb624461 100644
--- a/sdk/sql/arm-sql/src/operations/managedInstances.ts
+++ b/sdk/sql/arm-sql/src/operations/managedInstances.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -35,7 +34,7 @@ export class ManagedInstances {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstancesListByInstancePoolResponse>
    */
-  listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListByInstancePoolResponse>;
+  listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: Models.ManagedInstancesListByInstancePoolOptionalParams): Promise<Models.ManagedInstancesListByInstancePoolResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -50,8 +49,8 @@ export class ManagedInstances {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByInstancePool(resourceGroupName: string, instancePoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByInstancePoolResponse> {
+  listByInstancePool(resourceGroupName: string, instancePoolName: string, options: Models.ManagedInstancesListByInstancePoolOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: Models.ManagedInstancesListByInstancePoolOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByInstancePoolResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -62,6 +61,30 @@ export class ManagedInstances {
       callback) as Promise<Models.ManagedInstancesListByInstancePoolResponse>;
   }
 
+  /**
+   * Gets a list of all managed instances in the subscription.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancesListResponse>
+   */
+  list(options?: Models.ManagedInstancesListOptionalParams): Promise<Models.ManagedInstancesListResponse>;
+  /**
+   * @param callback The callback
+   */
+  list(callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  /**
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  list(options: Models.ManagedInstancesListOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  list(options?: Models.ManagedInstancesListOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListResponse> {
+    return this.client.sendOperationRequest(
+      {
+        options
+      },
+      listOperationSpec,
+      callback) as Promise<Models.ManagedInstancesListResponse>;
+  }
+
   /**
    * Gets a list of managed instances in a resource group.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -69,7 +92,7 @@ export class ManagedInstances {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstancesListByResourceGroupResponse>
    */
-  listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListByResourceGroupResponse>;
+  listByResourceGroup(resourceGroupName: string, options?: Models.ManagedInstancesListByResourceGroupOptionalParams): Promise<Models.ManagedInstancesListByResourceGroupResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -82,8 +105,8 @@ export class ManagedInstances {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByResourceGroupResponse> {
+  listByResourceGroup(resourceGroupName: string, options: Models.ManagedInstancesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByResourceGroup(resourceGroupName: string, options?: Models.ManagedInstancesListByResourceGroupOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByResourceGroupResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -101,7 +124,7 @@ export class ManagedInstances {
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstancesGetResponse>
    */
-  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesGetResponse>;
+  get(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesGetOptionalParams): Promise<Models.ManagedInstancesGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -116,8 +139,8 @@ export class ManagedInstances {
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstance>): void;
-  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstance>, callback?: msRest.ServiceCallback<Models.ManagedInstance>): Promise<Models.ManagedInstancesGetResponse> {
+  get(resourceGroupName: string, managedInstanceName: string, options: Models.ManagedInstancesGetOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstance>): void;
+  get(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesGetOptionalParams | msRest.ServiceCallback<Models.ManagedInstance>, callback?: msRest.ServiceCallback<Models.ManagedInstance>): Promise<Models.ManagedInstancesGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -170,27 +193,51 @@ export class ManagedInstances {
   }
 
   /**
-   * Gets a list of all managed instances in the subscription.
+   * Get top resource consuming queries of a managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ManagedInstancesListResponse>
+   * @returns Promise<Models.ManagedInstancesListByManagedInstanceResponse>
    */
-  list(options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListResponse>;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesListByManagedInstanceOptionalParams): Promise<Models.ManagedInstancesListByManagedInstanceResponse>;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
    * @param callback The callback
    */
-  list(callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.TopQueriesListResult>): void;
   /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
    * @param options The optional parameters
    * @param callback The callback
    */
-  list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListResponse> {
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: Models.ManagedInstancesListByManagedInstanceOptionalParams, callback: msRest.ServiceCallback<Models.TopQueriesListResult>): void;
+  listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesListByManagedInstanceOptionalParams | msRest.ServiceCallback<Models.TopQueriesListResult>, callback?: msRest.ServiceCallback<Models.TopQueriesListResult>): Promise<Models.ManagedInstancesListByManagedInstanceResponse> {
     return this.client.sendOperationRequest(
       {
+        resourceGroupName,
+        managedInstanceName,
         options
       },
-      listOperationSpec,
-      callback) as Promise<Models.ManagedInstancesListResponse>;
+      listByManagedInstanceOperationSpec,
+      callback) as Promise<Models.ManagedInstancesListByManagedInstanceResponse>;
+  }
+
+  /**
+   * Failovers a managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance to failover.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  failover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesFailoverOptionalParams): Promise<msRest.RestResponse> {
+    return this.beginFailover(resourceGroupName,managedInstanceName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
   }
 
   /**
@@ -254,13 +301,32 @@ export class ManagedInstances {
       options);
   }
 
+  /**
+   * Failovers a managed instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance to failover.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginFailover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesBeginFailoverOptionalParams): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      beginFailoverOperationSpec,
+      options);
+  }
+
   /**
    * Gets a list of all managed instances in an instance pool.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstancesListByInstancePoolNextResponse>
    */
-  listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListByInstancePoolNextResponse>;
+  listByInstancePoolNext(nextPageLink: string, options?: Models.ManagedInstancesListByInstancePoolNextOptionalParams): Promise<Models.ManagedInstancesListByInstancePoolNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -271,8 +337,8 @@ export class ManagedInstances {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByInstancePoolNextResponse> {
+  listByInstancePoolNext(nextPageLink: string, options: Models.ManagedInstancesListByInstancePoolNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByInstancePoolNext(nextPageLink: string, options?: Models.ManagedInstancesListByInstancePoolNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByInstancePoolNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -282,13 +348,41 @@ export class ManagedInstances {
       callback) as Promise<Models.ManagedInstancesListByInstancePoolNextResponse>;
   }
 
+  /**
+   * Gets a list of all managed instances in the subscription.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ManagedInstancesListNextResponse>
+   */
+  listNext(nextPageLink: string, options?: Models.ManagedInstancesListNextOptionalParams): Promise<Models.ManagedInstancesListNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listNext(nextPageLink: string, options: Models.ManagedInstancesListNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listNext(nextPageLink: string, options?: Models.ManagedInstancesListNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listNextOperationSpec,
+      callback) as Promise<Models.ManagedInstancesListNextResponse>;
+  }
+
   /**
    * Gets a list of managed instances in a resource group.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
    * @returns Promise<Models.ManagedInstancesListByResourceGroupNextResponse>
    */
-  listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListByResourceGroupNextResponse>;
+  listByResourceGroupNext(nextPageLink: string, options?: Models.ManagedInstancesListByResourceGroupNextOptionalParams): Promise<Models.ManagedInstancesListByResourceGroupNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -299,8 +393,8 @@ export class ManagedInstances {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByResourceGroupNextResponse> {
+  listByResourceGroupNext(nextPageLink: string, options: Models.ManagedInstancesListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByResourceGroupNext(nextPageLink: string, options?: Models.ManagedInstancesListByResourceGroupNextOptionalParams | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListByResourceGroupNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -311,31 +405,31 @@ export class ManagedInstances {
   }
 
   /**
-   * Gets a list of all managed instances in the subscription.
+   * Get top resource consuming queries of a managed instance.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ManagedInstancesListNextResponse>
+   * @returns Promise<Models.ManagedInstancesListByManagedInstanceNextResponse>
    */
-  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedInstancesListNextResponse>;
+  listByManagedInstanceNext(nextPageLink: string, options?: Models.ManagedInstancesListByManagedInstanceNextOptionalParams): Promise<Models.ManagedInstancesListByManagedInstanceNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
+  listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TopQueriesListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagedInstanceListResult>): void;
-  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ManagedInstanceListResult>, callback?: msRest.ServiceCallback<Models.ManagedInstanceListResult>): Promise<Models.ManagedInstancesListNextResponse> {
+  listByManagedInstanceNext(nextPageLink: string, options: Models.ManagedInstancesListByManagedInstanceNextOptionalParams, callback: msRest.ServiceCallback<Models.TopQueriesListResult>): void;
+  listByManagedInstanceNext(nextPageLink: string, options?: Models.ManagedInstancesListByManagedInstanceNextOptionalParams | msRest.ServiceCallback<Models.TopQueriesListResult>, callback?: msRest.ServiceCallback<Models.TopQueriesListResult>): Promise<Models.ManagedInstancesListByManagedInstanceNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listNextOperationSpec,
-      callback) as Promise<Models.ManagedInstancesListNextResponse>;
+      listByManagedInstanceNextOperationSpec,
+      callback) as Promise<Models.ManagedInstancesListByManagedInstanceNextResponse>;
   }
 }
 
@@ -350,7 +444,32 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ManagedInstanceListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances",
+  urlParameters: [
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -374,7 +493,8 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -399,7 +519,8 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -415,21 +536,30 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listOperationSpec: msRest.OperationSpec = {
+const listByManagedInstanceOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/topqueries",
   urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.numberOfQueries,
+    Parameters.databases,
+    Parameters.startTime0,
+    Parameters.endTime0,
+    Parameters.interval,
+    Parameters.aggregationFunction,
+    Parameters.observationMetric,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.ManagedInstanceListResult
+      bodyMapper: Mappers.TopQueriesListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -447,7 +577,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -483,7 +613,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -508,7 +638,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -532,6 +662,31 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const beginFailoverOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/failover",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.replicaType,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const listByInstancePoolNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
@@ -539,6 +694,10 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -553,13 +712,17 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
+const listNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -574,13 +737,17 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listNextOperationSpec: msRest.OperationSpec = {
+const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -594,3 +761,34 @@ const listNextOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.numberOfQueries,
+    Parameters.databases,
+    Parameters.startTime0,
+    Parameters.endTime0,
+    Parameters.interval,
+    Parameters.aggregationFunction,
+    Parameters.observationMetric,
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.TopQueriesListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts
index f6b8abddc545..ef4c7830467f 100644
--- a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -68,12 +67,12 @@ export class ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies {
   }
 
   /**
-   * Sets a database's long term retention policy.
+   * Sets a database's short term retention policy.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param restorableDroppedDatabaseId
-   * @param parameters The long term retention policy info.
+   * @param parameters The short term retention policy info.
    * @param [options] The optional parameters
    * @returns
    * Promise<Models.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse>
@@ -84,12 +83,12 @@ export class ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies {
   }
 
   /**
-   * Sets a database's long term retention policy.
+   * Sets a database's short term retention policy.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param restorableDroppedDatabaseId
-   * @param parameters The long term retention policy info.
+   * @param parameters The short term retention policy info.
    * @param [options] The optional parameters
    * @returns
    * Promise<Models.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse>
@@ -140,12 +139,12 @@ export class ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies {
   }
 
   /**
-   * Sets a database's long term retention policy.
+   * Sets a database's short term retention policy.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param restorableDroppedDatabaseId
-   * @param parameters The long term retention policy info.
+   * @param parameters The short term retention policy info.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
@@ -163,12 +162,12 @@ export class ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies {
   }
 
   /**
-   * Sets a database's long term retention policy.
+   * Sets a database's short term retention policy.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param managedInstanceName The name of the managed instance.
    * @param restorableDroppedDatabaseId
-   * @param parameters The long term retention policy info.
+   * @param parameters The short term retention policy info.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
@@ -228,7 +227,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -254,7 +253,7 @@ const listByRestorableDroppedDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -281,7 +280,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -316,7 +315,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -347,6 +346,9 @@ const listByRestorableDroppedDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts
index 0c58ca809417..4d885be1808e 100644
--- a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -198,7 +197,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -255,6 +254,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/operations.ts b/sdk/sql/arm-sql/src/operations/operations.ts
index 21acf86ad037..e907ebb0fb25 100644
--- a/sdk/sql/arm-sql/src/operations/operations.ts
+++ b/sdk/sql/arm-sql/src/operations/operations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -85,7 +84,7 @@ const listOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "providers/Microsoft.Sql/operations",
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/operationsHealthOperations.ts b/sdk/sql/arm-sql/src/operations/operationsHealthOperations.ts
new file mode 100644
index 000000000000..80929a6c109a
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/operationsHealthOperations.ts
@@ -0,0 +1,133 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/operationsHealthOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a OperationsHealthOperations. */
+export class OperationsHealthOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a OperationsHealthOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a service operation health status.
+   * @param locationName The name of the region where the resource is located.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OperationsHealthListByLocationResponse>
+   */
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsHealthListByLocationResponse>;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.OperationsHealthListResult>): void;
+  /**
+   * @param locationName The name of the region where the resource is located.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationsHealthListResult>): void;
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationsHealthListResult>, callback?: msRest.ServiceCallback<Models.OperationsHealthListResult>): Promise<Models.OperationsHealthListByLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        options
+      },
+      listByLocationOperationSpec,
+      callback) as Promise<Models.OperationsHealthListByLocationResponse>;
+  }
+
+  /**
+   * Gets a service operation health status.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OperationsHealthListByLocationNextResponse>
+   */
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsHealthListByLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationsHealthListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationsHealthListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationsHealthListResult>, callback?: msRest.ServiceCallback<Models.OperationsHealthListResult>): Promise<Models.OperationsHealthListByLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.OperationsHealthListByLocationNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/operationsHealth",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.OperationsHealthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.OperationsHealthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/outboundFirewallRules.ts b/sdk/sql/arm-sql/src/operations/outboundFirewallRules.ts
new file mode 100644
index 000000000000..9ba8164bdc2f
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/outboundFirewallRules.ts
@@ -0,0 +1,340 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/outboundFirewallRulesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a OutboundFirewallRules. */
+export class OutboundFirewallRules {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a OutboundFirewallRules.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets an outbound firewall rule.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OutboundFirewallRulesGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase): Promise<Models.OutboundFirewallRulesGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, callback: msRest.ServiceCallback<Models.OutboundFirewallRule>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundFirewallRule>): void;
+  get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OutboundFirewallRule>, callback?: msRest.ServiceCallback<Models.OutboundFirewallRule>): Promise<Models.OutboundFirewallRulesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        outboundRuleFqdn,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.OutboundFirewallRulesGetResponse>;
+  }
+
+  /**
+   * Create a outbound firewall rule with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OutboundFirewallRulesCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase): Promise<Models.OutboundFirewallRulesCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,outboundRuleFqdn,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.OutboundFirewallRulesCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes a outbound firewall rule with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,serverName,outboundRuleFqdn,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets all outbound firewall rules on a server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OutboundFirewallRulesListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.OutboundFirewallRulesListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>, callback?: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): Promise<Models.OutboundFirewallRulesListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.OutboundFirewallRulesListByServerResponse>;
+  }
+
+  /**
+   * Create a outbound firewall rule with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        outboundRuleFqdn,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a outbound firewall rule with a given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param outboundRuleFqdn
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        outboundRuleFqdn,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets all outbound firewall rules on a server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.OutboundFirewallRulesListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OutboundFirewallRulesListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>, callback?: msRest.ServiceCallback<Models.OutboundFirewallRuleListResult>): Promise<Models.OutboundFirewallRulesListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.OutboundFirewallRulesListByServerNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.outboundRuleFqdn,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.OutboundFirewallRule
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.OutboundFirewallRuleListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.outboundRuleFqdn,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.OutboundFirewallRule,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.OutboundFirewallRule
+    },
+    201: {
+      bodyMapper: Mappers.OutboundFirewallRule
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.outboundRuleFqdn,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.OutboundFirewallRuleListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts
index f2a129d2a609..cca5ad9013e9 100644
--- a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts
+++ b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -240,7 +239,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -266,7 +265,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -300,7 +299,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -323,6 +322,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts
index ff5ec78a08f5..9e5aca33cc21 100644
--- a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts
+++ b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -140,7 +139,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -166,7 +165,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -189,6 +188,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/recommendedSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/recommendedSensitivityLabels.ts
new file mode 100644
index 000000000000..654e2ae6e3d3
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/recommendedSensitivityLabels.ts
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/recommendedSensitivityLabelsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a RecommendedSensitivityLabels. */
+export class RecommendedSensitivityLabels {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a RecommendedSensitivityLabels.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Update recommended sensitivity labels states of a given database using an operations batch.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.RecommendedSensitivityLabelUpdateList, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback);
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.RecommendedSensitivityLabelUpdateList,
+      required: true
+    }
+  },
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts
index 698f705aec79..038968e72e1a 100644
--- a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts
+++ b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts
index a36cefea4644..2432d54b75d0 100644
--- a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts
+++ b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -189,6 +188,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/replicationLinks.ts b/sdk/sql/arm-sql/src/operations/replicationLinks.ts
index 2e3b76a6773e..1b347a1dc8f4 100644
--- a/sdk/sql/arm-sql/src/operations/replicationLinks.ts
+++ b/sdk/sql/arm-sql/src/operations/replicationLinks.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -70,49 +69,6 @@ export class ReplicationLinks {
       callback);
   }
 
-  /**
-   * Gets a database replication link.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to get the link for.
-   * @param linkId The replication link ID to be retrieved.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ReplicationLinksGetResponse>
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationLinksGetResponse>;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to get the link for.
-   * @param linkId The replication link ID to be retrieved.
-   * @param callback The callback
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, callback: msRest.ServiceCallback<Models.ReplicationLink>): void;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to get the link for.
-   * @param linkId The replication link ID to be retrieved.
-   * @param options The optional parameters
-   * @param callback The callback
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLink>): void;
-  get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLink>, callback?: msRest.ServiceCallback<Models.ReplicationLink>): Promise<Models.ReplicationLinksGetResponse> {
-    return this.client.sendOperationRequest(
-      {
-        resourceGroupName,
-        serverName,
-        databaseName,
-        linkId,
-        options
-      },
-      getOperationSpec,
-      callback) as Promise<Models.ReplicationLinksGetResponse>;
-  }
-
   /**
    * Sets which replica database is primary by failing over from the current primary replica
    * database.
@@ -146,11 +102,27 @@ export class ReplicationLinks {
   }
 
   /**
-   * Lists a database's replication links.
+   * Deletes a database replication link in forced or friendly way.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param databaseName The name of the database to retrieve links for.
+   * @param databaseName The name of the database that has the replication link to be failed over.
+   * @param linkId The ID of the replication link to be failed over.
+   * @param parameters The required parameters for unlinking replication link.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  unlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginUnlink(resourceGroupName,serverName,databaseName,linkId,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets a list of replication links on database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
    * @param [options] The optional parameters
    * @returns Promise<Models.ReplicationLinksListByDatabaseResponse>
    */
@@ -158,21 +130,21 @@ export class ReplicationLinks {
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to retrieve links for.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ReplicationLinkListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of the database to retrieve links for.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLinkListResult>): void;
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLinkListResult>, callback?: msRest.ServiceCallback<Models.ReplicationLinkListResult>): Promise<Models.ReplicationLinksListByDatabaseResponse> {
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLinksListResult>, callback?: msRest.ServiceCallback<Models.ReplicationLinksListResult>): Promise<Models.ReplicationLinksListByDatabaseResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -184,6 +156,84 @@ export class ReplicationLinks {
       callback) as Promise<Models.ReplicationLinksListByDatabaseResponse>;
   }
 
+  /**
+   * Gets a replication link.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
+   * @param replicationLinkName The name of the replication link.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ReplicationLinksGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, replicationLinkName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationLinksGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
+   * @param replicationLinkName The name of the replication link.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, replicationLinkName: string, callback: msRest.ServiceCallback<Models.ReplicationLink>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param databaseName The name of the database containing the replication link.
+   * @param replicationLinkName The name of the replication link.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, replicationLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLink>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, replicationLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLink>, callback?: msRest.ServiceCallback<Models.ReplicationLink>): Promise<Models.ReplicationLinksGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        replicationLinkName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ReplicationLinksGetResponse>;
+  }
+
+  /**
+   * Gets a list of replication links.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ReplicationLinksListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationLinksListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server containing the replication link.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLinksListResult>, callback?: msRest.ServiceCallback<Models.ReplicationLinksListResult>): Promise<Models.ReplicationLinksListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.ReplicationLinksListByServerResponse>;
+  }
+
   /**
    * Sets which replica database is primary by failing over from the current primary replica
    * database.
@@ -231,6 +281,87 @@ export class ReplicationLinks {
       beginFailoverAllowDataLossOperationSpec,
       options);
   }
+
+  /**
+   * Deletes a database replication link in forced or friendly way.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database that has the replication link to be failed over.
+   * @param linkId The ID of the replication link to be failed over.
+   * @param parameters The required parameters for unlinking replication link.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginUnlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        linkId,
+        parameters,
+        options
+      },
+      beginUnlinkOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a list of replication links on database.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ReplicationLinksListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationLinksListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLinksListResult>, callback?: msRest.ServiceCallback<Models.ReplicationLinksListResult>): Promise<Models.ReplicationLinksListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.ReplicationLinksListByDatabaseNextResponse>;
+  }
+
+  /**
+   * Gets a list of replication links.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ReplicationLinksListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationLinksListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationLinksListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationLinksListResult>, callback?: msRest.ServiceCallback<Models.ReplicationLinksListResult>): Promise<Models.ReplicationLinksListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ReplicationLinksListByServerNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -261,18 +392,44 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ReplicationLinksListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{replicationLinkName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
     Parameters.databaseName,
-    Parameters.linkId
+    Parameters.replicationLinkName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -288,24 +445,23 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByDatabaseOperationSpec: msRest.OperationSpec = {
+const listByServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/replicationLinks",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.databaseName
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.ReplicationLinkListResult
+      bodyMapper: Mappers.ReplicationLinksListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -365,3 +521,84 @@ const beginFailoverAllowDataLossOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const beginUnlinkOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}/unlink",
+  urlParameters: [
+    Parameters.subscriptionId,
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.linkId
+  ],
+  queryParameters: [
+    Parameters.apiVersion0
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.UnlinkParameters,
+      required: true
+    }
+  },
+  responses: {
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ReplicationLinksListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ReplicationLinksListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts
index 8cead12893dd..f68dec64e623 100644
--- a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts
+++ b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,96 +26,146 @@ export class RestorableDroppedDatabases {
   }
 
   /**
-   * Gets a deleted database that can be restored
+   * Gets a list of restorable dropped databases.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param restorableDroppededDatabaseId The id of the deleted database in the form of
-   * databaseName,deletionTimeInFileTimeFormat
    * @param [options] The optional parameters
-   * @returns Promise<Models.RestorableDroppedDatabasesGetResponse>
+   * @returns Promise<Models.RestorableDroppedDatabasesListByServerResponse>
    */
-  get(resourceGroupName: string, serverName: string, restorableDroppededDatabaseId: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorableDroppedDatabasesGetResponse>;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorableDroppedDatabasesListByServerResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param restorableDroppededDatabaseId The id of the deleted database in the form of
-   * databaseName,deletionTimeInFileTimeFormat
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, restorableDroppededDatabaseId: string, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): void;
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param restorableDroppededDatabaseId The id of the deleted database in the form of
-   * databaseName,deletionTimeInFileTimeFormat
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, restorableDroppededDatabaseId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): void;
-  get(resourceGroupName: string, serverName: string, restorableDroppededDatabaseId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorableDroppedDatabase>, callback?: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): Promise<Models.RestorableDroppedDatabasesGetResponse> {
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>, callback?: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): Promise<Models.RestorableDroppedDatabasesListByServerResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
-        restorableDroppededDatabaseId,
         options
       },
-      getOperationSpec,
-      callback) as Promise<Models.RestorableDroppedDatabasesGetResponse>;
+      listByServerOperationSpec,
+      callback) as Promise<Models.RestorableDroppedDatabasesListByServerResponse>;
   }
 
   /**
-   * Gets a list of deleted databases that can be restored
+   * Gets a restorable dropped database.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param restorableDroppedDatabaseId
    * @param [options] The optional parameters
-   * @returns Promise<Models.RestorableDroppedDatabasesListByServerResponse>
+   * @returns Promise<Models.RestorableDroppedDatabasesGetResponse>
    */
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorableDroppedDatabasesListByServerResponse>;
+  get(resourceGroupName: string, serverName: string, restorableDroppedDatabaseId: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorableDroppedDatabasesGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param restorableDroppedDatabaseId
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
+  get(resourceGroupName: string, serverName: string, restorableDroppedDatabaseId: string, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param restorableDroppedDatabaseId
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>, callback?: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): Promise<Models.RestorableDroppedDatabasesListByServerResponse> {
+  get(resourceGroupName: string, serverName: string, restorableDroppedDatabaseId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): void;
+  get(resourceGroupName: string, serverName: string, restorableDroppedDatabaseId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorableDroppedDatabase>, callback?: msRest.ServiceCallback<Models.RestorableDroppedDatabase>): Promise<Models.RestorableDroppedDatabasesGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
+        restorableDroppedDatabaseId,
         options
       },
-      listByServerOperationSpec,
-      callback) as Promise<Models.RestorableDroppedDatabasesListByServerResponse>;
+      getOperationSpec,
+      callback) as Promise<Models.RestorableDroppedDatabasesGetResponse>;
+  }
+
+  /**
+   * Gets a list of restorable dropped databases.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.RestorableDroppedDatabasesListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorableDroppedDatabasesListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>, callback?: msRest.ServiceCallback<Models.RestorableDroppedDatabaseListResult>): Promise<Models.RestorableDroppedDatabasesListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.RestorableDroppedDatabasesListByServerNextResponse>;
   }
 }
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.RestorableDroppedDatabaseListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppededDatabaseId}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.restorableDroppededDatabaseId
+    Parameters.restorableDroppedDatabaseId,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -132,16 +181,15 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByServerOperationSpec: msRest.OperationSpec = {
+const listByServerNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
   urlParameters: [
-    Parameters.subscriptionId,
-    Parameters.resourceGroupName,
-    Parameters.serverName
+    Parameters.nextPageLink
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts
index 616f9c58900d..6471394f96ca 100644
--- a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts
+++ b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -140,7 +139,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -166,7 +165,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -189,6 +188,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion1
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/restorePoints.ts b/sdk/sql/arm-sql/src/operations/restorePoints.ts
index d3cbf393d7c6..11ed6c6e6512 100644
--- a/sdk/sql/arm-sql/src/operations/restorePoints.ts
+++ b/sdk/sql/arm-sql/src/operations/restorePoints.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -189,6 +188,34 @@ export class RestorePoints {
       beginCreateOperationSpec,
       options);
   }
+
+  /**
+   * Gets a list of database restore points.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.RestorePointsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RestorePointsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RestorePointListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RestorePointListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RestorePointListResult>, callback?: msRest.ServiceCallback<Models.RestorePointListResult>): Promise<Models.RestorePointsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.RestorePointsListByDatabaseNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -203,7 +230,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -230,7 +257,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -257,7 +284,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -281,7 +308,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -307,3 +334,27 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
   },
   serializer
 };
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.RestorePointListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts
index 32d4584c6a05..e0d7db334b50 100644
--- a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts
+++ b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -65,6 +64,49 @@ export class SensitivityLabels {
       callback) as Promise<Models.SensitivityLabelsListCurrentByDatabaseResponse>;
   }
 
+  /**
+   * Update sensitivity labels of a given database using an operations batch.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, callback: msRest.ServiceCallback<void>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
+  update(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.SensitivityLabelUpdateList, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        parameters,
+        options
+      },
+      updateOperationSpec,
+      callback);
+  }
+
   /**
    * Gets the sensitivity labels of a given database
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -377,7 +419,7 @@ export class SensitivityLabels {
    * @param [options] The optional parameters
    * @returns Promise<Models.SensitivityLabelsListCurrentByDatabaseNextResponse>
    */
-  listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SensitivityLabelsListCurrentByDatabaseNextResponse>;
+  listCurrentByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams): Promise<Models.SensitivityLabelsListCurrentByDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -388,8 +430,8 @@ export class SensitivityLabels {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listCurrentByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
-  listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.SensitivityLabelsListCurrentByDatabaseNextResponse> {
+  listCurrentByDatabaseNext(nextPageLink: string, options: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
+  listCurrentByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.SensitivityLabelsListCurrentByDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -405,7 +447,7 @@ export class SensitivityLabels {
    * @param [options] The optional parameters
    * @returns Promise<Models.SensitivityLabelsListRecommendedByDatabaseNextResponse>
    */
-  listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SensitivityLabelsListRecommendedByDatabaseNextResponse>;
+  listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams): Promise<Models.SensitivityLabelsListRecommendedByDatabaseNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -416,8 +458,8 @@ export class SensitivityLabels {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listRecommendedByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
-  listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.SensitivityLabelsListRecommendedByDatabaseNextResponse> {
+  listRecommendedByDatabaseNext(nextPageLink: string, options: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams, callback: msRest.ServiceCallback<Models.SensitivityLabelListResult>): void;
+  listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams | msRest.ServiceCallback<Models.SensitivityLabelListResult>, callback?: msRest.ServiceCallback<Models.SensitivityLabelListResult>): Promise<Models.SensitivityLabelsListRecommendedByDatabaseNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -440,8 +482,10 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
+    Parameters.skipToken,
+    Parameters.count,
     Parameters.filter1,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -457,6 +501,37 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/currentSensitivityLabels",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.SensitivityLabelUpdateList,
+      required: true
+    }
+  },
+  responses: {
+    200: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels",
@@ -467,10 +542,10 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.includeDisabledRecommendations,
     Parameters.skipToken,
+    Parameters.includeDisabledRecommendations,
     Parameters.filter1,
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -496,11 +571,11 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource0,
+    Parameters.sensitivityLabelSource2,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -524,11 +599,11 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource0,
+    Parameters.sensitivityLabelSource2,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -552,11 +627,11 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource1,
+    Parameters.sensitivityLabelSource0,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -582,11 +657,11 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource2,
+    Parameters.sensitivityLabelSource1,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -622,11 +697,11 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.schemaName,
     Parameters.tableName,
     Parameters.columnName,
-    Parameters.sensitivityLabelSource2,
+    Parameters.sensitivityLabelSource1,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -647,6 +722,12 @@ const listCurrentByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skipToken,
+    Parameters.count,
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -668,6 +749,12 @@ const listRecommendedByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.skipToken,
+    Parameters.includeDisabledRecommendations,
+    Parameters.filter1,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts b/sdk/sql/arm-sql/src/operations/serverAdvisors.ts
similarity index 51%
rename from sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts
rename to sdk/sql/arm-sql/src/operations/serverAdvisors.ts
index a2eb82653e0e..1c89a1a39d47 100644
--- a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts
+++ b/sdk/sql/arm-sql/src/operations/serverAdvisors.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -10,16 +9,16 @@
 
 import * as msRest from "@azure/ms-rest-js";
 import * as Models from "../models";
-import * as Mappers from "../models/recommendedElasticPoolsMappers";
+import * as Mappers from "../models/serverAdvisorsMappers";
 import * as Parameters from "../models/parameters";
 import { SqlManagementClientContext } from "../sqlManagementClientContext";
 
-/** Class representing a RecommendedElasticPools. */
-export class RecommendedElasticPools {
+/** Class representing a ServerAdvisors. */
+export class ServerAdvisors {
   private readonly client: SqlManagementClientContext;
 
   /**
-   * Create a RecommendedElasticPools.
+   * Create a ServerAdvisors.
    * @param {SqlManagementClientContext} client Reference to the service client.
    */
   constructor(client: SqlManagementClientContext) {
@@ -27,139 +26,154 @@ export class RecommendedElasticPools {
   }
 
   /**
-   * Gets a recommended elastic pool.
+   * Gets a list of server advisors.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
    * @param [options] The optional parameters
-   * @returns Promise<Models.RecommendedElasticPoolsGetResponse>
+   * @returns Promise<Models.ServerAdvisorsListByServerResponse>
    */
-  get(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options?: msRest.RequestOptionsBase): Promise<Models.RecommendedElasticPoolsGetResponse>;
+  listByServer(resourceGroupName: string, serverName: string, options?: Models.ServerAdvisorsListByServerOptionalParams): Promise<Models.ServerAdvisorsListByServerResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, callback: msRest.ServiceCallback<Models.RecommendedElasticPool>): void;
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.Advisor[]>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedElasticPool>): void;
-  get(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedElasticPool>, callback?: msRest.ServiceCallback<Models.RecommendedElasticPool>): Promise<Models.RecommendedElasticPoolsGetResponse> {
+  listByServer(resourceGroupName: string, serverName: string, options: Models.ServerAdvisorsListByServerOptionalParams, callback: msRest.ServiceCallback<Models.Advisor[]>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: Models.ServerAdvisorsListByServerOptionalParams | msRest.ServiceCallback<Models.Advisor[]>, callback?: msRest.ServiceCallback<Models.Advisor[]>): Promise<Models.ServerAdvisorsListByServerResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
-        recommendedElasticPoolName,
         options
       },
-      getOperationSpec,
-      callback) as Promise<Models.RecommendedElasticPoolsGetResponse>;
+      listByServerOperationSpec,
+      callback) as Promise<Models.ServerAdvisorsListByServerResponse>;
   }
 
   /**
-   * Returns recommended elastic pools.
+   * Gets a server advisor.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param advisorName The name of the Server Advisor.
    * @param [options] The optional parameters
-   * @returns Promise<Models.RecommendedElasticPoolsListByServerResponse>
+   * @returns Promise<Models.ServerAdvisorsGetResponse>
    */
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.RecommendedElasticPoolsListByServerResponse>;
+  get(resourceGroupName: string, serverName: string, advisorName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAdvisorsGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param advisorName The name of the Server Advisor.
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.RecommendedElasticPoolListResult>): void;
+  get(resourceGroupName: string, serverName: string, advisorName: string, callback: msRest.ServiceCallback<Models.Advisor>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
+   * @param advisorName The name of the Server Advisor.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedElasticPoolListResult>): void;
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedElasticPoolListResult>, callback?: msRest.ServiceCallback<Models.RecommendedElasticPoolListResult>): Promise<Models.RecommendedElasticPoolsListByServerResponse> {
+  get(resourceGroupName: string, serverName: string, advisorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  get(resourceGroupName: string, serverName: string, advisorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Advisor>, callback?: msRest.ServiceCallback<Models.Advisor>): Promise<Models.ServerAdvisorsGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
+        advisorName,
         options
       },
-      listByServerOperationSpec,
-      callback) as Promise<Models.RecommendedElasticPoolsListByServerResponse>;
+      getOperationSpec,
+      callback) as Promise<Models.ServerAdvisorsGetResponse>;
   }
 
   /**
-   * Returns recommended elastic pool metrics.
+   * Updates a server advisor.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
+   * @param advisorName The name of the Server Advisor.
+   * @param parameters The requested advisor resource state.
    * @param [options] The optional parameters
-   * @returns Promise<Models.RecommendedElasticPoolsListMetricsResponse>
+   * @returns Promise<Models.ServerAdvisorsUpdateResponse>
    */
-  listMetrics(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options?: msRest.RequestOptionsBase): Promise<Models.RecommendedElasticPoolsListMetricsResponse>;
+  update(resourceGroupName: string, serverName: string, advisorName: string, parameters: Models.Advisor, options?: msRest.RequestOptionsBase): Promise<Models.ServerAdvisorsUpdateResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
+   * @param advisorName The name of the Server Advisor.
+   * @param parameters The requested advisor resource state.
    * @param callback The callback
    */
-  listMetrics(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, callback: msRest.ServiceCallback<Models.RecommendedElasticPoolListMetricsResult>): void;
+  update(resourceGroupName: string, serverName: string, advisorName: string, parameters: Models.Advisor, callback: msRest.ServiceCallback<Models.Advisor>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param recommendedElasticPoolName The name of the recommended elastic pool to be retrieved.
+   * @param advisorName The name of the Server Advisor.
+   * @param parameters The requested advisor resource state.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listMetrics(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RecommendedElasticPoolListMetricsResult>): void;
-  listMetrics(resourceGroupName: string, serverName: string, recommendedElasticPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RecommendedElasticPoolListMetricsResult>, callback?: msRest.ServiceCallback<Models.RecommendedElasticPoolListMetricsResult>): Promise<Models.RecommendedElasticPoolsListMetricsResponse> {
+  update(resourceGroupName: string, serverName: string, advisorName: string, parameters: Models.Advisor, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Advisor>): void;
+  update(resourceGroupName: string, serverName: string, advisorName: string, parameters: Models.Advisor, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Advisor>, callback?: msRest.ServiceCallback<Models.Advisor>): Promise<Models.ServerAdvisorsUpdateResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
         serverName,
-        recommendedElasticPoolName,
+        advisorName,
+        parameters,
         options
       },
-      listMetricsOperationSpec,
-      callback) as Promise<Models.RecommendedElasticPoolsListMetricsResponse>;
+      updateOperationSpec,
+      callback) as Promise<Models.ServerAdvisorsUpdateResponse>;
   }
 }
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
+const listByServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.recommendedElasticPoolName
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.RecommendedElasticPool
+      bodyMapper: {
+        serializedName: "parsedResponse",
+        type: {
+          name: "Sequence",
+          element: {
+            type: {
+              name: "Composite",
+              className: "Advisor"
+            }
+          }
+        }
+      }
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -168,23 +182,24 @@ const getOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByServerOperationSpec: msRest.OperationSpec = {
+const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
-    Parameters.serverName
+    Parameters.serverName,
+    Parameters.advisorName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.RecommendedElasticPoolListResult
+      bodyMapper: Mappers.Advisor
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -193,24 +208,31 @@ const listByServerOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listMetricsOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics",
+const updateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PATCH",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.recommendedElasticPoolName
+    Parameters.advisorName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.Advisor,
+      required: true
+    }
+  },
   responses: {
     200: {
-      bodyMapper: Mappers.RecommendedElasticPoolListMetricsResult
+      bodyMapper: Mappers.Advisor
     },
     default: {
       bodyMapper: Mappers.CloudError
diff --git a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts
index b473a84bcf2e..2193381dfd83 100644
--- a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts
+++ b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -112,7 +111,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -137,7 +136,7 @@ const updateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts
index f80129644663..799ca06e13b9 100644
--- a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts
+++ b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -28,36 +27,7 @@ export class ServerAzureADAdministrators {
   }
 
   /**
-   * Creates a new Server Active Directory Administrator or updates an existing server Active
-   * Directory Administrator.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param properties The required parameters for creating or updating an Active Directory
-   * Administrator.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse>
-   */
-  createOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse> {
-    return this.beginCreateOrUpdate(resourceGroupName,serverName,properties,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse>;
-  }
-
-  /**
-   * Deletes an existing server Active Directory Administrator.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServerAzureADAdministratorsDeleteMethodResponse>
-   */
-  deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADAdministratorsDeleteMethodResponse> {
-    return this.beginDeleteMethod(resourceGroupName,serverName,options)
-      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerAzureADAdministratorsDeleteMethodResponse>;
-  }
-
-  /**
-   * Returns an server Administrator.
+   * Gets a Azure Active Directory administrator.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
@@ -92,7 +62,34 @@ export class ServerAzureADAdministrators {
   }
 
   /**
-   * Returns a list of server Administrators.
+   * Creates or updates an existing Azure Active Directory administrator.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The requested Azure Active Directory administrator Resource state.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerAzureADAdministratorsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes the Azure Active Directory administrator with the given name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,serverName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets a list of Azure Active Directory administrators in a server.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
@@ -106,7 +103,7 @@ export class ServerAzureADAdministrators {
    * @param serverName The name of the server.
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ServerAdministratorListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.AdministratorListResult>): void;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -114,8 +111,8 @@ export class ServerAzureADAdministrators {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerAdministratorListResult>): void;
-  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerAdministratorListResult>, callback?: msRest.ServiceCallback<Models.ServerAdministratorListResult>): Promise<Models.ServerAzureADAdministratorsListByServerResponse> {
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AdministratorListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AdministratorListResult>, callback?: msRest.ServiceCallback<Models.AdministratorListResult>): Promise<Models.ServerAzureADAdministratorsListByServerResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -127,22 +124,20 @@ export class ServerAzureADAdministrators {
   }
 
   /**
-   * Creates a new Server Active Directory Administrator or updates an existing server Active
-   * Directory Administrator.
+   * Creates or updates an existing Azure Active Directory administrator.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
-   * @param properties The required parameters for creating or updating an Active Directory
-   * Administrator.
+   * @param parameters The requested Azure Active Directory administrator Resource state.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
-  beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
     return this.client.sendLRORequest(
       {
         resourceGroupName,
         serverName,
-        properties,
+        parameters,
         options
       },
       beginCreateOrUpdateOperationSpec,
@@ -150,7 +145,7 @@ export class ServerAzureADAdministrators {
   }
 
   /**
-   * Deletes an existing server Active Directory Administrator.
+   * Deletes the Azure Active Directory administrator with the given name.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server.
@@ -167,6 +162,34 @@ export class ServerAzureADAdministrators {
       beginDeleteMethodOperationSpec,
       options);
   }
+
+  /**
+   * Gets a list of Azure Active Directory administrators in a server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADAdministratorsListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADAdministratorsListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AdministratorListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AdministratorListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AdministratorListResult>, callback?: msRest.ServiceCallback<Models.AdministratorListResult>): Promise<Models.ServerAzureADAdministratorsListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ServerAzureADAdministratorsListByServerNextResponse>;
+  }
 }
 
 // Operation Specifications
@@ -175,13 +198,13 @@ const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.administratorName0
+    Parameters.administratorName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -201,19 +224,19 @@ const listByServerOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
-    Parameters.serverName
+    Parameters.serverName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.ServerAdministratorListResult
+      bodyMapper: Mappers.AdministratorListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -226,19 +249,19 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
   httpMethod: "PUT",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.administratorName0
+    Parameters.administratorName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   requestBody: {
-    parameterPath: "properties",
+    parameterPath: "parameters",
     mapper: {
       ...Mappers.ServerAzureADAdministrator,
       required: true
@@ -251,9 +274,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     201: {
       bodyMapper: Mappers.ServerAzureADAdministrator
     },
-    202: {
-      bodyMapper: Mappers.ServerAzureADAdministrator
-    },
+    202: {},
     default: {
       bodyMapper: Mappers.CloudError
     }
@@ -265,26 +286,44 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
   httpMethod: "DELETE",
   path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}",
   urlParameters: [
-    Parameters.subscriptionId,
     Parameters.resourceGroupName,
     Parameters.serverName,
-    Parameters.administratorName0
+    Parameters.administratorName,
+    Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.ServerAzureADAdministrator
-    },
-    202: {
-      bodyMapper: Mappers.ServerAzureADAdministrator
-    },
-    204: {
-      bodyMapper: Mappers.ServerAzureADAdministrator
+      bodyMapper: Mappers.AdministratorListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts b/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts
new file mode 100644
index 000000000000..6d1933ea8ed2
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts
@@ -0,0 +1,337 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/serverAzureADOnlyAuthenticationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ServerAzureADOnlyAuthentications. */
+export class ServerAzureADOnlyAuthentications {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ServerAzureADOnlyAuthentications.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a specific Azure Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADOnlyAuthenticationsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADOnlyAuthenticationsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ServerAzureADOnlyAuthentication>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerAzureADOnlyAuthentication>): void;
+  get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerAzureADOnlyAuthentication>, callback?: msRest.ServiceCallback<Models.ServerAzureADOnlyAuthentication>): Promise<Models.ServerAzureADOnlyAuthenticationsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ServerAzureADOnlyAuthenticationsGetResponse>;
+  }
+
+  /**
+   * Sets Server Active Directory only authentication property or updates an existing server Active
+   * Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The required parameters for creating or updating an Active Directory only
+   * authentication property.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes an existing server Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,serverName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets a list of server Azure Active Directory only authentications.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADOnlyAuthenticationsListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADOnlyAuthenticationsListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>, callback?: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): Promise<Models.ServerAzureADOnlyAuthenticationsListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.ServerAzureADOnlyAuthenticationsListByServerResponse>;
+  }
+
+  /**
+   * Sets Server Active Directory only authentication property or updates an existing server Active
+   * Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The required parameters for creating or updating an Active Directory only
+   * authentication property.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes an existing server Active Directory only authentication property.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a list of server Azure Active Directory only authentications.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerAzureADOnlyAuthenticationsListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerAzureADOnlyAuthenticationsListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>, callback?: msRest.ServiceCallback<Models.AzureADOnlyAuthListResult>): Promise<Models.ServerAzureADOnlyAuthenticationsListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ServerAzureADOnlyAuthenticationsListByServerNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerAzureADOnlyAuthentication
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.AzureADOnlyAuthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ServerAzureADOnlyAuthentication,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerAzureADOnlyAuthentication
+    },
+    201: {
+      bodyMapper: Mappers.ServerAzureADOnlyAuthentication
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.authenticationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.AzureADOnlyAuthListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts
index 31cd942591a6..c93e2f98f42b 100644
--- a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -198,7 +197,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -255,6 +254,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts
index e334e3dba6e2..ac11ee2bc036 100644
--- a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts
+++ b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts
index 8cd96ee36a74..df702cb17186 100644
--- a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts b/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts
new file mode 100644
index 000000000000..6e36074d2b37
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts
@@ -0,0 +1,284 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/serverDevOpsAuditSettingsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ServerDevOpsAuditSettings. */
+export class ServerDevOpsAuditSettings {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ServerDevOpsAuditSettings.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a server's DevOps audit settings.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be
+   * 'default'.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerDevOpsAuditSettingsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerDevOpsAuditSettingsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be
+   * 'default'.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditingSettings>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be
+   * 'default'.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditingSettings>): void;
+  get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerDevOpsAuditingSettings>, callback?: msRest.ServiceCallback<Models.ServerDevOpsAuditingSettings>): Promise<Models.ServerDevOpsAuditSettingsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        devOpsAuditingSettingsName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ServerDevOpsAuditSettingsGetResponse>;
+  }
+
+  /**
+   * Creates or updates a server's DevOps audit settings.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be
+   * 'default'.
+   * @param parameters Properties of DevOps audit settings
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerDevOpsAuditSettingsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, parameters: Models.ServerDevOpsAuditingSettings, options?: msRest.RequestOptionsBase): Promise<Models.ServerDevOpsAuditSettingsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,devOpsAuditingSettingsName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerDevOpsAuditSettingsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Lists DevOps audit settings of a server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerDevOpsAuditSettingsListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerDevOpsAuditSettingsListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>, callback?: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): Promise<Models.ServerDevOpsAuditSettingsListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.ServerDevOpsAuditSettingsListByServerResponse>;
+  }
+
+  /**
+   * Creates or updates a server's DevOps audit settings.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be
+   * 'default'.
+   * @param parameters Properties of DevOps audit settings
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, parameters: Models.ServerDevOpsAuditingSettings, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        devOpsAuditingSettingsName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Lists DevOps audit settings of a server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerDevOpsAuditSettingsListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerDevOpsAuditSettingsListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>, callback?: msRest.ServiceCallback<Models.ServerDevOpsAuditSettingsListResult>): Promise<Models.ServerDevOpsAuditSettingsListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ServerDevOpsAuditSettingsListByServerNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.devOpsAuditingSettingsName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerDevOpsAuditingSettings
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerDevOpsAuditSettingsListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.devOpsAuditingSettingsName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ServerDevOpsAuditingSettings,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerDevOpsAuditingSettings
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerDevOpsAuditSettingsListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts
index fdd12166a26f..54c83444b6ee 100644
--- a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts
+++ b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -32,7 +31,7 @@ export class ServerDnsAliases {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param [options] The optional parameters
    * @returns Promise<Models.ServerDnsAliasesGetResponse>
    */
@@ -41,7 +40,7 @@ export class ServerDnsAliases {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param callback The callback
    */
   get(resourceGroupName: string, serverName: string, dnsAliasName: string, callback: msRest.ServiceCallback<Models.ServerDnsAlias>): void;
@@ -49,7 +48,7 @@ export class ServerDnsAliases {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param options The optional parameters
    * @param callback The callback
    */
@@ -67,11 +66,11 @@ export class ServerDnsAliases {
   }
 
   /**
-   * Creates a server dns alias.
+   * Creates a server DNS alias.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param [options] The optional parameters
    * @returns Promise<Models.ServerDnsAliasesCreateOrUpdateResponse>
    */
@@ -85,7 +84,7 @@ export class ServerDnsAliases {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param [options] The optional parameters
    * @returns Promise<msRest.RestResponse>
    */
@@ -137,19 +136,19 @@ export class ServerDnsAliases {
    * @param dnsAliasName The name of the server dns alias.
    * @param parameters
    * @param [options] The optional parameters
-   * @returns Promise<msRest.RestResponse>
+   * @returns Promise<Models.ServerDnsAliasesAcquireResponse>
    */
-  acquire(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: Models.ServerDnsAliasAcquisition, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+  acquire(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: Models.ServerDnsAliasAcquisition, options?: msRest.RequestOptionsBase): Promise<Models.ServerDnsAliasesAcquireResponse> {
     return this.beginAcquire(resourceGroupName,serverName,dnsAliasName,parameters,options)
-      .then(lroPoller => lroPoller.pollUntilFinished());
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerDnsAliasesAcquireResponse>;
   }
 
   /**
-   * Creates a server dns alias.
+   * Creates a server DNS alias.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
@@ -170,7 +169,7 @@ export class ServerDnsAliases {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server that the alias is pointing to.
-   * @param dnsAliasName The name of the server DNS alias.
+   * @param dnsAliasName The name of the server dns alias.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
@@ -250,7 +249,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -275,7 +274,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -301,7 +300,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -331,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -357,7 +356,7 @@ const beginAcquireOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -370,7 +369,9 @@ const beginAcquireOperationSpec: msRest.OperationSpec = {
     }
   },
   responses: {
-    200: {},
+    200: {
+      bodyMapper: Mappers.ServerDnsAlias
+    },
     202: {},
     default: {
       bodyMapper: Mappers.CloudError
@@ -386,6 +387,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/serverKeys.ts b/sdk/sql/arm-sql/src/operations/serverKeys.ts
index b53497dcea66..d0b906fc4904 100644
--- a/sdk/sql/arm-sql/src/operations/serverKeys.ts
+++ b/sdk/sql/arm-sql/src/operations/serverKeys.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -108,9 +107,8 @@ export class ServerKeys {
    * @param serverName The name of the server.
    * @param keyName The name of the server key to be operated on (updated or created). The key name
    * is required to be in the format of 'vault_key_version'. For example, if the keyId is
-   * https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then
-   * the server key name should be formatted as:
-   * YourVaultName_YourKeyName_01234567890123456789012345678901
+   * https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name
+   * should be formatted as: YourVaultName_YourKeyName_YourKeyVersion
    * @param parameters The requested server key resource state.
    * @param [options] The optional parameters
    * @returns Promise<Models.ServerKeysCreateOrUpdateResponse>
@@ -141,9 +139,8 @@ export class ServerKeys {
    * @param serverName The name of the server.
    * @param keyName The name of the server key to be operated on (updated or created). The key name
    * is required to be in the format of 'vault_key_version'. For example, if the keyId is
-   * https://YourVaultName.vault.azure.net/keys/YourKeyName/01234567890123456789012345678901, then
-   * the server key name should be formatted as:
-   * YourVaultName_YourKeyName_01234567890123456789012345678901
+   * https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion, then the server key name
+   * should be formatted as: YourVaultName_YourKeyName_YourKeyVersion
    * @param parameters The requested server key resource state.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
@@ -222,7 +219,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -248,7 +245,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -274,7 +271,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -311,7 +308,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -334,6 +331,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/serverOperations.ts b/sdk/sql/arm-sql/src/operations/serverOperations.ts
new file mode 100644
index 000000000000..ffb331decaab
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/serverOperations.ts
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/serverOperationsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ServerOperations. */
+export class ServerOperations {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ServerOperations.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of operations performed on the server.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerOperationsListByServerResponse>
+   */
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerOperationsListByServerResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<Models.ServerOperationListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerOperationListResult>): void;
+  listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerOperationListResult>, callback?: msRest.ServiceCallback<Models.ServerOperationListResult>): Promise<Models.ServerOperationsListByServerResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        options
+      },
+      listByServerOperationSpec,
+      callback) as Promise<Models.ServerOperationsListByServerResponse>;
+  }
+
+  /**
+   * Gets a list of operations performed on the server.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerOperationsListByServerNextResponse>
+   */
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerOperationsListByServerNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerOperationListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerOperationListResult>): void;
+  listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerOperationListResult>, callback?: msRest.ServiceCallback<Models.ServerOperationListResult>): Promise<Models.ServerOperationsListByServerNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByServerNextOperationSpec,
+      callback) as Promise<Models.ServerOperationsListByServerNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByServerOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByServerNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerOperationListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts
index 56e479b9f51e..9ac79fb2f4a8 100644
--- a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts
+++ b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -198,7 +197,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion4
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -255,6 +254,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts b/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts
new file mode 100644
index 000000000000..2c506a8a1dfe
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts
@@ -0,0 +1,455 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/serverTrustGroupsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a ServerTrustGroups. */
+export class ServerTrustGroups {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a ServerTrustGroups.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsGetResponse>
+   */
+  get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, callback: msRest.ServiceCallback<Models.ServerTrustGroup>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerTrustGroup>): void;
+  get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerTrustGroup>, callback?: msRest.ServiceCallback<Models.ServerTrustGroup>): Promise<Models.ServerTrustGroupsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        serverTrustGroupName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.ServerTrustGroupsGetResponse>;
+  }
+
+  /**
+   * Creates or updates a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param parameters The server trust group parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: Models.ServerTrustGroup, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,locationName,serverTrustGroupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServerTrustGroupsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,locationName,serverTrustGroupName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Lists a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsListByLocationResponse>
+   */
+  listByLocation(resourceGroupName: string, locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsListByLocationResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param callback The callback
+   */
+  listByLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocation(resourceGroupName: string, locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  listByLocation(resourceGroupName: string, locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerTrustGroupListResult>, callback?: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): Promise<Models.ServerTrustGroupsListByLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        locationName,
+        options
+      },
+      listByLocationOperationSpec,
+      callback) as Promise<Models.ServerTrustGroupsListByLocationResponse>;
+  }
+
+  /**
+   * Gets a server trust groups by instance name.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsListByInstanceResponse>
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsListByInstanceResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerTrustGroupListResult>, callback?: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): Promise<Models.ServerTrustGroupsListByInstanceResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      listByInstanceOperationSpec,
+      callback) as Promise<Models.ServerTrustGroupsListByInstanceResponse>;
+  }
+
+  /**
+   * Creates or updates a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param parameters The server trust group parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: Models.ServerTrustGroup, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        locationName,
+        serverTrustGroupName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a server trust group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param locationName The name of the region where the resource is located.
+   * @param serverTrustGroupName The name of the server trust group.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        locationName,
+        serverTrustGroupName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Lists a server trust group.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsListByLocationNextResponse>
+   */
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsListByLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerTrustGroupListResult>, callback?: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): Promise<Models.ServerTrustGroupsListByLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.ServerTrustGroupsListByLocationNextResponse>;
+  }
+
+  /**
+   * Gets a server trust groups by instance name.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServerTrustGroupsListByInstanceNextResponse>
+   */
+  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerTrustGroupsListByInstanceNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): void;
+  listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerTrustGroupListResult>, callback?: msRest.ServiceCallback<Models.ServerTrustGroupListResult>): Promise<Models.ServerTrustGroupsListByInstanceNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByInstanceNextOperationSpec,
+      callback) as Promise<Models.ServerTrustGroupsListByInstanceNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.serverTrustGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroup
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustGroups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.serverTrustGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ServerTrustGroup,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroup
+    },
+    201: {
+      bodyMapper: Mappers.ServerTrustGroup
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.locationName,
+    Parameters.serverTrustGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByInstanceNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.ServerTrustGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/serverUsages.ts b/sdk/sql/arm-sql/src/operations/serverUsages.ts
index ca3991457707..96741cfba11b 100644
--- a/sdk/sql/arm-sql/src/operations/serverUsages.ts
+++ b/sdk/sql/arm-sql/src/operations/serverUsages.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts
index 09f92258465f..492a5142e08a 100644
--- a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts
+++ b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -62,7 +61,9 @@ export class ServerVulnerabilityAssessments {
   }
 
   /**
-   * Creates or updates the server's vulnerability assessment.
+   * Creates or updates the server's vulnerability assessment. Learn more about setting SQL
+   * vulnerability assessment with managed identity -
+   * https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param serverName The name of the server for which the vulnerability assessment is defined.
@@ -211,7 +212,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -237,7 +238,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -273,7 +274,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -296,7 +297,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion3
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -319,6 +320,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/servers.ts b/sdk/sql/arm-sql/src/operations/servers.ts
index 734cb28282b2..2ea1dd870c6c 100644
--- a/sdk/sql/arm-sql/src/operations/servers.ts
+++ b/sdk/sql/arm-sql/src/operations/servers.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,58 +26,6 @@ export class Servers {
     this.client = client;
   }
 
-  /**
-   * Determines whether a resource can be created with the specified name.
-   * @param parameters The parameters to request for name availability.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServersCheckNameAvailabilityResponse>
-   */
-  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise<Models.ServersCheckNameAvailabilityResponse>;
-  /**
-   * @param parameters The parameters to request for name availability.
-   * @param callback The callback
-   */
-  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): void;
-  /**
-   * @param parameters The parameters to request for name availability.
-   * @param options The optional parameters
-   * @param callback The callback
-   */
-  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): void;
-  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>, callback?: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): Promise<Models.ServersCheckNameAvailabilityResponse> {
-    return this.client.sendOperationRequest(
-      {
-        parameters,
-        options
-      },
-      checkNameAvailabilityOperationSpec,
-      callback) as Promise<Models.ServersCheckNameAvailabilityResponse>;
-  }
-
-  /**
-   * Gets a list of all servers in the subscription.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServersListResponse>
-   */
-  list(options?: msRest.RequestOptionsBase): Promise<Models.ServersListResponse>;
-  /**
-   * @param callback The callback
-   */
-  list(callback: msRest.ServiceCallback<Models.ServerListResult>): void;
-  /**
-   * @param options The optional parameters
-   * @param callback The callback
-   */
-  list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
-  list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListResponse> {
-    return this.client.sendOperationRequest(
-      {
-        options
-      },
-      listOperationSpec,
-      callback) as Promise<Models.ServersListResponse>;
-  }
-
   /**
    * Gets a list of servers in a resource groups.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -86,7 +33,7 @@ export class Servers {
    * @param [options] The optional parameters
    * @returns Promise<Models.ServersListByResourceGroupResponse>
    */
-  listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServersListByResourceGroupResponse>;
+  listByResourceGroup(resourceGroupName: string, options?: Models.ServersListByResourceGroupOptionalParams): Promise<Models.ServersListByResourceGroupResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -99,8 +46,8 @@ export class Servers {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
-  listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListByResourceGroupResponse> {
+  listByResourceGroup(resourceGroupName: string, options: Models.ServersListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  listByResourceGroup(resourceGroupName: string, options?: Models.ServersListByResourceGroupOptionalParams | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListByResourceGroupResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -118,7 +65,7 @@ export class Servers {
    * @param [options] The optional parameters
    * @returns Promise<Models.ServersGetResponse>
    */
-  get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServersGetResponse>;
+  get(resourceGroupName: string, serverName: string, options?: Models.ServersGetOptionalParams): Promise<Models.ServersGetResponse>;
   /**
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
@@ -133,8 +80,8 @@ export class Servers {
    * @param options The optional parameters
    * @param callback The callback
    */
-  get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Server>): void;
-  get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Server>, callback?: msRest.ServiceCallback<Models.Server>): Promise<Models.ServersGetResponse> {
+  get(resourceGroupName: string, serverName: string, options: Models.ServersGetOptionalParams, callback: msRest.ServiceCallback<Models.Server>): void;
+  get(resourceGroupName: string, serverName: string, options?: Models.ServersGetOptionalParams | msRest.ServiceCallback<Models.Server>, callback?: msRest.ServiceCallback<Models.Server>): Promise<Models.ServersGetResponse> {
     return this.client.sendOperationRequest(
       {
         resourceGroupName,
@@ -186,6 +133,72 @@ export class Servers {
       .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServersUpdateResponse>;
   }
 
+  /**
+   * Gets a list of all servers in the subscription.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServersListResponse>
+   */
+  list(options?: Models.ServersListOptionalParams): Promise<Models.ServersListResponse>;
+  /**
+   * @param callback The callback
+   */
+  list(callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  /**
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  list(options: Models.ServersListOptionalParams, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  list(options?: Models.ServersListOptionalParams | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListResponse> {
+    return this.client.sendOperationRequest(
+      {
+        options
+      },
+      listOperationSpec,
+      callback) as Promise<Models.ServersListResponse>;
+  }
+
+  /**
+   * Imports a bacpac into a new database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The database import request parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServersImportDatabaseResponse>
+   */
+  importDatabase(resourceGroupName: string, serverName: string, parameters: Models.ImportNewDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<Models.ServersImportDatabaseResponse> {
+    return this.beginImportDatabase(resourceGroupName,serverName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ServersImportDatabaseResponse>;
+  }
+
+  /**
+   * Determines whether a resource can be created with the specified name.
+   * @param parameters The name availability request parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.ServersCheckNameAvailabilityResponse>
+   */
+  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise<Models.ServersCheckNameAvailabilityResponse>;
+  /**
+   * @param parameters The name availability request parameters.
+   * @param callback The callback
+   */
+  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): void;
+  /**
+   * @param parameters The name availability request parameters.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): void;
+  checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>, callback?: msRest.ServiceCallback<Models.CheckNameAvailabilityResponse>): Promise<Models.ServersCheckNameAvailabilityResponse> {
+    return this.client.sendOperationRequest(
+      {
+        parameters,
+        options
+      },
+      checkNameAvailabilityOperationSpec,
+      callback) as Promise<Models.ServersCheckNameAvailabilityResponse>;
+  }
+
   /**
    * Creates or updates a server.
    * @param resourceGroupName The name of the resource group that contains the resource. You can
@@ -248,86 +261,102 @@ export class Servers {
   }
 
   /**
-   * Gets a list of all servers in the subscription.
+   * Imports a bacpac into a new database.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param parameters The database import request parameters.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginImportDatabase(resourceGroupName: string, serverName: string, parameters: Models.ImportNewDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        parameters,
+        options
+      },
+      beginImportDatabaseOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets a list of servers in a resource groups.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ServersListNextResponse>
+   * @returns Promise<Models.ServersListByResourceGroupNextResponse>
    */
-  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServersListNextResponse>;
+  listByResourceGroupNext(nextPageLink: string, options?: Models.ServersListByResourceGroupNextOptionalParams): Promise<Models.ServersListByResourceGroupNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
-  listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListNextResponse> {
+  listByResourceGroupNext(nextPageLink: string, options: Models.ServersListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  listByResourceGroupNext(nextPageLink: string, options?: Models.ServersListByResourceGroupNextOptionalParams | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListByResourceGroupNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listNextOperationSpec,
-      callback) as Promise<Models.ServersListNextResponse>;
+      listByResourceGroupNextOperationSpec,
+      callback) as Promise<Models.ServersListByResourceGroupNextResponse>;
   }
 
   /**
-   * Gets a list of servers in a resource groups.
+   * Gets a list of all servers in the subscription.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param [options] The optional parameters
-   * @returns Promise<Models.ServersListByResourceGroupNextResponse>
+   * @returns Promise<Models.ServersListNextResponse>
    */
-  listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServersListByResourceGroupNextResponse>;
+  listNext(nextPageLink: string, options?: Models.ServersListNextOptionalParams): Promise<Models.ServersListNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
    */
-  listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
-  listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListByResourceGroupNextResponse> {
+  listNext(nextPageLink: string, options: Models.ServersListNextOptionalParams, callback: msRest.ServiceCallback<Models.ServerListResult>): void;
+  listNext(nextPageLink: string, options?: Models.ServersListNextOptionalParams | msRest.ServiceCallback<Models.ServerListResult>, callback?: msRest.ServiceCallback<Models.ServerListResult>): Promise<Models.ServersListNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
         options
       },
-      listByResourceGroupNextOperationSpec,
-      callback) as Promise<Models.ServersListByResourceGroupNextResponse>;
+      listNextOperationSpec,
+      callback) as Promise<Models.ServersListNextResponse>;
   }
 }
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
-const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
-  httpMethod: "POST",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability",
+const listByResourceGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers",
   urlParameters: [
+    Parameters.resourceGroupName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion0
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
-  requestBody: {
-    parameterPath: "parameters",
-    mapper: {
-      ...Mappers.CheckNameAvailabilityRequest,
-      required: true
-    }
-  },
   responses: {
     200: {
-      bodyMapper: Mappers.CheckNameAvailabilityResponse
+      bodyMapper: Mappers.ServerListResult
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -336,21 +365,24 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listOperationSpec: msRest.OperationSpec = {
+const getOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}",
   urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
   responses: {
     200: {
-      bodyMapper: Mappers.ServerListResult
+      bodyMapper: Mappers.Server
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -359,15 +391,15 @@ const listOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupOperationSpec: msRest.OperationSpec = {
+const listOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers",
   urlParameters: [
-    Parameters.resourceGroupName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.expand,
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -383,23 +415,28 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const getOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}",
+const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability",
   urlParameters: [
-    Parameters.resourceGroupName,
-    Parameters.serverName,
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.CheckNameAvailabilityRequest,
+      required: true
+    }
+  },
   responses: {
     200: {
-      bodyMapper: Mappers.Server
+      bodyMapper: Mappers.CheckNameAvailabilityResponse
     },
     default: {
       bodyMapper: Mappers.CloudError
@@ -417,7 +454,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -453,7 +490,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -478,7 +515,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -502,13 +539,50 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listNextOperationSpec: msRest.OperationSpec = {
+const beginImportDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.ImportNewDatabaseDefinition,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.ImportExportOperationResult
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -523,13 +597,17 @@ const listNextOperationSpec: msRest.OperationSpec = {
   serializer
 };
 
-const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
+const listNextOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   baseUrl: "https://management.azure.com",
   path: "{nextLink}",
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expand,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts
index d10a6be2ddd5..99549f93a560 100644
--- a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts
+++ b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts b/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts
deleted file mode 100644
index ab2ce84c5fa4..000000000000
--- a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts
+++ /dev/null
@@ -1,165 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as Models from "../models";
-import * as Mappers from "../models/serviceTierAdvisorsMappers";
-import * as Parameters from "../models/parameters";
-import { SqlManagementClientContext } from "../sqlManagementClientContext";
-
-/** Class representing a ServiceTierAdvisors. */
-export class ServiceTierAdvisors {
-  private readonly client: SqlManagementClientContext;
-
-  /**
-   * Create a ServiceTierAdvisors.
-   * @param {SqlManagementClientContext} client Reference to the service client.
-   */
-  constructor(client: SqlManagementClientContext) {
-    this.client = client;
-  }
-
-  /**
-   * Gets a service tier advisor.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param serviceTierAdvisorName The name of service tier advisor.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServiceTierAdvisorsGetResponse>
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, serviceTierAdvisorName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServiceTierAdvisorsGetResponse>;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param serviceTierAdvisorName The name of service tier advisor.
-   * @param callback The callback
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, serviceTierAdvisorName: string, callback: msRest.ServiceCallback<Models.ServiceTierAdvisor>): void;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param serviceTierAdvisorName The name of service tier advisor.
-   * @param options The optional parameters
-   * @param callback The callback
-   */
-  get(resourceGroupName: string, serverName: string, databaseName: string, serviceTierAdvisorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServiceTierAdvisor>): void;
-  get(resourceGroupName: string, serverName: string, databaseName: string, serviceTierAdvisorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServiceTierAdvisor>, callback?: msRest.ServiceCallback<Models.ServiceTierAdvisor>): Promise<Models.ServiceTierAdvisorsGetResponse> {
-    return this.client.sendOperationRequest(
-      {
-        resourceGroupName,
-        serverName,
-        databaseName,
-        serviceTierAdvisorName,
-        options
-      },
-      getOperationSpec,
-      callback) as Promise<Models.ServiceTierAdvisorsGetResponse>;
-  }
-
-  /**
-   * Returns service tier advisors for specified database.
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param [options] The optional parameters
-   * @returns Promise<Models.ServiceTierAdvisorsListByDatabaseResponse>
-   */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServiceTierAdvisorsListByDatabaseResponse>;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param callback The callback
-   */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.ServiceTierAdvisorListResult>): void;
-  /**
-   * @param resourceGroupName The name of the resource group that contains the resource. You can
-   * obtain this value from the Azure Resource Manager API or the portal.
-   * @param serverName The name of the server.
-   * @param databaseName The name of database.
-   * @param options The optional parameters
-   * @param callback The callback
-   */
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ServiceTierAdvisorListResult>): void;
-  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ServiceTierAdvisorListResult>, callback?: msRest.ServiceCallback<Models.ServiceTierAdvisorListResult>): Promise<Models.ServiceTierAdvisorsListByDatabaseResponse> {
-    return this.client.sendOperationRequest(
-      {
-        resourceGroupName,
-        serverName,
-        databaseName,
-        options
-      },
-      listByDatabaseOperationSpec,
-      callback) as Promise<Models.ServiceTierAdvisorsListByDatabaseResponse>;
-  }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors/{serviceTierAdvisorName}",
-  urlParameters: [
-    Parameters.subscriptionId,
-    Parameters.resourceGroupName,
-    Parameters.serverName,
-    Parameters.databaseName,
-    Parameters.serviceTierAdvisorName
-  ],
-  queryParameters: [
-    Parameters.apiVersion0
-  ],
-  headerParameters: [
-    Parameters.acceptLanguage
-  ],
-  responses: {
-    200: {
-      bodyMapper: Mappers.ServiceTierAdvisor
-    },
-    default: {
-      bodyMapper: Mappers.CloudError
-    }
-  },
-  serializer
-};
-
-const listByDatabaseOperationSpec: msRest.OperationSpec = {
-  httpMethod: "GET",
-  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors",
-  urlParameters: [
-    Parameters.subscriptionId,
-    Parameters.resourceGroupName,
-    Parameters.serverName,
-    Parameters.databaseName
-  ],
-  queryParameters: [
-    Parameters.apiVersion0
-  ],
-  headerParameters: [
-    Parameters.acceptLanguage
-  ],
-  responses: {
-    200: {
-      bodyMapper: Mappers.ServiceTierAdvisorListResult
-    },
-    default: {
-      bodyMapper: Mappers.CloudError
-    }
-  },
-  serializer
-};
diff --git a/sdk/sql/arm-sql/src/operations/sqlAgent.ts b/sdk/sql/arm-sql/src/operations/sqlAgent.ts
new file mode 100644
index 000000000000..de4baf1ceb04
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/sqlAgent.ts
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/sqlAgentMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a SqlAgent. */
+export class SqlAgent {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a SqlAgent.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets current instance sql agent configuration.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.SqlAgentGetResponse>
+   */
+  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SqlAgentGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback<Models.SqlAgentConfiguration>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SqlAgentConfiguration>): void;
+  get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SqlAgentConfiguration>, callback?: msRest.ServiceCallback<Models.SqlAgentConfiguration>): Promise<Models.SqlAgentGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.SqlAgentGetResponse>;
+  }
+
+  /**
+   * Puts new sql agent configuration to instance.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param parameters
+   * @param [options] The optional parameters
+   * @returns Promise<Models.SqlAgentCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.SqlAgentConfiguration, options?: msRest.RequestOptionsBase): Promise<Models.SqlAgentCreateOrUpdateResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.SqlAgentConfiguration, callback: msRest.ServiceCallback<Models.SqlAgentConfiguration>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param managedInstanceName The name of the managed instance.
+   * @param parameters
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.SqlAgentConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SqlAgentConfiguration>): void;
+  createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.SqlAgentConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SqlAgentConfiguration>, callback?: msRest.ServiceCallback<Models.SqlAgentConfiguration>): Promise<Models.SqlAgentCreateOrUpdateResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        managedInstanceName,
+        parameters,
+        options
+      },
+      createOrUpdateOperationSpec,
+      callback) as Promise<Models.SqlAgentCreateOrUpdateResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/sqlAgent/current",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.SqlAgentConfiguration
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const createOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/sqlAgent/current",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.managedInstanceName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.SqlAgentConfiguration,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.SqlAgentConfiguration
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts
index 34dc34fce3ad..387b02ec38bd 100644
--- a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts
+++ b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -125,7 +124,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -150,7 +149,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -173,6 +172,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/syncAgents.ts b/sdk/sql/arm-sql/src/operations/syncAgents.ts
index 5cbc4360dda4..1c5d9d7ababd 100644
--- a/sdk/sql/arm-sql/src/operations/syncAgents.ts
+++ b/sdk/sql/arm-sql/src/operations/syncAgents.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -321,7 +320,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -346,7 +345,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -372,7 +371,7 @@ const generateKeyOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -398,7 +397,7 @@ const listLinkedDatabasesOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -424,7 +423,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -461,7 +460,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -484,6 +483,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -505,6 +507,9 @@ const listLinkedDatabasesNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/syncGroups.ts b/sdk/sql/arm-sql/src/operations/syncGroups.ts
index 5824e0f64925..dc20ebc3dc58 100644
--- a/sdk/sql/arm-sql/src/operations/syncGroups.ts
+++ b/sdk/sql/arm-sql/src/operations/syncGroups.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -541,25 +540,40 @@ export class SyncGroups {
   /**
    * Gets a collection of sync group logs.
    * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param startTime Get logs generated after this time.
+   * @param endTime Get logs generated before this time.
+   * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning',
+   * 'Success'
    * @param [options] The optional parameters
    * @returns Promise<Models.SyncGroupsListLogsNextResponse>
    */
-  listLogsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SyncGroupsListLogsNextResponse>;
+  listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options?: Models.SyncGroupsListLogsNextOptionalParams): Promise<Models.SyncGroupsListLogsNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param startTime Get logs generated after this time.
+   * @param endTime Get logs generated before this time.
+   * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning',
+   * 'Success'
    * @param callback The callback
    */
-  listLogsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SyncGroupLogListResult>): void;
+  listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, callback: msRest.ServiceCallback<Models.SyncGroupLogListResult>): void;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param startTime Get logs generated after this time.
+   * @param endTime Get logs generated before this time.
+   * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning',
+   * 'Success'
    * @param options The optional parameters
    * @param callback The callback
    */
-  listLogsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SyncGroupLogListResult>): void;
-  listLogsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SyncGroupLogListResult>, callback?: msRest.ServiceCallback<Models.SyncGroupLogListResult>): Promise<Models.SyncGroupsListLogsNextResponse> {
+  listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options: Models.SyncGroupsListLogsNextOptionalParams, callback: msRest.ServiceCallback<Models.SyncGroupLogListResult>): void;
+  listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options?: Models.SyncGroupsListLogsNextOptionalParams | msRest.ServiceCallback<Models.SyncGroupLogListResult>, callback?: msRest.ServiceCallback<Models.SyncGroupLogListResult>): Promise<Models.SyncGroupsListLogsNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
+        startTime,
+        endTime,
+        type,
         options
       },
       listLogsNextOperationSpec,
@@ -605,7 +619,7 @@ const listSyncDatabaseIdsOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -632,7 +646,7 @@ const listHubSchemasOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -659,11 +673,11 @@ const listLogsOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.startTime,
-    Parameters.endTime,
+    Parameters.startTime1,
+    Parameters.endTime1,
     Parameters.type,
     Parameters.continuationToken,
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -690,7 +704,7 @@ const cancelSyncOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -715,7 +729,7 @@ const triggerSyncOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -740,7 +754,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -766,7 +780,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -793,7 +807,7 @@ const beginRefreshHubSchemaOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -819,7 +833,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -857,7 +871,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -884,7 +898,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -915,6 +929,9 @@ const listSyncDatabaseIdsNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -936,6 +953,9 @@ const listHubSchemasNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -957,6 +977,13 @@ const listLogsNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.startTime1,
+    Parameters.endTime1,
+    Parameters.type,
+    Parameters.continuationToken,
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -978,6 +1005,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/syncMembers.ts b/sdk/sql/arm-sql/src/operations/syncMembers.ts
index 76a574df56e0..f83022e48052 100644
--- a/sdk/sql/arm-sql/src/operations/syncMembers.ts
+++ b/sdk/sql/arm-sql/src/operations/syncMembers.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -405,7 +404,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -432,7 +431,7 @@ const listBySyncGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -460,7 +459,7 @@ const listMemberSchemasOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -488,7 +487,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -527,7 +526,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -555,7 +554,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -591,7 +590,7 @@ const beginRefreshMemberSchemaOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -613,6 +612,9 @@ const listBySyncGroupNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -634,6 +636,9 @@ const listMemberSchemasNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts
index 0fef38e26455..d3cbe98433da 100644
--- a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts
+++ b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/timeZones.ts b/sdk/sql/arm-sql/src/operations/timeZones.ts
new file mode 100644
index 000000000000..4b6c87322326
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/timeZones.ts
@@ -0,0 +1,190 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/timeZonesMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a TimeZones. */
+export class TimeZones {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a TimeZones.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a list of managed instance time zones by location.
+   * @param locationName
+   * @param [options] The optional parameters
+   * @returns Promise<Models.TimeZonesListByLocationResponse>
+   */
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.TimeZonesListByLocationResponse>;
+  /**
+   * @param locationName
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, callback: msRest.ServiceCallback<Models.TimeZoneListResult>): void;
+  /**
+   * @param locationName
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocation(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TimeZoneListResult>): void;
+  listByLocation(locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.TimeZoneListResult>, callback?: msRest.ServiceCallback<Models.TimeZoneListResult>): Promise<Models.TimeZonesListByLocationResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        options
+      },
+      listByLocationOperationSpec,
+      callback) as Promise<Models.TimeZonesListByLocationResponse>;
+  }
+
+  /**
+   * Gets a managed instance time zone.
+   * @param locationName
+   * @param timeZoneId
+   * @param [options] The optional parameters
+   * @returns Promise<Models.TimeZonesGetResponse>
+   */
+  get(locationName: string, timeZoneId: string, options?: msRest.RequestOptionsBase): Promise<Models.TimeZonesGetResponse>;
+  /**
+   * @param locationName
+   * @param timeZoneId
+   * @param callback The callback
+   */
+  get(locationName: string, timeZoneId: string, callback: msRest.ServiceCallback<Models.TimeZone>): void;
+  /**
+   * @param locationName
+   * @param timeZoneId
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(locationName: string, timeZoneId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TimeZone>): void;
+  get(locationName: string, timeZoneId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.TimeZone>, callback?: msRest.ServiceCallback<Models.TimeZone>): Promise<Models.TimeZonesGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        locationName,
+        timeZoneId,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.TimeZonesGetResponse>;
+  }
+
+  /**
+   * Gets a list of managed instance time zones by location.
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.TimeZonesListByLocationNextResponse>
+   */
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TimeZonesListByLocationNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TimeZoneListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TimeZoneListResult>): void;
+  listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.TimeZoneListResult>, callback?: msRest.ServiceCallback<Models.TimeZoneListResult>): Promise<Models.TimeZonesListByLocationNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByLocationNextOperationSpec,
+      callback) as Promise<Models.TimeZonesListByLocationNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listByLocationOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/timeZones",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.TimeZoneListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/timeZones/{timeZoneId}",
+  urlParameters: [
+    Parameters.locationName,
+    Parameters.timeZoneId,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.TimeZone
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByLocationNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.TimeZoneListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts
index 35545b94cc76..b6754a7e3dc3 100644
--- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts
+++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts
index 29f3d63bbf1b..2e5170e1b6b1 100644
--- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts
+++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
diff --git a/sdk/sql/arm-sql/src/operations/usages.ts b/sdk/sql/arm-sql/src/operations/usages.ts
index fc08d9576ea3..75c6c3805fbb 100644
--- a/sdk/sql/arm-sql/src/operations/usages.ts
+++ b/sdk/sql/arm-sql/src/operations/usages.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -67,7 +66,7 @@ export class Usages {
    * @param [options] The optional parameters
    * @returns Promise<Models.UsagesListByInstancePoolNextResponse>
    */
-  listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListByInstancePoolNextResponse>;
+  listByInstancePoolNext(nextPageLink: string, options?: Models.UsagesListByInstancePoolNextOptionalParams): Promise<Models.UsagesListByInstancePoolNextResponse>;
   /**
    * @param nextPageLink The NextLink from the previous successful call to List operation.
    * @param callback The callback
@@ -78,8 +77,8 @@ export class Usages {
    * @param options The optional parameters
    * @param callback The callback
    */
-  listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
-  listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.UsageListResult>, callback?: msRest.ServiceCallback<Models.UsageListResult>): Promise<Models.UsagesListByInstancePoolNextResponse> {
+  listByInstancePoolNext(nextPageLink: string, options: Models.UsagesListByInstancePoolNextOptionalParams, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
+  listByInstancePoolNext(nextPageLink: string, options?: Models.UsagesListByInstancePoolNextOptionalParams | msRest.ServiceCallback<Models.UsageListResult>, callback?: msRest.ServiceCallback<Models.UsageListResult>): Promise<Models.UsagesListByInstancePoolNextResponse> {
     return this.client.sendOperationRequest(
       {
         nextPageLink,
@@ -102,7 +101,7 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = {
   ],
   queryParameters: [
     Parameters.expandChildren,
-    Parameters.apiVersion3
+    Parameters.apiVersion1
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -125,6 +124,10 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.expandChildren,
+    Parameters.apiVersion1
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/virtualClusters.ts b/sdk/sql/arm-sql/src/operations/virtualClusters.ts
index 8099f722f86f..aac41a2e6f02 100644
--- a/sdk/sql/arm-sql/src/operations/virtualClusters.ts
+++ b/sdk/sql/arm-sql/src/operations/virtualClusters.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -27,6 +26,42 @@ export class VirtualClusters {
     this.client = client;
   }
 
+  /**
+   * Synchronizes the DNS server settings used by the managed instances inside the given virtual
+   * cluster.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param virtualClusterName The name of the virtual cluster.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.VirtualClustersUpdateDnsServersResponse>
+   */
+  updateDnsServers(resourceGroupName: string, virtualClusterName: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualClustersUpdateDnsServersResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param virtualClusterName The name of the virtual cluster.
+   * @param callback The callback
+   */
+  updateDnsServers(resourceGroupName: string, virtualClusterName: string, callback: msRest.ServiceCallback<Models.UpdateManagedInstanceDnsServersOperation>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param virtualClusterName The name of the virtual cluster.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  updateDnsServers(resourceGroupName: string, virtualClusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.UpdateManagedInstanceDnsServersOperation>): void;
+  updateDnsServers(resourceGroupName: string, virtualClusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.UpdateManagedInstanceDnsServersOperation>, callback?: msRest.ServiceCallback<Models.UpdateManagedInstanceDnsServersOperation>): Promise<Models.VirtualClustersUpdateDnsServersResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        virtualClusterName,
+        options
+      },
+      updateDnsServersOperationSpec,
+      callback) as Promise<Models.VirtualClustersUpdateDnsServersResponse>;
+  }
+
   /**
    * Gets a list of all virtualClusters in the subscription.
    * @param [options] The optional parameters
@@ -135,7 +170,7 @@ export class VirtualClusters {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param virtualClusterName The name of the virtual cluster.
-   * @param parameters The requested managed instance resource state.
+   * @param parameters The requested virtual cluster resource state.
    * @param [options] The optional parameters
    * @returns Promise<Models.VirtualClustersUpdateResponse>
    */
@@ -168,7 +203,7 @@ export class VirtualClusters {
    * @param resourceGroupName The name of the resource group that contains the resource. You can
    * obtain this value from the Azure Resource Manager API or the portal.
    * @param virtualClusterName The name of the virtual cluster.
-   * @param parameters The requested managed instance resource state.
+   * @param parameters The requested virtual cluster resource state.
    * @param [options] The optional parameters
    * @returns Promise<msRestAzure.LROPoller>
    */
@@ -243,6 +278,31 @@ export class VirtualClusters {
 
 // Operation Specifications
 const serializer = new msRest.Serializer(Mappers);
+const updateDnsServersOperationSpec: msRest.OperationSpec = {
+  httpMethod: "POST",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.virtualClusterName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.UpdateManagedInstanceDnsServersOperation
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
 const listOperationSpec: msRest.OperationSpec = {
   httpMethod: "GET",
   path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters",
@@ -250,7 +310,7 @@ const listOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -274,7 +334,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -299,7 +359,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -324,7 +384,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -349,7 +409,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -380,6 +440,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
@@ -401,6 +464,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts
index bc25e2b3fb62..4a984df83754 100644
--- a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts
+++ b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -240,7 +239,7 @@ const listByServerOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -266,7 +265,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -303,7 +302,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
     Parameters.subscriptionId
   ],
   queryParameters: [
-    Parameters.apiVersion1
+    Parameters.apiVersion2
   ],
   headerParameters: [
     Parameters.acceptLanguage
@@ -326,6 +325,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = {
   urlParameters: [
     Parameters.nextPageLink
   ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
   headerParameters: [
     Parameters.acceptLanguage
   ],
diff --git a/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts b/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts
new file mode 100644
index 000000000000..7db6a8d08a1d
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts
@@ -0,0 +1,389 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/workloadClassifiersMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a WorkloadClassifiers. */
+export class WorkloadClassifiers {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a WorkloadClassifiers.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a workload classifier
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadClassifiersGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadClassifiersGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, callback: msRest.ServiceCallback<Models.WorkloadClassifier>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadClassifier>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadClassifier>, callback?: msRest.ServiceCallback<Models.WorkloadClassifier>): Promise<Models.WorkloadClassifiersGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        workloadClassifierName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.WorkloadClassifiersGetResponse>;
+  }
+
+  /**
+   * Creates or updates a workload classifier.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier to create/update.
+   * @param parameters The properties of the workload classifier.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadClassifiersCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadClassifiersCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,workloadGroupName,workloadClassifierName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.WorkloadClassifiersCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes a workload classifier.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier to delete.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,serverName,databaseName,workloadGroupName,workloadClassifierName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets the list of workload classifiers for a workload group
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifiers
+   * from.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadClassifiersListByWorkloadGroupResponse>
+   */
+  listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadClassifiersListByWorkloadGroupResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifiers
+   * from.
+   * @param callback The callback
+   */
+  listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, callback: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifiers
+   * from.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): void;
+  listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadClassifierListResult>, callback?: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): Promise<Models.WorkloadClassifiersListByWorkloadGroupResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        options
+      },
+      listByWorkloadGroupOperationSpec,
+      callback) as Promise<Models.WorkloadClassifiersListByWorkloadGroupResponse>;
+  }
+
+  /**
+   * Creates or updates a workload classifier.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier to create/update.
+   * @param parameters The properties of the workload classifier.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        workloadClassifierName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a workload classifier.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group from which to receive the classifier
+   * from.
+   * @param workloadClassifierName The name of the workload classifier to delete.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        workloadClassifierName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets the list of workload classifiers for a workload group
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadClassifiersListByWorkloadGroupNextResponse>
+   */
+  listByWorkloadGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadClassifiersListByWorkloadGroupNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByWorkloadGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByWorkloadGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): void;
+  listByWorkloadGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadClassifierListResult>, callback?: msRest.ServiceCallback<Models.WorkloadClassifierListResult>): Promise<Models.WorkloadClassifiersListByWorkloadGroupNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByWorkloadGroupNextOperationSpec,
+      callback) as Promise<Models.WorkloadClassifiersListByWorkloadGroupNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.workloadClassifierName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadClassifier
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByWorkloadGroupOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadClassifierListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.workloadClassifierName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.WorkloadClassifier,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadClassifier
+    },
+    201: {
+      bodyMapper: Mappers.WorkloadClassifier
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.workloadClassifierName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByWorkloadGroupNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadClassifierListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/operations/workloadGroups.ts b/sdk/sql/arm-sql/src/operations/workloadGroups.ts
new file mode 100644
index 000000000000..df20eaa2b8ef
--- /dev/null
+++ b/sdk/sql/arm-sql/src/operations/workloadGroups.ts
@@ -0,0 +1,361 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/workloadGroupsMappers";
+import * as Parameters from "../models/parameters";
+import { SqlManagementClientContext } from "../sqlManagementClientContext";
+
+/** Class representing a WorkloadGroups. */
+export class WorkloadGroups {
+  private readonly client: SqlManagementClientContext;
+
+  /**
+   * Create a WorkloadGroups.
+   * @param {SqlManagementClientContext} client Reference to the service client.
+   */
+  constructor(client: SqlManagementClientContext) {
+    this.client = client;
+  }
+
+  /**
+   * Gets a workload group
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadGroupsGetResponse>
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadGroupsGetResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group.
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, callback: msRest.ServiceCallback<Models.WorkloadGroup>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadGroup>): void;
+  get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadGroup>, callback?: msRest.ServiceCallback<Models.WorkloadGroup>): Promise<Models.WorkloadGroupsGetResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        options
+      },
+      getOperationSpec,
+      callback) as Promise<Models.WorkloadGroupsGetResponse>;
+  }
+
+  /**
+   * Creates or updates a workload group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group.
+   * @param parameters The requested workload group state.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadGroupsCreateOrUpdateResponse>
+   */
+  createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadGroupsCreateOrUpdateResponse> {
+    return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,workloadGroupName,parameters,options)
+      .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.WorkloadGroupsCreateOrUpdateResponse>;
+  }
+
+  /**
+   * Deletes a workload group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group to delete.
+   * @param [options] The optional parameters
+   * @returns Promise<msRest.RestResponse>
+   */
+  deleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
+    return this.beginDeleteMethod(resourceGroupName,serverName,databaseName,workloadGroupName,options)
+      .then(lroPoller => lroPoller.pollUntilFinished());
+  }
+
+  /**
+   * Gets the list of workload groups
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadGroupsListByDatabaseResponse>
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadGroupsListByDatabaseResponse>;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback<Models.WorkloadGroupListResult>): void;
+  /**
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadGroupListResult>): void;
+  listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadGroupListResult>, callback?: msRest.ServiceCallback<Models.WorkloadGroupListResult>): Promise<Models.WorkloadGroupsListByDatabaseResponse> {
+    return this.client.sendOperationRequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        options
+      },
+      listByDatabaseOperationSpec,
+      callback) as Promise<Models.WorkloadGroupsListByDatabaseResponse>;
+  }
+
+  /**
+   * Creates or updates a workload group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group.
+   * @param parameters The requested workload group state.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        parameters,
+        options
+      },
+      beginCreateOrUpdateOperationSpec,
+      options);
+  }
+
+  /**
+   * Deletes a workload group.
+   * @param resourceGroupName The name of the resource group that contains the resource. You can
+   * obtain this value from the Azure Resource Manager API or the portal.
+   * @param serverName The name of the server.
+   * @param databaseName The name of the database.
+   * @param workloadGroupName The name of the workload group to delete.
+   * @param [options] The optional parameters
+   * @returns Promise<msRestAzure.LROPoller>
+   */
+  beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
+    return this.client.sendLRORequest(
+      {
+        resourceGroupName,
+        serverName,
+        databaseName,
+        workloadGroupName,
+        options
+      },
+      beginDeleteMethodOperationSpec,
+      options);
+  }
+
+  /**
+   * Gets the list of workload groups
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param [options] The optional parameters
+   * @returns Promise<Models.WorkloadGroupsListByDatabaseNextResponse>
+   */
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkloadGroupsListByDatabaseNextResponse>;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkloadGroupListResult>): void;
+  /**
+   * @param nextPageLink The NextLink from the previous successful call to List operation.
+   * @param options The optional parameters
+   * @param callback The callback
+   */
+  listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkloadGroupListResult>): void;
+  listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkloadGroupListResult>, callback?: msRest.ServiceCallback<Models.WorkloadGroupListResult>): Promise<Models.WorkloadGroupsListByDatabaseNextResponse> {
+    return this.client.sendOperationRequest(
+      {
+        nextPageLink,
+        options
+      },
+      listByDatabaseNextOperationSpec,
+      callback) as Promise<Models.WorkloadGroupsListByDatabaseNextResponse>;
+  }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadGroup
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
+  httpMethod: "PUT",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  requestBody: {
+    parameterPath: "parameters",
+    mapper: {
+      ...Mappers.WorkloadGroup,
+      required: true
+    }
+  },
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadGroup
+    },
+    201: {
+      bodyMapper: Mappers.WorkloadGroup
+    },
+    202: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+  httpMethod: "DELETE",
+  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}",
+  urlParameters: [
+    Parameters.resourceGroupName,
+    Parameters.serverName,
+    Parameters.databaseName,
+    Parameters.workloadGroupName,
+    Parameters.subscriptionId
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {},
+    202: {},
+    204: {},
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
+
+const listByDatabaseNextOperationSpec: msRest.OperationSpec = {
+  httpMethod: "GET",
+  baseUrl: "https://management.azure.com",
+  path: "{nextLink}",
+  urlParameters: [
+    Parameters.nextPageLink
+  ],
+  queryParameters: [
+    Parameters.apiVersion2
+  ],
+  headerParameters: [
+    Parameters.acceptLanguage
+  ],
+  responses: {
+    200: {
+      bodyMapper: Mappers.WorkloadGroupListResult
+    },
+    default: {
+      bodyMapper: Mappers.CloudError
+    }
+  },
+  serializer
+};
diff --git a/sdk/sql/arm-sql/src/sqlManagementClient.ts b/sdk/sql/arm-sql/src/sqlManagementClient.ts
index 0f4a0b9b9b6f..37929512d633 100644
--- a/sdk/sql/arm-sql/src/sqlManagementClient.ts
+++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -18,45 +17,43 @@ import { SqlManagementClientContext } from "./sqlManagementClientContext";
 class SqlManagementClient extends SqlManagementClientContext {
   // Operation groups
   recoverableDatabases: operations.RecoverableDatabases;
-  restorableDroppedDatabases: operations.RestorableDroppedDatabases;
-  servers: operations.Servers;
   serverConnectionPolicies: operations.ServerConnectionPolicies;
-  databaseThreatDetectionPolicies: operations.DatabaseThreatDetectionPolicies;
   dataMaskingPolicies: operations.DataMaskingPolicies;
   dataMaskingRules: operations.DataMaskingRules;
-  firewallRules: operations.FirewallRules;
   geoBackupPolicies: operations.GeoBackupPolicies;
   databases: operations.Databases;
   elasticPools: operations.ElasticPools;
-  recommendedElasticPools: operations.RecommendedElasticPools;
   replicationLinks: operations.ReplicationLinks;
-  serverAzureADAdministrators: operations.ServerAzureADAdministrators;
   serverCommunicationLinks: operations.ServerCommunicationLinks;
   serviceObjectives: operations.ServiceObjectives;
   elasticPoolActivities: operations.ElasticPoolActivities;
   elasticPoolDatabaseActivities: operations.ElasticPoolDatabaseActivities;
-  serviceTierAdvisors: operations.ServiceTierAdvisors;
   transparentDataEncryptions: operations.TransparentDataEncryptions;
   transparentDataEncryptionActivities: operations.TransparentDataEncryptionActivities;
   serverUsages: operations.ServerUsages;
-  databaseUsages: operations.DatabaseUsages;
-  databaseAutomaticTuning: operations.DatabaseAutomaticTuningOperations;
-  encryptionProtectors: operations.EncryptionProtectors;
-  failoverGroups: operations.FailoverGroups;
-  operations: operations.Operations;
-  serverKeys: operations.ServerKeys;
-  syncAgents: operations.SyncAgents;
-  syncGroups: operations.SyncGroups;
-  syncMembers: operations.SyncMembers;
-  subscriptionUsages: operations.SubscriptionUsages;
-  virtualClusters: operations.VirtualClusters;
-  virtualNetworkRules: operations.VirtualNetworkRules;
+  backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies;
   extendedDatabaseBlobAuditingPolicies: operations.ExtendedDatabaseBlobAuditingPolicies;
   extendedServerBlobAuditingPolicies: operations.ExtendedServerBlobAuditingPolicies;
   serverBlobAuditingPolicies: operations.ServerBlobAuditingPolicies;
   databaseBlobAuditingPolicies: operations.DatabaseBlobAuditingPolicies;
+  databaseAdvisors: operations.DatabaseAdvisors;
+  databaseAutomaticTuning: operations.DatabaseAutomaticTuningOperations;
+  databaseColumns: operations.DatabaseColumns;
+  databaseRecommendedActions: operations.DatabaseRecommendedActions;
+  databaseSchemas: operations.DatabaseSchemas;
+  databaseSecurityAlertPolicies: operations.DatabaseSecurityAlertPolicies;
+  databaseTables: operations.DatabaseTables;
   databaseVulnerabilityAssessmentRuleBaselines: operations.DatabaseVulnerabilityAssessmentRuleBaselines;
   databaseVulnerabilityAssessments: operations.DatabaseVulnerabilityAssessments;
+  databaseVulnerabilityAssessmentScans: operations.DatabaseVulnerabilityAssessmentScans;
+  dataWarehouseUserActivities: operations.DataWarehouseUserActivitiesOperations;
+  deletedServers: operations.DeletedServers;
+  elasticPoolOperations: operations.ElasticPoolOperations;
+  encryptionProtectors: operations.EncryptionProtectors;
+  failoverGroups: operations.FailoverGroups;
+  firewallRules: operations.FirewallRules;
+  instanceFailoverGroups: operations.InstanceFailoverGroups;
+  instancePools: operations.InstancePools;
   jobAgents: operations.JobAgents;
   jobCredentials: operations.JobCredentials;
   jobExecutions: operations.JobExecutions;
@@ -66,43 +63,79 @@ class SqlManagementClient extends SqlManagementClientContext {
   jobTargetExecutions: operations.JobTargetExecutions;
   jobTargetGroups: operations.JobTargetGroups;
   jobVersions: operations.JobVersions;
+  capabilities: operations.Capabilities;
   longTermRetentionBackups: operations.LongTermRetentionBackups;
-  backupLongTermRetentionPolicies: operations.BackupLongTermRetentionPolicies;
+  longTermRetentionManagedInstanceBackups: operations.LongTermRetentionManagedInstanceBackups;
+  longTermRetentionPolicies: operations.LongTermRetentionPolicies;
+  maintenanceWindowOptions: operations.MaintenanceWindowOptionsOperations;
+  maintenanceWindows: operations.MaintenanceWindowsOperations;
   managedBackupShortTermRetentionPolicies: operations.ManagedBackupShortTermRetentionPolicies;
-  managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies: operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies;
-  serverAutomaticTuning: operations.ServerAutomaticTuningOperations;
-  serverDnsAliases: operations.ServerDnsAliases;
-  serverSecurityAlertPolicies: operations.ServerSecurityAlertPolicies;
-  restorableDroppedManagedDatabases: operations.RestorableDroppedManagedDatabases;
-  restorePoints: operations.RestorePoints;
+  managedDatabaseColumns: operations.ManagedDatabaseColumns;
+  managedDatabaseQueries: operations.ManagedDatabaseQueries;
+  managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails;
+  managedDatabases: operations.ManagedDatabases;
+  managedDatabaseSchemas: operations.ManagedDatabaseSchemas;
   managedDatabaseSecurityAlertPolicies: operations.ManagedDatabaseSecurityAlertPolicies;
-  managedServerSecurityAlertPolicies: operations.ManagedServerSecurityAlertPolicies;
-  sensitivityLabels: operations.SensitivityLabels;
-  managedInstanceAdministrators: operations.ManagedInstanceAdministrators;
-  databaseOperations: operations.DatabaseOperations;
-  elasticPoolOperations: operations.ElasticPoolOperations;
-  capabilities: operations.Capabilities;
-  databaseVulnerabilityAssessmentScans: operations.DatabaseVulnerabilityAssessmentScans;
+  managedDatabaseSecurityEvents: operations.ManagedDatabaseSecurityEvents;
+  managedDatabaseSensitivityLabels: operations.ManagedDatabaseSensitivityLabels;
+  managedDatabaseRecommendedSensitivityLabels: operations.ManagedDatabaseRecommendedSensitivityLabels;
+  managedDatabaseTables: operations.ManagedDatabaseTables;
+  managedDatabaseTransparentDataEncryption: operations.ManagedDatabaseTransparentDataEncryption;
   managedDatabaseVulnerabilityAssessmentRuleBaselines: operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselines;
-  managedDatabaseVulnerabilityAssessmentScans: operations.ManagedDatabaseVulnerabilityAssessmentScans;
   managedDatabaseVulnerabilityAssessments: operations.ManagedDatabaseVulnerabilityAssessments;
-  instanceFailoverGroups: operations.InstanceFailoverGroups;
-  backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies;
-  tdeCertificates: operations.TdeCertificates;
-  managedInstanceTdeCertificates: operations.ManagedInstanceTdeCertificates;
-  managedInstanceKeys: operations.ManagedInstanceKeys;
+  managedDatabaseVulnerabilityAssessmentScans: operations.ManagedDatabaseVulnerabilityAssessmentScans;
+  managedInstanceAdministrators: operations.ManagedInstanceAdministrators;
+  managedInstanceAzureADOnlyAuthentications: operations.ManagedInstanceAzureADOnlyAuthentications;
   managedInstanceEncryptionProtectors: operations.ManagedInstanceEncryptionProtectors;
-  recoverableManagedDatabases: operations.RecoverableManagedDatabases;
-  managedInstanceVulnerabilityAssessments: operations.ManagedInstanceVulnerabilityAssessments;
-  serverVulnerabilityAssessments: operations.ServerVulnerabilityAssessments;
-  managedDatabaseSensitivityLabels: operations.ManagedDatabaseSensitivityLabels;
-  instancePools: operations.InstancePools;
-  usages: operations.Usages;
+  managedInstanceKeys: operations.ManagedInstanceKeys;
+  managedInstanceLongTermRetentionPolicies: operations.ManagedInstanceLongTermRetentionPolicies;
+  managedInstanceOperations: operations.ManagedInstanceOperations;
+  managedInstancePrivateEndpointConnections: operations.ManagedInstancePrivateEndpointConnections;
+  managedInstancePrivateLinkResources: operations.ManagedInstancePrivateLinkResources;
   managedInstances: operations.ManagedInstances;
-  managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails;
-  managedDatabases: operations.ManagedDatabases;
+  managedInstanceTdeCertificates: operations.ManagedInstanceTdeCertificates;
+  managedInstanceVulnerabilityAssessments: operations.ManagedInstanceVulnerabilityAssessments;
+  managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies: operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies;
+  managedServerSecurityAlertPolicies: operations.ManagedServerSecurityAlertPolicies;
+  operations: operations.Operations;
+  operationsHealth: operations.OperationsHealthOperations;
   privateEndpointConnections: operations.PrivateEndpointConnections;
   privateLinkResources: operations.PrivateLinkResources;
+  recoverableManagedDatabases: operations.RecoverableManagedDatabases;
+  restorePoints: operations.RestorePoints;
+  sensitivityLabels: operations.SensitivityLabels;
+  recommendedSensitivityLabels: operations.RecommendedSensitivityLabels;
+  serverAdvisors: operations.ServerAdvisors;
+  serverAutomaticTuning: operations.ServerAutomaticTuningOperations;
+  serverAzureADAdministrators: operations.ServerAzureADAdministrators;
+  serverAzureADOnlyAuthentications: operations.ServerAzureADOnlyAuthentications;
+  serverDevOpsAuditSettings: operations.ServerDevOpsAuditSettings;
+  serverDnsAliases: operations.ServerDnsAliases;
+  serverKeys: operations.ServerKeys;
+  serverOperations: operations.ServerOperations;
+  servers: operations.Servers;
+  serverSecurityAlertPolicies: operations.ServerSecurityAlertPolicies;
+  serverTrustGroups: operations.ServerTrustGroups;
+  serverVulnerabilityAssessments: operations.ServerVulnerabilityAssessments;
+  sqlAgent: operations.SqlAgent;
+  subscriptionUsages: operations.SubscriptionUsages;
+  syncAgents: operations.SyncAgents;
+  syncGroups: operations.SyncGroups;
+  syncMembers: operations.SyncMembers;
+  tdeCertificates: operations.TdeCertificates;
+  timeZones: operations.TimeZones;
+  virtualClusters: operations.VirtualClusters;
+  virtualNetworkRules: operations.VirtualNetworkRules;
+  workloadClassifiers: operations.WorkloadClassifiers;
+  workloadGroups: operations.WorkloadGroups;
+  databaseExtensions: operations.DatabaseExtensionsOperations;
+  databaseOperations: operations.DatabaseOperations;
+  databaseUsages: operations.DatabaseUsages;
+  ledgerDigestUploads: operations.LedgerDigestUploadsOperations;
+  outboundFirewallRules: operations.OutboundFirewallRules;
+  restorableDroppedDatabases: operations.RestorableDroppedDatabases;
+  restorableDroppedManagedDatabases: operations.RestorableDroppedManagedDatabases;
+  usages: operations.Usages;
 
   /**
    * Initializes a new instance of the SqlManagementClient class.
@@ -113,45 +146,43 @@ class SqlManagementClient extends SqlManagementClientContext {
   constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SqlManagementClientOptions) {
     super(credentials, subscriptionId, options);
     this.recoverableDatabases = new operations.RecoverableDatabases(this);
-    this.restorableDroppedDatabases = new operations.RestorableDroppedDatabases(this);
-    this.servers = new operations.Servers(this);
     this.serverConnectionPolicies = new operations.ServerConnectionPolicies(this);
-    this.databaseThreatDetectionPolicies = new operations.DatabaseThreatDetectionPolicies(this);
     this.dataMaskingPolicies = new operations.DataMaskingPolicies(this);
     this.dataMaskingRules = new operations.DataMaskingRules(this);
-    this.firewallRules = new operations.FirewallRules(this);
     this.geoBackupPolicies = new operations.GeoBackupPolicies(this);
     this.databases = new operations.Databases(this);
     this.elasticPools = new operations.ElasticPools(this);
-    this.recommendedElasticPools = new operations.RecommendedElasticPools(this);
     this.replicationLinks = new operations.ReplicationLinks(this);
-    this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this);
     this.serverCommunicationLinks = new operations.ServerCommunicationLinks(this);
     this.serviceObjectives = new operations.ServiceObjectives(this);
     this.elasticPoolActivities = new operations.ElasticPoolActivities(this);
     this.elasticPoolDatabaseActivities = new operations.ElasticPoolDatabaseActivities(this);
-    this.serviceTierAdvisors = new operations.ServiceTierAdvisors(this);
     this.transparentDataEncryptions = new operations.TransparentDataEncryptions(this);
     this.transparentDataEncryptionActivities = new operations.TransparentDataEncryptionActivities(this);
     this.serverUsages = new operations.ServerUsages(this);
-    this.databaseUsages = new operations.DatabaseUsages(this);
-    this.databaseAutomaticTuning = new operations.DatabaseAutomaticTuningOperations(this);
-    this.encryptionProtectors = new operations.EncryptionProtectors(this);
-    this.failoverGroups = new operations.FailoverGroups(this);
-    this.operations = new operations.Operations(this);
-    this.serverKeys = new operations.ServerKeys(this);
-    this.syncAgents = new operations.SyncAgents(this);
-    this.syncGroups = new operations.SyncGroups(this);
-    this.syncMembers = new operations.SyncMembers(this);
-    this.subscriptionUsages = new operations.SubscriptionUsages(this);
-    this.virtualClusters = new operations.VirtualClusters(this);
-    this.virtualNetworkRules = new operations.VirtualNetworkRules(this);
+    this.backupShortTermRetentionPolicies = new operations.BackupShortTermRetentionPolicies(this);
     this.extendedDatabaseBlobAuditingPolicies = new operations.ExtendedDatabaseBlobAuditingPolicies(this);
     this.extendedServerBlobAuditingPolicies = new operations.ExtendedServerBlobAuditingPolicies(this);
     this.serverBlobAuditingPolicies = new operations.ServerBlobAuditingPolicies(this);
     this.databaseBlobAuditingPolicies = new operations.DatabaseBlobAuditingPolicies(this);
+    this.databaseAdvisors = new operations.DatabaseAdvisors(this);
+    this.databaseAutomaticTuning = new operations.DatabaseAutomaticTuningOperations(this);
+    this.databaseColumns = new operations.DatabaseColumns(this);
+    this.databaseRecommendedActions = new operations.DatabaseRecommendedActions(this);
+    this.databaseSchemas = new operations.DatabaseSchemas(this);
+    this.databaseSecurityAlertPolicies = new operations.DatabaseSecurityAlertPolicies(this);
+    this.databaseTables = new operations.DatabaseTables(this);
     this.databaseVulnerabilityAssessmentRuleBaselines = new operations.DatabaseVulnerabilityAssessmentRuleBaselines(this);
     this.databaseVulnerabilityAssessments = new operations.DatabaseVulnerabilityAssessments(this);
+    this.databaseVulnerabilityAssessmentScans = new operations.DatabaseVulnerabilityAssessmentScans(this);
+    this.dataWarehouseUserActivities = new operations.DataWarehouseUserActivitiesOperations(this);
+    this.deletedServers = new operations.DeletedServers(this);
+    this.elasticPoolOperations = new operations.ElasticPoolOperations(this);
+    this.encryptionProtectors = new operations.EncryptionProtectors(this);
+    this.failoverGroups = new operations.FailoverGroups(this);
+    this.firewallRules = new operations.FirewallRules(this);
+    this.instanceFailoverGroups = new operations.InstanceFailoverGroups(this);
+    this.instancePools = new operations.InstancePools(this);
     this.jobAgents = new operations.JobAgents(this);
     this.jobCredentials = new operations.JobCredentials(this);
     this.jobExecutions = new operations.JobExecutions(this);
@@ -161,43 +192,79 @@ class SqlManagementClient extends SqlManagementClientContext {
     this.jobTargetExecutions = new operations.JobTargetExecutions(this);
     this.jobTargetGroups = new operations.JobTargetGroups(this);
     this.jobVersions = new operations.JobVersions(this);
+    this.capabilities = new operations.Capabilities(this);
     this.longTermRetentionBackups = new operations.LongTermRetentionBackups(this);
-    this.backupLongTermRetentionPolicies = new operations.BackupLongTermRetentionPolicies(this);
+    this.longTermRetentionManagedInstanceBackups = new operations.LongTermRetentionManagedInstanceBackups(this);
+    this.longTermRetentionPolicies = new operations.LongTermRetentionPolicies(this);
+    this.maintenanceWindowOptions = new operations.MaintenanceWindowOptionsOperations(this);
+    this.maintenanceWindows = new operations.MaintenanceWindowsOperations(this);
     this.managedBackupShortTermRetentionPolicies = new operations.ManagedBackupShortTermRetentionPolicies(this);
-    this.managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies = new operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies(this);
-    this.serverAutomaticTuning = new operations.ServerAutomaticTuningOperations(this);
-    this.serverDnsAliases = new operations.ServerDnsAliases(this);
-    this.serverSecurityAlertPolicies = new operations.ServerSecurityAlertPolicies(this);
-    this.restorableDroppedManagedDatabases = new operations.RestorableDroppedManagedDatabases(this);
-    this.restorePoints = new operations.RestorePoints(this);
+    this.managedDatabaseColumns = new operations.ManagedDatabaseColumns(this);
+    this.managedDatabaseQueries = new operations.ManagedDatabaseQueries(this);
+    this.managedDatabaseRestoreDetails = new operations.ManagedDatabaseRestoreDetails(this);
+    this.managedDatabases = new operations.ManagedDatabases(this);
+    this.managedDatabaseSchemas = new operations.ManagedDatabaseSchemas(this);
     this.managedDatabaseSecurityAlertPolicies = new operations.ManagedDatabaseSecurityAlertPolicies(this);
-    this.managedServerSecurityAlertPolicies = new operations.ManagedServerSecurityAlertPolicies(this);
-    this.sensitivityLabels = new operations.SensitivityLabels(this);
-    this.managedInstanceAdministrators = new operations.ManagedInstanceAdministrators(this);
-    this.databaseOperations = new operations.DatabaseOperations(this);
-    this.elasticPoolOperations = new operations.ElasticPoolOperations(this);
-    this.capabilities = new operations.Capabilities(this);
-    this.databaseVulnerabilityAssessmentScans = new operations.DatabaseVulnerabilityAssessmentScans(this);
+    this.managedDatabaseSecurityEvents = new operations.ManagedDatabaseSecurityEvents(this);
+    this.managedDatabaseSensitivityLabels = new operations.ManagedDatabaseSensitivityLabels(this);
+    this.managedDatabaseRecommendedSensitivityLabels = new operations.ManagedDatabaseRecommendedSensitivityLabels(this);
+    this.managedDatabaseTables = new operations.ManagedDatabaseTables(this);
+    this.managedDatabaseTransparentDataEncryption = new operations.ManagedDatabaseTransparentDataEncryption(this);
     this.managedDatabaseVulnerabilityAssessmentRuleBaselines = new operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselines(this);
-    this.managedDatabaseVulnerabilityAssessmentScans = new operations.ManagedDatabaseVulnerabilityAssessmentScans(this);
     this.managedDatabaseVulnerabilityAssessments = new operations.ManagedDatabaseVulnerabilityAssessments(this);
-    this.instanceFailoverGroups = new operations.InstanceFailoverGroups(this);
-    this.backupShortTermRetentionPolicies = new operations.BackupShortTermRetentionPolicies(this);
-    this.tdeCertificates = new operations.TdeCertificates(this);
-    this.managedInstanceTdeCertificates = new operations.ManagedInstanceTdeCertificates(this);
-    this.managedInstanceKeys = new operations.ManagedInstanceKeys(this);
+    this.managedDatabaseVulnerabilityAssessmentScans = new operations.ManagedDatabaseVulnerabilityAssessmentScans(this);
+    this.managedInstanceAdministrators = new operations.ManagedInstanceAdministrators(this);
+    this.managedInstanceAzureADOnlyAuthentications = new operations.ManagedInstanceAzureADOnlyAuthentications(this);
     this.managedInstanceEncryptionProtectors = new operations.ManagedInstanceEncryptionProtectors(this);
-    this.recoverableManagedDatabases = new operations.RecoverableManagedDatabases(this);
-    this.managedInstanceVulnerabilityAssessments = new operations.ManagedInstanceVulnerabilityAssessments(this);
-    this.serverVulnerabilityAssessments = new operations.ServerVulnerabilityAssessments(this);
-    this.managedDatabaseSensitivityLabels = new operations.ManagedDatabaseSensitivityLabels(this);
-    this.instancePools = new operations.InstancePools(this);
-    this.usages = new operations.Usages(this);
+    this.managedInstanceKeys = new operations.ManagedInstanceKeys(this);
+    this.managedInstanceLongTermRetentionPolicies = new operations.ManagedInstanceLongTermRetentionPolicies(this);
+    this.managedInstanceOperations = new operations.ManagedInstanceOperations(this);
+    this.managedInstancePrivateEndpointConnections = new operations.ManagedInstancePrivateEndpointConnections(this);
+    this.managedInstancePrivateLinkResources = new operations.ManagedInstancePrivateLinkResources(this);
     this.managedInstances = new operations.ManagedInstances(this);
-    this.managedDatabaseRestoreDetails = new operations.ManagedDatabaseRestoreDetails(this);
-    this.managedDatabases = new operations.ManagedDatabases(this);
+    this.managedInstanceTdeCertificates = new operations.ManagedInstanceTdeCertificates(this);
+    this.managedInstanceVulnerabilityAssessments = new operations.ManagedInstanceVulnerabilityAssessments(this);
+    this.managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies = new operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies(this);
+    this.managedServerSecurityAlertPolicies = new operations.ManagedServerSecurityAlertPolicies(this);
+    this.operations = new operations.Operations(this);
+    this.operationsHealth = new operations.OperationsHealthOperations(this);
     this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
     this.privateLinkResources = new operations.PrivateLinkResources(this);
+    this.recoverableManagedDatabases = new operations.RecoverableManagedDatabases(this);
+    this.restorePoints = new operations.RestorePoints(this);
+    this.sensitivityLabels = new operations.SensitivityLabels(this);
+    this.recommendedSensitivityLabels = new operations.RecommendedSensitivityLabels(this);
+    this.serverAdvisors = new operations.ServerAdvisors(this);
+    this.serverAutomaticTuning = new operations.ServerAutomaticTuningOperations(this);
+    this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this);
+    this.serverAzureADOnlyAuthentications = new operations.ServerAzureADOnlyAuthentications(this);
+    this.serverDevOpsAuditSettings = new operations.ServerDevOpsAuditSettings(this);
+    this.serverDnsAliases = new operations.ServerDnsAliases(this);
+    this.serverKeys = new operations.ServerKeys(this);
+    this.serverOperations = new operations.ServerOperations(this);
+    this.servers = new operations.Servers(this);
+    this.serverSecurityAlertPolicies = new operations.ServerSecurityAlertPolicies(this);
+    this.serverTrustGroups = new operations.ServerTrustGroups(this);
+    this.serverVulnerabilityAssessments = new operations.ServerVulnerabilityAssessments(this);
+    this.sqlAgent = new operations.SqlAgent(this);
+    this.subscriptionUsages = new operations.SubscriptionUsages(this);
+    this.syncAgents = new operations.SyncAgents(this);
+    this.syncGroups = new operations.SyncGroups(this);
+    this.syncMembers = new operations.SyncMembers(this);
+    this.tdeCertificates = new operations.TdeCertificates(this);
+    this.timeZones = new operations.TimeZones(this);
+    this.virtualClusters = new operations.VirtualClusters(this);
+    this.virtualNetworkRules = new operations.VirtualNetworkRules(this);
+    this.workloadClassifiers = new operations.WorkloadClassifiers(this);
+    this.workloadGroups = new operations.WorkloadGroups(this);
+    this.databaseExtensions = new operations.DatabaseExtensionsOperations(this);
+    this.databaseOperations = new operations.DatabaseOperations(this);
+    this.databaseUsages = new operations.DatabaseUsages(this);
+    this.ledgerDigestUploads = new operations.LedgerDigestUploadsOperations(this);
+    this.outboundFirewallRules = new operations.OutboundFirewallRules(this);
+    this.restorableDroppedDatabases = new operations.RestorableDroppedDatabases(this);
+    this.restorableDroppedManagedDatabases = new operations.RestorableDroppedManagedDatabases(this);
+    this.usages = new operations.Usages(this);
   }
 }
 
diff --git a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts
index f189156ca9d6..fa89aaf95632 100644
--- a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts
+++ b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts
@@ -1,7 +1,6 @@
 /*
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
  *
  * Code generated by Microsoft (R) AutoRest Code Generator.
  * Changes may cause incorrect behavior and will be lost if the code is
@@ -57,23 +56,4 @@ export class SqlManagementClientContext extends msRestAzure.AzureServiceClient {
       this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
     }
   }
-
-  /**
-   * NOTE: This is an override added manually to workaround bug Azure/ms-rest-js/issues/395
-   * When this library is regenerated, this override needs to be brought back
-   * This override adds the header "Accept: application/json" to every request
-   */
-  sendRequest(options: msRest.RequestPrepareOptions | msRest.WebResourceLike) {
-    if(!options.headers) {
-      options.headers = {accept: "application/json"};
-    } else {
-      if (options.headers.set) {
-        options.headers.set("accept", "application/json");
-      } else {
-        (options.headers as {[key: string]: any})["accept"] = "application/json"
-      }
-    }
-
-    return super.sendRequest(options);
-  }
-}
\ No newline at end of file
+}