From 3bb648fb1f1f59f751bded6429fe38f3a7f5172a Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 14 Aug 2020 10:35:27 +0000 Subject: [PATCH] Update from master --- sdk/sql/arm-sql/LICENSE.txt | 2 +- sdk/sql/arm-sql/package.json | 2 +- .../backupLongTermRetentionPoliciesMappers.ts | 14 +- ...backupShortTermRetentionPoliciesMappers.ts | 14 +- .../arm-sql/src/models/capabilitiesMappers.ts | 9 +- .../src/models/dataMaskingPoliciesMappers.ts | 14 +- .../src/models/dataMaskingRulesMappers.ts | 14 +- ...atabaseAutomaticTuningOperationsMappers.ts | 14 +- .../databaseBlobAuditingPoliciesMappers.ts | 14 +- .../src/models/databaseOperationsMappers.ts | 14 +- .../databaseThreatDetectionPoliciesMappers.ts | 14 +- ...erabilityAssessmentRuleBaselinesMappers.ts | 14 +- ...baseVulnerabilityAssessmentScansMappers.ts | 14 +- ...databaseVulnerabilityAssessmentsMappers.ts | 14 +- .../arm-sql/src/models/databasesMappers.ts | 14 +- .../models/elasticPoolActivitiesMappers.ts | 14 +- .../elasticPoolDatabaseActivitiesMappers.ts | 14 +- .../models/elasticPoolOperationsMappers.ts | 14 +- .../arm-sql/src/models/elasticPoolsMappers.ts | 14 +- .../src/models/encryptionProtectorsMappers.ts | 14 +- ...ndedDatabaseBlobAuditingPoliciesMappers.ts | 15 +- ...tendedServerBlobAuditingPoliciesMappers.ts | 15 +- .../src/models/failoverGroupsMappers.ts | 14 +- .../src/models/firewallRulesMappers.ts | 14 +- .../src/models/geoBackupPoliciesMappers.ts | 14 +- sdk/sql/arm-sql/src/models/index.ts | 10606 +++++++++------- .../models/instanceFailoverGroupsMappers.ts | 14 +- .../src/models/instancePoolsMappers.ts | 14 +- .../arm-sql/src/models/jobAgentsMappers.ts | 14 +- .../src/models/jobCredentialsMappers.ts | 14 +- .../src/models/jobExecutionsMappers.ts | 14 +- .../src/models/jobStepExecutionsMappers.ts | 14 +- sdk/sql/arm-sql/src/models/jobStepsMappers.ts | 14 +- .../src/models/jobTargetExecutionsMappers.ts | 14 +- .../src/models/jobTargetGroupsMappers.ts | 14 +- .../arm-sql/src/models/jobVersionsMappers.ts | 14 +- sdk/sql/arm-sql/src/models/jobsMappers.ts | 14 +- .../models/longTermRetentionBackupsMappers.ts | 14 +- ...mRetentionManagedInstanceBackupsMappers.ts | 135 + ...BackupShortTermRetentionPoliciesMappers.ts | 14 +- .../managedDatabaseRestoreDetailsMappers.ts | 14 +- ...gedDatabaseSecurityAlertPoliciesMappers.ts | 14 +- ...managedDatabaseSensitivityLabelsMappers.ts | 14 +- ...erabilityAssessmentRuleBaselinesMappers.ts | 14 +- ...baseVulnerabilityAssessmentScansMappers.ts | 14 +- ...DatabaseVulnerabilityAssessmentsMappers.ts | 14 +- .../src/models/managedDatabasesMappers.ts | 14 +- .../managedInstanceAdministratorsMappers.ts | 14 +- ...agedInstanceEncryptionProtectorsMappers.ts | 14 +- .../src/models/managedInstanceKeysMappers.ts | 14 +- ...nstanceLongTermRetentionPoliciesMappers.ts | 135 + .../managedInstanceOperationsMappers.ts | 135 + .../managedInstanceTdeCertificatesMappers.ts | 14 +- ...InstanceVulnerabilityAssessmentsMappers.ts | 14 +- .../src/models/managedInstancesMappers.ts | 14 +- ...BackupShortTermRetentionPoliciesMappers.ts | 14 +- ...nagedServerSecurityAlertPoliciesMappers.ts | 14 +- sdk/sql/arm-sql/src/models/mappers.ts | 7499 ++++++----- sdk/sql/arm-sql/src/models/parameters.ts | 121 +- .../privateEndpointConnectionsMappers.ts | 14 +- .../src/models/privateLinkResourcesMappers.ts | 14 +- .../models/recommendedElasticPoolsMappers.ts | 14 +- .../src/models/recoverableDatabasesMappers.ts | 14 +- .../recoverableManagedDatabasesMappers.ts | 14 +- .../src/models/replicationLinksMappers.ts | 15 +- .../restorableDroppedDatabasesMappers.ts | 14 +- ...estorableDroppedManagedDatabasesMappers.ts | 14 +- .../src/models/restorePointsMappers.ts | 14 +- .../src/models/sensitivityLabelsMappers.ts | 14 +- .../serverAutomaticTuningOperationsMappers.ts | 14 +- .../serverAzureADAdministratorsMappers.ts | 16 +- ...serverAzureADOnlyAuthenticationsMappers.ts | 135 + .../serverBlobAuditingPoliciesMappers.ts | 14 +- .../models/serverCommunicationLinksMappers.ts | 14 +- .../models/serverConnectionPoliciesMappers.ts | 14 +- .../src/models/serverDnsAliasesMappers.ts | 14 +- .../arm-sql/src/models/serverKeysMappers.ts | 14 +- .../serverSecurityAlertPoliciesMappers.ts | 14 +- .../serverVulnerabilityAssessmentsMappers.ts | 14 +- sdk/sql/arm-sql/src/models/serversMappers.ts | 14 +- .../src/models/serviceObjectivesMappers.ts | 14 +- .../src/models/serviceTierAdvisorsMappers.ts | 14 +- .../src/models/subscriptionUsagesMappers.ts | 14 +- .../arm-sql/src/models/syncAgentsMappers.ts | 14 +- .../arm-sql/src/models/syncGroupsMappers.ts | 14 +- .../arm-sql/src/models/syncMembersMappers.ts | 14 +- .../src/models/tdeCertificatesMappers.ts | 14 +- ...nsparentDataEncryptionActivitiesMappers.ts | 14 +- .../transparentDataEncryptionsMappers.ts | 14 +- .../src/models/virtualClustersMappers.ts | 14 +- .../src/models/virtualNetworkRulesMappers.ts | 14 +- .../src/models/workloadClassifiersMappers.ts | 135 + .../src/models/workloadGroupsMappers.ts | 135 + .../backupLongTermRetentionPolicies.ts | 6 +- .../backupShortTermRetentionPolicies.ts | 16 +- .../src/operations/dataMaskingPolicies.ts | 4 +- .../src/operations/dataMaskingRules.ts | 4 +- .../databaseAutomaticTuningOperations.ts | 8 +- .../databaseBlobAuditingPolicies.ts | 6 +- .../src/operations/databaseOperations.ts | 8 +- .../databaseThreatDetectionPolicies.ts | 4 +- .../arm-sql/src/operations/databaseUsages.ts | 2 +- ...aseVulnerabilityAssessmentRuleBaselines.ts | 6 +- .../databaseVulnerabilityAssessmentScans.ts | 16 +- .../databaseVulnerabilityAssessments.ts | 8 +- sdk/sql/arm-sql/src/operations/databases.ts | 54 +- .../src/operations/elasticPoolActivities.ts | 2 +- .../elasticPoolDatabaseActivities.ts | 2 +- .../src/operations/elasticPoolOperations.ts | 8 +- .../arm-sql/src/operations/elasticPools.ts | 28 +- .../src/operations/encryptionProtectors.ts | 16 +- .../extendedDatabaseBlobAuditingPolicies.ts | 118 +- .../extendedServerBlobAuditingPolicies.ts | 113 +- .../arm-sql/src/operations/failoverGroups.ts | 28 +- .../arm-sql/src/operations/firewallRules.ts | 8 +- .../src/operations/geoBackupPolicies.ts | 6 +- sdk/sql/arm-sql/src/operations/index.ts | 22 +- .../src/operations/instanceFailoverGroups.ts | 24 +- .../arm-sql/src/operations/instancePools.ts | 22 +- sdk/sql/arm-sql/src/operations/jobAgents.ts | 10 +- .../arm-sql/src/operations/jobCredentials.ts | 8 +- .../arm-sql/src/operations/jobExecutions.ts | 12 +- .../src/operations/jobStepExecutions.ts | 4 +- sdk/sql/arm-sql/src/operations/jobSteps.ts | 12 +- .../src/operations/jobTargetExecutions.ts | 6 +- .../arm-sql/src/operations/jobTargetGroups.ts | 8 +- sdk/sql/arm-sql/src/operations/jobVersions.ts | 4 +- sdk/sql/arm-sql/src/operations/jobs.ts | 8 +- .../operations/longTermRetentionBackups.ts | 10 +- ...longTermRetentionManagedInstanceBackups.ts | 981 ++ ...managedBackupShortTermRetentionPolicies.ts | 8 +- .../managedDatabaseRestoreDetails.ts | 13 +- .../managedDatabaseSecurityAlertPolicies.ts | 6 +- .../managedDatabaseSensitivityLabels.ts | 28 +- ...aseVulnerabilityAssessmentRuleBaselines.ts | 12 +- ...gedDatabaseVulnerabilityAssessmentScans.ts | 16 +- ...managedDatabaseVulnerabilityAssessments.ts | 16 +- .../src/operations/managedDatabases.ts | 172 +- .../managedInstanceAdministrators.ts | 14 +- .../managedInstanceEncryptionProtectors.ts | 16 +- .../src/operations/managedInstanceKeys.ts | 16 +- ...anagedInstanceLongTermRetentionPolicies.ts | 284 + .../operations/managedInstanceOperations.ts | 267 + .../managedInstanceTdeCertificates.ts | 4 +- ...managedInstanceVulnerabilityAssessments.ts | 16 +- .../src/operations/managedInstances.ts | 197 +- ...atabaseBackupShortTermRetentionPolicies.ts | 8 +- .../managedServerSecurityAlertPolicies.ts | 6 +- sdk/sql/arm-sql/src/operations/operations.ts | 2 +- .../operations/privateEndpointConnections.ts | 16 +- .../src/operations/privateLinkResources.ts | 8 +- .../src/operations/recommendedElasticPools.ts | 6 +- .../src/operations/recoverableDatabases.ts | 4 +- .../operations/recoverableManagedDatabases.ts | 8 +- .../src/operations/replicationLinks.ts | 84 +- .../operations/restorableDroppedDatabases.ts | 4 +- .../restorableDroppedManagedDatabases.ts | 4 +- .../arm-sql/src/operations/restorePoints.ts | 8 +- .../src/operations/sensitivityLabels.ts | 14 +- .../serverAutomaticTuningOperations.ts | 4 +- .../operations/serverAzureADAdministrators.ts | 165 +- .../serverAzureADOnlyAuthentications.ts | 335 + .../operations/serverBlobAuditingPolicies.ts | 6 +- .../operations/serverCommunicationLinks.ts | 8 +- .../operations/serverConnectionPolicies.ts | 4 +- .../src/operations/serverDnsAliases.ts | 10 +- sdk/sql/arm-sql/src/operations/serverKeys.ts | 16 +- .../operations/serverSecurityAlertPolicies.ts | 6 +- .../arm-sql/src/operations/serverUsages.ts | 2 +- .../serverVulnerabilityAssessments.ts | 16 +- sdk/sql/arm-sql/src/operations/servers.ts | 206 +- .../src/operations/serviceObjectives.ts | 4 +- .../src/operations/serviceTierAdvisors.ts | 4 +- .../src/operations/subscriptionUsages.ts | 4 +- sdk/sql/arm-sql/src/operations/syncAgents.ts | 24 +- sdk/sql/arm-sql/src/operations/syncGroups.ts | 42 +- sdk/sql/arm-sql/src/operations/syncMembers.ts | 28 +- .../arm-sql/src/operations/tdeCertificates.ts | 4 +- .../transparentDataEncryptionActivities.ts | 2 +- .../operations/transparentDataEncryptions.ts | 4 +- sdk/sql/arm-sql/src/operations/usages.ts | 4 +- .../arm-sql/src/operations/virtualClusters.ts | 18 +- .../src/operations/virtualNetworkRules.ts | 16 +- .../src/operations/workloadClassifiers.ts | 387 + .../arm-sql/src/operations/workloadGroups.ts | 359 + sdk/sql/arm-sql/src/sqlManagementClient.ts | 44 +- .../arm-sql/src/sqlManagementClientContext.ts | 23 +- 187 files changed, 16543 insertions(+), 8249 deletions(-) create mode 100644 sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.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/serverAzureADOnlyAuthenticationsMappers.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/longTermRetentionManagedInstanceBackups.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/serverAzureADOnlyAuthentications.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..ea8fb1516028 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) 2020 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/package.json b/sdk/sql/arm-sql/package.json index 4b8c7505084b..103e1b22e73f 100644 --- a/sdk/sql/arm-sql/package.json +++ b/sdk/sql/arm-sql/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-sql", "author": "Microsoft Corporation", "description": "SqlManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.0.2", + "version": "7.0.1", "dependencies": { "@azure/ms-rest-azure-js": "^2.0.1", "@azure/ms-rest-js": "^2.0.4", diff --git a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts index 7979989c60d3..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts index bf0add5c875c..81b0aad3c509 100644 --- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..3a2fdb8aa34c 100644 --- a/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts @@ -7,12 +7,16 @@ */ export { + AutoPauseDelayTimeRange, CloudError, EditionCapability, ElasticPoolEditionCapability, ElasticPoolPerDatabaseMaxPerformanceLevelCapability, ElasticPoolPerDatabaseMinPerformanceLevelCapability, ElasticPoolPerformanceLevelCapability, + InstancePoolEditionCapability, + InstancePoolFamilyCapability, + InstancePoolVcoresCapability, LicenseTypeCapability, LocationCapabilities, LogSizeCapability, @@ -22,8 +26,11 @@ export { 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..ca988eeececf 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..80d1413c1bad 100644 --- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..8d1c63680c4a 100644 --- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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/databaseThreatDetectionPoliciesMappers.ts index 7979989c60d3..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..e1305a1d21ac 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,10 +122,14 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c679fb5aa811 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..3536570750b5 100644 --- a/sdk/sql/arm-sql/src/models/databasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts @@ -69,6 +69,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -83,6 +88,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -104,11 +110,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -127,9 +135,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..d481d1e9ce0d 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..3df1e0e45316 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..4f93cbf571c5 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..78ca94cdec0f 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts @@ -66,6 +66,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -80,6 +85,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -100,11 +106,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -123,9 +131,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c2e32e54af59 100644 --- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..10ceb7b370e6 100644 --- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -31,6 +31,7 @@ export { ElasticPoolPerDatabaseSettings, EncryptionProtector, ExtendedDatabaseBlobAuditingPolicy, + ExtendedDatabaseBlobAuditingPolicyListResult, ExtendedServerBlobAuditingPolicy, FailoverGroup, FailoverGroupReadOnlyEndpoint, @@ -64,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..5864b90198d1 100644 --- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -32,6 +32,7 @@ export { EncryptionProtector, ExtendedDatabaseBlobAuditingPolicy, ExtendedServerBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicyListResult, FailoverGroup, FailoverGroupReadOnlyEndpoint, FailoverGroupReadWriteEndpoint, @@ -64,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..93973e185fc6 100644 --- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts @@ -66,6 +66,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +78,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..23dc59d7e760 100644 --- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..1232b3eded2c 100644 --- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..082c07a64a29 100644 --- a/sdk/sql/arm-sql/src/models/index.ts +++ b/sdk/sql/arm-sql/src/models/index.ts @@ -129,43 +129,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. */ @@ -850,21 +813,13 @@ export interface ReplicationLink extends ProxyResource { } /** - * An server Active Directory Administrator. + * Represents the parameters for Unlink Replication Link request. */ -export interface ServerAzureADAdministrator extends ProxyResource { - /** - * The server administrator login value. - */ - login: string; +export interface UnlinkParameters { /** - * The server administrator Sid (Secure ID). + * Determines whether link will be terminated in a forced or a friendly way. */ - sid: string; - /** - * The server Active Directory Administrator tenant id. - */ - tenantId: string; + forcedTermination?: boolean; } /** @@ -1752,96 +1707,6 @@ export interface ServerKey extends ProxyResource { creationDate?: Date; } -/** - * Azure Active Directory identity configuration for a resource. - */ -export interface ResourceIdentity { - /** - * 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: 'SystemAssigned' - */ - 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; -} - -/** - * An Azure SQL Database server. - */ -export interface Server extends TrackedResource { - /** - * The Azure Active Directory identity of the server. - */ - identity?: ResourceIdentity; - /** - * 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; -} - -/** - * An update request for an Azure SQL Database server. - */ -export interface ServerUpdate { - /** - * 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; - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - /** * An Azure SQL Database sync agent. */ @@ -1931,376 +1796,383 @@ export interface SyncAgentLinkedDatabase extends ProxyResource { } /** - * 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. + * Usage Metric of a Subscription in a Location. */ -export interface SyncFullSchemaTableColumn { +export interface SubscriptionUsage extends ProxyResource { /** - * Data size of the column. + * User-readable name of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataSize?: string; + readonly displayName?: string; /** - * Data type of the column. + * Current value of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataType?: string; + readonly currentValue?: number; /** - * Error id of the column. + * Boundary value of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorId?: string; + readonly limit?: number; /** - * If there is error in the table. + * Unit of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hasError?: boolean; + readonly unit?: string; +} + +/** + * An Azure SQL virtual cluster. + */ +export interface VirtualCluster extends TrackedResource { /** - * If it is the primary key of the table. + * Subnet resource ID for the virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isPrimaryKey?: boolean; + readonly subnetId?: string; /** - * Name of the column. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. */ - readonly name?: string; + family?: string; /** - * Quoted name of the column. + * List of resources in this virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly quotedName?: string; + readonly childResources?: string[]; } /** - * Properties of the table in the database full schema. + * An update request for an Azure SQL Database virtual cluster. */ -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[]; +export interface VirtualClusterUpdate { /** - * Error id of the table. + * Subnet resource ID for the virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorId?: string; + readonly subnetId?: string; /** - * If there is error in the table. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. */ - readonly hasError?: boolean; + family?: string; /** - * Name of the table. + * List of resources in this virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly childResources?: string[]; /** - * Quoted name of the table. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags. */ - readonly quotedName?: string; + tags?: { [propertyName: string]: string }; } /** - * Properties of the database full schema. + * A virtual network rule. */ -export interface SyncFullSchemaProperties { +export interface VirtualNetworkRule extends ProxyResource { /** - * List of tables in the database full schema. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ARM resource id of the virtual network subnet. */ - readonly tables?: SyncFullSchemaTable[]; + virtualNetworkSubnetId: string; /** - * Last update time of the database schema. + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVnetServiceEndpoint?: boolean; + /** + * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', + * 'Deleting', 'Unknown' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUpdateTime?: Date; + readonly state?: VirtualNetworkRuleState; } /** - * Properties of an Azure SQL Database sync group log. + * An extended database blob auditing policy. */ -export interface SyncGroupLogProperties { +export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { /** - * Timestamp of the sync group log. - * **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 timestamp?: Date; + predicateExpression?: string; /** - * 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.** + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - readonly type?: SyncGroupLogType; + state: BlobAuditingPolicyState; /** - * Source of the sync group log. - * **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 source?: string; + storageEndpoint?: string; /** - * Details of the sync group log. - * **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 details?: string; + storageAccountAccessKey?: string; /** - * TracingId of the sync group log. - * **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 tracingId?: string; + retentionDays?: number; /** - * 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. + * 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 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) */ - quotedName?: string; + auditActionsAndGroups?: string[]; /** - * Data size of the column. + * Specifies the blob storage subscription Id. */ - dataSize?: string; + storageAccountSubscriptionId?: string; /** - * Data type of the column. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - dataType?: string; -} - -/** - * Properties of table in sync group schema. - */ -export interface SyncGroupSchemaTable { + isStorageSecondaryKeyInUse?: boolean; /** - * List of columns in sync group schema. + * 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) */ - columns?: SyncGroupSchemaTableColumn[]; + isAzureMonitorTargetEnabled?: boolean; /** - * Quoted name of sync group schema table. + * 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. */ - quotedName?: string; + queueDelayMs?: number; } /** - * Properties of sync group schema. + * An extended server blob auditing policy. */ -export interface SyncGroupSchema { +export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { /** - * List of tables in sync group schema. + * Specifies condition of where clause when creating an audit. */ - tables?: SyncGroupSchemaTable[]; + predicateExpression?: string; /** - * Name of master sync member where the schema is from. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - masterSyncMemberName?: string; -} - -/** - * An Azure SQL Database sync group. - */ -export interface SyncGroup extends ProxyResource { + state: BlobAuditingPolicyState; /** - * Sync interval of the sync group. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - interval?: number; + storageEndpoint?: string; /** - * Last sync time of the sync group. - * **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 lastSyncTime?: Date; + storageAccountAccessKey?: string; /** - * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' + * Specifies the number of days to keep in the audit logs in the storage account. */ - conflictResolutionPolicy?: SyncConflictResolutionPolicy; + retentionDays?: number; /** - * ARM resource id of the sync database in the sync group. + * 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 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) */ - syncDatabaseId?: string; + auditActionsAndGroups?: string[]; /** - * User name for the sync group hub database credential. + * Specifies the blob storage subscription Id. */ - hubDatabaseUserName?: string; + storageAccountSubscriptionId?: string; /** - * Password for the sync group hub database credential. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - hubDatabasePassword?: string; + isStorageSecondaryKeyInUse?: boolean; /** - * 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.** + * 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 syncState?: SyncGroupState; + isAzureMonitorTargetEnabled?: boolean; /** - * Sync schema of the sync group. + * 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. */ - schema?: SyncGroupSchema; + queueDelayMs?: number; } /** - * An Azure SQL Database sync member. + * A server blob auditing policy. */ -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; - /** - * 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; -} - -/** - * 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 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[]; -} - -/** - * 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[]; - /** - * 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', - * 'Deleting', 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: VirtualNetworkRuleState; -} - -/** - * An extended database blob auditing policy. - */ -export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { - /** - * Specifies condition of where clause when creating an audit. - */ - predicateExpression?: string; +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' @@ -2308,12 +2180,20 @@ export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { state: BlobAuditingPolicyState; /** * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * 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, storageAccountAccessKey is required. + * 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; /** @@ -2418,16 +2298,23 @@ export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; + /** + * 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. + */ + queueDelayMs?: number; } /** - * An extended server blob auditing policy. + * A database blob auditing policy. */ -export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { +export interface DatabaseBlobAuditingPolicy extends ProxyResource { /** - * Specifies condition of where clause when creating an audit. + * Resource kind. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - predicateExpression?: string; + readonly kind?: string; /** * Specifies the state of the policy. If state is Enabled, storageEndpoint or * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' @@ -2435,12 +2322,20 @@ export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { state: BlobAuditingPolicyState; /** * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * 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, storageAccountAccessKey is required. + * 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; /** @@ -2545,432 +2440,187 @@ export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; + /** + * 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. + */ + queueDelayMs?: number; } /** - * A server blob auditing policy. + * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result. */ -export interface ServerBlobAuditingPolicy extends ProxyResource { +export interface DatabaseVulnerabilityAssessmentRuleBaselineItem { /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * The rule baseline result */ - state: BlobAuditingPolicyState; + result: string[]; +} + +/** + * A database vulnerability assessment rule baseline. + */ +export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource { /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * The rule baseline result */ - storageEndpoint?: string; + baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; +} + +/** + * Properties of a Vulnerability Assessment recurring scans. + */ +export interface VulnerabilityAssessmentRecurringScansProperties { + /** + * Recurring scans state. + */ + isEnabled?: boolean; + /** + * Specifies that the schedule scan notification will be is sent to the subscription + * administrators. Default value: true. + */ + emailSubscriptionAdmins?: boolean; + /** + * Specifies an array of e-mail addresses to which the scan notification is sent. + */ + emails?: string[]; +} + +/** + * A database vulnerability assessment. + */ +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; + /** + * 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. + */ + storageContainerSasKey?: string; /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ storageAccountAccessKey?: string; /** - * Specifies the number of days to keep in the audit logs in the storage account. + * The recurring scans settings */ - retentionDays?: number; + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * An ARM Resource SKU. + */ +export interface Sku { /** - * 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 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 SKU, typically, a letter + Number code, e.g. P3. */ - auditActionsAndGroups?: string[]; + name: string; /** - * Specifies the blob storage subscription Id. + * The tier or edition of the particular SKU, e.g. Basic, Premium. */ - storageAccountSubscriptionId?: string; + tier?: string; /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. + * Size of the particular SKU */ - isStorageSecondaryKeyInUse?: boolean; + size?: 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) + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. */ - isAzureMonitorTargetEnabled?: boolean; + family?: string; + /** + * Capacity of the particular SKU. + */ + capacity?: number; } /** - * A database blob auditing policy. + * An Azure SQL job agent. */ -export interface DatabaseBlobAuditingPolicy extends ProxyResource { - /** - * 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 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 is required. - */ - storageEndpoint?: string; - /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. - */ - storageAccountAccessKey?: string; - /** - * Specifies the number of days to keep in the audit logs in the storage account. - */ - retentionDays?: number; - /** - * 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 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[]; +export interface JobAgent extends TrackedResource { /** - * Specifies the blob storage subscription Id. + * The name and tier of the SKU. */ - storageAccountSubscriptionId?: string; + sku?: Sku; /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. + * Resource ID of the database to store job metadata in. */ - isStorageSecondaryKeyInUse?: boolean; + databaseId: 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 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.** */ - isAzureMonitorTargetEnabled?: boolean; + readonly state?: JobAgentState; } /** - * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result. + * An update to an Azure SQL job agent. */ -export interface DatabaseVulnerabilityAssessmentRuleBaselineItem { +export interface JobAgentUpdate { /** - * The rule baseline result + * Resource tags. */ - result: string[]; + tags?: { [propertyName: string]: string }; } /** - * A database vulnerability assessment rule baseline. + * A stored credential that can be used by a job to connect to target databases. */ -export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource { +export interface JobCredential extends ProxyResource { /** - * The rule baseline result + * The credential user name. */ - baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; + username: string; + /** + * The credential password. + */ + password: string; } /** - * Properties of a Vulnerability Assessment recurring scans. + * The target that a job execution is executed on. */ -export interface VulnerabilityAssessmentRecurringScansProperties { +export interface JobExecutionTarget { /** - * Recurring scans state. + * 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.** */ - isEnabled?: boolean; + readonly type?: JobTargetType; /** - * Specifies that the schedule scan notification will be is sent to the subscription - * administrators. Default value: true. + * The server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - emailSubscriptionAdmins?: boolean; + readonly serverName?: string; /** - * Specifies an array of e-mail addresses to which the scan notification is sent. + * The database name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - emails?: string[]; + readonly databaseName?: string; } /** - * A database vulnerability assessment. + * An execution of a job */ -export interface DatabaseVulnerabilityAssessment extends ProxyResource { +export interface JobExecution 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 + * The job version number. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerPath?: string; + readonly jobVersion?: number; /** - * 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 job step name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; - /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. - */ - storageAccountAccessKey?: string; - /** - * The recurring scans settings - */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -} - -/** - * An ARM Resource SKU. - */ -export interface Sku { - /** - * The name of the SKU, typically, a letter + Number code, e.g. P3. - */ - name: string; - /** - * The tier or edition of the particular SKU, e.g. Basic, Premium. - */ - tier?: string; - /** - * Size of the particular SKU - */ - size?: string; - /** - * If the service has different generations of hardware, for the same SKU, then that can be - * captured here. - */ - family?: string; - /** - * Capacity of the particular SKU. - */ - capacity?: number; -} - -/** - * An Azure SQL job agent. - */ -export interface JobAgent extends TrackedResource { - /** - * The name and tier of the SKU. - */ - sku?: Sku; - /** - * Resource ID of the database to store job metadata in. - */ - databaseId: string; - /** - * 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.** - */ - readonly state?: JobAgentState; -} - -/** - * An update to an Azure SQL job agent. - */ -export interface JobAgentUpdate { - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - -/** - * A stored credential that can be used by a job to connect to target databases. - */ -export interface JobCredential extends ProxyResource { - /** - * The credential user name. - */ - username: string; - /** - * The credential password. - */ - password: string; -} - -/** - * The target that a job execution is executed on. - */ -export interface JobExecutionTarget { - /** - * 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.** - */ - readonly type?: JobTargetType; - /** - * The server name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serverName?: string; - /** - * The database name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly databaseName?: string; -} - -/** - * An execution of a job - */ -export interface JobExecution extends ProxyResource { - /** - * The job version number. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly jobVersion?: number; - /** - * The job step name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly stepName?: string; + readonly stepName?: string; /** * The job step id. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -3603,6 +3253,10 @@ export interface SensitivityLabel extends ProxyResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isDisabled?: boolean; + /** + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + */ + rank?: SensitivityLabelRank; } /** @@ -3777,1042 +3431,1147 @@ export interface ElasticPoolOperation extends ProxyResource { } /** - * The maximum size capability. + * A database resource. */ -export interface MaxSizeCapability { +export interface Database extends TrackedResource { /** - * The maximum size limit (see 'unit' for the units). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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 -o table + * ```` + * + * ```powershell + * Get-AzSqlServerServiceObjective -Location + * ```` */ - readonly limit?: number; + sku?: Sku; /** - * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', - * 'Terabytes', 'Petabytes' + * 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 unit?: MaxSizeUnit; -} - -/** - * The log size capability. - */ -export interface LogSizeCapability { + readonly kind?: string; /** - * The log size limit (see 'unit' for the units). + * Resource that manages the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly managedBy?: string; /** - * 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.** + * 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' */ - readonly unit?: LogSizeUnit; -} - -/** - * The maximum size range capability. - */ -export interface MaxSizeRangeCapability { + createMode?: CreateMode; /** - * Minimum value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The collation of the database. */ - readonly minValue?: MaxSizeCapability; + collation?: string; /** - * Maximum value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The max size of the database expressed in bytes. */ - readonly maxValue?: MaxSizeCapability; + maxSizeBytes?: number; /** - * 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.** + * The name of the sample schema to apply when creating this database. Possible values include: + * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' */ - readonly scaleSize?: MaxSizeCapability; + sampleName?: SampleName; /** - * Size of transaction log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the elastic pool containing this database. */ - readonly logSize?: LogSizeCapability; + elasticPoolId?: 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.** + * The resource identifier of the source database associated with create operation of this + * database. */ - readonly status?: CapabilityStatus; + sourceDatabaseId?: string; /** - * The reason for the capability not being available. + * 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.** */ - reason?: string; -} - -/** - * The performance level capability. - */ -export interface PerformanceLevelCapability { + readonly status?: DatabaseStatus; /** - * Performance level value. + * The ID of the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly value?: number; + readonly databaseId?: string; /** - * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores' + * The creation date of the database (ISO8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: PerformanceLevelUnit; -} - -/** - * The license type capability - */ -export interface LicenseTypeCapability { + readonly creationDate?: Date; /** - * License type identifier. + * 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 name?: string; + readonly currentServiceObjectiveName?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly requestedServiceObjectiveName?: string; /** - * The reason for the capability not being available. + * The default secondary region for this database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; -} - -/** - * The service objectives capability. - */ -export interface ServiceObjectiveCapability { + readonly defaultSecondaryLocation?: string; /** - * The unique ID of the service objective. + * 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 id?: string; + readonly failoverGroupId?: string; /** - * The service objective name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - readonly name?: string; + restorePointInTime?: Date; /** - * The list of supported maximum database sizes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the time that the database was deleted. */ - readonly supportedMaxSizes?: MaxSizeRangeCapability[]; + sourceDatabaseDeletionDate?: Date; /** - * The performance level. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the recovery point associated with create operation of this + * database. */ - readonly performanceLevel?: PerformanceLevelCapability; + recoveryServicesRecoveryPointId?: string; /** - * The sku. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the long term retention backup associated with create operation of + * this database. */ - readonly sku?: Sku; + longTermRetentionBackupResourceId?: string; /** - * List of supported license types. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the recoverable database associated with create operation of this + * database. */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + recoverableDatabaseId?: string; /** - * The included (free) max size. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the restorable dropped database associated with create operation of + * this database. */ - readonly includedMaxSize?: MaxSizeCapability; + restorableDroppedDatabaseId?: 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.** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - readonly status?: CapabilityStatus; + catalogCollation?: CatalogCollationType; /** - * The reason for the capability not being available. + * Whether or not this database is zone redundant, which means the replicas of this database will + * be spread across multiple availability zones. */ - reason?: string; -} - -/** - * The edition capability. - */ -export interface EditionCapability { + zoneRedundant?: boolean; /** - * The database edition name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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' */ - readonly name?: string; + licenseType?: DatabaseLicenseType; /** - * The list of supported service objectives for the edition. + * The max log size for this database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; + readonly maxLogSizeBytes?: number; /** - * Whether or not zone redundancy is supported for the edition. + * 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 zoneRedundant?: boolean; + readonly earliestRestoreDate?: Date; /** - * 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.** + * 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' */ - readonly status?: CapabilityStatus; + readScale?: DatabaseReadScale; /** - * The reason for the capability not being available. + * 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. */ - reason?: string; -} - -/** - * The minimum per-database performance level capability. - */ -export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { + readReplicaCount?: number; /** - * The minimum performance level per database. + * The name and tier of the SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly currentSku?: Sku; /** - * 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.** + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled */ - readonly unit?: PerformanceLevelUnit; + autoPauseDelay?: number; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly pausedDate?: Date; /** - * The reason for the capability not being available. + * 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.** */ - reason?: string; + readonly resumedDate?: Date; } /** - * The max per-database performance level capability. + * A database resource. */ -export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { +export interface DatabaseUpdate { /** - * The maximum performance level per database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name and tier of the SKU. */ - readonly limit?: number; + sku?: Sku; /** - * 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.** + * 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' */ - readonly unit?: PerformanceLevelUnit; + createMode?: CreateMode; /** - * The list of supported min database performance levels. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The collation of the database. */ - readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; + collation?: 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.** + * The max size of the database expressed in bytes. */ - readonly status?: CapabilityStatus; + maxSizeBytes?: number; /** - * The reason for the capability not being available. + * The name of the sample schema to apply when creating this database. Possible values include: + * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' */ - reason?: string; -} - -/** - * The Elastic Pool performance level capability. - */ -export interface ElasticPoolPerformanceLevelCapability { + sampleName?: SampleName; /** - * The performance level for the pool. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the elastic pool containing this database. */ - readonly performanceLevel?: PerformanceLevelCapability; + elasticPoolId?: string; /** - * The sku. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the source database associated with create operation of this + * database. */ - readonly sku?: Sku; + sourceDatabaseId?: string; /** - * List of supported license types. + * 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 supportedLicenseTypes?: LicenseTypeCapability[]; + readonly status?: DatabaseStatus; /** - * The maximum number of databases supported. + * The ID of the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxDatabaseCount?: number; + readonly databaseId?: string; /** - * The included (free) max size for this performance level. + * The creation date of the database (ISO8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly includedMaxSize?: MaxSizeCapability; + readonly creationDate?: Date; /** - * The list of supported max sizes. + * 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 supportedMaxSizes?: MaxSizeRangeCapability[]; + readonly currentServiceObjectiveName?: string; /** - * The list of supported per database max sizes. + * 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 supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; + readonly requestedServiceObjectiveName?: string; /** - * The list of supported per database max performance levels. + * The default secondary region for this database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; + readonly defaultSecondaryLocation?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly failoverGroupId?: string; /** - * The reason for the capability not being available. + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - reason?: string; -} - -/** - * The elastic pool edition capability. - */ -export interface ElasticPoolEditionCapability { + restorePointInTime?: Date; /** - * The elastic pool edition name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the time that the database was deleted. */ - readonly name?: string; + sourceDatabaseDeletionDate?: Date; /** - * The list of supported elastic pool DTU levels for the edition. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the recovery point associated with create operation of this + * database. */ - readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; + recoveryServicesRecoveryPointId?: string; /** - * Whether or not zone redundancy is supported for the edition. + * 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 zoneRedundant?: boolean; + readonly maxLogSizeBytes?: number; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly earliestRestoreDate?: Date; /** - * The reason for the capability not being available. + * 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' */ - reason?: string; -} - -/** - * The server capability - */ -export interface ServerVersionCapability { + readScale?: DatabaseReadScale; /** - * The server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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. */ - readonly name?: string; + readReplicaCount?: number; /** - * The list of supported database editions. + * The name and tier of the SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedEditions?: EditionCapability[]; + readonly currentSku?: Sku; /** - * The list of supported elastic pool editions. + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled + */ + autoPauseDelay?: number; + /** + * 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 supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; + readonly pausedDate?: Date; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly resumedDate?: Date; /** - * The reason for the capability not being available. + * Resource tags. */ - reason?: string; + tags?: { [propertyName: string]: string }; } /** - * The managed instance virtual cores capability. + * Contains the information necessary to perform a resource move (rename). */ -export interface ManagedInstanceVcoresCapability { - /** - * The virtual cores identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; +export interface ResourceMoveDefinition { /** - * The virtual cores value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The target ID for the resource */ - readonly value?: number; + id: string; +} + +/** + * Per database settings of an elastic pool. + */ +export interface ElasticPoolPerDatabaseSettings { /** - * 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.** + * The minimum capacity all databases are guaranteed. */ - readonly status?: CapabilityStatus; + minCapacity?: number; /** - * The reason for the capability not being available. + * The maximum capacity any one database can consume. */ - reason?: string; + maxCapacity?: number; } /** - * The managed server family capability. + * An elastic pool. */ -export interface ManagedInstanceFamilyCapability { +export interface ElasticPool extends TrackedResource { /** - * Family name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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 -o table + * ```` */ - readonly name?: string; + sku?: Sku; /** - * SKU name. + * 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 sku?: string; + readonly kind?: string; /** - * List of supported license types. + * 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.** */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + readonly state?: ElasticPoolState; /** - * List of supported virtual cores values. + * The creation date of the elastic pool (ISO8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; + readonly creationDate?: Date; /** - * Included size. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The storage limit for the database elastic pool in bytes. */ - readonly includedMaxSize?: MaxSizeCapability; + maxSizeBytes?: number; /** - * Storage size ranges. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The per database settings for the elastic pool. */ - readonly supportedStorageSizes?: MaxSizeRangeCapability[]; + perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** - * 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.** + * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic + * pool will be spread across multiple availability zones. */ - readonly status?: CapabilityStatus; + zoneRedundant?: boolean; /** - * The reason for the capability not being available. + * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - reason?: string; + licenseType?: ElasticPoolLicenseType; } /** - * The managed server capability + * An elastic pool update. */ -export interface ManagedInstanceEditionCapability { +export interface ElasticPoolUpdate { + sku?: Sku; /** - * The managed server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The storage limit for the database elastic pool in bytes. */ - readonly name?: string; + maxSizeBytes?: number; /** - * The supported families. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The per database settings for the elastic pool. */ - readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; + perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** - * 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.** + * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic + * pool will be spread across multiple availability zones. */ - readonly status?: CapabilityStatus; + zoneRedundant?: boolean; /** - * The reason for the capability not being available. + * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - reason?: string; + licenseType?: ElasticPoolLicenseType; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; } /** - * The managed instance capability + * Properties of a vulnerability assessment scan error. */ -export interface ManagedInstanceVersionCapability { - /** - * The server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; +export interface VulnerabilityAssessmentScanError { /** - * The list of supported managed instance editions. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedEditions?: ManagedInstanceEditionCapability[]; + readonly code?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The error message. * **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; + readonly message?: string; } /** - * The location capability. + * A vulnerability assessment scan record. */ -export interface LocationCapabilities { +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** - * The location name. + * The scan ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly scanId?: string; /** - * The list of supported server versions. + * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedServerVersions?: ServerVersionCapability[]; + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** - * The list of supported managed instance versions. + * 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.** */ - readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; + readonly state?: VulnerabilityAssessmentScanState; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The scan start time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly startTime?: Date; /** - * The reason for the capability not being available. + * The scan end time (UTC). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; -} - -/** - * 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 -o table - * ```` - * - * ```powershell - * Get-AzSqlServerServiceObjective -Location - * ```` - */ - sku?: Sku; + readonly endTime?: Date; /** - * Kind of database. This is metadata used for the Azure portal experience. + * The scan errors. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly errors?: VulnerabilityAssessmentScanError[]; /** - * Resource that manages the database. + * The scan results storage container path. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly managedBy?: string; + readonly storageContainerPath?: 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' + * The number of failed security checks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: CreateMode; + readonly numberOfFailedSecurityChecks?: number; +} + +/** + * A database Vulnerability Assessment scan export resource. + */ +export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { /** - * The collation of the database. + * 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?: string; + readonly exportedReportLocation?: string; +} + +/** + * Read-write endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadWriteEndpoint { /** - * The max size of the database expressed in bytes. + * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is + * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: + * 'Manual', 'Automatic' */ - maxSizeBytes?: number; + failoverPolicy: ReadWriteEndpointFailoverPolicy; /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * Grace period before failover with data loss is attempted for the read-write endpoint. If + * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ - sampleName?: SampleName; + failoverWithDataLossGracePeriodMinutes?: number; +} + +/** + * Read-only endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadOnlyEndpoint { /** - * The resource identifier of the elastic pool containing this database. + * Failover policy of the read-only endpoint for the failover group. Possible values include: + * 'Disabled', 'Enabled' */ - elasticPoolId?: string; + failoverPolicy?: ReadOnlyEndpointFailoverPolicy; +} + +/** + * Partner region information for the failover group. + */ +export interface PartnerRegionInfo { /** - * The resource identifier of the source database associated with create operation of this - * database. + * Geo location of the partner managed instances. */ - sourceDatabaseId?: string; + location?: 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' + * 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 status?: DatabaseStatus; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; +} + +/** + * Pairs of Managed Instances in the failover group. + */ +export interface ManagedInstancePairInfo { /** - * The ID of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Id of Primary Managed Instance in pair. */ - readonly databaseId?: string; + primaryManagedInstanceId?: string; /** - * The creation date of the database (ISO8601 format). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Id of Partner Managed Instance in pair. */ - readonly creationDate?: Date; + partnerManagedInstanceId?: string; +} + +/** + * An instance failover group. + */ +export interface InstanceFailoverGroup extends ProxyResource { /** - * The current service level objective name of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Read-write endpoint of the failover group instance. */ - readonly currentServiceObjectiveName?: string; + readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; /** - * The requested service level objective name of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Read-only endpoint of the failover group instance. */ - readonly requestedServiceObjectiveName?: string; + readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; /** - * The default secondary region for this 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.** */ - readonly defaultSecondaryLocation?: string; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; /** - * Failover Group resource identifier that this database belongs to. + * Replication state of the failover group instance. * **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; + readonly replicationState?: string; /** - * Specifies the time that the database was deleted. + * Partner region information for the failover group. */ - sourceDatabaseDeletionDate?: Date; + partnerRegions: PartnerRegionInfo[]; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * List of managed instance pairs in the failover group. */ - recoveryServicesRecoveryPointId?: string; + managedInstancePairs: ManagedInstancePairInfo[]; +} + +/** + * A TDE certificate that can be uploaded into a server. + */ +export interface TdeCertificate extends ProxyResource { /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The base64 encoded certificate private blob. */ - longTermRetentionBackupResourceId?: string; + privateBlob: string; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The certificate password. */ - recoverableDatabaseId?: string; + certPassword?: string; +} + +/** + * A managed instance key. + */ +export interface ManagedInstanceKey extends ProxyResource { /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * 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.** */ - restorableDroppedDatabaseId?: string; + readonly kind?: string; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' */ - catalogCollation?: CatalogCollationType; + serverKeyType: ServerKeyType; /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. */ - zoneRedundant?: boolean; + uri?: string; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Thumbprint of the key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: DatabaseLicenseType; + readonly thumbprint?: string; /** - * The max log size for this database. + * The key creation date. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxLogSizeBytes?: number; + readonly creationDate?: Date; +} + +/** + * The managed instance encryption protector. + */ +export interface ManagedInstanceEncryptionProtector extends ProxyResource { /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * 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 earliestRestoreDate?: Date; + readonly kind?: 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 name of the managed instance key. */ - readScale?: DatabaseReadScale; + serverKeyName?: 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 encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' */ - readReplicaCount?: number; + serverKeyType: ServerKeyType; /** - * The name and tier of the SKU. + * The URI of the server key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentSku?: Sku; + readonly uri?: string; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * Thumbprint of the server key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - autoPauseDelay?: number; + readonly thumbprint?: string; +} + +/** + * A recoverable managed database resource. + */ +export interface RecoverableManagedDatabase extends ProxyResource { /** - * Minimal capacity that database will always have allocated, if not paused + * The last available backup date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly lastAvailableBackupDate?: string; +} + +/** + * A managed instance vulnerability assessment. + */ +export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { /** - * 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.** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - readonly pausedDate?: Date; + storageContainerPath: string; /** - * 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.** + * 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. */ - readonly resumedDate?: Date; + storageContainerSasKey?: string; + /** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + */ + storageAccountAccessKey?: string; + /** + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } /** - * A database resource. + * A server vulnerability assessment. */ -export interface DatabaseUpdate { +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 read and write access to the blob container + * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. + */ + storageContainerSasKey?: string; + /** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + */ + storageAccountAccessKey?: string; + /** + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * An Azure SQL instance pool. + */ +export interface InstancePool extends TrackedResource { /** * 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' + * Resource ID of the subnet to place this instance pool in. */ - createMode?: CreateMode; + subnetId: string; /** - * The collation of the database. + * Count of vCores belonging to this instance pool. */ - collation?: string; + vCores: number; /** - * The max size of the database expressed in bytes. + * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) + * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - maxSizeBytes?: number; + licenseType: InstancePoolLicenseType; +} + +/** + * An update to an Instance pool. + */ +export interface InstancePoolUpdate { /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * Resource tags. */ - sampleName?: SampleName; + tags?: { [propertyName: string]: string }; +} + +/** + * ARM Usage Name + */ +export interface Name { /** - * The resource identifier of the elastic pool containing this database. + * Usage name value */ - elasticPoolId?: string; + value?: string; /** - * The resource identifier of the source database associated with create operation of this - * database. + * Usage name localized value. */ - sourceDatabaseId?: string; + localizedValue?: string; +} + +/** + * ARM usage. + */ +export interface Usage { /** - * 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' + * Resource ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: DatabaseStatus; + readonly id?: string; /** - * The ID of the database. + * Resource name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly databaseId?: string; + readonly name?: Name; /** - * The creation date of the database (ISO8601 format). + * Resource type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly type?: string; /** - * The current service level objective name of the database. + * Usage unit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentServiceObjectiveName?: string; + readonly unit?: string; /** - * The requested service level objective name of the database. + * Usage current value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requestedServiceObjectiveName?: string; + readonly currentValue?: number; /** - * The default secondary region for this database. + * Usage limit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly limit?: number; /** - * Failover Group resource identifier that this database belongs to. + * Usage requested limit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly requestedLimit?: number; +} + +/** + * An interface representing PrivateEndpointProperty. + */ +export interface PrivateEndpointProperty extends BaseResource { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * Resource id of the private endpoint. */ - restorePointInTime?: Date; + id?: string; +} + +/** + * An interface representing PrivateLinkServiceConnectionStateProperty. + */ +export interface PrivateLinkServiceConnectionStateProperty { /** - * Specifies the time that the database was deleted. + * The private link service connection status. Possible values include: 'Approved', 'Pending', + * 'Rejected', 'Disconnected' */ - sourceDatabaseDeletionDate?: Date; + status: PrivateLinkServiceConnectionStateStatus; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * The private link service connection description. */ - recoveryServicesRecoveryPointId?: string; + description: string; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * 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.** */ - longTermRetentionBackupResourceId?: string; + readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire; +} + +/** + * Properties of a private endpoint connection. + */ +export interface PrivateEndpointConnectionProperties { /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * Private endpoint which the connection belongs to. */ - recoverableDatabaseId?: string; + privateEndpoint?: PrivateEndpointProperty; /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * Connection state of the private endpoint connection. */ - restorableDroppedDatabaseId?: string; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * 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.** */ - catalogCollation?: CatalogCollationType; + readonly provisioningState?: PrivateEndpointProvisioningState; +} + +/** + * A private endpoint connection + */ +export interface PrivateEndpointConnection extends ProxyResource { /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * Private endpoint which the connection belongs to. */ - zoneRedundant?: boolean; + privateEndpoint?: PrivateEndpointProperty; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Connection state of the private endpoint connection. */ - licenseType?: DatabaseLicenseType; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** - * The max log size for this database. + * 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 maxLogSizeBytes?: number; + readonly provisioningState?: PrivateEndpointProvisioningState; +} + +/** + * Properties of a private link resource. + */ +export interface PrivateLinkResourceProperties { /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestoreDate?: Date; + readonly groupId?: 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' - */ - readScale?: DatabaseReadScale; - /** - * 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. - */ - readReplicaCount?: number; - /** - * The name and tier of the SKU. + * The private link resource required member names. * **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; - /** - * Minimal capacity that database will always have allocated, if not paused - */ - minCapacity?: number; + readonly requiredMembers?: string[]; +} + +/** + * A private link resource + */ +export interface PrivateLinkResource extends ProxyResource { /** - * The date when database was paused by user configuration or action (ISO8601 format). Null if - * the database is ready. + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly pausedDate?: Date; + readonly properties?: PrivateLinkResourceProperties; +} + +/** + * Azure Active Directory identity configuration for a resource. + */ +export interface ResourceIdentity { /** - * The date when database was resumed by user action or database login (ISO8601 format). Null if - * the database is paused. + * The Azure Active Directory principal id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resumedDate?: Date; + readonly principalId?: string; /** - * Resource tags. + * 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' */ - tags?: { [propertyName: string]: string }; -} - -/** - * Contains the information necessary to perform a resource move (rename). - */ -export interface ResourceMoveDefinition { + type?: IdentityType; /** - * The target ID for the resource + * The Azure Active Directory tenant id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id: string; + readonly tenantId?: string; } /** - * Per database settings of an elastic pool. + * A private endpoint connection under a server */ -export interface ElasticPoolPerDatabaseSettings { +export interface ServerPrivateEndpointConnection { /** - * The minimum capacity all databases are guaranteed. + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly id?: string; /** - * The maximum capacity any one database can consume. + * Private endpoint connection properties + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxCapacity?: number; + readonly properties?: PrivateEndpointConnectionProperties; } /** - * An elastic pool. + * An Azure SQL Database server. */ -export interface ElasticPool extends TrackedResource { +export interface Server extends TrackedResource { /** - * 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 -o table - * ```` + * The Azure Active Directory identity of the server. */ - sku?: Sku; + identity?: ResourceIdentity; /** - * Kind of elastic pool. This is metadata used for the Azure portal experience. + * 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; /** - * 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.** + * Administrator username for the server. Once created it cannot be changed. */ - readonly state?: ElasticPoolState; + administratorLogin?: string; /** - * The creation date of the elastic pool (ISO8601 format). + * 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 creationDate?: Date; + readonly state?: string; /** - * The storage limit for the database elastic pool in bytes. + * The fully qualified domain name of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxSizeBytes?: number; + readonly fullyQualifiedDomainName?: string; /** - * The per database settings for the elastic pool. + * List of private endpoint connections on a server + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** - * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic - * pool will be spread across multiple availability zones. + * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' */ - zoneRedundant?: boolean; + minimalTlsVersion?: string; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * 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' */ - licenseType?: ElasticPoolLicenseType; + publicNetworkAccess?: ServerPublicNetworkAccess; } /** - * An elastic pool update. + * An update request for an Azure SQL Database server. */ -export interface ElasticPoolUpdate { - sku?: Sku; +export interface ServerUpdate { /** - * The storage limit for the database elastic pool in bytes. + * Administrator username for the server. Once created it cannot be changed. */ - maxSizeBytes?: number; + administratorLogin?: string; /** - * The per database settings for the elastic pool. + * The administrator login password (required for server creation). */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + administratorLoginPassword?: 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 version of the server. */ - zoneRedundant?: boolean; + version?: string; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The state of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ElasticPoolLicenseType; + 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; /** * Resource tags. */ @@ -4820,1396 +4579,3342 @@ export interface ElasticPoolUpdate { } /** - * Properties of a vulnerability assessment scan error. + * A request to check whether the specified name for a resource is available. */ -export interface VulnerabilityAssessmentScanError { +export interface CheckNameAvailabilityRequest { + name: string; +} + +/** + * The result of a name availability check. + */ +export interface CheckNameAvailabilityResponse { /** - * The error code. + * The name whose availability was checked. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly code?: string; + readonly name?: string; /** - * The error message. + * 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 vulnerability assessment scan record. + * The maximum size capability. */ -export interface VulnerabilityAssessmentScanRecord extends ProxyResource { +export interface MaxSizeCapability { /** - * The scan ID. + * The maximum size limit (see 'unit' for the units). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly scanId?: string; + readonly limit?: number; /** - * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' + * 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.** */ - readonly triggerType?: VulnerabilityAssessmentScanTriggerType; + readonly unit?: MaxSizeUnit; +} + +/** + * The log size capability. + */ +export interface LogSizeCapability { /** - * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * The log size limit (see 'unit' for the units). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: VulnerabilityAssessmentScanState; + readonly limit?: number; /** - * The scan start time (UTC). + * 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 startTime?: Date; + readonly unit?: LogSizeUnit; +} + +/** + * The maximum size range capability. + */ +export interface MaxSizeRangeCapability { /** - * The scan end time (UTC). + * Minimum value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly endTime?: Date; + readonly minValue?: MaxSizeCapability; /** - * The scan errors. + * Maximum value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errors?: VulnerabilityAssessmentScanError[]; + readonly maxValue?: MaxSizeCapability; /** - * The scan results storage container path. + * 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.** */ - readonly storageContainerPath?: string; + readonly scaleSize?: MaxSizeCapability; /** - * The number of failed security checks. + * Size of transaction log. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly numberOfFailedSecurityChecks?: number; + readonly logSize?: LogSizeCapability; + /** + * 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; } /** - * A database Vulnerability Assessment scan export resource. + * The performance level capability. */ -export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { +export interface PerformanceLevelCapability { /** - * Location of the exported report (e.g. - * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). + * Performance level value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly exportedReportLocation?: string; + 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; } /** - * Read-write endpoint of the failover group instance. + * The license type capability */ -export interface InstanceFailoverGroupReadWriteEndpoint { +export interface LicenseTypeCapability { /** - * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is - * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: - * 'Manual', 'Automatic' + * License type identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverPolicy: ReadWriteEndpointFailoverPolicy; + readonly name?: string; /** - * Grace period before failover with data loss is attempted for the read-write endpoint. If - * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. + * 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.** */ - failoverWithDataLossGracePeriodMinutes?: number; -} - -/** - * Read-only endpoint of the failover group instance. - */ -export interface InstanceFailoverGroupReadOnlyEndpoint { + readonly status?: CapabilityStatus; /** - * Failover policy of the read-only endpoint for the failover group. Possible values include: - * 'Disabled', 'Enabled' + * The reason for the capability not being available. */ - failoverPolicy?: ReadOnlyEndpointFailoverPolicy; + reason?: string; } /** - * Partner region information for the failover group. + * Supported auto pause delay time range */ -export interface PartnerRegionInfo { - /** - * Geo location of the partner managed instances. - */ - location?: string; +export interface AutoPauseDelayTimeRange { /** - * Replication role of the partner managed instances. Possible values include: 'Primary', - * 'Secondary' + * Minimum value * **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 minValue?: number; /** - * Id of Primary Managed Instance in pair. + * Maximum value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryManagedInstanceId?: string; + readonly maxValue?: number; /** - * Id of Partner Managed Instance in pair. + * 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.** */ - partnerManagedInstanceId?: string; -} - -/** - * An instance failover group. - */ -export interface InstanceFailoverGroup extends ProxyResource { + readonly stepSize?: number; /** - * Read-write endpoint of the failover group instance. + * Default value is no value is provided + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; + readonly default?: number; /** - * Read-only endpoint of the failover group instance. + * 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.** */ - readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; + readonly unit?: PauseDelayTimeUnit; /** - * Local replication role of the failover group instance. Possible values include: 'Primary', - * 'Secondary' + * 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 replicationRole?: InstanceFailoverGroupReplicationRole; + readonly doNotPauseValue?: number; +} + +/** + * The min capacity capability + */ +export interface MinCapacityCapability { /** - * Replication state of the failover group instance. + * Min capacity value * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationState?: string; + readonly value?: number; /** - * Partner region information for the failover group. + * 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.** */ - partnerRegions: PartnerRegionInfo[]; + readonly status?: CapabilityStatus; /** - * List of managed instance pairs in the failover group. + * The reason for the capability not being available. */ - managedInstancePairs: ManagedInstancePairInfo[]; + reason?: string; } /** - * A short term retention policy. + * The service objectives capability. */ -export interface BackupShortTermRetentionPolicy extends ProxyResource { +export interface ServiceObjectiveCapability { /** - * The backup retention period in days. This is how many days Point-in-Time Restore will be - * supported. + * The unique ID of the service objective. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDays?: number; -} - -/** - * A TDE certificate that can be uploaded into a server. - */ -export interface TdeCertificate extends ProxyResource { + readonly id?: string; /** - * The base64 encoded certificate private blob. + * The service objective name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privateBlob: string; + readonly name?: string; /** - * The certificate password. + * The list of supported maximum database sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - certPassword?: string; -} - -/** - * A managed instance key. - */ -export interface ManagedInstanceKey extends ProxyResource { + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * The performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly performanceLevel?: PerformanceLevelCapability; /** - * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * The sku. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyType: ServerKeyType; + readonly sku?: Sku; /** - * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - uri?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Thumbprint of the key. + * The included (free) max size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * The key creation date. + * 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 creationDate?: Date; -} - -/** - * The managed instance encryption protector. - */ -export interface ManagedInstanceEncryptionProtector extends ProxyResource { + readonly zoneRedundant?: boolean; /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * Supported time range for auto pause delay * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; /** - * The name of the managed instance key. + * List of supported min capacities + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyName?: string; + readonly supportedMinCapacities?: MinCapacityCapability[]; /** - * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * The compute model + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyType: ServerKeyType; + readonly computeModel?: string; /** - * The URI of the server key. + * 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 uri?: string; + readonly status?: CapabilityStatus; /** - * Thumbprint of the server key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly thumbprint?: string; + reason?: string; } /** - * A recoverable managed database resource. + * The read scale capability. */ -export interface RecoverableManagedDatabase extends ProxyResource { +export interface ReadScaleCapability { /** - * The last available backup date. + * The maximum number of read scale replicas. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastAvailableBackupDate?: string; + readonly maxNumberOfReplicas?: number; + /** + * 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; } /** - * A managed instance vulnerability assessment. + * The storage account type capability. */ -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; +export interface StorageCapability { /** - * 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 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.** */ - storageContainerSasKey?: string; + readonly storageAccountType?: StorageAccountType; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * 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.** */ - storageAccountAccessKey?: string; + readonly status?: CapabilityStatus; /** - * The recurring scans settings + * The reason for the capability not being available. */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + reason?: string; } /** - * A server vulnerability assessment. + * The edition capability. */ -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; +export interface EditionCapability { /** - * 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 database edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; + readonly name?: string; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * The list of supported service objectives for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; /** - * The recurring scans settings + * 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.** */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; -} - -/** - * An Azure SQL instance pool. - */ -export interface InstancePool extends TrackedResource { + readonly zoneRedundant?: boolean; /** - * The name and tier of the SKU. + * The read scale capability for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly readScale?: ReadScaleCapability; /** - * Resource ID of the subnet to place this instance pool in. + * The list of supported storage capabilities for this edition + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId: string; + readonly supportedStorageCapabilities?: StorageCapability[]; /** - * Count of vCores belonging to this instance pool. + * 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.** */ - vCores: number; + readonly status?: CapabilityStatus; /** - * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) - * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The reason for the capability not being available. */ - licenseType: InstancePoolLicenseType; + reason?: string; } /** - * An update to an Instance pool. + * The minimum per-database performance level capability. */ -export interface InstancePoolUpdate { +export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { /** - * Resource tags. + * The minimum performance level per database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; -} - -/** - * ARM Usage Name - */ -export interface Name { + readonly limit?: number; /** - * Usage name value + * 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.** */ - value?: string; + readonly unit?: PerformanceLevelUnit; /** - * Usage name localized value. + * 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.** */ - localizedValue?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * ARM usage. + * The max per-database performance level capability. */ -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; +export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { /** - * Resource type. + * The maximum performance level per database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly type?: string; + readonly limit?: number; /** - * Usage unit. + * 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?: string; + readonly unit?: PerformanceLevelUnit; /** - * Usage current value. + * The list of supported min database performance levels. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentValue?: number; + readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; /** - * Usage limit. + * 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 limit?: number; + readonly status?: CapabilityStatus; /** - * Usage requested limit. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly requestedLimit?: number; + reason?: string; } /** - * An Azure SQL managed instance. + * The Elastic Pool performance level capability. */ -export interface ManagedInstance extends TrackedResource { +export interface ElasticPoolPerformanceLevelCapability { /** - * The Azure Active Directory identity of the managed instance. + * The performance level for the pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identity?: ResourceIdentity; + readonly performanceLevel?: PerformanceLevelCapability; /** - * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 + * The sku. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly 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' + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedInstanceCreateMode?: ManagedServerCreateMode; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * The fully qualified domain name of the managed instance. + * The maximum number of databases supported. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fullyQualifiedDomainName?: string; + readonly maxDatabaseCount?: number; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * The included (free) max size for this performance level. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLogin?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * The administrator login password (required for managed instance creation). + * The list of supported max sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLoginPassword?: string; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * Subnet resource ID for the managed instance. + * The list of supported per database max sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; /** - * The state of the managed instance. + * The list of supported per database max performance levels. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: string; + readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; /** - * 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' + * 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.** */ - licenseType?: ManagedInstanceLicenseType; + readonly zoneRedundant?: boolean; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * 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.** */ - vCores?: number; + readonly status?: CapabilityStatus; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * The reason for the capability not being available. */ - storageSizeInGB?: number; + reason?: string; +} + +/** + * The elastic pool edition capability. + */ +export interface ElasticPoolEditionCapability { /** - * Collation of the managed instance. + * The elastic pool edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly name?: string; /** - * The Dns Zone that the managed instance is in. + * The list of supported elastic pool DTU levels for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * 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.** */ - dnsZonePartner?: string; + readonly zoneRedundant?: boolean; /** - * Whether or not the public data endpoint is enabled. + * 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.** */ - publicDataEndpointEnabled?: boolean; + readonly status?: CapabilityStatus; /** - * The resource identifier of the source managed instance associated with create operation of - * this instance. + * The reason for the capability not being available. */ - sourceManagedInstanceId?: string; + reason?: string; +} + +/** + * The server capability + */ +export interface ServerVersionCapability { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly name?: string; /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The list of supported database editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly supportedEditions?: EditionCapability[]; /** - * 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 list of supported elastic pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; /** - * The Id of the instance pool this managed server belongs to. + * 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.** */ - instancePoolId?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An update request for an Azure SQL Database managed instance. + * The managed instance virtual cores capability. */ -export interface ManagedInstanceUpdate { +export interface ManagedInstanceVcoresCapability { /** - * Managed instance sku + * The virtual cores identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly name?: string; /** - * 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 virtual cores value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedInstanceCreateMode?: ManagedServerCreateMode; + readonly value?: number; /** - * The fully qualified domain name of the managed instance. + * Included size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fullyQualifiedDomainName?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * Storage size ranges. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLogin?: string; + readonly supportedStorageSizes?: MaxSizeRangeCapability[]; /** - * The administrator login password (required for managed instance creation). + * 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.** */ - administratorLoginPassword?: string; + readonly instancePoolSupported?: boolean; /** - * Subnet resource ID for the managed instance. + * 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.** */ - subnetId?: string; + readonly standaloneSupported?: boolean; /** - * The state of the managed instance. + * 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 state?: string; + readonly status?: CapabilityStatus; /** - * 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 reason for the capability not being available. */ - licenseType?: ManagedInstanceLicenseType; + reason?: string; +} + +/** + * The managed server family capability. + */ +export interface ManagedInstanceFamilyCapability { /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * Family name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly name?: string; /** - * 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. + * SKU name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly sku?: string; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsZonePartner?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Whether or not the public data endpoint is enabled. + * List of supported virtual cores values. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicDataEndpointEnabled?: boolean; + readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; /** - * The resource identifier of the source managed instance associated with create operation of - * this instance. + * 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.** */ - sourceManagedInstanceId?: string; + readonly status?: CapabilityStatus; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The reason for the capability not being available. */ - restorePointInTime?: Date; + reason?: string; +} + +/** + * The managed server capability + */ +export interface ManagedInstanceEditionCapability { /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The managed server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly name?: 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 supported families. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; /** - * The Id of the instance pool this managed server belongs to. + * 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.** */ - instancePoolId?: string; + readonly status?: CapabilityStatus; /** - * Resource tags. + * The reason for the capability not being available. */ - tags?: { [propertyName: string]: string }; + reason?: string; } /** - * A managed database restore details. + * The managed instance virtual cores capability. */ -export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { +export interface InstancePoolVcoresCapability { /** - * Restore status. + * The virtual cores identifier. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: string; + readonly name?: string; /** - * Current restoring file name. + * The virtual cores value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentRestoringFileName?: string; + readonly value?: number; /** - * Last restored file name. + * Storage limit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileName?: string; + readonly storageLimit?: MaxSizeCapability; /** - * Last restored file time. + * 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 lastRestoredFileTime?: Date; + readonly status?: CapabilityStatus; /** - * Percent completed. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly percentCompleted?: number; + reason?: string; +} + +/** + * The instance pool family capability. + */ +export interface InstancePoolFamilyCapability { /** - * List of unrestorable files. + * Family name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unrestorableFiles?: string[]; + readonly name?: string; /** - * Number of files detected. + * List of supported license types. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly numberOfFilesDetected?: number; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Last uploaded file name. + * List of supported virtual cores values. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileName?: string; + readonly supportedVcoresValues?: InstancePoolVcoresCapability[]; /** - * Last uploaded file time. + * 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 lastUploadedFileTime?: Date; + readonly status?: CapabilityStatus; /** - * The reason why restore is in Blocked state. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly blockReason?: string; + reason?: string; } /** - * A managed database resource. + * The instance pool capability */ -export interface ManagedDatabase extends TrackedResource { +export interface InstancePoolEditionCapability { /** - * Collation of the managed database. + * The instance pool version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly name?: string; /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * The supported families. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly supportedFamilies?: InstancePoolFamilyCapability[]; /** - * Creation date 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 creationDate?: Date; + readonly status?: CapabilityStatus; /** - * 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.** + * The reason for the capability not being available. */ - readonly earliestRestorePoint?: Date; + reason?: string; +} + +/** + * The managed instance capability + */ +export interface ManagedInstanceVersionCapability { /** - * 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 server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly name?: string; /** - * Geo paired region. + * The list of supported managed instance editions. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly supportedEditions?: ManagedInstanceEditionCapability[]; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The list of supported instance pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly supportedInstancePoolEditions?: InstancePoolEditionCapability[]; /** - * 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 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.** */ - createMode?: ManagedDatabaseCreateMode; + readonly status?: CapabilityStatus; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri - * of the storage container where backups for this restore are stored. + * The reason for the capability not being available. */ - storageContainerUri?: string; + reason?: string; +} + +/** + * The location capability. + */ +export interface LocationCapabilities { /** - * The resource identifier of the source database associated with create operation of this - * database. + * The location name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceDatabaseId?: string; + readonly name?: string; /** - * The restorable dropped database resource id to restore when creating this database. + * The list of supported server versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly supportedServerVersions?: ServerVersionCapability[]; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * The list of supported managed instance versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; /** - * Instance Failover Group resource identifier that this managed database belongs to. + * 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 failoverGroupId?: string; + readonly status?: CapabilityStatus; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The reason for the capability not being available. */ - recoverableDatabaseId?: string; + reason?: string; } /** - * An managed database update. + * A long term retention backup for a managed database. */ -export interface ManagedDatabaseUpdate { +export interface ManagedInstanceLongTermRetentionBackup extends ProxyResource { /** - * Collation of the managed database. + * The managed instance that the backup database belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly managedInstanceName?: string; /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * The create time of the instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly managedInstanceCreateTime?: Date; /** - * Creation date of the database. + * The name of the database the backup belong to * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly databaseName?: string; /** - * Earliest restore point in time for point in time restore. + * The delete time of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestorePoint?: Date; + readonly databaseDeletionTime?: Date; /** - * 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 time the backup was taken + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly backupTime?: Date; /** - * Geo paired region. + * 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 defaultSecondaryLocation?: string; + readonly backupExpirationTime?: Date; +} + +/** + * A long term retention policy. + */ +export interface ManagedInstanceLongTermRetentionPolicy extends ProxyResource { /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The weekly retention policy for an LTR backup in an ISO 8601 format. */ - catalogCollation?: CatalogCollationType; + weeklyRetention?: 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 monthly retention policy for an LTR backup in an ISO 8601 format. */ - createMode?: ManagedDatabaseCreateMode; + monthlyRetention?: 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 yearly retention policy for an LTR backup in an ISO 8601 format. */ - storageContainerUri?: string; + yearlyRetention?: string; /** - * The resource identifier of the source database associated with create operation of this - * database. - */ - sourceDatabaseId?: string; - /** - * The restorable dropped database resource id to restore when creating this database. + * The week of year to take the yearly backup in an ISO 8601 format. */ - restorableDroppedDatabaseId?: string; + weekOfYear?: number; +} + +/** + * Workload group operations for a data warehouse + */ +export interface WorkloadGroup extends ProxyResource { /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * The workload group minimum percentage resource. */ - storageContainerSasToken?: string; + minResourcePercent: number; /** - * 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.** + * The workload group cap percentage resource. */ - readonly failoverGroupId?: string; + maxResourcePercent: number; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The workload group request minimum grant percentage. */ - recoverableDatabaseId?: string; + minResourcePercentPerRequest: number; /** - * Resource tags. + * The workload group request maximum grant percentage. */ - tags?: { [propertyName: string]: string }; -} - -/** - * Contains the information necessary to perform a complete database restore operation. - */ -export interface CompleteDatabaseRestoreDefinition { + maxResourcePercentPerRequest?: number; /** - * The last backup name to apply + * The workload group importance level. */ - lastBackupName: string; -} - -/** - * An interface representing PrivateEndpointProperty. - */ -export interface PrivateEndpointProperty extends BaseResource { + importance?: string; /** - * Resource id of the private endpoint. + * The workload group query execution timeout. */ - id?: string; + queryExecutionTimeout?: number; } /** - * An interface representing PrivateLinkServiceConnectionStateProperty. + * Workload classifier operations for a data warehouse */ -export interface PrivateLinkServiceConnectionStateProperty { +export interface WorkloadClassifier extends ProxyResource { /** - * The private link service connection status. + * The workload classifier member name. */ - status: string; + memberName: string; /** - * The private link service connection description. + * The workload classifier label. */ - description: string; + label?: string; /** - * The actions required for private link service connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier context. */ - readonly actionsRequired?: string; -} - -/** - * A private endpoint connection - */ -export interface PrivateEndpointConnection extends ProxyResource { + context?: string; /** - * Private endpoint which the connection belongs to. + * The workload classifier start time for classification. */ - privateEndpoint?: PrivateEndpointProperty; + startTime?: string; /** - * Connection state of the private endpoint connection. + * The workload classifier end time for classification. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + endTime?: string; /** - * State of the private endpoint connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier importance. */ - readonly provisioningState?: string; + importance?: string; } /** - * Properties of a private link resource. + * An interface representing UpsertManagedServerOperationParameters. */ -export interface PrivateLinkResourceProperties { +export interface UpsertManagedServerOperationParameters { + family?: string; + tier?: string; + vCores?: number; + storageSizeInGB?: number; +} + +/** + * The parameters of a managed instance operation. + */ +export interface ManagedInstanceOperationParametersPair { /** - * The private link resource group id. + * The current parameters. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly groupId?: string; + readonly currentParameters?: UpsertManagedServerOperationParameters; /** - * The private link resource required member names. + * The requested parameters. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; + readonly requestedParameters?: UpsertManagedServerOperationParameters; } /** - * A private link resource + * An interface representing UpsertManagedServerOperationStep. */ -export interface PrivateLinkResource extends ProxyResource { +export interface UpsertManagedServerOperationStep { + order?: number; + name?: string; /** - * The private link resource group id. - * **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 properties?: PrivateLinkResourceProperties; + status?: Status; } /** - * Optional Parameters. + * The steps of a managed instance operation. */ -export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedInstanceOperationSteps { /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * The total number of operation steps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicaType?: ReplicaType; -} - -/** - * Optional Parameters. - */ -export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { + readonly totalSteps?: string; /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * The number of current operation steps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - replicaType?: ReplicaType; -} - -/** - * Optional Parameters. - */ -export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { + readonly currentStep?: number; /** - * The number of elements in the collection to skip. + * The operation steps list. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly stepsList?: UpsertManagedServerOperationStep[]; } /** - * Optional Parameters. + * A managed instance operation. */ -export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedInstanceOperation extends ProxyResource { /** - * The continuation token for this operation. + * 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.** */ - continuationToken?: string; -} - -/** - * Optional Parameters. - */ -export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { + readonly managedInstanceName?: string; /** - * If specified, only job executions created at or after the specified time are included. + * The name of operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMin?: Date; + readonly operation?: string; /** - * If specified, only job executions created before the specified time are included. + * The friendly name of operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly operationFriendlyName?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * The percentage of the operation completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly percentComplete?: number; /** - * If specified, only job executions completed before the specified time are included. + * The operation start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly startTime?: Date; /** - * If specified, only active or only completed job executions are included. + * 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.** */ - isActive?: boolean; + readonly state?: ManagementOperationState; /** - * The number of elements in the collection to skip. + * The operation error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly errorCode?: number; /** - * The number of elements to return from the collection. + * The operation error description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; -} - -/** - * Optional Parameters. - */ -export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { + readonly errorDescription?: string; /** - * If specified, only job executions created at or after the specified time are included. + * The operation error severity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMin?: Date; + readonly errorSeverity?: number; /** - * If specified, only job executions created before the specified time are included. + * Whether or not the error is a user error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly isUserError?: boolean; /** - * If specified, only job executions completed at or after the specified time are included. + * The estimated completion time of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly estimatedCompletionTime?: Date; /** - * If specified, only job executions completed before the specified time are included. + * The operation description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly description?: string; /** - * If specified, only active or only completed job executions are included. + * Whether the operation can be cancelled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly isCancellable?: boolean; /** - * The number of elements in the collection to skip. + * The operation parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly operationParameters?: ManagedInstanceOperationParametersPair; /** - * The number of elements to return from the collection. + * The operation steps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly operationSteps?: ManagedInstanceOperationSteps; } /** - * Optional Parameters. + * Azure Active Directory administrator. */ -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; +export interface ServerAzureADAdministrator extends ProxyResource { /** - * If specified, only job executions completed at or after the specified time are included. + * Login name of the server administrator. */ - endTimeMin?: Date; + login: string; /** - * If specified, only job executions completed before the specified time are included. + * SID (object ID) of the server administrator. */ - endTimeMax?: Date; + sid: string; /** - * If specified, only active or only completed job executions are included. + * Tenant ID of the administrator. */ - isActive?: boolean; + tenantId?: string; /** - * The number of elements in the collection to skip. + * Azure Active Directory only Authentication enabled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly azureADOnlyAuthentication?: boolean; +} + +/** + * Properties of the sync database id. + */ +export interface SyncDatabaseIdProperties { /** - * The number of elements to return from the collection. + * ARM resource id of sync database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly id?: string; } /** - * Optional Parameters. + * Properties of the column in the table of database full schema. */ -export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { +export interface SyncFullSchemaTableColumn { /** - * If specified, only job executions created at or after the specified time are included. + * Data size of the column. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMin?: Date; + readonly dataSize?: string; /** - * If specified, only job executions created before the specified time are included. + * Data type of the column. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly dataType?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * Error id of the column. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly errorId?: string; /** - * If specified, only job executions completed before the specified time are included. + * If there is error in the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly hasError?: boolean; /** - * If specified, only active or only completed job executions are included. + * If it is the primary key of the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly isPrimaryKey?: boolean; /** - * The number of elements in the collection to skip. + * Name of the column. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly name?: string; /** - * The number of elements to return from the collection. - */ - top?: number; + * Quoted name of the column. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly quotedName?: string; } /** - * Optional Parameters. + * Properties of the table in the database full schema. */ -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; +export interface SyncFullSchemaTable { /** - * If specified, only job executions completed at or after the specified time are included. + * 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.** */ - endTimeMin?: Date; + readonly columns?: SyncFullSchemaTableColumn[]; /** - * If specified, only job executions completed before the specified time are included. + * Error id of the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly errorId?: string; /** - * If specified, only active or only completed job executions are included. + * If there is error in the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly hasError?: boolean; /** - * The number of elements in the collection to skip. + * Name of the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly name?: string; /** - * The number of elements to return from the collection. + * Quoted name of the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly quotedName?: string; } /** - * Optional Parameters. + * Properties of the database full schema. */ -export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface SyncFullSchemaProperties { /** - * Whether or not to only get the latest backup for each database. + * List of tables in the database full schema. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly tables?: SyncFullSchemaTable[]; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Last update time of the database schema. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; + readonly lastUpdateTime?: Date; } /** - * Optional Parameters. + * Properties of an Azure SQL Database sync group log. */ -export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { +export interface SyncGroupLogProperties { /** - * Whether or not to only get the latest backup for each database. + * Timestamp of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly timestamp?: Date; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * 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.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase { + readonly type?: SyncGroupLogType; /** - * Whether or not to only get the latest backup for each database. + * Source of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly source?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Details of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { + readonly details?: string; /** - * Whether or not to only get the latest backup for each database. + * TracingId of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly tracingId?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * OperationStatus of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; + readonly operationStatus?: string; } /** - * Optional Parameters. + * Properties of column in sync group table. */ -export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { +export interface SyncGroupSchemaTableColumn { /** - * Whether or not to only get the latest backup for each database. + * Quoted name of sync group table column. */ - onlyLatestPerDatabase?: boolean; + quotedName?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Data size of the column. */ - databaseState?: LongTermRetentionDatabaseState; + dataSize?: string; + /** + * Data type of the column. + */ + dataType?: string; } /** - * Optional Parameters. + * Properties of table in sync group schema. */ -export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { +export interface SyncGroupSchemaTable { /** - * Whether or not to only get the latest backup for each database. + * List of columns in sync group schema. */ - onlyLatestPerDatabase?: boolean; + columns?: SyncGroupSchemaTableColumn[]; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Quoted name of sync group schema table. */ - databaseState?: LongTermRetentionDatabaseState; + quotedName?: string; } /** - * Optional Parameters. + * Properties of sync group schema. */ -export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface SyncGroupSchema { /** - * An OData filter expression that filters elements in the collection. + * List of tables in sync group schema. */ - filter?: string; + tables?: SyncGroupSchemaTable[]; + /** + * Name of master sync member where the schema is from. + */ + masterSyncMemberName?: string; } /** - * Optional Parameters. + * An Azure SQL Database sync group. */ -export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface SyncGroup extends ProxyResource { /** - * Specifies whether to include disabled recommendations or not. + * Sync interval of the sync group. */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + interval?: number; /** - * An OData filter expression that filters elements in the collection. + * Last sync time of the sync group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { + readonly lastSyncTime?: Date; /** - * If specified, restricts the response to only include the selected item. Possible values - * include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' + * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' */ - include?: CapabilityGroup; -} - -/** - * Optional Parameters. - */ -export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { + conflictResolutionPolicy?: SyncConflictResolutionPolicy; /** - * An OData filter expression that filters elements in the collection. + * ARM resource id of the sync database in the sync group. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + syncDatabaseId?: string; /** - * An OData filter expression that filters elements in the collection. + * User name for the sync group hub database credential. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + hubDatabaseUserName?: string; /** - * Specifies whether to include disabled recommendations or not. + * Password for the sync group hub database credential. */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + hubDatabasePassword?: string; /** - * An OData filter expression that filters elements in the collection. + * 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.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { + readonly syncState?: SyncGroupState; /** - * Optional request parameter to include managed instance usages within the instance pool. + * Sync schema of the sync group. */ - expandChildren?: boolean; -} - -/** - * An interface representing SqlManagementClientOptions. - */ -export interface SqlManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; -} - -/** - * @interface - * The response to a list recoverable databases request - * @extends Array - */ -export interface RecoverableDatabaseListResult extends Array { -} - -/** - * @interface - * The response to a list restorable dropped databases request - * @extends Array - */ -export interface RestorableDroppedDatabaseListResult extends Array { + schema?: SyncGroupSchema; + /** + * If use private link connection is enabled. + */ + usePrivateLinkConnection?: boolean; } /** - * @interface - * A list of servers. - * @extends Array + * An Azure SQL Database sync member. */ -export interface ServerListResult extends Array { +export interface SyncMember extends ProxyResource { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Database type of the sync member. Possible values include: 'AzureSqlDatabase', + * 'SqlServerDatabase' */ - readonly nextLink?: string; + 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; + /** + * 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; +} + +/** + * A short term retention policy. + */ +export interface BackupShortTermRetentionPolicy extends ProxyResource { + /** + * The backup retention period in days. This is how many days Point-in-Time Restore will be + * supported. + */ + retentionDays?: number; + /** + * The differential backup interval in hours. This is how many interval hours between each + * differential backup will be supported. This is only applicable to live databases but not + * dropped databases. + */ + diffBackupIntervalInHours?: number; +} + +/** + * A managed database restore details. + */ +export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { + /** + * Restore status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; + /** + * Current restoring file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentRestoringFileName?: string; + /** + * Last restored file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRestoredFileName?: string; + /** + * Last restored file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRestoredFileTime?: Date; + /** + * Percent completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly percentCompleted?: number; + /** + * List of unrestorable files. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unrestorableFiles?: string[]; + /** + * Number of files detected. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly numberOfFilesDetected?: number; + /** + * Last uploaded file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUploadedFileName?: string; + /** + * Last uploaded file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUploadedFileTime?: Date; + /** + * The reason why restore is in Blocked state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly blockReason?: string; +} + +/** + * A managed database resource. + */ +export interface ManagedDatabase extends TrackedResource { + /** + * Collation of the managed database. + */ + collation?: string; + /** + * 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 status?: ManagedDatabaseStatus; + /** + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * 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 earliestRestorePoint?: Date; + /** + * 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. + */ + restorePointInTime?: Date; + /** + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly defaultSecondaryLocation?: string; + /** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' + */ + catalogCollation?: CatalogCollationType; + /** + * 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' + */ + createMode?: ManagedDatabaseCreateMode; + /** + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. + */ + storageContainerUri?: string; + /** + * The resource identifier of the source database associated with create operation of this + * database. + */ + sourceDatabaseId?: string; + /** + * The restorable dropped database resource id to restore when creating this database. + */ + restorableDroppedDatabaseId?: string; + /** + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. + */ + storageContainerSasToken?: string; + /** + * 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.** + */ + readonly failoverGroupId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; + /** + * The name of the Long Term Retention backup to be used for restore of this managed database. + */ + longTermRetentionBackupResourceId?: string; + /** + * Whether to auto complete restore of this managed database. + */ + autoCompleteRestore?: boolean; + /** + * Last backup file name for restore of this managed database. + */ + lastBackupName?: string; +} + +/** + * An managed database update. + */ +export interface ManagedDatabaseUpdate { + /** + * Collation of the managed database. + */ + collation?: string; + /** + * 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 status?: ManagedDatabaseStatus; + /** + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * 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 earliestRestorePoint?: Date; + /** + * 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. + */ + restorePointInTime?: Date; + /** + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly defaultSecondaryLocation?: string; + /** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' + */ + catalogCollation?: CatalogCollationType; + /** + * 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' + */ + createMode?: ManagedDatabaseCreateMode; + /** + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. + */ + storageContainerUri?: string; + /** + * The resource identifier of the source database associated with create operation of this + * database. + */ + sourceDatabaseId?: string; + /** + * The restorable dropped database resource id to restore when creating this database. + */ + restorableDroppedDatabaseId?: string; + /** + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. + */ + storageContainerSasToken?: string; + /** + * 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.** + */ + readonly failoverGroupId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; + /** + * The name of the Long Term Retention backup to be used for restore of this managed database. + */ + longTermRetentionBackupResourceId?: string; + /** + * Whether to auto complete restore of this managed database. + */ + autoCompleteRestore?: boolean; + /** + * Last backup file name for restore of this managed database. + */ + lastBackupName?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * Contains the information necessary to perform a complete database restore operation. + */ +export interface CompleteDatabaseRestoreDefinition { + /** + * The last backup name to apply + */ + lastBackupName: string; +} + +/** + * Azure Active Directory only authentication. + */ +export interface ServerAzureADOnlyAuthentication extends ProxyResource { + /** + * 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?: ResourceIdentity; + /** + * 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; + /** + * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' + */ + minimalTlsVersion?: string; +} + +/** + * An interface representing ManagedInstancePrivateLinkServiceConnectionStateProperty. + */ +export interface ManagedInstancePrivateLinkServiceConnectionStateProperty { + /** + * The private link service connection status. + */ + status: string; + /** + * The private link service connection description. + */ + description: string; + /** + * The private link service connection description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly actionsRequired?: string; +} + +/** + * An update request for an Azure SQL Database managed instance. + */ +export interface ManagedInstanceUpdate { + /** + * Managed instance sku + */ + 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; + /** + * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' + */ + minimalTlsVersion?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: 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 ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { + /** + * The number of elements in the collection to skip. + */ + skip?: number; +} + +/** + * 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 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 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 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?: LongTermRetentionDatabaseState; +} + +/** + * 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?: LongTermRetentionDatabaseState; +} + +/** + * 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?: LongTermRetentionDatabaseState; +} + +/** + * 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?: LongTermRetentionDatabaseState; +} + +/** + * 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?: LongTermRetentionDatabaseState; +} + +/** + * 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?: LongTermRetentionDatabaseState; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * 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 ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: 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 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 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?: DatabaseState1; +} + +/** + * 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?: DatabaseState2; +} + +/** + * 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?: DatabaseState3; +} + +/** + * 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?: DatabaseState4; +} + +/** + * 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?: DatabaseState5; +} + +/** + * 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?: DatabaseState6; +} + +/** + * Optional Parameters. + */ +export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { + /** + * The continuation token for this operation. + */ + continuationToken?: string; +} + +/** + * 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; +} + +/** + * An interface representing SqlManagementClientOptions. + */ +export interface SqlManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * The response to a list recoverable databases request + * @extends Array + */ +export interface RecoverableDatabaseListResult extends Array { +} + +/** + * @interface + * The response to a list restorable dropped databases request + * @extends Array + */ +export interface RestorableDroppedDatabaseListResult extends Array { +} + +/** + * @interface + * The response to a list data masking rules request. + * @extends Array + */ +export interface DataMaskingRuleListResult extends Array { +} + +/** + * @interface + * Represents the response to a List Firewall Rules request. + * @extends Array + */ +export interface FirewallRuleListResult extends Array { +} + +/** + * @interface + * The response to a list geo backup policies request. + * @extends Array + */ +export interface GeoBackupPolicyListResult extends Array { +} + +/** + * @interface + * The response to a list database metrics request. + * @extends Array + */ +export interface MetricListResult extends Array { +} + +/** + * @interface + * The response to a list database metric definitions request. + * @extends Array + */ +export interface MetricDefinitionListResult extends Array { +} + +/** + * @interface + * A list of databases. + * @extends Array + */ +export interface DatabaseListResult extends Array { + /** + * 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 + */ +export interface ElasticPoolListResult extends Array { + /** + * 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 + * Represents the response to a list recommended elastic pool request. + * @extends Array + */ +export interface RecommendedElasticPoolListResult extends Array { +} + +/** + * @interface + * Represents the response to a list recommended elastic pool metrics request. + * @extends Array + */ +export interface RecommendedElasticPoolListMetricsResult extends Array { +} + +/** + * @interface + * Represents the response to a List database replication link request. + * @extends Array + */ +export interface ReplicationLinkListResult extends Array { +} + +/** + * @interface + * A list of server communication links. + * @extends Array + */ +export interface ServerCommunicationLinkListResult extends Array { +} + +/** + * @interface + * Represents the response to a get database service objectives request. + * @extends Array + */ +export interface ServiceObjectiveListResult extends Array { +} + +/** + * @interface + * Represents the response to a list elastic pool activity request. + * @extends Array + */ +export interface ElasticPoolActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list elastic pool database activity request. + * @extends Array + */ +export interface ElasticPoolDatabaseActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list service tier advisor request. + * @extends Array + */ +export interface ServiceTierAdvisorListResult extends Array { +} + +/** + * @interface + * Represents the response to a list database transparent data encryption activity request. + * @extends Array + */ +export interface TransparentDataEncryptionActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list server metrics request. + * @extends Array + */ +export interface ServerUsageListResult extends Array { +} + +/** + * @interface + * The response to a list database metrics request. + * @extends Array + */ +export interface DatabaseUsageListResult extends Array { +} + +/** + * @interface + * A list of server encryption protectors. + * @extends Array + */ +export interface EncryptionProtectorListResult extends Array { + /** + * 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 + */ +export interface FailoverGroupListResult extends Array { + /** + * 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 + */ +export interface OperationListResult extends Array { + /** + * 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 + */ +export interface ServerKeyListResult extends Array { + /** + * 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 + */ +export interface SyncAgentListResult extends Array { + /** + * 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 + */ +export interface SyncAgentLinkedDatabaseListResult extends Array { + /** + * 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 + */ +export interface SubscriptionUsageListResult extends Array { + /** + * 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 + */ +export interface VirtualClusterListResult extends Array { + /** + * 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 + */ +export interface VirtualNetworkRuleListResult extends Array { + /** + * 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 + */ +export interface ExtendedDatabaseBlobAuditingPolicyListResult extends Array { + /** + * 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 + */ +export interface ExtendedServerBlobAuditingPolicyListResult extends Array { + /** + * 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 + */ +export interface ServerBlobAuditingPolicyListResult extends Array { + /** + * 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 + */ +export interface DatabaseBlobAuditingPolicyListResult extends Array { + /** + * 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 + */ +export interface DatabaseVulnerabilityAssessmentListResult extends Array { + /** + * 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 + */ +export interface JobAgentListResult extends Array { + /** + * 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 + */ +export interface JobCredentialListResult extends Array { + /** + * 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 + */ +export interface JobExecutionListResult extends Array { + /** + * 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 + */ +export interface JobListResult extends Array { + /** + * 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 + */ +export interface JobStepListResult extends Array { + /** + * 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 + */ +export interface JobTargetGroupListResult extends Array { + /** + * 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 + */ +export interface JobVersionListResult extends Array { + /** + * 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 + */ +export interface LongTermRetentionBackupListResult extends Array { + /** + * 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 + */ +export interface ManagedBackupShortTermRetentionPolicyListResult extends Array { + /** + * 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 + */ +export interface ServerDnsAliasListResult extends Array { + /** + * 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 + */ +export interface LogicalServerSecurityAlertPolicyListResult extends Array { + /** + * 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 + */ +export interface RestorableDroppedManagedDatabaseListResult extends Array { + /** + * 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 + */ +export interface RestorePointListResult extends Array { + /** + * 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 + */ +export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array { + /** + * 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 + */ +export interface ManagedServerSecurityAlertPolicyListResult extends Array { + /** + * 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 + */ +export interface SensitivityLabelListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceAdministratorListResult extends Array { + /** + * 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 + */ +export interface DatabaseOperationListResult extends Array { + /** + * 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 + */ +export interface ElasticPoolOperationListResult extends Array { + /** + * 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 + */ +export interface VulnerabilityAssessmentScanRecordListResult extends Array { + /** + * 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 + */ +export interface InstanceFailoverGroupListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceKeyListResult extends Array { + /** + * 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 data masking rules request. - * @extends Array + * A list of managed instance encryption protectors. + * @extends Array */ -export interface DataMaskingRuleListResult extends Array { +export interface ManagedInstanceEncryptionProtectorListResult extends Array { + /** + * 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 - * Represents the response to a List Firewall Rules request. - * @extends Array + * A list of recoverable managed databases. + * @extends Array */ -export interface FirewallRuleListResult extends Array { +export interface RecoverableManagedDatabaseListResult extends Array { + /** + * 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 geo backup policies request. - * @extends Array + * A list of the ManagedInstance's vulnerability assessments. + * @extends Array */ -export interface GeoBackupPolicyListResult extends Array { +export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array { + /** + * 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 metrics request. - * @extends Array + * A list of the server's vulnerability assessments. + * @extends Array */ -export interface MetricListResult extends Array { +export interface ServerVulnerabilityAssessmentListResult extends Array { + /** + * 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 + */ +export interface InstancePoolListResult extends Array { + /** + * 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 + */ +export interface UsageListResult extends Array { + /** + * 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 + */ +export interface PrivateEndpointConnectionListResult extends Array { + /** + * 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 + */ +export interface PrivateLinkResourceListResult extends Array { + /** + * 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 + */ +export interface ServerListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceLongTermRetentionBackupListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceLongTermRetentionPolicyListResult extends Array { + /** + * 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 + */ +export interface WorkloadGroupListResult extends Array { + /** + * 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 + */ +export interface WorkloadClassifierListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceOperationListResult extends Array { + /** + * 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 + */ +export interface AdministratorListResult extends Array { + /** + * 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 + */ +export interface SyncDatabaseIdListResult extends Array { + /** + * 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 + */ +export interface SyncFullSchemaPropertiesListResult extends Array { + /** + * 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 + */ +export interface SyncGroupLogListResult extends Array { + /** + * 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 + */ +export interface SyncGroupListResult extends Array { + /** + * 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 + */ +export interface SyncMemberListResult extends Array { + /** + * 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 + */ +export interface ManagedInstanceListResult extends Array { + /** + * 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 metric definitions request. - * @extends Array + * A list of short term retention policies. + * @extends Array */ -export interface MetricDefinitionListResult extends Array { +export interface BackupShortTermRetentionPolicyListResult extends Array { + /** + * 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 databases. - * @extends Array + * A list of managed databases. + * @extends Array */ -export interface DatabaseListResult extends Array { +export interface ManagedDatabaseListResult extends Array { /** * Link to retrieve next page of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6219,10 +7924,10 @@ export interface DatabaseListResult extends Array { /** * @interface - * The result of an elastic pool list request. - * @extends Array + * A list of active directory only authentications. + * @extends Array */ -export interface ElasticPoolListResult extends Array { +export interface AzureADOnlyAuthListResult extends Array { /** * Link to retrieve next page of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6231,1446 +7936,1663 @@ export interface ElasticPoolListResult extends Array { } /** - * @interface - * Represents the response to a list recommended elastic pool request. - * @extends Array + * Defines values for ServerConnectionType. + * Possible values include: 'Default', 'Proxy', 'Redirect' + * @readonly + * @enum {string} */ -export interface RecommendedElasticPoolListResult extends Array { -} +export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; /** - * @interface - * Represents the response to a list recommended elastic pool metrics request. - * @extends Array + * Defines values for SecurityAlertPolicyState. + * Possible values include: 'New', 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface RecommendedElasticPoolListMetricsResult extends Array { -} +export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; /** - * @interface - * Represents the response to a List database replication link request. - * @extends Array + * Defines values for SecurityAlertPolicyEmailAccountAdmins. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface ReplicationLinkListResult extends Array { -} +export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; /** - * @interface - * The response to a list Active Directory Administrators request. - * @extends Array + * Defines values for SecurityAlertPolicyUseServerDefault. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface ServerAdministratorListResult extends Array { -} +export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; /** - * @interface - * A list of server communication links. - * @extends Array + * Defines values for DataMaskingState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} */ -export interface ServerCommunicationLinkListResult extends Array { -} +export type DataMaskingState = 'Disabled' | 'Enabled'; /** - * @interface - * Represents the response to a get database service objectives request. - * @extends Array + * Defines values for DataMaskingRuleState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} */ -export interface ServiceObjectiveListResult extends Array { -} +export type DataMaskingRuleState = 'Disabled' | 'Enabled'; /** - * @interface - * Represents the response to a list elastic pool activity request. - * @extends Array + * Defines values for DataMaskingFunction. + * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + * @readonly + * @enum {string} */ -export interface ElasticPoolActivityListResult extends Array { -} +export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; /** - * @interface - * Represents the response to a list elastic pool database activity request. - * @extends Array + * Defines values for GeoBackupPolicyState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} */ -export interface ElasticPoolDatabaseActivityListResult extends Array { -} +export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; /** - * @interface - * Represents the response to a list service tier advisor request. - * @extends Array + * Defines values for DatabaseEdition. + * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', + * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', + * 'Hyperscale' + * @readonly + * @enum {string} */ -export interface ServiceTierAdvisorListResult extends Array { -} +export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; /** - * @interface - * Represents the response to a list database transparent data encryption activity request. - * @extends Array + * 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 interface TransparentDataEncryptionActivityListResult extends Array { -} +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'; /** - * @interface - * Represents the response to a list server metrics request. - * @extends Array + * Defines values for StorageKeyType. + * Possible values include: 'StorageAccessKey', 'SharedAccessKey' + * @readonly + * @enum {string} */ -export interface ServerUsageListResult extends Array { -} +export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey'; /** - * @interface - * The response to a list database metrics request. - * @extends Array + * Defines values for AuthenticationType. + * Possible values include: 'SQL', 'ADPassword' + * @readonly + * @enum {string} */ -export interface DatabaseUsageListResult extends Array { -} +export type AuthenticationType = 'SQL' | 'ADPassword'; /** - * @interface - * A list of server encryption protectors. - * @extends Array + * Defines values for UnitType. + * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', + * 'bytesPerSecond' + * @readonly + * @enum {string} */ -export interface EncryptionProtectorListResult extends Array { - /** - * 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; -} +export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; /** - * @interface - * A list of failover groups. - * @extends Array + * Defines values for PrimaryAggregationType. + * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' + * @readonly + * @enum {string} */ -export interface FailoverGroupListResult extends Array { - /** - * 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; -} +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 ElasticPoolEdition. + * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' + * @readonly + * @enum {string} + */ +export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; + +/** + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * @readonly + * @enum {string} + */ +export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; + +/** + * Defines values for ReplicationState. + * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' + * @readonly + * @enum {string} + */ +export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; + +/** + * Defines values for RecommendedIndexAction. + * Possible values include: 'Create', 'Drop', 'Rebuild' + * @readonly + * @enum {string} + */ +export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; + +/** + * 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'; + +/** + * Defines values for RecommendedIndexType. + * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' + * @readonly + * @enum {string} + */ +export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; + +/** + * Defines values for TransparentDataEncryptionStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for TransparentDataEncryptionActivityStatus. + * Possible values include: 'Encrypting', 'Decrypting' + * @readonly + * @enum {string} + */ +export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; + +/** + * Defines values for AutomaticTuningMode. + * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' + * @readonly + * @enum {string} + */ +export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; /** - * @interface - * Result of the request to list SQL operations. - * @extends Array + * Defines values for AutomaticTuningOptionModeDesired. + * Possible values include: 'Off', 'On', 'Default' + * @readonly + * @enum {string} */ -export interface OperationListResult extends Array { - /** - * 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; -} +export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; /** - * @interface - * A list of server keys. - * @extends Array + * Defines values for AutomaticTuningOptionModeActual. + * Possible values include: 'Off', 'On' + * @readonly + * @enum {string} */ -export interface ServerKeyListResult extends Array { - /** - * 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; -} +export type AutomaticTuningOptionModeActual = 'Off' | 'On'; /** - * @interface - * A list of sync agents. - * @extends Array + * Defines values for AutomaticTuningDisabledReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', + * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' + * @readonly + * @enum {string} */ -export interface SyncAgentListResult extends Array { - /** - * 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; -} +export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; /** - * @interface - * A list of sync agent linked databases. - * @extends Array + * Defines values for ServerKeyType. + * Possible values include: 'ServiceManaged', 'AzureKeyVault' + * @readonly + * @enum {string} */ -export interface SyncAgentLinkedDatabaseListResult extends Array { - /** - * 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; -} +export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; /** - * @interface - * A list of sync database ID properties. - * @extends Array + * Defines values for ReadWriteEndpointFailoverPolicy. + * Possible values include: 'Manual', 'Automatic' + * @readonly + * @enum {string} */ -export interface SyncDatabaseIdListResult extends Array { - /** - * 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; -} +export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; /** - * @interface - * A list of sync schema properties. - * @extends Array + * Defines values for ReadOnlyEndpointFailoverPolicy. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} */ -export interface SyncFullSchemaPropertiesListResult extends Array { - /** - * 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; -} +export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; /** - * @interface - * A list of sync group log properties. - * @extends Array + * Defines values for FailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} */ -export interface SyncGroupLogListResult extends Array { - /** - * 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; -} +export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; /** - * @interface - * A list of sync groups. - * @extends Array + * Defines values for OperationOrigin. + * Possible values include: 'user', 'system' + * @readonly + * @enum {string} */ -export interface SyncGroupListResult extends Array { - /** - * 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; -} +export type OperationOrigin = 'user' | 'system'; /** - * @interface - * A list of Azure SQL Database sync members. - * @extends Array + * Defines values for SyncAgentState. + * Possible values include: 'Online', 'Offline', 'NeverConnected' + * @readonly + * @enum {string} */ -export interface SyncMemberListResult extends Array { - /** - * 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; -} +export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; /** - * @interface - * A list of subscription usage metrics in a location. - * @extends Array + * Defines values for SyncMemberDbType. + * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' + * @readonly + * @enum {string} */ -export interface SubscriptionUsageListResult extends Array { - /** - * 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; -} +export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; /** - * @interface - * A list of virtual clusters. - * @extends Array + * Defines values for VirtualNetworkRuleState. + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' + * @readonly + * @enum {string} */ -export interface VirtualClusterListResult extends Array { - /** - * 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; -} +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; /** - * @interface - * A list of virtual network rules. - * @extends Array + * Defines values for BlobAuditingPolicyState. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface VirtualNetworkRuleListResult extends Array { - /** - * 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; -} +export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; /** - * @interface - * A list of server auditing settings. - * @extends Array + * Defines values for JobAgentState. + * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' + * @readonly + * @enum {string} */ -export interface ServerBlobAuditingPolicyListResult extends Array { - /** - * 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; -} +export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; /** - * @interface - * A list of database auditing settings. - * @extends Array + * Defines values for JobExecutionLifecycle. + * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', + * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', + * 'Skipped' + * @readonly + * @enum {string} */ -export interface DatabaseBlobAuditingPolicyListResult extends Array { - /** - * 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; -} +export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; /** - * @interface - * A list of the database's vulnerability assessments. - * @extends Array + * Defines values for ProvisioningState. + * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * @readonly + * @enum {string} */ -export interface DatabaseVulnerabilityAssessmentListResult extends Array { - /** - * 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; -} +export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; /** - * @interface - * A list of Azure SQL job agents. - * @extends Array + * Defines values for JobTargetType. + * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', + * 'SqlServer' + * @readonly + * @enum {string} */ -export interface JobAgentListResult extends Array { - /** - * 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; -} +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'; /** - * @interface - * A list of job credentials. - * @extends Array + * Defines values for JobStepActionType. + * Possible values include: 'TSql' + * @readonly + * @enum {string} */ -export interface JobCredentialListResult extends Array { - /** - * 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; -} +export type JobStepActionType = 'TSql'; /** - * @interface - * A list of job executions. - * @extends Array + * Defines values for JobStepActionSource. + * Possible values include: 'Inline' + * @readonly + * @enum {string} */ -export interface JobExecutionListResult extends Array { - /** - * 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; -} +export type JobStepActionSource = 'Inline'; /** - * @interface - * A list of jobs. - * @extends Array + * Defines values for JobStepOutputType. + * Possible values include: 'SqlDatabase' + * @readonly + * @enum {string} */ -export interface JobListResult extends Array { - /** - * 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; -} +export type JobStepOutputType = 'SqlDatabase'; /** - * @interface - * A list of job steps. - * @extends Array + * Defines values for JobTargetGroupMembershipType. + * Possible values include: 'Include', 'Exclude' + * @readonly + * @enum {string} */ -export interface JobStepListResult extends Array { - /** - * 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; -} +export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; /** - * @interface - * A list of target groups. - * @extends Array + * Defines values for AutomaticTuningServerMode. + * Possible values include: 'Custom', 'Auto', 'Unspecified' + * @readonly + * @enum {string} */ -export interface JobTargetGroupListResult extends Array { - /** - * 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; -} +export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; /** - * @interface - * A list of job versions. - * @extends Array + * Defines values for AutomaticTuningServerReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured' + * @readonly + * @enum {string} */ -export interface JobVersionListResult extends Array { - /** - * 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; -} +export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; /** - * @interface - * A list of long term retention backups. - * @extends Array + * Defines values for RestorePointType. + * Possible values include: 'CONTINUOUS', 'DISCRETE' + * @readonly + * @enum {string} */ -export interface LongTermRetentionBackupListResult extends Array { - /** - * 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; -} +export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; /** - * @interface - * A list of short term retention policies. - * @extends Array + * Defines values for SensitivityLabelRank. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + * @readonly + * @enum {string} */ -export interface ManagedBackupShortTermRetentionPolicyListResult extends Array { - /** - * 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; -} +export type SensitivityLabelRank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; /** - * @interface - * A list of server DNS aliases. - * @extends Array + * Defines values for ManagementOperationState. + * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', + * 'Cancelled' + * @readonly + * @enum {string} */ -export interface ServerDnsAliasListResult extends Array { - /** - * 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; -} +export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; /** - * @interface - * A list of the server's security alert policies. - * @extends Array + * Defines values for CreateMode. + * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore', + * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * @readonly + * @enum {string} */ -export interface LogicalServerSecurityAlertPolicyListResult extends Array { - /** - * 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; -} +export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; /** - * @interface - * A list of restorable dropped managed databases. - * @extends Array + * Defines values for SampleName. + * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * @readonly + * @enum {string} */ -export interface RestorableDroppedManagedDatabaseListResult extends Array { - /** - * 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; -} +export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; /** - * @interface - * A list of long term retention backups. - * @extends Array + * 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 interface RestorePointListResult extends Array { - /** - * 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; -} +export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled'; /** - * @interface - * A list of the managed database's security alert policies. - * @extends Array + * Defines values for CatalogCollationType. + * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS' + * @readonly + * @enum {string} */ -export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array { - /** - * 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; -} +export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS'; /** - * @interface - * A list of the managed Server's security alert policies. - * @extends Array + * Defines values for DatabaseLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} */ -export interface ManagedServerSecurityAlertPolicyListResult extends Array { - /** - * 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; -} +export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * @interface - * A list of sensitivity labels. - * @extends Array + * Defines values for DatabaseReadScale. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface SensitivityLabelListResult extends Array { - /** - * 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; -} +export type DatabaseReadScale = 'Enabled' | 'Disabled'; /** - * @interface - * A list of managed instance administrators. - * @extends Array + * Defines values for ElasticPoolState. + * Possible values include: 'Creating', 'Ready', 'Disabled' + * @readonly + * @enum {string} */ -export interface ManagedInstanceAdministratorListResult extends Array { - /** - * 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; -} +export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; /** - * @interface - * The response to a list database operations request - * @extends Array + * Defines values for ElasticPoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for VulnerabilityAssessmentScanTriggerType. + * Possible values include: 'OnDemand', 'Recurring' + * @readonly + * @enum {string} */ -export interface DatabaseOperationListResult extends Array { - /** - * 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; -} +export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; /** - * @interface - * The response to a list elastic pool operations request - * @extends Array + * Defines values for VulnerabilityAssessmentScanState. + * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * @readonly + * @enum {string} */ -export interface ElasticPoolOperationListResult extends Array { - /** - * 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; -} +export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; /** - * @interface - * A list of vulnerability assessment scan records. - * @extends Array + * Defines values for InstanceFailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} */ -export interface VulnerabilityAssessmentScanRecordListResult extends Array { - /** - * 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; -} +export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; /** - * @interface - * A list of instance failover groups. - * @extends Array + * Defines values for InstancePoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} */ -export interface InstanceFailoverGroupListResult extends Array { - /** - * 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; -} +export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * @interface - * A list of short term retention policies. - * @extends Array + * Defines values for PrivateLinkServiceConnectionStateStatus. + * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected' + * @readonly + * @enum {string} */ -export interface BackupShortTermRetentionPolicyListResult extends Array { - /** - * 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; -} +export type PrivateLinkServiceConnectionStateStatus = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected'; /** - * @interface - * A list of managed instance keys. - * @extends Array + * Defines values for PrivateLinkServiceConnectionStateActionsRequire. + * Possible values include: 'None' + * @readonly + * @enum {string} */ -export interface ManagedInstanceKeyListResult extends Array { - /** - * 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; -} +export type PrivateLinkServiceConnectionStateActionsRequire = 'None'; /** - * @interface - * A list of managed instance encryption protectors. - * @extends Array + * Defines values for PrivateEndpointProvisioningState. + * Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting' + * @readonly + * @enum {string} */ -export interface ManagedInstanceEncryptionProtectorListResult extends Array { - /** - * 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; -} +export type PrivateEndpointProvisioningState = 'Approving' | 'Ready' | 'Dropping' | 'Failed' | 'Rejecting'; /** - * @interface - * A list of recoverable managed databases. - * @extends Array + * Defines values for IdentityType. + * Possible values include: 'SystemAssigned' + * @readonly + * @enum {string} */ -export interface RecoverableManagedDatabaseListResult extends Array { - /** - * 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; -} +export type IdentityType = 'SystemAssigned'; /** - * @interface - * A list of the ManagedInstance's vulnerability assessments. - * @extends Array + * Defines values for ServerPublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array { - /** - * 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; -} +export type ServerPublicNetworkAccess = 'Enabled' | 'Disabled'; /** - * @interface - * A list of the server's vulnerability assessments. - * @extends Array + * Defines values for CheckNameAvailabilityReason. + * Possible values include: 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} */ -export interface ServerVulnerabilityAssessmentListResult extends Array { - /** - * 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; -} +export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; /** - * @interface - * A list of Azure SQL instance pools. - * @extends Array + * Defines values for MaxSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' + * @readonly + * @enum {string} */ -export interface InstancePoolListResult extends Array { - /** - * 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; -} +export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; /** - * @interface - * A list of usages. - * @extends Array + * Defines values for LogSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' + * @readonly + * @enum {string} */ -export interface UsageListResult extends Array { - /** - * 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; -} +export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; /** - * @interface - * A list of managed instances. - * @extends Array + * Defines values for CapabilityStatus. + * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' + * @readonly + * @enum {string} */ -export interface ManagedInstanceListResult extends Array { - /** - * 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; -} +export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; /** - * @interface - * A list of managed databases. - * @extends Array + * Defines values for PerformanceLevelUnit. + * Possible values include: 'DTU', 'VCores' + * @readonly + * @enum {string} */ -export interface ManagedDatabaseListResult extends Array { - /** - * 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; -} +export type PerformanceLevelUnit = 'DTU' | 'VCores'; /** - * @interface - * A list of private endpoint connections. - * @extends Array + * Defines values for PauseDelayTimeUnit. + * Possible values include: 'Minutes' + * @readonly + * @enum {string} */ -export interface PrivateEndpointConnectionListResult extends Array { - /** - * 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; -} +export type PauseDelayTimeUnit = 'Minutes'; /** - * @interface - * A list of private link resources - * @extends Array + * Defines values for SyncGroupLogType. + * Possible values include: 'All', 'Error', 'Warning', 'Success' + * @readonly + * @enum {string} */ -export interface PrivateLinkResourceListResult extends Array { - /** - * 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; -} +export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; /** - * Defines values for CheckNameAvailabilityReason. - * Possible values include: 'Invalid', 'AlreadyExists' + * Defines values for SyncConflictResolutionPolicy. + * Possible values include: 'HubWin', 'MemberWin' * @readonly * @enum {string} */ -export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; +export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; /** - * Defines values for ServerConnectionType. - * Possible values include: 'Default', 'Proxy', 'Redirect' + * Defines values for SyncGroupState. + * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' * @readonly * @enum {string} */ -export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; +export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; /** - * Defines values for SecurityAlertPolicyState. - * Possible values include: 'New', 'Enabled', 'Disabled' + * Defines values for SyncDirection. + * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' * @readonly * @enum {string} */ -export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; +export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; /** - * Defines values for SecurityAlertPolicyEmailAccountAdmins. - * Possible values include: 'Enabled', 'Disabled' + * 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 SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; +export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; /** - * Defines values for SecurityAlertPolicyUseServerDefault. - * Possible values include: 'Enabled', 'Disabled' + * Defines values for ManagedDatabaseStatus. + * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', + * 'Restoring', 'Updating' * @readonly * @enum {string} */ -export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; +export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating'; /** - * Defines values for DataMaskingState. - * Possible values include: 'Disabled', 'Enabled' + * Defines values for ManagedDatabaseCreateMode. + * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', + * 'RestoreLongTermRetentionBackup' * @readonly * @enum {string} */ -export type DataMaskingState = 'Disabled' | 'Enabled'; +export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery' | 'RestoreLongTermRetentionBackup'; /** - * Defines values for DataMaskingRuleState. - * Possible values include: 'Disabled', 'Enabled' + * Defines values for ManagedServerCreateMode. + * Possible values include: 'Default', 'PointInTimeRestore' * @readonly * @enum {string} */ -export type DataMaskingRuleState = 'Disabled' | 'Enabled'; +export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; /** - * Defines values for DataMaskingFunction. - * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + * Defines values for ManagedInstanceLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' * @readonly * @enum {string} */ -export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; +export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * Defines values for GeoBackupPolicyState. - * Possible values include: 'Disabled', 'Enabled' + * Defines values for ManagedInstanceProxyOverride. + * Possible values include: 'Proxy', 'Redirect', 'Default' * @readonly * @enum {string} */ -export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; +export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; /** - * Defines values for DatabaseEdition. - * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', - * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - * 'Hyperscale' + * Defines values for LongTermRetentionDatabaseState. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; +export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; /** - * 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' + * Defines values for VulnerabilityAssessmentPolicyBaselineName. + * Possible values include: 'master', 'default' * @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'; +export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; /** - * Defines values for StorageKeyType. - * Possible values include: 'StorageAccessKey', 'SharedAccessKey' + * Defines values for SensitivityLabelSource. + * Possible values include: 'current', 'recommended' * @readonly * @enum {string} */ -export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey'; +export type SensitivityLabelSource = 'current' | 'recommended'; /** - * Defines values for AuthenticationType. - * Possible values include: 'SQL', 'ADPassword' + * Defines values for ReplicaType. + * Possible values include: 'Primary', 'ReadableSecondary' * @readonly * @enum {string} */ -export type AuthenticationType = 'SQL' | 'ADPassword'; +export type ReplicaType = 'Primary' | 'ReadableSecondary'; /** - * Defines values for UnitType. - * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', - * 'bytesPerSecond' + * Defines values for CapabilityGroup. + * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' * @readonly * @enum {string} */ -export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; +export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions' | 'supportedInstancePoolEditions' | 'supportedManagedInstanceEditions'; /** - * Defines values for PrimaryAggregationType. - * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' + * Defines values for DatabaseState1. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; +export type DatabaseState1 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for UnitDefinitionType. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', - * 'BytesPerSecond' + * Defines values for DatabaseState2. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; +export type DatabaseState2 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for ElasticPoolEdition. - * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' + * Defines values for DatabaseState3. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; +export type DatabaseState3 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for ReplicationRole. - * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * Defines values for DatabaseState4. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; +export type DatabaseState4 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for ReplicationState. - * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' + * Defines values for DatabaseState5. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; +export type DatabaseState5 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for RecommendedIndexAction. - * Possible values include: 'Create', 'Drop', 'Rebuild' + * Defines values for DatabaseState6. + * Possible values include: 'All', 'Live', 'Deleted' * @readonly * @enum {string} */ -export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; +export type DatabaseState6 = 'All' | 'Live' | 'Deleted'; /** - * Defines values for RecommendedIndexState. - * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', - * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success' + * Defines values for StorageAccountType. + * Possible values include: 'GRS', 'LRS', 'ZRS' * @readonly * @enum {string} */ -export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success'; +export type StorageAccountType = 'GRS' | 'LRS' | 'ZRS'; /** - * Defines values for RecommendedIndexType. - * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' + * Defines values for Status. + * Possible values include: 'NotStarted', 'InProgress', 'SlowedDown', 'Completed', 'Failed', + * 'Canceled' * @readonly * @enum {string} */ -export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; +export type Status = 'NotStarted' | 'InProgress' | 'SlowedDown' | 'Completed' | 'Failed' | 'Canceled'; /** - * Defines values for TransparentDataEncryptionStatus. - * Possible values include: 'Enabled', 'Disabled' + * Defines values for ProvisioningState1. + * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed' * @readonly * @enum {string} */ -export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; +export type ProvisioningState1 = 'Creating' | 'Deleting' | 'Updating' | 'Unknown' | 'Succeeded' | 'Failed'; /** - * Defines values for TransparentDataEncryptionActivityStatus. - * Possible values include: 'Encrypting', 'Decrypting' + * Defines values for Type. + * Possible values include: 'All', 'Error', 'Warning', 'Success' * @readonly * @enum {string} */ -export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; +export type Type = 'All' | 'Error' | 'Warning' | 'Success'; /** - * Defines values for AutomaticTuningMode. - * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; +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; + }; +}; /** - * Defines values for AutomaticTuningOptionModeDesired. - * Possible values include: 'Off', 'On', 'Default' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; +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; + }; +}; /** - * Defines values for AutomaticTuningOptionModeActual. - * Possible values include: 'Off', 'On' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type AutomaticTuningOptionModeActual = 'Off' | 'On'; +export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { + /** + * 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: RestorableDroppedDatabase; + }; +}; /** - * Defines values for AutomaticTuningDisabledReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', - * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; +export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { + /** + * 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: RestorableDroppedDatabaseListResult; + }; +}; /** - * Defines values for ServerKeyType. - * Possible values include: 'ServiceManaged', 'AzureKeyVault' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; +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; + }; +}; /** - * Defines values for ReadWriteEndpointFailoverPolicy. - * Possible values include: 'Manual', 'Automatic' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; +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 get operation. + */ +export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { + /** + * 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: DatabaseSecurityAlertPolicy; + }; +}; /** - * Defines values for ReadOnlyEndpointFailoverPolicy. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; +export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for FailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} - */ -export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseSecurityAlertPolicy; + }; +}; /** - * Defines values for OperationOrigin. - * Possible values include: 'user', 'system' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type OperationOrigin = 'user' | 'system'; +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for IdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} - */ -export type IdentityType = 'SystemAssigned'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; /** - * Defines values for SyncAgentState. - * Possible values include: 'Online', 'Offline', 'NeverConnected' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncMemberDbType. - * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' - * @readonly - * @enum {string} - */ -export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; /** - * Defines values for SyncGroupLogType. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncConflictResolutionPolicy. - * Possible values include: 'HubWin', 'MemberWin' - * @readonly - * @enum {string} - */ -export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; +}; /** - * Defines values for SyncGroupState. - * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' - * @readonly - * @enum {string} + * Contains response data for the listByDatabase operation. */ -export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; +export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncDirection. - * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' - * @readonly - * @enum {string} - */ -export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRuleListResult; + }; +}; /** - * 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} + * Contains response data for the createOrUpdate operation. */ -export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; +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 VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; +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 BlobAuditingPolicyState. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type BlobAuditingPolicyState = 'Enabled' | '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 JobAgentState. - * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; +export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { + /** + * 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: GeoBackupPolicy; + }; +}; /** - * Defines values for JobExecutionLifecycle. - * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', - * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', - * 'Skipped' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; +export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { + /** + * 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: GeoBackupPolicy; + }; +}; /** - * Defines values for ProvisioningState. - * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' - * @readonly - * @enum {string} + * Contains response data for the listByDatabase operation. */ -export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; +export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { + /** + * 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: GeoBackupPolicyListResult; + }; +}; /** - * Defines values for JobScheduleType. - * Possible values include: 'Once', 'Recurring' - * @readonly - * @enum {string} + * Contains response data for the importMethod operation. */ -export type JobScheduleType = 'Once' | 'Recurring'; +export type DatabasesImportMethodResponse = ImportExportResponse & { + /** + * 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: ImportExportResponse; + }; +}; /** - * Defines values for JobStepActionSource. - * Possible values include: 'Inline' - * @readonly - * @enum {string} + * Contains response data for the createImportOperation operation. */ -export type JobStepActionSource = 'Inline'; +export type DatabasesCreateImportOperationResponse = ImportExportResponse & { + /** + * 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: ImportExportResponse; + }; +}; /** - * Defines values for JobStepOutputType. - * Possible values include: 'SqlDatabase' - * @readonly - * @enum {string} + * Contains response data for the exportMethod operation. */ -export type JobStepOutputType = 'SqlDatabase'; +export type DatabasesExportMethodResponse = ImportExportResponse & { + /** + * 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: ImportExportResponse; + }; +}; /** - * Defines values for JobTargetGroupMembershipType. - * Possible values include: 'Include', 'Exclude' - * @readonly - * @enum {string} + * Contains response data for the listMetrics operation. */ -export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; +export type DatabasesListMetricsResponse = MetricListResult & { + /** + * 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: MetricListResult; + }; +}; /** - * Defines values for AutomaticTuningServerMode. - * Possible values include: 'Custom', 'Auto', 'Unspecified' - * @readonly - * @enum {string} + * Contains response data for the listMetricDefinitions operation. */ -export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; +export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { + /** + * 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: MetricDefinitionListResult; + }; +}; /** - * Defines values for AutomaticTuningServerReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; +export type DatabasesListByServerResponse = DatabaseListResult & { + /** + * 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: DatabaseListResult; + }; +}; /** - * Defines values for RestorePointType. - * Possible values include: 'CONTINUOUS', 'DISCRETE' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; +export type DatabasesGetResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for ManagementOperationState. - * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', - * 'Cancelled' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; +export type DatabasesCreateOrUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for MaxSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; +export type DatabasesUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for LogSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPool operation. */ -export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; +export type DatabasesListByElasticPoolResponse = DatabaseListResult & { + /** + * 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: DatabaseListResult; + }; +}; /** - * Defines values for CapabilityStatus. - * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the pause operation. */ -export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; +export type DatabasesPauseResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for PerformanceLevelUnit. - * Possible values include: 'DTU', 'VCores' - * @readonly - * @enum {string} - */ -export type PerformanceLevelUnit = 'DTU' | 'VCores'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * 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 resume operation. */ -export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; +export type DatabasesResumeResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SampleName. - * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' - * @readonly - * @enum {string} - */ -export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * 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 beginImportMethod 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 DatabasesBeginImportMethodResponse = ImportExportResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * 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'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ImportExportResponse; + }; +}; /** - * Defines values for DatabaseLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} + * Contains response data for the beginCreateImportOperation operation. */ -export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { + /** + * 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: ImportExportResponse; + }; +}; /** - * Defines values for ElasticPoolState. - * Possible values include: 'Creating', 'Ready', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the beginExportMethod operation. */ -export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; +export type DatabasesBeginExportMethodResponse = ImportExportResponse & { + /** + * 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: ImportExportResponse; + }; +}; /** - * Defines values for VulnerabilityAssessmentScanTriggerType. - * Possible values include: 'OnDemand', 'Recurring' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; +export type DatabasesBeginCreateOrUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for InstanceFailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} + * Contains response data for the beginUpdate operation. */ -export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; +export type DatabasesBeginUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for ManagedServerCreateMode. - * Possible values include: 'Default', 'PointInTimeRestore' - * @readonly - * @enum {string} + * Contains response data for the beginPause operation. */ -export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; +export type DatabasesBeginPauseResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ManagedInstanceLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} - */ -export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for ManagedInstanceProxyOverride. - * Possible values include: 'Proxy', 'Redirect', 'Default' - * @readonly - * @enum {string} + * Contains response data for the beginResume operation. */ -export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; +export type DatabasesBeginResumeResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * 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'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for ManagedDatabaseCreateMode. - * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' - * @readonly - * @enum {string} + * Contains response data for the listByServerNext operation. */ -export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery'; +export type DatabasesListByServerNextResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for LongTermRetentionDatabaseState. - * Possible values include: 'All', 'Live', 'Deleted' - * @readonly - * @enum {string} - */ -export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for VulnerabilityAssessmentPolicyBaselineName. - * Possible values include: 'master', 'default' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPoolNext operation. */ -export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; +export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SensitivityLabelSource. - * Possible values include: 'current', 'recommended' - * @readonly - * @enum {string} - */ -export type SensitivityLabelSource = 'current' | 'recommended'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for CapabilityGroup. - * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' - * @readonly - * @enum {string} + * Contains response data for the listMetrics operation. */ -export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions'; +export type ElasticPoolsListMetricsResponse = MetricListResult & { + /** + * 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: MetricListResult; + }; +}; /** - * Defines values for ReplicaType. - * Possible values include: 'Primary', 'ReadableSecondary' - * @readonly - * @enum {string} + * Contains response data for the listMetricDefinitions operation. */ -export type ReplicaType = 'Primary' | 'ReadableSecondary'; +export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { + /** + * 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: MetricDefinitionListResult; + }; +}; /** - * Defines values for Type. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type Type = 'All' | 'Error' | 'Warning' | 'Success'; +export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { + /** + * 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: ElasticPoolListResult; + }; +}; /** * Contains response data for the get operation. */ -export type RecoverableDatabasesGetResponse = RecoverableDatabase & { +export type ElasticPoolsGetResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7683,14 +9605,14 @@ export type RecoverableDatabasesGetResponse = RecoverableDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabase; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { +export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7703,14 +9625,14 @@ export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListRe /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabaseListResult; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { +export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7723,14 +9645,14 @@ export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabase; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { +export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7743,14 +9665,14 @@ export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDa /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabaseListResult; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the beginUpdate operation. */ -export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { +export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7763,14 +9685,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse /** * The response body as parsed JSON or XML */ - parsedBody: CheckNameAvailabilityResponse; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByServerNext operation. */ -export type ServersListResponse = ServerListResult & { +export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -7783,14 +9705,14 @@ export type ServersListResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ElasticPoolListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type ServersListByResourceGroupResponse = ServerListResult & { +export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The underlying HTTP response. */ @@ -7803,14 +9725,14 @@ export type ServersListByResourceGroupResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: RecommendedElasticPool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ServersGetResponse = Server & { +export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -7823,14 +9745,14 @@ export type ServersGetResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: RecommendedElasticPoolListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMetrics operation. */ -export type ServersCreateOrUpdateResponse = Server & { +export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { /** * The underlying HTTP response. */ @@ -7843,14 +9765,14 @@ export type ServersCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: RecommendedElasticPoolListMetricsResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ServersUpdateResponse = Server & { +export type ReplicationLinksGetResponse = ReplicationLink & { /** * The underlying HTTP response. */ @@ -7863,14 +9785,14 @@ export type ServersUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: ReplicationLink; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ServersBeginCreateOrUpdateResponse = Server & { +export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ @@ -7883,14 +9805,14 @@ export type ServersBeginCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: ReplicationLinkListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ServersBeginUpdateResponse = Server & { +export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -7903,14 +9825,14 @@ export type ServersBeginUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ServersListNextResponse = ServerListResult & { +export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -7923,14 +9845,14 @@ export type ServersListNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByServer operation. */ -export type ServersListByResourceGroupNextResponse = ServerListResult & { +export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { /** * The underlying HTTP response. */ @@ -7943,14 +9865,14 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ServerCommunicationLinkListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { +export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -7963,14 +9885,14 @@ export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPol /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ServerCommunicationLink; }; }; /** * Contains response data for the get operation. */ -export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { +export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The underlying HTTP response. */ @@ -7983,14 +9905,14 @@ export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ServiceObjective; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { +export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { /** * The underlying HTTP response. */ @@ -8003,14 +9925,14 @@ export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ServiceObjectiveListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByElasticPool operation. */ -export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { +export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { /** * The underlying HTTP response. */ @@ -8023,14 +9945,14 @@ export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ElasticPoolActivityListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByElasticPool operation. */ -export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { +export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { /** * The underlying HTTP response. */ @@ -8043,14 +9965,14 @@ export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: ElasticPoolDatabaseActivityListResult; }; }; /** * Contains response data for the get operation. */ -export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { +export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The underlying HTTP response. */ @@ -8063,14 +9985,34 @@ export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: ServiceTierAdvisor; + }; +}; + +/** + * Contains response data for the listByDatabase operation. + */ +export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { + /** + * 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: ServiceTierAdvisorListResult; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { +export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8083,14 +10025,14 @@ export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRule; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { +export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8103,14 +10045,14 @@ export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRuleListResult; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByConfiguration operation. */ -export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { +export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { /** * The underlying HTTP response. */ @@ -8123,14 +10065,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: TransparentDataEncryptionActivityListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type FirewallRulesGetResponse = FirewallRule & { +export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -8143,14 +10085,14 @@ export type FirewallRulesGetResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabase operation. */ -export type FirewallRulesListByServerResponse = FirewallRuleListResult & { +export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The underlying HTTP response. */ @@ -8163,14 +10105,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: DatabaseUsageListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { +export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8183,14 +10125,14 @@ export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8203,14 +10145,14 @@ export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { +export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8223,14 +10165,14 @@ export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicyListResult; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the importMethod operation. + * Contains response data for the get operation. */ -export type DatabasesImportMethodResponse = ImportExportResponse & { +export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8243,14 +10185,14 @@ export type DatabasesImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the createImportOperation operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesCreateImportOperationResponse = ImportExportResponse & { +export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8263,14 +10205,14 @@ export type DatabasesCreateImportOperationResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesExportMethodResponse = ImportExportResponse & { +export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8283,14 +10225,14 @@ export type DatabasesExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesListMetricsResponse = MetricListResult & { +export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8303,14 +10245,14 @@ export type DatabasesListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the get operation. */ -export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type FailoverGroupsGetResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8323,14 +10265,14 @@ export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesListByServerResponse = DatabaseListResult & { +export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8343,14 +10285,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type DatabasesGetResponse = Database & { +export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8363,14 +10305,14 @@ export type DatabasesGetResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type DatabasesCreateOrUpdateResponse = Database & { +export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8383,14 +10325,14 @@ export type DatabasesCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the failover operation. */ -export type DatabasesUpdateResponse = Database & { +export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8403,14 +10345,14 @@ export type DatabasesUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type DatabasesListByElasticPoolResponse = DatabaseListResult & { +export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8423,14 +10365,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesPauseResponse = Database & { +export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8443,14 +10385,14 @@ export type DatabasesPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the beginUpdate operation. */ -export type DatabasesResumeResponse = Database & { +export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8463,14 +10405,14 @@ export type DatabasesResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginImportMethod operation. + * Contains response data for the beginFailover operation. */ -export type DatabasesBeginImportMethodResponse = ImportExportResponse & { +export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8483,14 +10425,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginCreateImportOperation operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { +export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8503,14 +10445,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginExportMethod operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesBeginExportMethodResponse = ImportExportResponse & { +export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8523,14 +10465,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the list operation. */ -export type DatabasesBeginCreateOrUpdateResponse = Database & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8543,14 +10485,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listNext operation. */ -export type DatabasesBeginUpdateResponse = Database & { +export type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8563,14 +10505,14 @@ export type DatabasesBeginUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the listByServer operation. */ -export type DatabasesBeginPauseResponse = Database & { +export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8583,14 +10525,14 @@ export type DatabasesBeginPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the get operation. */ -export type DatabasesBeginResumeResponse = Database & { +export type ServerKeysGetResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8603,14 +10545,14 @@ export type DatabasesBeginResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8623,14 +10565,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { +export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8643,14 +10585,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolsListMetricsResponse = MetricListResult & { +export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8663,14 +10605,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the get operation. */ -export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type SyncAgentsGetResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8683,14 +10625,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { +export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8703,14 +10645,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsGetResponse = ElasticPool & { +export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8723,14 +10665,14 @@ export type ElasticPoolsGetResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the generateKey operation. */ -export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { +export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The underlying HTTP response. */ @@ -8743,14 +10685,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: SyncAgentKeyProperties; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listLinkedDatabases operation. */ -export type ElasticPoolsUpdateResponse = ElasticPool & { +export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8763,14 +10705,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { +export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8783,14 +10725,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolsBeginUpdateResponse = ElasticPool & { +export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8803,14 +10745,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listLinkedDatabasesNext operation. */ -export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { +export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8823,14 +10765,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { +export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -8843,14 +10785,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPool; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { +export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The underlying HTTP response. */ @@ -8863,14 +10805,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListResult; + parsedBody: SubscriptionUsage; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByLocationNext operation. */ -export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { +export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -8883,14 +10825,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListMetricsResult; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type ReplicationLinksGetResponse = ReplicationLink & { +export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8903,14 +10845,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLink; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByResourceGroup operation. */ -export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { +export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8923,14 +10865,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type VirtualClustersGetResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8943,14 +10885,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the update operation. */ -export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { +export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8963,14 +10905,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { +export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8983,14 +10925,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listNext operation. */ -export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { +export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9003,14 +10945,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato /** * The response body as parsed JSON or XML */ - parsedBody: ServerAdministratorListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9023,14 +10965,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { +export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9043,14 +10985,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { +export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9063,14 +11005,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { +export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9083,14 +11025,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { +export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9103,14 +11045,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLinkListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { +export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9123,14 +11065,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: VirtualNetworkRuleListResult; }; }; /** * Contains response data for the get operation. */ -export type ServiceObjectivesGetResponse = ServiceObjective & { +export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9143,14 +11085,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjective; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { +export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9163,14 +11105,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjectiveListResult; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByDatabase operation. */ -export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { +export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse = ExtendedDatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9183,14 +11125,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolActivityListResult; + parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { +export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse = ExtendedDatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9203,14 +11145,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolDatabaseActivityListResult; + parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { +export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9223,14 +11165,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisor; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { +export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9243,14 +11185,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisorListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type ExtendedServerBlobAuditingPoliciesListByServerResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9263,14 +11205,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9283,14 +11225,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByConfiguration operation. + * Contains response data for the listByServerNext operation. */ -export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { +export type ExtendedServerBlobAuditingPoliciesListByServerNextResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9303,14 +11245,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryptionActivityListResult; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerUsagesListByServerResponse = ServerUsageListResult & { +export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9323,14 +11265,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerUsageListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { +export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9343,14 +11285,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseUsageListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { +export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9363,14 +11305,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { +export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9383,14 +11325,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByServerNext operation. */ -export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { +export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9403,14 +11345,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type EncryptionProtectorsGetResponse = EncryptionProtector & { +export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9423,14 +11365,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { +export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9443,14 +11385,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { +export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9463,14 +11405,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { +export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9483,14 +11425,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type FailoverGroupsGetResponse = FailoverGroup & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -9503,14 +11445,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -9523,14 +11465,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type FailoverGroupsUpdateResponse = FailoverGroup & { +export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9543,14 +11485,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { +export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9563,14 +11505,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the listByDatabase operation. */ -export type FailoverGroupsFailoverResponse = FailoverGroup & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -9583,14 +11525,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByDatabaseNext operation. */ -export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -9603,14 +11545,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { +export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -9623,14 +11565,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { +export type JobAgentsGetResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9643,14 +11585,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobAgent; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { +export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9663,14 +11605,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobAgent; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the update operation. */ -export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { +export type JobAgentsUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9683,14 +11625,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { +export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9703,14 +11645,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginUpdate operation. */ -export type OperationsListResponse = OperationListResult & { +export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9723,14 +11665,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByServerNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -9743,14 +11685,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByAgent operation. */ -export type ServerKeysListByServerResponse = ServerKeyListResult & { +export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -9763,14 +11705,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: JobCredentialListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerKeysGetResponse = ServerKey & { +export type JobCredentialsGetResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -9783,14 +11725,14 @@ export type ServerKeysGetResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobCredential; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerKeysCreateOrUpdateResponse = ServerKey & { +export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -9803,14 +11745,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobCredential; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByAgentNext operation. */ -export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { +export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -9823,14 +11765,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByAgent operation. */ -export type ServerKeysListByServerNextResponse = ServerKeyListResult & { +export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9843,14 +11785,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type SyncAgentsGetResponse = SyncAgent & { +export type JobExecutionsCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9863,14 +11805,14 @@ export type SyncAgentsGetResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { +export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9883,14 +11825,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type SyncAgentsListByServerResponse = SyncAgentListResult & { +export type JobExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9903,14 +11845,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the generateKey operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { +export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9923,14 +11865,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentKeyProperties; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listLinkedDatabases operation. + * Contains response data for the beginCreate operation. */ -export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { +export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9943,14 +11885,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: JobExecution; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { +export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9963,14 +11905,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByAgentNext operation. */ -export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { +export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9983,14 +11925,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listLinkedDatabasesNext operation. + * Contains response data for the listByJobNext operation. */ -export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { +export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10003,14 +11945,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listSyncDatabaseIds operation. + * Contains response data for the listByAgent operation. */ -export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { +export type JobsListByAgentResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10023,14 +11965,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: JobListResult; }; }; /** - * Contains response data for the listHubSchemas operation. + * Contains response data for the get operation. */ -export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type JobsGetResponse = Job & { /** * The underlying HTTP response. */ @@ -10043,14 +11985,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: Job; }; }; /** - * Contains response data for the listLogs operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { +export type JobsCreateOrUpdateResponse = Job & { /** * The underlying HTTP response. */ @@ -10063,14 +12005,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: Job; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type SyncGroupsGetResponse = SyncGroup & { +export type JobsListByAgentNextResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10083,14 +12025,14 @@ export type SyncGroupsGetResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: JobListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { +export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10103,14 +12045,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SyncGroupsUpdateResponse = SyncGroup & { +export type JobStepExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10123,14 +12065,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { +export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10143,14 +12085,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByVersion operation. */ -export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { +export type JobStepsListByVersionResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10163,14 +12105,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the getByVersion operation. */ -export type SyncGroupsBeginUpdateResponse = SyncGroup & { +export type JobStepsGetByVersionResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10183,14 +12125,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: JobStep; }; }; /** - * Contains response data for the listSyncDatabaseIdsNext operation. + * Contains response data for the listByJob operation. */ -export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { +export type JobStepsListByJobResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10203,14 +12145,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listHubSchemasNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type JobStepsGetResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10223,14 +12165,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobStep; }; }; /** - * Contains response data for the listLogsNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { +export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10243,14 +12185,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: JobStep; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByVersionNext operation. */ -export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { +export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10263,14 +12205,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJobNext operation. */ -export type SyncMembersGetResponse = SyncMember & { +export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10283,14 +12225,14 @@ export type SyncMembersGetResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type SyncMembersCreateOrUpdateResponse = SyncMember & { +export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10303,14 +12245,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByStep operation. */ -export type SyncMembersUpdateResponse = SyncMember & { +export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10323,14 +12265,14 @@ export type SyncMembersUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listBySyncGroup operation. + * Contains response data for the get operation. */ -export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { +export type JobTargetExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10343,14 +12285,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listMemberSchemas operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10363,14 +12305,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByStepNext operation. */ -export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { +export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10383,14 +12325,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByAgent operation. */ -export type SyncMembersBeginUpdateResponse = SyncMember & { +export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -10403,14 +12345,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the listBySyncGroupNext operation. + * Contains response data for the get operation. */ -export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { +export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -10423,14 +12365,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listMemberSchemasNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -10443,14 +12385,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByAgentNext operation. */ -export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { +export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -10463,14 +12405,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJob operation. */ -export type SubscriptionUsagesGetResponse = SubscriptionUsage & { +export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -10483,14 +12425,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsage; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the get operation. */ -export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { +export type JobVersionsGetResponse = JobVersion & { /** * The underlying HTTP response. */ @@ -10503,14 +12445,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobVersion; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByJobNext operation. */ -export type VirtualClustersListResponse = VirtualClusterListResult & { +export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -10523,14 +12465,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the getByResourceGroup operation. */ -export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { +export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -10543,14 +12485,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type VirtualClustersGetResponse = VirtualCluster & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10563,14 +12505,14 @@ export type VirtualClustersGetResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type VirtualClustersUpdateResponse = VirtualCluster & { +export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10583,14 +12525,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByResourceGroupServer operation. */ -export type VirtualClustersBeginUpdateResponse = VirtualCluster & { +export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10603,14 +12545,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type VirtualClustersListNextResponse = VirtualClusterListResult & { +export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -10623,14 +12565,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByDatabase operation. */ -export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { +export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10643,14 +12585,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { +export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10663,14 +12605,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { +export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10683,14 +12625,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10703,14 +12645,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { +export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10723,14 +12665,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByResourceGroupServerNext operation. */ -export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { +export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10743,14 +12685,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10763,14 +12705,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByLocationNext operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10783,14 +12725,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -10803,14 +12745,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10823,14 +12765,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10843,14 +12785,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10863,14 +12805,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10883,14 +12825,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10903,14 +12845,14 @@ export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingP /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10923,14 +12865,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the update operation. */ -export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10943,14 +12885,14 @@ export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAudit /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -10963,14 +12905,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10983,14 +12925,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11003,14 +12945,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** * Contains response data for the listByDatabaseNext operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11023,14 +12965,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11043,14 +12985,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11063,14 +13005,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11083,14 +13025,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByRestorableDroppedDatabase operation. */ -export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11103,14 +13045,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11123,14 +13065,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11143,14 +13085,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByRestorableDroppedDatabaseNext operation. */ -export type JobAgentsListByServerResponse = JobAgentListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11163,14 +13105,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type JobAgentsGetResponse = JobAgent & { +export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11183,14 +13125,14 @@ export type JobAgentsGetResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type JobAgentsCreateOrUpdateResponse = JobAgent & { +export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11203,14 +13145,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type JobAgentsUpdateResponse = JobAgent & { +export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11223,14 +13165,14 @@ export type JobAgentsUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { +export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11243,14 +13185,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type JobAgentsBeginUpdateResponse = JobAgent & { +export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11263,14 +13205,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobAgentsListByServerNextResponse = JobAgentListResult & { +export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11283,14 +13225,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByServerNext operation. */ -export type JobCredentialsListByAgentResponse = JobCredentialListResult & { +export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11303,14 +13245,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: ServerDnsAliasListResult; }; }; /** * Contains response data for the get operation. */ -export type JobCredentialsGetResponse = JobCredential & { +export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11323,14 +13265,14 @@ export type JobCredentialsGetResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: ServerSecurityAlertPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type JobCredentialsCreateOrUpdateResponse = JobCredential & { +export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11343,14 +13285,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByServer operation. */ -export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { +export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11363,14 +13305,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobExecutionsListByAgentResponse = JobExecutionListResult & { +export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11383,14 +13325,14 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByServerNext operation. */ -export type JobExecutionsCreateResponse = JobExecution & { +export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11403,14 +13345,14 @@ export type JobExecutionsCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByInstance operation. */ -export type JobExecutionsListByJobResponse = JobExecutionListResult & { +export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11423,14 +13365,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** * Contains response data for the get operation. */ -export type JobExecutionsGetResponse = JobExecution & { +export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { /** * The underlying HTTP response. */ @@ -11443,14 +13385,14 @@ export type JobExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: RestorableDroppedManagedDatabase; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobExecutionsCreateOrUpdateResponse = JobExecution & { +export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11463,14 +13405,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByDatabase operation. */ -export type JobExecutionsBeginCreateResponse = JobExecution & { +export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The underlying HTTP response. */ @@ -11483,14 +13425,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: RestorePointListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the create operation. */ -export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { +export type RestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -11503,14 +13445,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the get operation. */ -export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { +export type RestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -11523,14 +13465,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the beginCreate operation. */ -export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { +export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -11543,14 +13485,14 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the get operation. */ -export type JobsListByAgentResponse = JobListResult & { +export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11563,14 +13505,14 @@ export type JobsListByAgentResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type JobsGetResponse = Job & { +export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11583,14 +13525,14 @@ export type JobsGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type JobsCreateOrUpdateResponse = Job & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11603,14 +13545,14 @@ export type JobsCreateOrUpdateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobsListByAgentNextResponse = JobListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11623,14 +13565,14 @@ export type JobsListByAgentNextResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the get operation. */ -export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11643,14 +13585,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepExecutionsGetResponse = JobExecution & { +export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11663,14 +13605,14 @@ export type JobStepExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the listByInstance operation. */ -export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11683,14 +13625,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByVersion operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobStepsListByVersionResponse = JobStepListResult & { +export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11703,14 +13645,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the getByVersion operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobStepsGetByVersionResponse = JobStep & { +export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11723,14 +13665,14 @@ export type JobStepsGetByVersionResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type JobStepsListByJobResponse = JobStepListResult & { +export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -11743,14 +13685,14 @@ export type JobStepsListByJobResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type JobStepsGetResponse = JobStep & { +export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -11763,14 +13705,14 @@ export type JobStepsGetResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobStepsCreateOrUpdateResponse = JobStep & { +export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -11783,14 +13725,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByVersionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepsListByVersionNextResponse = JobStepListResult & { +export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -11803,14 +13745,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type JobStepsListByJobNextResponse = JobStepListResult & { +export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -11823,14 +13765,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -11843,14 +13785,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByStep operation. + * Contains response data for the listByInstance operation. */ -export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { +export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -11863,14 +13805,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** * Contains response data for the get operation. */ -export type JobTargetExecutionsGetResponse = JobExecution & { +export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -11883,14 +13825,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -11903,14 +13845,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByStepNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { +export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -11923,14 +13865,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { +export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -11943,14 +13885,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type JobTargetGroupsGetResponse = JobTargetGroup & { +export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -11963,14 +13905,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { +export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -11983,14 +13925,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByElasticPool operation. */ -export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { +export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12003,14 +13945,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type JobVersionsListByJobResponse = JobVersionListResult & { +export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12023,14 +13965,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type JobVersionsGetResponse = JobVersion & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12043,14 +13985,14 @@ export type JobVersionsGetResponse = JobVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersion; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the get operation. */ -export type JobVersionsListByJobNextResponse = JobVersionListResult & { +export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12063,14 +14005,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the getByResourceGroup operation. + * Contains response data for the exportMethod operation. */ -export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { +export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12083,14 +14025,14 @@ export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByResourceGroupDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12103,14 +14045,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByResourceGroupLocation operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12123,14 +14065,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listByResourceGroupServer operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12143,14 +14085,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12163,14 +14105,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12183,14 +14125,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the exportMethod operation. */ -export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12203,14 +14145,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12223,14 +14165,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByResourceGroupDatabaseNext operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12243,14 +14185,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByResourceGroupLocationNext operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12263,14 +14205,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByResourceGroupServerNext operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12283,14 +14225,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = Long /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** * Contains response data for the listByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12303,14 +14245,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { +export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12323,14 +14265,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { +export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12343,14 +14285,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { +export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -12363,14 +14305,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the failover operation. */ -export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12383,14 +14325,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { +export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12403,14 +14345,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12423,14 +14365,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginFailover operation. */ -export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12443,14 +14385,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12463,14 +14405,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -12483,14 +14425,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByInstance operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -12503,14 +14445,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -12523,14 +14465,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -12543,14 +14485,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -12563,14 +14505,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -12583,14 +14525,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -12603,14 +14545,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -12623,14 +14565,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByRestorableDroppedDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -12643,14 +14585,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -12663,14 +14605,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -12683,14 +14625,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the listByRestorableDroppedDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12703,14 +14645,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { +export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { /** * The underlying HTTP response. */ @@ -12723,14 +14665,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: RecoverableManagedDatabase; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByInstanceNext operation. */ -export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { +export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12743,14 +14685,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerDnsAliasesGetResponse = ServerDnsAlias & { +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12763,14 +14705,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12783,14 +14725,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByInstance operation. */ -export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12803,14 +14745,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12823,14 +14765,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12843,14 +14785,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12863,14 +14805,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12883,14 +14825,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByServerNext operation. */ -export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12903,14 +14845,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12923,14 +14865,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12943,14 +14885,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12963,14 +14905,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12983,14 +14925,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabase; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13003,14 +14945,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type RestorePointsListByDatabaseResponse = RestorePointListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13023,14 +14965,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type RestorePointsCreateResponse = RestorePoint & { +export type InstancePoolsGetResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13043,14 +14985,14 @@ export type RestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorePointsGetResponse = RestorePoint & { +export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13063,14 +15005,14 @@ export type RestorePointsGetResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstancePool; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the update operation. */ -export type RestorePointsBeginCreateResponse = RestorePoint & { +export type InstancePoolsUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13083,14 +15025,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { +export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13103,14 +15045,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { +export type InstancePoolsListResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13123,14 +15065,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13143,14 +15085,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13163,14 +15105,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { +export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13183,14 +15125,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13203,14 +15145,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByInstancePool operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { +export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -13223,14 +15165,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -13243,14 +15185,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -13263,14 +15205,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -13283,14 +15225,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the listByServer operation. */ -export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -13303,14 +15245,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SensitivityLabelsGetResponse = SensitivityLabel & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -13323,14 +15265,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -13343,14 +15285,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the listByServer operation. */ -export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -13363,14 +15305,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ @@ -13383,14 +15325,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: PrivateLinkResource; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { +export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -13403,14 +15345,14 @@ export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { +export type ServersListByResourceGroupResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -13423,14 +15365,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 ServersGetResponse = Server & { /** * The underlying HTTP response. */ @@ -13443,14 +15385,14 @@ export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: Server; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ServersCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -13463,14 +15405,14 @@ export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedIn /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: Server; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the update operation. */ -export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { +export type ServersUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -13483,14 +15425,14 @@ export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedIns /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: Server; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the list operation. */ -export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { +export type ServersListResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -13503,14 +15445,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the checkNameAvailability operation. */ -export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { +export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { /** * The underlying HTTP response. */ @@ -13523,14 +15465,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: CheckNameAvailabilityResponse; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { +export type ServersBeginCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -13543,14 +15485,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: Server; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the beginUpdate operation. */ -export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { +export type ServersBeginUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -13563,14 +15505,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: Server; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type CapabilitiesListByLocationResponse = LocationCapabilities & { +export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -13583,14 +15525,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The response body as parsed JSON or XML */ - parsedBody: LocationCapabilities; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listNext operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ServersListNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -13603,14 +15545,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The underlying HTTP response. */ @@ -13623,14 +15565,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: LocationCapabilities; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type LongTermRetentionManagedInstanceBackupsGetResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -13643,14 +15585,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByDatabase operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13663,14 +15605,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13683,14 +15625,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByLocation operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type LongTermRetentionManagedInstanceBackupsListByLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13703,14 +15645,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the getByResourceGroup operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -13723,14 +15665,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13743,14 +15685,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listByResourceGroupInstance operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13763,14 +15705,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13783,14 +15725,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13803,14 +15745,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13823,14 +15765,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type LongTermRetentionManagedInstanceBackupsListByLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13843,14 +15785,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13863,14 +15805,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupInstanceNext operation. */ -export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13883,14 +15825,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13903,14 +15845,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { +export type ManagedInstanceLongTermRetentionPoliciesGetResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13923,14 +15865,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { +export type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13943,14 +15885,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByDatabase operation. */ -export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13963,14 +15905,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { +export type ManagedInstanceLongTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13983,14 +15925,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the listByDatabaseNext operation. */ -export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -14003,14 +15945,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type WorkloadGroupsGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -14023,14 +15965,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { +export type WorkloadGroupsCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -14043,14 +15985,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { +export type WorkloadGroupsListByDatabaseResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -14063,14 +16005,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type WorkloadGroupsBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -14083,14 +16025,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByDatabaseNext operation. */ -export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { +export type WorkloadGroupsListByDatabaseNextResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -14103,14 +16045,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { +export type WorkloadClassifiersGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -14123,14 +16065,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type WorkloadClassifiersCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -14143,14 +16085,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByWorkloadGroup operation. */ -export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { +export type WorkloadClassifiersListByWorkloadGroupResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -14163,14 +16105,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { +export type WorkloadClassifiersBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -14183,14 +16125,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByWorkloadGroupNext operation. */ -export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { +export type WorkloadClassifiersListByWorkloadGroupNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -14203,14 +16145,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByManagedInstance operation. */ -export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { +export type ManagedInstanceOperationsListByManagedInstanceResponse = ManagedInstanceOperationListResult & { /** * The underlying HTTP response. */ @@ -14223,14 +16165,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ManagedInstanceOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { +export type ManagedInstanceOperationsGetResponse = ManagedInstanceOperation & { /** * The underlying HTTP response. */ @@ -14243,14 +16185,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ManagedInstanceOperation; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByManagedInstanceNext operation. */ -export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { +export type ManagedInstanceOperationsListByManagedInstanceNextResponse = ManagedInstanceOperationListResult & { /** * The underlying HTTP response. */ @@ -14263,14 +16205,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ManagedInstanceOperationListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { +export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -14283,14 +16225,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { +export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -14303,14 +16245,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { +export type ServerAzureADAdministratorsListByServerResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -14323,14 +16265,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -14343,14 +16285,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ServerAzureADAdministratorsListByServerNextResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -14363,14 +16305,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listSyncDatabaseIds operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { +export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -14383,14 +16325,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listHubSchemas operation. */ -export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { +export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -14403,14 +16345,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listLogs operation. */ -export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { +export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -14423,14 +16365,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabase; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { +export type SyncGroupsGetResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -14443,14 +16385,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { +export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -14463,14 +16405,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { +export type SyncGroupsUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -14483,14 +16425,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -14503,14 +16445,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -14523,14 +16465,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -14543,14 +16485,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listSyncDatabaseIdsNext operation. */ -export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -14563,14 +16505,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listHubSchemasNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { +export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -14583,14 +16525,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listLogsNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { +export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -14603,14 +16545,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { +export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -14623,14 +16565,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type SyncMembersGetResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -14643,14 +16585,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -14663,14 +16605,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type SyncMembersUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -14683,14 +16625,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the listBySyncGroup operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -14703,14 +16645,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the listMemberSchemas operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -14723,14 +16665,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstancePoolsGetResponse = InstancePool & { +export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -14743,14 +16685,14 @@ export type InstancePoolsGetResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: SyncMember; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type InstancePoolsCreateOrUpdateResponse = InstancePool & { +export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -14763,14 +16705,14 @@ export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: SyncMember; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listBySyncGroupNext operation. */ -export type InstancePoolsUpdateResponse = InstancePool & { +export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -14783,14 +16725,14 @@ export type InstancePoolsUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listMemberSchemasNext operation. */ -export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { +export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -14803,14 +16745,14 @@ export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroup operation. */ -export type InstancePoolsListResponse = InstancePoolListResult & { +export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14823,14 +16765,14 @@ export type InstancePoolsListResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { +export type ManagedInstancesGetResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14843,14 +16785,14 @@ export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type InstancePoolsBeginUpdateResponse = InstancePool & { +export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14863,14 +16805,14 @@ export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the update operation. */ -export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { +export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14883,14 +16825,14 @@ export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResul /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByInstancePool operation. */ -export type InstancePoolsListNextResponse = InstancePoolListResult & { +export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14903,14 +16845,14 @@ export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the list operation. */ -export type UsagesListByInstancePoolResponse = UsageListResult & { +export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14923,14 +16865,14 @@ export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type UsagesListByInstancePoolNextResponse = UsageListResult & { +export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14943,14 +16885,14 @@ export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { +export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14963,14 +16905,14 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { +export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14988,9 +16930,9 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type ManagedInstancesGetResponse = ManagedInstance & { +export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -15003,14 +16945,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { +export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -15023,14 +16965,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ManagedInstancesUpdateResponse = ManagedInstance & { +export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15043,14 +16985,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstancesListResponse = ManagedInstanceListResult & { +export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15063,14 +17005,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { +export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15083,14 +17025,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { +export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -15103,14 +17045,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { +export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15123,14 +17065,14 @@ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { +export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15143,14 +17085,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { +export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -15163,7 +17105,7 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; @@ -15268,9 +17210,9 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & { }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listInaccessibleByInstance operation. */ -export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { +export type ManagedDatabasesListInaccessibleByInstanceResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -15283,14 +17225,14 @@ export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { +export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -15308,29 +17250,9 @@ export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { }; /** - * Contains response data for the listByInstanceNext operation. - */ -export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { - /** - * 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: ManagedDatabaseListResult; - }; -}; - -/** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -15343,14 +17265,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { +export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -15363,14 +17285,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listInaccessibleByInstanceNext operation. */ -export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { +export type ManagedDatabasesListInaccessibleByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -15383,14 +17305,14 @@ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConn /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { +export type ServerAzureADOnlyAuthenticationsGetResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -15403,14 +17325,14 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { +export type ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -15423,14 +17345,14 @@ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpoint /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** * Contains response data for the listByServer operation. */ -export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { +export type ServerAzureADOnlyAuthenticationsListByServerResponse = AzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -15443,14 +17365,14 @@ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListRe /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: AzureADOnlyAuthListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type ServerAzureADOnlyAuthenticationsBeginCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -15463,14 +17385,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** * Contains response data for the listByServerNext operation. */ -export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { +export type ServerAzureADOnlyAuthenticationsListByServerNextResponse = AzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -15483,6 +17405,6 @@ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: AzureADOnlyAuthListResult; }; }; diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts index a31090e2d7d3..501f97f7f2ae 100644 --- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..d7fd7544dc62 100644 --- a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts @@ -66,6 +66,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +78,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..25a00f7632a3 100644 --- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts @@ -66,6 +66,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +78,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..51b66c4f14bb 100644 --- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..5416c9145003 100644 --- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..5416c9145003 100644 --- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0ec6ef5d206a 100644 --- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..5416c9145003 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..9ae520f11cb3 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..f6397c689c1b 100644 --- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..6c42d5928e83 100644 --- a/sdk/sql/arm-sql/src/models/jobsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..06600fc3b15d 100644 --- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..38b1e051c852 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionBackupListResult, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + 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..fcc72df14970 100644 --- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..8ac33767fe43 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..c814c4e9e04a 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..e1305a1d21ac 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,10 +122,14 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c679fb5aa811 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..d16c28b1b64d 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts @@ -67,6 +67,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -74,6 +79,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -94,11 +100,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -117,9 +125,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..958db5ce1895 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministratorListResult, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..8e8c88c2c16e 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceEncryptionProtector, ManagedInstanceEncryptionProtectorListResult, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0ff7997bb793 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceKeyListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..185b02f56daa --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceLongTermRetentionPolicyListResult, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + 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..6131c5a37f20 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationListResult, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..706a317687be 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessmentListResult, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..3f91b078968b 100644 --- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceUpdate, ManagedInstanceVulnerabilityAssessment, @@ -73,6 +78,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..fcc72df14970 100644 --- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..e5abcbb5bffa 100644 --- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..857c2a5c5b52 100644 --- a/sdk/sql/arm-sql/src/models/mappers.ts +++ b/sdk/sql/arm-sql/src/models/mappers.ts @@ -196,74 +196,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: { @@ -1330,41 +1262,16 @@ export const ReplicationLink: msRest.CompositeMapper = { } }; -export const ServerAzureADAdministrator: msRest.CompositeMapper = { - serializedName: "ServerAzureADAdministrator", +export const UnlinkParameters: msRest.CompositeMapper = { + serializedName: "UnlinkParameters", type: { name: "Composite", - className: "ServerAzureADAdministrator", + className: "UnlinkParameters", 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: { - required: true, - serializedName: "properties.tenantId", + forcedTermination: { + serializedName: "forcedTermination", type: { - name: "Uuid" + name: "Boolean" } } } @@ -2779,146 +2686,6 @@ export const ServerKey: msRest.CompositeMapper = { } }; -export const ResourceIdentity: msRest.CompositeMapper = { - serializedName: "ResourceIdentity", - type: { - name: "Composite", - className: "ResourceIdentity", - modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "Uuid" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, - tenantId: { - readOnly: true, - serializedName: "tenantId", - type: { - name: "Uuid" - } - } - } - } -}; - -export const Server: msRest.CompositeMapper = { - serializedName: "Server", - type: { - name: "Composite", - className: "Server", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ResourceIdentity" - } - }, - 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" - } - } - } - } -}; - -export const ServerUpdate: msRest.CompositeMapper = { - serializedName: "ServerUpdate", - type: { - name: "Composite", - className: "ServerUpdate", - modelProperties: { - 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" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const SyncAgent: msRest.CompositeMapper = { serializedName: "SyncAgent", type: { @@ -3048,494 +2815,515 @@ export const SyncAgentLinkedDatabase: msRest.CompositeMapper = { } }; -export const SyncDatabaseIdProperties: msRest.CompositeMapper = { - serializedName: "SyncDatabaseIdProperties", +export const SubscriptionUsage: msRest.CompositeMapper = { + serializedName: "SubscriptionUsage", type: { name: "Composite", - className: "SyncDatabaseIdProperties", + className: "SubscriptionUsage", modelProperties: { - id: { + ...ProxyResource.type.modelProperties, + displayName: { 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", + serializedName: "properties.displayName", type: { name: "String" } }, - dataType: { + currentValue: { readOnly: true, - serializedName: "dataType", + serializedName: "properties.currentValue", type: { - name: "String" + name: "Number" } }, - errorId: { + limit: { readOnly: true, - serializedName: "errorId", + serializedName: "properties.limit", type: { - name: "String" + name: "Number" } }, - hasError: { + unit: { readOnly: true, - serializedName: "hasError", + serializedName: "properties.unit", type: { - name: "Boolean" + name: "String" } - }, - isPrimaryKey: { + } + } + } +}; + +export const VirtualCluster: msRest.CompositeMapper = { + serializedName: "VirtualCluster", + type: { + name: "Composite", + className: "VirtualCluster", + modelProperties: { + ...TrackedResource.type.modelProperties, + subnetId: { readOnly: true, - serializedName: "isPrimaryKey", + serializedName: "properties.subnetId", type: { - name: "Boolean" + name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + family: { + serializedName: "properties.family", type: { name: "String" } }, - quotedName: { + childResources: { readOnly: true, - serializedName: "quotedName", + serializedName: "properties.childResources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const SyncFullSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaTable", +export const VirtualClusterUpdate: msRest.CompositeMapper = { + serializedName: "VirtualClusterUpdate", type: { name: "Composite", - className: "SyncFullSchemaTable", + className: "VirtualClusterUpdate", modelProperties: { - columns: { - readOnly: true, - serializedName: "columns", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncFullSchemaTableColumn" - } - } - } - }, - errorId: { + subnetId: { readOnly: true, - serializedName: "errorId", + serializedName: "properties.subnetId", type: { name: "String" } }, - hasError: { - readOnly: true, - serializedName: "hasError", + family: { + serializedName: "properties.family", type: { - name: "Boolean" + name: "String" } }, - name: { + childResources: { readOnly: true, - serializedName: "name", + serializedName: "properties.childResources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - quotedName: { - readOnly: true, - serializedName: "quotedName", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const SyncFullSchemaProperties: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaProperties", +export const VirtualNetworkRule: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRule", type: { name: "Composite", - className: "SyncFullSchemaProperties", + className: "VirtualNetworkRule", modelProperties: { - tables: { - readOnly: true, - serializedName: "tables", + ...ProxyResource.type.modelProperties, + virtualNetworkSubnetId: { + required: true, + serializedName: "properties.virtualNetworkSubnetId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncFullSchemaTable" - } - } + name: "String" } }, - lastUpdateTime: { + ignoreMissingVnetServiceEndpoint: { + serializedName: "properties.ignoreMissingVnetServiceEndpoint", + type: { + name: "Boolean" + } + }, + state: { readOnly: true, - serializedName: "lastUpdateTime", + serializedName: "properties.state", type: { - name: "DateTime" + name: "String" } } } } }; -export const SyncGroupLogProperties: msRest.CompositeMapper = { - serializedName: "SyncGroupLogProperties", +export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedDatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroupLogProperties", + className: "ExtendedDatabaseBlobAuditingPolicy", modelProperties: { - timestamp: { - readOnly: true, - serializedName: "timestamp", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { - name: "DateTime" + name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - source: { - readOnly: true, - serializedName: "source", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - details: { - readOnly: true, - serializedName: "details", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - tracingId: { - readOnly: true, - serializedName: "tracingId", + 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" } }, - operationStatus: { - readOnly: true, - serializedName: "operationStatus", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "String" + name: "Boolean" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", + type: { + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTableColumn", +export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroupSchemaTableColumn", + className: "ExtendedServerBlobAuditingPolicy", modelProperties: { - quotedName: { - serializedName: "quotedName", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - dataSize: { - serializedName: "dataSize", + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - dataType: { - serializedName: "dataType", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } - } - } - } -}; - -export const SyncGroupSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTable", - type: { - name: "Composite", - className: "SyncGroupSchemaTable", - modelProperties: { - columns: { - serializedName: "columns", + }, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + }, + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SyncGroupSchemaTableColumn" + name: "String" } } } }, - quotedName: { - serializedName: "quotedName", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } - } - } - } -}; - -export const SyncGroupSchema: msRest.CompositeMapper = { - serializedName: "SyncGroupSchema", - type: { - name: "Composite", - className: "SyncGroupSchema", - modelProperties: { - tables: { - serializedName: "tables", + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncGroupSchemaTable" - } - } + name: "Boolean" } }, - masterSyncMemberName: { - serializedName: "masterSyncMemberName", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "String" + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SyncGroup: msRest.CompositeMapper = { - serializedName: "SyncGroup", +export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroup", + className: "ServerBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - interval: { - serializedName: "properties.interval", + state: { + required: true, + serializedName: "properties.state", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - lastSyncTime: { - readOnly: true, - serializedName: "properties.lastSyncTime", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { - name: "DateTime" + name: "String" } }, - conflictResolutionPolicy: { - serializedName: "properties.conflictResolutionPolicy", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - syncDatabaseId: { - serializedName: "properties.syncDatabaseId", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - hubDatabaseUserName: { - serializedName: "properties.hubDatabaseUserName", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - hubDatabasePassword: { - serializedName: "properties.hubDatabasePassword", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "String" + name: "Boolean" } }, - schema: { - serializedName: "properties.schema", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "Composite", - className: "SyncGroupSchema" + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SyncMember: msRest.CompositeMapper = { - serializedName: "SyncMember", +export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "DatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "SyncMember", + className: "DatabaseBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - databaseType: { - serializedName: "properties.databaseType", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } }, - syncAgentId: { - serializedName: "properties.syncAgentId", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - sqlServerDatabaseId: { - serializedName: "properties.sqlServerDatabaseId", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { - name: "Uuid" + name: "String" } }, - serverName: { - serializedName: "properties.serverName", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - databaseName: { - serializedName: "properties.databaseName", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - userName: { - serializedName: "properties.userName", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - password: { - serializedName: "properties.password", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - syncDirection: { - serializedName: "properties.syncDirection", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "String" + name: "Boolean" } }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "String" + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SubscriptionUsage: msRest.CompositeMapper = { - serializedName: "SubscriptionUsage", +export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", type: { name: "Composite", - className: "SubscriptionUsage", + className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", 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", + result: { + required: true, + serializedName: "result", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const VirtualCluster: msRest.CompositeMapper = { - serializedName: "VirtualCluster", +export const DatabaseVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentRuleBaseline", type: { name: "Composite", - className: "VirtualCluster", + className: "DatabaseVulnerabilityAssessmentRuleBaseline", 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", + ...ProxyResource.type.modelProperties, + baselineResults: { + required: true, + serializedName: "properties.baselineResults", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "DatabaseVulnerabilityAssessmentRuleBaselineItem" } } } @@ -3544,28 +3332,27 @@ export const VirtualCluster: msRest.CompositeMapper = { } }; -export const VirtualClusterUpdate: msRest.CompositeMapper = { - serializedName: "VirtualClusterUpdate", +export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentRecurringScansProperties", type: { name: "Composite", - className: "VirtualClusterUpdate", + className: "VulnerabilityAssessmentRecurringScansProperties", modelProperties: { - subnetId: { - readOnly: true, - serializedName: "properties.subnetId", + isEnabled: { + serializedName: "isEnabled", type: { - name: "String" + name: "Boolean" } }, - family: { - serializedName: "properties.family", + emailSubscriptionAdmins: { + serializedName: "emailSubscriptionAdmins", + defaultValue: true, type: { - name: "String" + name: "Boolean" } }, - childResources: { - readOnly: true, - serializedName: "properties.childResources", + emails: { + serializedName: "emails", type: { name: "Sequence", element: { @@ -3574,512 +3361,1784 @@ export const VirtualClusterUpdate: msRest.CompositeMapper = { } } } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const VirtualNetworkRule: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRule", +export const DatabaseVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessment", type: { name: "Composite", - className: "VirtualNetworkRule", + className: "DatabaseVulnerabilityAssessment", modelProperties: { ...ProxyResource.type.modelProperties, - virtualNetworkSubnetId: { - required: true, - serializedName: "properties.virtualNetworkSubnetId", + storageContainerPath: { + serializedName: "properties.storageContainerPath", type: { name: "String" } }, - ignoreMissingVnetServiceEndpoint: { - serializedName: "properties.ignoreMissingVnetServiceEndpoint", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Boolean" + name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } } } } }; -export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedDatabaseBlobAuditingPolicy", +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", type: { name: "Composite", - className: "ExtendedDatabaseBlobAuditingPolicy", + className: "Sku", modelProperties: { - ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - state: { - required: true, - serializedName: "properties.state", + tier: { + serializedName: "tier", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "String" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + size: { + serializedName: "size", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + family: { + serializedName: "family", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", + capacity: { + serializedName: "capacity", 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 ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedServerBlobAuditingPolicy", +export const JobAgent: msRest.CompositeMapper = { + serializedName: "JobAgent", type: { name: "Composite", - className: "ExtendedServerBlobAuditingPolicy", + className: "JobAgent", modelProperties: { - ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - state: { + databaseId: { required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + serializedName: "properties.databaseId", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + } + } + } +}; + +export const JobAgentUpdate: msRest.CompositeMapper = { + serializedName: "JobAgentUpdate", + type: { + name: "Composite", + className: "JobAgentUpdate", + 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 ServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicy", +export const JobCredential: msRest.CompositeMapper = { + serializedName: "JobCredential", type: { name: "Composite", - className: "ServerBlobAuditingPolicy", + className: "JobCredential", modelProperties: { ...ProxyResource.type.modelProperties, - state: { + username: { required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + serializedName: "properties.username", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + password: { + required: true, + serializedName: "properties.password", 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", + } + } + } +}; + +export const JobExecutionTarget: msRest.CompositeMapper = { + serializedName: "JobExecutionTarget", + type: { + name: "Composite", + className: "JobExecutionTarget", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", type: { - name: "Uuid" + name: "String" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + serverName: { + readOnly: true, + serializedName: "serverName", type: { - name: "Boolean" + name: "String" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + databaseName: { + readOnly: true, + serializedName: "databaseName", type: { - name: "Boolean" + name: "String" } } } } }; -export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "DatabaseBlobAuditingPolicy", +export const JobExecution: msRest.CompositeMapper = { + serializedName: "JobExecution", type: { name: "Composite", - className: "DatabaseBlobAuditingPolicy", + className: "JobExecution", modelProperties: { ...ProxyResource.type.modelProperties, - kind: { + jobVersion: { readOnly: true, - serializedName: "kind", + serializedName: "properties.jobVersion", + type: { + name: "Number" + } + }, + stepName: { + readOnly: true, + serializedName: "properties.stepName", type: { name: "String" } }, - state: { - required: true, - serializedName: "properties.state", + stepId: { + readOnly: true, + serializedName: "properties.stepId", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "Number" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + jobExecutionId: { + readOnly: true, + serializedName: "properties.jobExecutionId", + type: { + name: "Uuid" + } + }, + lifecycle: { + readOnly: true, + serializedName: "properties.lifecycle", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", + createTime: { + readOnly: true, + serializedName: "properties.createTime", type: { - name: "Number" + name: "DateTime" } }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + startTime: { + readOnly: true, + serializedName: "properties.startTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", + endTime: { + readOnly: true, + serializedName: "properties.endTime", type: { - name: "Uuid" + name: "DateTime" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + currentAttempts: { + serializedName: "properties.currentAttempts", type: { - name: "Boolean" + name: "Number" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + currentAttemptStartTime: { + readOnly: true, + serializedName: "properties.currentAttemptStartTime", type: { - name: "Boolean" + name: "DateTime" } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", - modelProperties: { - result: { - required: true, - serializedName: "result", + }, + lastMessage: { + readOnly: true, + serializedName: "properties.lastMessage", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentRuleBaseline", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentRuleBaseline", - modelProperties: { - ...ProxyResource.type.modelProperties, - baselineResults: { - required: true, - serializedName: "properties.baselineResults", + }, + target: { + readOnly: true, + serializedName: "properties.target", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentRuleBaselineItem" - } - } + name: "Composite", + className: "JobExecutionTarget" } } } } }; -export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentRecurringScansProperties", +export const JobSchedule: msRest.CompositeMapper = { + serializedName: "JobSchedule", type: { name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties", + className: "JobSchedule", modelProperties: { - isEnabled: { - serializedName: "isEnabled", + startTime: { + serializedName: "startTime", + defaultValue: new Date('0001-01-01T00:00:00Z'), type: { - name: "Boolean" + name: "DateTime" } }, - emailSubscriptionAdmins: { - serializedName: "emailSubscriptionAdmins", - defaultValue: true, + endTime: { + serializedName: "endTime", + defaultValue: new Date('9999-12-31T11:59:59Z'), + type: { + name: "DateTime" + } + }, + type: { + serializedName: "type", + defaultValue: 'Once', + type: { + name: "Enum", + allowedValues: [ + "Once", + "Recurring" + ] + } + }, + enabled: { + serializedName: "enabled", type: { name: "Boolean" } }, - emails: { - serializedName: "emails", + interval: { + serializedName: "interval", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const DatabaseVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessment", +export const Job: msRest.CompositeMapper = { + serializedName: "Job", type: { name: "Composite", - className: "DatabaseVulnerabilityAssessment", + className: "Job", modelProperties: { ...ProxyResource.type.modelProperties, - storageContainerPath: { - serializedName: "properties.storageContainerPath", + description: { + serializedName: "properties.description", + defaultValue: '', type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + version: { + readOnly: true, + serializedName: "properties.version", type: { - name: "String" + name: "Number" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + schedule: { + serializedName: "properties.schedule", type: { - name: "String" - } + name: "Composite", + className: "JobSchedule" + } + } + } + } +}; + +export const JobStepAction: msRest.CompositeMapper = { + serializedName: "JobStepAction", + type: { + name: "Composite", + className: "JobStepAction", + modelProperties: { + type: { + serializedName: "type", + defaultValue: 'TSql', + type: { + name: "String" + } }, - recurringScans: { - serializedName: "properties.recurringScans", + source: { + serializedName: "source", + defaultValue: 'Inline', + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const JobStepOutput: msRest.CompositeMapper = { + serializedName: "JobStepOutput", + type: { + name: "Composite", + className: "JobStepOutput", + modelProperties: { + type: { + serializedName: "type", + defaultValue: 'SqlDatabase', + type: { + name: "String" + } + }, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "Uuid" + } + }, + resourceGroupName: { + serializedName: "resourceGroupName", + type: { + name: "String" + } + }, + serverName: { + required: true, + serializedName: "serverName", + type: { + name: "String" + } + }, + databaseName: { + required: true, + serializedName: "databaseName", + type: { + name: "String" + } + }, + schemaName: { + serializedName: "schemaName", + defaultValue: 'dbo', + type: { + name: "String" + } + }, + tableName: { + required: true, + serializedName: "tableName", + type: { + name: "String" + } + }, + credential: { + required: true, + serializedName: "credential", + type: { + name: "String" + } + } + } + } +}; + +export const JobStepExecutionOptions: msRest.CompositeMapper = { + serializedName: "JobStepExecutionOptions", + type: { + name: "Composite", + className: "JobStepExecutionOptions", + modelProperties: { + timeoutSeconds: { + serializedName: "timeoutSeconds", + defaultValue: 43200, + type: { + name: "Number" + } + }, + retryAttempts: { + serializedName: "retryAttempts", + defaultValue: 10, + type: { + name: "Number" + } + }, + initialRetryIntervalSeconds: { + serializedName: "initialRetryIntervalSeconds", + defaultValue: 1, + type: { + name: "Number" + } + }, + maximumRetryIntervalSeconds: { + serializedName: "maximumRetryIntervalSeconds", + defaultValue: 120, + type: { + name: "Number" + } + }, + retryIntervalBackoffMultiplier: { + serializedName: "retryIntervalBackoffMultiplier", + defaultValue: 2, + type: { + name: "Number" + } + } + } + } +}; + +export const JobStep: msRest.CompositeMapper = { + serializedName: "JobStep", + type: { + name: "Composite", + className: "JobStep", + modelProperties: { + ...ProxyResource.type.modelProperties, + stepId: { + serializedName: "properties.stepId", + type: { + name: "Number" + } + }, + targetGroup: { + required: true, + serializedName: "properties.targetGroup", + type: { + name: "String" + } + }, + credential: { + required: true, + serializedName: "properties.credential", + type: { + name: "String" + } + }, + action: { + required: true, + serializedName: "properties.action", type: { name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + className: "JobStepAction" + } + }, + output: { + serializedName: "properties.output", + type: { + name: "Composite", + className: "JobStepOutput" + } + }, + executionOptions: { + serializedName: "properties.executionOptions", + type: { + name: "Composite", + className: "JobStepExecutionOptions" } } } } }; -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", +export const JobTarget: msRest.CompositeMapper = { + serializedName: "JobTarget", type: { name: "Composite", - className: "Sku", + className: "JobTarget", modelProperties: { - name: { + membershipType: { + serializedName: "membershipType", + defaultValue: 'Include', + type: { + name: "Enum", + allowedValues: [ + "Include", + "Exclude" + ] + } + }, + type: { required: true, - serializedName: "name", + serializedName: "type", type: { name: "String" } }, - tier: { - serializedName: "tier", + serverName: { + serializedName: "serverName", + type: { + name: "String" + } + }, + databaseName: { + serializedName: "databaseName", + type: { + name: "String" + } + }, + elasticPoolName: { + serializedName: "elasticPoolName", + type: { + name: "String" + } + }, + shardMapName: { + serializedName: "shardMapName", + type: { + name: "String" + } + }, + refreshCredential: { + serializedName: "refreshCredential", type: { name: "String" } + } + } + } +}; + +export const JobTargetGroup: msRest.CompositeMapper = { + serializedName: "JobTargetGroup", + type: { + name: "Composite", + className: "JobTargetGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + members: { + required: true, + serializedName: "properties.members", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobTarget" + } + } + } + } + } + } +}; + +export const JobVersion: msRest.CompositeMapper = { + serializedName: "JobVersion", + type: { + name: "Composite", + className: "JobVersion", + modelProperties: { + ...ProxyResource.type.modelProperties + } + } +}; + +export const LongTermRetentionBackup: msRest.CompositeMapper = { + serializedName: "LongTermRetentionBackup", + type: { + name: "Composite", + className: "LongTermRetentionBackup", + modelProperties: { + ...ProxyResource.type.modelProperties, + serverName: { + readOnly: true, + serializedName: "properties.serverName", + type: { + name: "String" + } + }, + serverCreateTime: { + readOnly: true, + serializedName: "properties.serverCreateTime", + type: { + name: "DateTime" + } + }, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", + type: { + name: "String" + } + }, + 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" + } + } + } + } +}; + +export const BackupLongTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "BackupLongTermRetentionPolicy", + type: { + name: "Composite", + className: "BackupLongTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + weeklyRetention: { + serializedName: "properties.weeklyRetention", + type: { + name: "String" + } + }, + monthlyRetention: { + serializedName: "properties.monthlyRetention", + type: { + name: "String" + } + }, + yearlyRetention: { + serializedName: "properties.yearlyRetention", + type: { + name: "String" + } + }, + weekOfYear: { + serializedName: "properties.weekOfYear", + type: { + name: "Number" + } + } + } + } +}; + +export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "ManagedBackupShortTermRetentionPolicy", + type: { + name: "Composite", + className: "ManagedBackupShortTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + } + } + } +}; + +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 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: { + serializedName: "oldServerDnsAliasId", + type: { + name: "String" + } + } + } + } +}; + +export const ServerSecurityAlertPolicy: msRest.CompositeMapper = { + serializedName: "ServerSecurityAlertPolicy", + type: { + name: "Composite", + className: "ServerSecurityAlertPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "New", + "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 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 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 ManagedDatabaseSecurityAlertPolicy: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseSecurityAlertPolicy", + type: { + name: "Composite", + className: "ManagedDatabaseSecurityAlertPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "New", + "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 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", + 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 SensitivityLabel: msRest.CompositeMapper = { + serializedName: "SensitivityLabel", + type: { + name: "Composite", + className: "SensitivityLabel", + modelProperties: { + ...ProxyResource.type.modelProperties, + labelName: { + serializedName: "properties.labelName", + type: { + name: "String" + } + }, + labelId: { + serializedName: "properties.labelId", + type: { + name: "String" + } + }, + informationType: { + serializedName: "properties.informationType", + type: { + name: "String" + } + }, + informationTypeId: { + serializedName: "properties.informationTypeId", + type: { + name: "String" + } + }, + isDisabled: { + readOnly: true, + serializedName: "properties.isDisabled", + type: { + name: "Boolean" + } + }, + rank: { + serializedName: "properties.rank", + type: { + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + } + } + } + } +}; + +export const ManagedInstanceAdministrator: msRest.CompositeMapper = { + serializedName: "ManagedInstanceAdministrator", + type: { + name: "Composite", + className: "ManagedInstanceAdministrator", + 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" + } + } + } + } +}; + +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 ElasticPoolOperation: msRest.CompositeMapper = { + serializedName: "ElasticPoolOperation", + type: { + name: "Composite", + className: "ElasticPoolOperation", + modelProperties: { + ...ProxyResource.type.modelProperties, + elasticPoolName: { + readOnly: true, + serializedName: "properties.elasticPoolName", + 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 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" + } + }, + readReplicaCount: { + serializedName: "properties.readReplicaCount", + type: { + name: "Number" + } + }, + currentSku: { + readOnly: true, + serializedName: "properties.currentSku", + type: { + name: "Composite", + className: "Sku" + } + }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } }, - size: { - serializedName: "size", + minCapacity: { + serializedName: "properties.minCapacity", type: { - name: "String" + name: "Number" } }, - family: { - serializedName: "family", + pausedDate: { + readOnly: true, + serializedName: "properties.pausedDate", type: { - name: "String" + name: "DateTime" } }, - capacity: { - serializedName: "capacity", + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", type: { - name: "Number" + name: "DateTime" } } } } }; -export const JobAgent: msRest.CompositeMapper = { - serializedName: "JobAgent", +export const DatabaseUpdate: msRest.CompositeMapper = { + serializedName: "DatabaseUpdate", type: { name: "Composite", - className: "JobAgent", + className: "DatabaseUpdate", modelProperties: { - ...TrackedResource.type.modelProperties, sku: { serializedName: "sku", type: { @@ -4087,369 +5146,315 @@ export const JobAgent: msRest.CompositeMapper = { className: "Sku" } }, - databaseId: { - required: true, - serializedName: "properties.databaseId", + createMode: { + serializedName: "properties.createMode", type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + collation: { + serializedName: "properties.collation", type: { name: "String" } - } - } - } -}; - -export const JobAgentUpdate: msRest.CompositeMapper = { - serializedName: "JobAgentUpdate", - type: { - name: "Composite", - className: "JobAgentUpdate", - modelProperties: { - tags: { - serializedName: "tags", + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Number" } - } - } - } -}; - -export const JobCredential: msRest.CompositeMapper = { - serializedName: "JobCredential", - type: { - name: "Composite", - className: "JobCredential", - modelProperties: { - ...ProxyResource.type.modelProperties, - username: { - required: true, - serializedName: "properties.username", + }, + sampleName: { + serializedName: "properties.sampleName", type: { name: "String" } }, - password: { - required: true, - serializedName: "properties.password", + elasticPoolId: { + serializedName: "properties.elasticPoolId", type: { name: "String" } - } - } - } -}; - -export const JobExecutionTarget: msRest.CompositeMapper = { - serializedName: "JobExecutionTarget", - type: { - name: "Composite", - className: "JobExecutionTarget", - modelProperties: { - type: { - readOnly: true, - serializedName: "type", + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - serverName: { + status: { readOnly: true, - serializedName: "serverName", + serializedName: "properties.status", type: { name: "String" } }, - databaseName: { + databaseId: { readOnly: true, - serializedName: "databaseName", + serializedName: "properties.databaseId", type: { - name: "String" + name: "Uuid" } - } - } - } -}; - -export const JobExecution: msRest.CompositeMapper = { - serializedName: "JobExecution", - type: { - name: "Composite", - className: "JobExecution", - modelProperties: { - ...ProxyResource.type.modelProperties, - jobVersion: { + }, + creationDate: { readOnly: true, - serializedName: "properties.jobVersion", + serializedName: "properties.creationDate", type: { - name: "Number" + name: "DateTime" } }, - stepName: { + currentServiceObjectiveName: { readOnly: true, - serializedName: "properties.stepName", + serializedName: "properties.currentServiceObjectiveName", type: { name: "String" } }, - stepId: { + requestedServiceObjectiveName: { readOnly: true, - serializedName: "properties.stepId", + serializedName: "properties.requestedServiceObjectiveName", type: { - name: "Number" + name: "String" } }, - jobExecutionId: { + defaultSecondaryLocation: { readOnly: true, - serializedName: "properties.jobExecutionId", + serializedName: "properties.defaultSecondaryLocation", type: { - name: "Uuid" + name: "String" } }, - lifecycle: { + failoverGroupId: { readOnly: true, - serializedName: "properties.lifecycle", + serializedName: "properties.failoverGroupId", type: { name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, - createTime: { - readOnly: true, - serializedName: "properties.createTime", + sourceDatabaseDeletionDate: { + serializedName: "properties.sourceDatabaseDeletionDate", type: { name: "DateTime" } }, - startTime: { - readOnly: true, - serializedName: "properties.startTime", + recoveryServicesRecoveryPointId: { + serializedName: "properties.recoveryServicesRecoveryPointId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - readOnly: true, - serializedName: "properties.endTime", + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", type: { - name: "DateTime" + name: "String" } }, - currentAttempts: { - serializedName: "properties.currentAttempts", + 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" } }, - currentAttemptStartTime: { + earliestRestoreDate: { readOnly: true, - serializedName: "properties.currentAttemptStartTime", + serializedName: "properties.earliestRestoreDate", type: { name: "DateTime" } }, - lastMessage: { - readOnly: true, - serializedName: "properties.lastMessage", + readScale: { + serializedName: "properties.readScale", type: { name: "String" } }, - target: { + readReplicaCount: { + serializedName: "properties.readReplicaCount", + type: { + name: "Number" + } + }, + currentSku: { readOnly: true, - serializedName: "properties.target", + serializedName: "properties.currentSku", type: { name: "Composite", - className: "JobExecutionTarget" + className: "Sku" } - } - } - } -}; - -export const JobSchedule: msRest.CompositeMapper = { - serializedName: "JobSchedule", - type: { - name: "Composite", - className: "JobSchedule", - modelProperties: { - startTime: { - serializedName: "startTime", - defaultValue: new Date('0001-01-01T00:00:00Z'), + }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", type: { - name: "DateTime" + name: "Number" } }, - endTime: { - serializedName: "endTime", - defaultValue: new Date('9999-12-31T11:59:59Z'), + minCapacity: { + serializedName: "properties.minCapacity", type: { - name: "DateTime" + name: "Number" } }, - type: { - serializedName: "type", - defaultValue: 'Once', + pausedDate: { + readOnly: true, + serializedName: "properties.pausedDate", type: { - name: "Enum", - allowedValues: [ - "Once", - "Recurring" - ] + name: "DateTime" } }, - enabled: { - serializedName: "enabled", + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", type: { - name: "Boolean" + name: "DateTime" } }, - interval: { - serializedName: "interval", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const Job: msRest.CompositeMapper = { - serializedName: "Job", +export const ResourceMoveDefinition: msRest.CompositeMapper = { + serializedName: "ResourceMoveDefinition", type: { name: "Composite", - className: "Job", + className: "ResourceMoveDefinition", modelProperties: { - ...ProxyResource.type.modelProperties, - description: { - serializedName: "properties.description", - defaultValue: '', + id: { + required: true, + serializedName: "id", type: { name: "String" } - }, - version: { - readOnly: true, - serializedName: "properties.version", - type: { - name: "Number" - } - }, - schedule: { - serializedName: "properties.schedule", - type: { - name: "Composite", - className: "JobSchedule" - } } } } }; -export const JobStepAction: msRest.CompositeMapper = { - serializedName: "JobStepAction", +export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseSettings", type: { name: "Composite", - className: "JobStepAction", + className: "ElasticPoolPerDatabaseSettings", modelProperties: { - type: { - serializedName: "type", - defaultValue: 'TSql', - type: { - name: "String" - } - }, - source: { - serializedName: "source", - defaultValue: 'Inline', + minCapacity: { + serializedName: "minCapacity", type: { - name: "String" + name: "Number" } }, - value: { - required: true, - serializedName: "value", + maxCapacity: { + serializedName: "maxCapacity", type: { - name: "String" + name: "Number" } } } } }; -export const JobStepOutput: msRest.CompositeMapper = { - serializedName: "JobStepOutput", +export const ElasticPool: msRest.CompositeMapper = { + serializedName: "ElasticPool", type: { name: "Composite", - className: "JobStepOutput", + className: "ElasticPool", modelProperties: { - type: { - serializedName: "type", - defaultValue: 'SqlDatabase', + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - subscriptionId: { - serializedName: "subscriptionId", + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Uuid" + name: "String" } }, - resourceGroupName: { - serializedName: "resourceGroupName", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - serverName: { - required: true, - serializedName: "serverName", + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", type: { - name: "String" + name: "DateTime" } }, - databaseName: { - required: true, - serializedName: "databaseName", + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "String" + name: "Number" } }, - schemaName: { - serializedName: "schemaName", - defaultValue: 'dbo', + perDatabaseSettings: { + serializedName: "properties.perDatabaseSettings", type: { - name: "String" + name: "Composite", + className: "ElasticPoolPerDatabaseSettings" } }, - tableName: { - required: true, - serializedName: "tableName", + zoneRedundant: { + serializedName: "properties.zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - credential: { - required: true, - serializedName: "credential", + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } @@ -4458,409 +5463,448 @@ export const JobStepOutput: msRest.CompositeMapper = { } }; -export const JobStepExecutionOptions: msRest.CompositeMapper = { - serializedName: "JobStepExecutionOptions", +export const ElasticPoolUpdate: msRest.CompositeMapper = { + serializedName: "ElasticPoolUpdate", type: { name: "Composite", - className: "JobStepExecutionOptions", + className: "ElasticPoolUpdate", modelProperties: { - timeoutSeconds: { - serializedName: "timeoutSeconds", - defaultValue: 43200, + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "Sku" } }, - retryAttempts: { - serializedName: "retryAttempts", - defaultValue: 10, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { name: "Number" } }, - initialRetryIntervalSeconds: { - serializedName: "initialRetryIntervalSeconds", - defaultValue: 1, + perDatabaseSettings: { + serializedName: "properties.perDatabaseSettings", type: { - name: "Number" + name: "Composite", + className: "ElasticPoolPerDatabaseSettings" } }, - maximumRetryIntervalSeconds: { - serializedName: "maximumRetryIntervalSeconds", - defaultValue: 120, + zoneRedundant: { + serializedName: "properties.zoneRedundant", type: { - name: "Number" + name: "Boolean" } }, - retryIntervalBackoffMultiplier: { - serializedName: "retryIntervalBackoffMultiplier", - defaultValue: 2, + licenseType: { + serializedName: "properties.licenseType", type: { - name: "Number" + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const JobStep: msRest.CompositeMapper = { - serializedName: "JobStep", +export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanError", type: { name: "Composite", - className: "JobStep", + className: "VulnerabilityAssessmentScanError", modelProperties: { - ...ProxyResource.type.modelProperties, - stepId: { - serializedName: "properties.stepId", - type: { - name: "Number" - } - }, - targetGroup: { - required: true, - serializedName: "properties.targetGroup", + code: { + readOnly: true, + serializedName: "code", type: { name: "String" } }, - credential: { - required: true, - serializedName: "properties.credential", + message: { + readOnly: true, + serializedName: "message", type: { name: "String" } - }, - action: { - required: true, - serializedName: "properties.action", - type: { - name: "Composite", - className: "JobStepAction" - } - }, - output: { - serializedName: "properties.output", - type: { - name: "Composite", - className: "JobStepOutput" - } - }, - executionOptions: { - serializedName: "properties.executionOptions", - type: { - name: "Composite", - className: "JobStepExecutionOptions" - } } } } }; -export const JobTarget: msRest.CompositeMapper = { - serializedName: "JobTarget", +export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecord", type: { name: "Composite", - className: "JobTarget", - modelProperties: { - membershipType: { - serializedName: "membershipType", - defaultValue: 'Include', + className: "VulnerabilityAssessmentScanRecord", + modelProperties: { + ...ProxyResource.type.modelProperties, + scanId: { + readOnly: true, + serializedName: "properties.scanId", type: { - name: "Enum", - allowedValues: [ - "Include", - "Exclude" - ] + name: "String" } }, - type: { - required: true, - serializedName: "type", + triggerType: { + readOnly: true, + serializedName: "properties.triggerType", type: { name: "String" } }, - serverName: { - serializedName: "serverName", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - databaseName: { - serializedName: "databaseName", + startTime: { + readOnly: true, + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } }, - elasticPoolName: { - serializedName: "elasticPoolName", + endTime: { + readOnly: true, + serializedName: "properties.endTime", type: { - name: "String" + name: "DateTime" } }, - shardMapName: { - serializedName: "shardMapName", + errors: { + readOnly: true, + serializedName: "properties.errors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanError" + } + } } }, - refreshCredential: { - serializedName: "refreshCredential", + storageContainerPath: { + readOnly: true, + serializedName: "properties.storageContainerPath", type: { name: "String" } + }, + numberOfFailedSecurityChecks: { + readOnly: true, + serializedName: "properties.numberOfFailedSecurityChecks", + type: { + name: "Number" + } } } } }; -export const JobTargetGroup: msRest.CompositeMapper = { - serializedName: "JobTargetGroup", +export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentScansExport", type: { name: "Composite", - className: "JobTargetGroup", + className: "DatabaseVulnerabilityAssessmentScansExport", modelProperties: { ...ProxyResource.type.modelProperties, - members: { - required: true, - serializedName: "properties.members", + exportedReportLocation: { + readOnly: true, + serializedName: "properties.exportedReportLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobTarget" - } - } + name: "String" } } } } }; -export const JobVersion: msRest.CompositeMapper = { - serializedName: "JobVersion", +export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupReadWriteEndpoint", type: { name: "Composite", - className: "JobVersion", + className: "InstanceFailoverGroupReadWriteEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties + failoverPolicy: { + required: true, + serializedName: "failoverPolicy", + type: { + name: "String" + } + }, + failoverWithDataLossGracePeriodMinutes: { + serializedName: "failoverWithDataLossGracePeriodMinutes", + type: { + name: "Number" + } + } } } }; -export const LongTermRetentionBackup: msRest.CompositeMapper = { - serializedName: "LongTermRetentionBackup", +export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupReadOnlyEndpoint", type: { name: "Composite", - className: "LongTermRetentionBackup", + className: "InstanceFailoverGroupReadOnlyEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties, - serverName: { - readOnly: true, - serializedName: "properties.serverName", + failoverPolicy: { + serializedName: "failoverPolicy", type: { name: "String" } - }, - serverCreateTime: { - readOnly: true, - serializedName: "properties.serverCreateTime", - type: { - name: "DateTime" - } - }, - databaseName: { - readOnly: true, - serializedName: "properties.databaseName", + } + } + } +}; + +export const PartnerRegionInfo: msRest.CompositeMapper = { + serializedName: "PartnerRegionInfo", + type: { + name: "Composite", + className: "PartnerRegionInfo", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } }, - databaseDeletionTime: { + replicationRole: { readOnly: true, - serializedName: "properties.databaseDeletionTime", + serializedName: "replicationRole", type: { - name: "DateTime" + name: "String" } - }, - backupTime: { - readOnly: true, - serializedName: "properties.backupTime", + } + } + } +}; + +export const ManagedInstancePairInfo: msRest.CompositeMapper = { + serializedName: "ManagedInstancePairInfo", + type: { + name: "Composite", + className: "ManagedInstancePairInfo", + modelProperties: { + primaryManagedInstanceId: { + serializedName: "primaryManagedInstanceId", type: { - name: "DateTime" + name: "String" } }, - backupExpirationTime: { - readOnly: true, - serializedName: "properties.backupExpirationTime", + partnerManagedInstanceId: { + serializedName: "partnerManagedInstanceId", type: { - name: "DateTime" + name: "String" } } } } }; -export const BackupLongTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupLongTermRetentionPolicy", +export const InstanceFailoverGroup: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroup", type: { name: "Composite", - className: "BackupLongTermRetentionPolicy", + className: "InstanceFailoverGroup", modelProperties: { ...ProxyResource.type.modelProperties, - weeklyRetention: { - serializedName: "properties.weeklyRetention", + readWriteEndpoint: { + required: true, + serializedName: "properties.readWriteEndpoint", type: { - name: "String" + name: "Composite", + className: "InstanceFailoverGroupReadWriteEndpoint" } }, - monthlyRetention: { - serializedName: "properties.monthlyRetention", + readOnlyEndpoint: { + serializedName: "properties.readOnlyEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadOnlyEndpoint" + } + }, + replicationRole: { + readOnly: true, + serializedName: "properties.replicationRole", type: { name: "String" } }, - yearlyRetention: { - serializedName: "properties.yearlyRetention", + replicationState: { + readOnly: true, + serializedName: "properties.replicationState", type: { name: "String" } }, - weekOfYear: { - serializedName: "properties.weekOfYear", + partnerRegions: { + required: true, + serializedName: "properties.partnerRegions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PartnerRegionInfo" + } + } + } + }, + managedInstancePairs: { + required: true, + serializedName: "properties.managedInstancePairs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstancePairInfo" + } + } } } } } }; -export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "ManagedBackupShortTermRetentionPolicy", +export const TdeCertificate: msRest.CompositeMapper = { + serializedName: "TdeCertificate", type: { name: "Composite", - className: "ManagedBackupShortTermRetentionPolicy", + className: "TdeCertificate", modelProperties: { ...ProxyResource.type.modelProperties, - retentionDays: { - serializedName: "properties.retentionDays", + privateBlob: { + required: true, + serializedName: "properties.privateBlob", type: { - name: "Number" + name: "String" + } + }, + certPassword: { + serializedName: "properties.certPassword", + type: { + name: "String" } } } } }; -export const AutomaticTuningServerOptions: msRest.CompositeMapper = { - serializedName: "AutomaticTuningServerOptions", +export const ManagedInstanceKey: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKey", type: { name: "Composite", - className: "AutomaticTuningServerOptions", + className: "ManagedInstanceKey", modelProperties: { - desiredState: { - serializedName: "desiredState", + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Enum", - allowedValues: [ - "Off", - "On", - "Default" - ] + name: "String" } }, - actualState: { - readOnly: true, - serializedName: "actualState", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { - name: "Enum", - allowedValues: [ - "Off", - "On" - ] + name: "String" } }, - reasonCode: { + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { readOnly: true, - serializedName: "reasonCode", + serializedName: "properties.thumbprint", type: { - name: "Number" + name: "String" } }, - reasonDesc: { + creationDate: { readOnly: true, - serializedName: "reasonDesc", + serializedName: "properties.creationDate", type: { - name: "Enum", - allowedValues: [ - "Default", - "Disabled", - "AutoConfigured" - ] + name: "DateTime" } } } } }; -export const ServerAutomaticTuning: msRest.CompositeMapper = { - serializedName: "ServerAutomaticTuning", +export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtector", type: { name: "Composite", - className: "ServerAutomaticTuning", + className: "ManagedInstanceEncryptionProtector", modelProperties: { ...ProxyResource.type.modelProperties, - desiredState: { - serializedName: "properties.desiredState", + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Enum", - allowedValues: [ - "Custom", - "Auto", - "Unspecified" - ] + name: "String" } }, - actualState: { + serverKeyName: { + serializedName: "properties.serverKeyName", + type: { + name: "String" + } + }, + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", + type: { + name: "String" + } + }, + uri: { readOnly: true, - serializedName: "properties.actualState", + serializedName: "properties.uri", type: { - name: "Enum", - allowedValues: [ - "Custom", - "Auto", - "Unspecified" - ] + name: "String" } }, - options: { - serializedName: "properties.options", + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "AutomaticTuningServerOptions" - } - } + name: "String" } } } } }; -export const ServerDnsAlias: msRest.CompositeMapper = { - serializedName: "ServerDnsAlias", +export const RecoverableManagedDatabase: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabase", type: { name: "Composite", - className: "ServerDnsAlias", + className: "RecoverableManagedDatabase", modelProperties: { ...ProxyResource.type.modelProperties, - azureDnsRecord: { + lastAvailableBackupDate: { readOnly: true, - serializedName: "properties.azureDnsRecord", + serializedName: "properties.lastAvailableBackupDate", type: { name: "String" } @@ -4869,196 +5913,230 @@ export const ServerDnsAlias: msRest.CompositeMapper = { } }; -export const ServerDnsAliasAcquisition: msRest.CompositeMapper = { - serializedName: "ServerDnsAliasAcquisition", +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", type: { name: "Composite", - className: "ServerDnsAliasAcquisition", + className: "ManagedInstanceVulnerabilityAssessment", modelProperties: { - oldServerDnsAliasId: { - serializedName: "oldServerDnsAliasId", + ...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 ServerSecurityAlertPolicy: msRest.CompositeMapper = { - serializedName: "ServerSecurityAlertPolicy", +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", type: { name: "Composite", - className: "ServerSecurityAlertPolicy", + className: "ServerVulnerabilityAssessment", modelProperties: { ...ProxyResource.type.modelProperties, - state: { + storageContainerPath: { required: true, - serializedName: "properties.state", + serializedName: "properties.storageContainerPath", type: { - name: "Enum", - allowedValues: [ - "New", - "Enabled", - "Disabled" - ] + name: "String" } }, - disabledAlerts: { - serializedName: "properties.disabledAlerts", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - emailAddresses: { - serializedName: "properties.emailAddresses", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - emailAccountAdmins: { - serializedName: "properties.emailAccountAdmins", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "Boolean" + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + } + } + } +}; + +export const InstancePool: msRest.CompositeMapper = { + serializedName: "InstancePool", + type: { + name: "Composite", + className: "InstancePool", + modelProperties: { + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + subnetId: { + required: true, + serializedName: "properties.subnetId", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", + vCores: { + required: true, + serializedName: "properties.vCores", type: { name: "Number" } }, - creationTime: { - readOnly: true, - serializedName: "properties.creationTime", + licenseType: { + required: true, + serializedName: "properties.licenseType", type: { - name: "DateTime" + name: "String" } } } } }; -export const RestorableDroppedManagedDatabase: msRest.CompositeMapper = { - serializedName: "RestorableDroppedManagedDatabase", +export const InstancePoolUpdate: msRest.CompositeMapper = { + serializedName: "InstancePoolUpdate", type: { name: "Composite", - className: "RestorableDroppedManagedDatabase", + className: "InstancePoolUpdate", modelProperties: { - ...TrackedResource.type.modelProperties, - databaseName: { - readOnly: true, - serializedName: "properties.databaseName", - type: { - name: "String" - } - }, - creationDate: { - readOnly: true, - serializedName: "properties.creationDate", + tags: { + serializedName: "tags", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - deletionDate: { - readOnly: true, - serializedName: "properties.deletionDate", + } + } + } +}; + +export const Name: msRest.CompositeMapper = { + serializedName: "Name", + type: { + name: "Composite", + className: "Name", + modelProperties: { + value: { + serializedName: "value", type: { - name: "DateTime" + name: "String" } }, - earliestRestoreDate: { - readOnly: true, - serializedName: "properties.earliestRestoreDate", + localizedValue: { + serializedName: "localizedValue", type: { - name: "DateTime" + name: "String" } } } } }; -export const RestorePoint: msRest.CompositeMapper = { - serializedName: "RestorePoint", +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", type: { name: "Composite", - className: "RestorePoint", + className: "Usage", modelProperties: { - ...ProxyResource.type.modelProperties, - location: { + id: { readOnly: true, - serializedName: "location", + serializedName: "id", type: { name: "String" } }, - restorePointType: { + name: { readOnly: true, - serializedName: "properties.restorePointType", + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "CONTINUOUS", - "DISCRETE" - ] + name: "Composite", + className: "Name" } }, - earliestRestoreDate: { + type: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "type", type: { - name: "DateTime" + name: "String" } }, - restorePointCreationDate: { + unit: { readOnly: true, - serializedName: "properties.restorePointCreationDate", + serializedName: "unit", type: { - name: "DateTime" + name: "String" } }, - restorePointLabel: { + currentValue: { readOnly: true, - serializedName: "properties.restorePointLabel", + serializedName: "currentValue", type: { - name: "String" + name: "Number" + } + }, + limit: { + readOnly: true, + serializedName: "limit", + type: { + name: "Number" + } + }, + requestedLimit: { + readOnly: true, + serializedName: "requestedLimit", + type: { + name: "Number" } } } } }; -export const CreateDatabaseRestorePointDefinition: msRest.CompositeMapper = { - serializedName: "CreateDatabaseRestorePointDefinition", +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", type: { name: "Composite", - className: "CreateDatabaseRestorePointDefinition", + className: "PrivateEndpointProperty", modelProperties: { - restorePointLabel: { - required: true, - serializedName: "restorePointLabel", + id: { + serializedName: "id", type: { name: "String" } @@ -5067,114 +6145,116 @@ export const CreateDatabaseRestorePointDefinition: msRest.CompositeMapper = { } }; -export const ManagedDatabaseSecurityAlertPolicy: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseSecurityAlertPolicy", +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", type: { name: "Composite", - className: "ManagedDatabaseSecurityAlertPolicy", + className: "PrivateLinkServiceConnectionStateProperty", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { + status: { required: true, - serializedName: "properties.state", + serializedName: "status", type: { - name: "Enum", - allowedValues: [ - "New", - "Enabled", - "Disabled" - ] + name: "String" } }, - disabledAlerts: { - serializedName: "properties.disabledAlerts", + description: { + required: true, + serializedName: "description", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - emailAddresses: { - serializedName: "properties.emailAddresses", + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - }, - emailAccountAdmins: { - serializedName: "properties.emailAccountAdmins", + } + } + } +}; + +export const PrivateEndpointConnectionProperties: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionProperties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + modelProperties: { + privateEndpoint: { + serializedName: "privateEndpoint", type: { - name: "Boolean" + name: "Composite", + className: "PrivateEndpointProperty" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + 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" + } }, - retentionDays: { - serializedName: "properties.retentionDays", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "Number" + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" } }, - creationTime: { + provisioningState: { readOnly: true, - serializedName: "properties.creationTime", + serializedName: "properties.provisioningState", type: { - name: "DateTime" + name: "String" } } } } }; -export const ManagedServerSecurityAlertPolicy: msRest.CompositeMapper = { - serializedName: "ManagedServerSecurityAlertPolicy", +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", type: { name: "Composite", - className: "ManagedServerSecurityAlertPolicy", + className: "PrivateLinkResourceProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "New", - "Enabled", - "Disabled" - ] - } - }, - disabledAlerts: { - serializedName: "properties.disabledAlerts", + groupId: { + readOnly: true, + serializedName: "groupId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - emailAddresses: { - serializedName: "properties.emailAddresses", + requiredMembers: { + readOnly: true, + serializedName: "requiredMembers", type: { name: "Sequence", element: { @@ -5183,171 +6263,122 @@ export const ManagedServerSecurityAlertPolicy: msRest.CompositeMapper = { } } } - }, - 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: { + } + } + } +}; + +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { readOnly: true, - serializedName: "properties.creationTime", + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "PrivateLinkResourceProperties" } } } } }; -export const SensitivityLabel: msRest.CompositeMapper = { - serializedName: "SensitivityLabel", +export const ResourceIdentity: msRest.CompositeMapper = { + serializedName: "ResourceIdentity", type: { name: "Composite", - className: "SensitivityLabel", + className: "ResourceIdentity", modelProperties: { - ...ProxyResource.type.modelProperties, - labelName: { - serializedName: "properties.labelName", - type: { - name: "String" - } - }, - labelId: { - serializedName: "properties.labelId", - type: { - name: "String" - } - }, - informationType: { - serializedName: "properties.informationType", + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "String" + name: "Uuid" } }, - informationTypeId: { - serializedName: "properties.informationTypeId", + type: { + serializedName: "type", type: { name: "String" } }, - isDisabled: { + tenantId: { readOnly: true, - serializedName: "properties.isDisabled", + serializedName: "tenantId", type: { - name: "Boolean" + name: "Uuid" } } } } }; -export const ManagedInstanceAdministrator: msRest.CompositeMapper = { - serializedName: "ManagedInstanceAdministrator", +export const ServerPrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "ServerPrivateEndpointConnection", type: { name: "Composite", - className: "ManagedInstanceAdministrator", + className: "ServerPrivateEndpointConnection", modelProperties: { - ...ProxyResource.type.modelProperties, - administratorType: { - required: true, - isConstant: true, - serializedName: "properties.administratorType", - defaultValue: 'ActiveDirectory', - type: { - name: "String" - } - }, - login: { - required: true, - serializedName: "properties.login", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - sid: { - required: true, - serializedName: "properties.sid", - type: { - name: "Uuid" - } - }, - tenantId: { - serializedName: "properties.tenantId", + properties: { + readOnly: true, + serializedName: "properties", type: { - name: "Uuid" + name: "Composite", + className: "PrivateEndpointConnectionProperties" } } } } }; -export const DatabaseOperation: msRest.CompositeMapper = { - serializedName: "DatabaseOperation", +export const Server: msRest.CompositeMapper = { + serializedName: "Server", type: { name: "Composite", - className: "DatabaseOperation", + className: "Server", modelProperties: { - ...ProxyResource.type.modelProperties, - databaseName: { - readOnly: true, - serializedName: "properties.databaseName", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "ResourceIdentity" } }, - operation: { + kind: { readOnly: true, - serializedName: "properties.operation", + serializedName: "kind", type: { name: "String" } }, - operationFriendlyName: { - readOnly: true, - serializedName: "properties.operationFriendlyName", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - percentComplete: { - readOnly: true, - serializedName: "properties.percentComplete", - type: { - name: "Number" - } - }, - serverName: { - readOnly: true, - serializedName: "properties.serverName", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "properties.startTime", + version: { + serializedName: "properties.version", type: { - name: "DateTime" + name: "String" } }, state: { @@ -5357,163 +6388,183 @@ export const DatabaseOperation: msRest.CompositeMapper = { name: "String" } }, - errorCode: { - readOnly: true, - serializedName: "properties.errorCode", - type: { - name: "Number" - } - }, - errorDescription: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "properties.errorDescription", + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - errorSeverity: { - readOnly: true, - serializedName: "properties.errorSeverity", - type: { - name: "Number" - } - }, - isUserError: { - readOnly: true, - serializedName: "properties.isUserError", - type: { - name: "Boolean" - } - }, - estimatedCompletionTime: { + privateEndpointConnections: { readOnly: true, - serializedName: "properties.estimatedCompletionTime", + serializedName: "properties.privateEndpointConnections", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection" + } + } } }, - description: { - readOnly: true, - serializedName: "properties.description", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } }, - isCancellable: { - readOnly: true, - serializedName: "properties.isCancellable", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Boolean" + name: "String" } } } } }; -export const ElasticPoolOperation: msRest.CompositeMapper = { - serializedName: "ElasticPoolOperation", +export const ServerUpdate: msRest.CompositeMapper = { + serializedName: "ServerUpdate", type: { name: "Composite", - className: "ElasticPoolOperation", + className: "ServerUpdate", modelProperties: { - ...ProxyResource.type.modelProperties, - elasticPoolName: { - readOnly: true, - serializedName: "properties.elasticPoolName", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - operation: { - readOnly: true, - serializedName: "properties.operation", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - operationFriendlyName: { - readOnly: true, - serializedName: "properties.operationFriendlyName", + version: { + serializedName: "properties.version", type: { name: "String" } }, - percentComplete: { + state: { readOnly: true, - serializedName: "properties.percentComplete", + serializedName: "properties.state", type: { - name: "Number" + name: "String" } }, - serverName: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "properties.serverName", + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - startTime: { + privateEndpointConnections: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "properties.privateEndpointConnections", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection" + } + } } }, - state: { - readOnly: true, - serializedName: "properties.state", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } }, - errorCode: { - readOnly: true, - serializedName: "properties.errorCode", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Number" + name: "String" } }, - errorDescription: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +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: "properties.errorDescription", + serializedName: "name", type: { name: "String" } }, - errorSeverity: { - readOnly: true, - serializedName: "properties.errorSeverity", - type: { - name: "Number" - } - }, - isUserError: { + available: { readOnly: true, - serializedName: "properties.isUserError", + serializedName: "available", type: { name: "Boolean" } }, - estimatedCompletionTime: { + reason: { readOnly: true, - serializedName: "properties.estimatedCompletionTime", + serializedName: "reason", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Invalid", + "AlreadyExists" + ] } }, - description: { + message: { readOnly: true, - serializedName: "properties.description", + serializedName: "message", type: { name: "String" } - }, - isCancellable: { - readOnly: true, - serializedName: "properties.isCancellable", - type: { - name: "Boolean" - } } } } @@ -5688,6 +6739,94 @@ export const LicenseTypeCapability: msRest.CompositeMapper = { } }; +export const AutoPauseDelayTimeRange: msRest.CompositeMapper = { + serializedName: "AutoPauseDelayTimeRange", + type: { + name: "Composite", + className: "AutoPauseDelayTimeRange", + modelProperties: { + minValue: { + readOnly: true, + serializedName: "minValue", + type: { + name: "Number" + } + }, + maxValue: { + readOnly: true, + serializedName: "maxValue", + type: { + 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 MinCapacityCapability: msRest.CompositeMapper = { + serializedName: "MinCapacityCapability", + type: { + name: "Composite", + className: "MinCapacityCapability", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", + type: { + name: "Number" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + export const ServiceObjectiveCapability: msRest.CompositeMapper = { serializedName: "ServiceObjectiveCapability", type: { @@ -5758,6 +6897,113 @@ export const ServiceObjectiveCapability: msRest.CompositeMapper = { className: "MaxSizeCapability" } }, + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", + type: { + name: "Boolean" + } + }, + supportedAutoPauseDelay: { + readOnly: true, + serializedName: "supportedAutoPauseDelay", + type: { + name: "Composite", + className: "AutoPauseDelayTimeRange" + } + }, + supportedMinCapacities: { + readOnly: true, + serializedName: "supportedMinCapacities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MinCapacityCapability" + } + } + } + }, + computeModel: { + readOnly: true, + serializedName: "computeModel", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const ReadScaleCapability: msRest.CompositeMapper = { + serializedName: "ReadScaleCapability", + type: { + name: "Composite", + className: "ReadScaleCapability", + modelProperties: { + maxNumberOfReplicas: { + readOnly: true, + serializedName: "maxNumberOfReplicas", + type: { + name: "Number" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const StorageCapability: msRest.CompositeMapper = { + serializedName: "StorageCapability", + type: { + name: "Composite", + className: "StorageCapability", + modelProperties: { + storageAccountType: { + readOnly: true, + serializedName: "storageAccountType", + type: { + name: "String" + } + }, status: { readOnly: true, serializedName: "status", @@ -5814,6 +7060,27 @@ export const EditionCapability: msRest.CompositeMapper = { name: "Boolean" } }, + readScale: { + readOnly: true, + serializedName: "readScale", + type: { + name: "Composite", + className: "ReadScaleCapability" + } + }, + supportedStorageCapabilities: { + readOnly: true, + serializedName: "supportedStorageCapabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageCapability" + } + } + } + }, status: { readOnly: true, serializedName: "status", @@ -6025,6 +7292,13 @@ export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { } } }, + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", + type: { + name: "Boolean" + } + }, status: { readOnly: true, serializedName: "status", @@ -6186,6 +7460,41 @@ export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = { name: "Number" } }, + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", + type: { + name: "Composite", + className: "MaxSizeCapability" + } + }, + supportedStorageSizes: { + readOnly: true, + serializedName: "supportedStorageSizes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } + } + }, + instancePoolSupported: { + readOnly: true, + serializedName: "instancePoolSupported", + type: { + name: "Boolean" + } + }, + standaloneSupported: { + readOnly: true, + serializedName: "standaloneSupported", + type: { + name: "Boolean" + } + }, status: { readOnly: true, serializedName: "status", @@ -6255,27 +7564,6 @@ export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { } } }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", - type: { - name: "Composite", - className: "MaxSizeCapability" - } - }, - supportedStorageSizes: { - readOnly: true, - serializedName: "supportedStorageSizes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } - } - }, status: { readOnly: true, serializedName: "status", @@ -6348,11 +7636,11 @@ export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { } }; -export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVersionCapability", +export const InstancePoolVcoresCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolVcoresCapability", type: { name: "Composite", - className: "ManagedInstanceVersionCapability", + className: "InstancePoolVcoresCapability", modelProperties: { name: { readOnly: true, @@ -6361,17 +7649,19 @@ export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { name: "String" } }, - supportedEditions: { + value: { readOnly: true, - serializedName: "supportedEditions", + serializedName: "value", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceEditionCapability" - } - } + name: "Number" + } + }, + storageLimit: { + readOnly: true, + serializedName: "storageLimit", + type: { + name: "Composite", + className: "MaxSizeCapability" } }, status: { @@ -6397,11 +7687,11 @@ export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { } }; -export const LocationCapabilities: msRest.CompositeMapper = { - serializedName: "LocationCapabilities", +export const InstancePoolFamilyCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolFamilyCapability", type: { name: "Composite", - className: "LocationCapabilities", + className: "InstancePoolFamilyCapability", modelProperties: { name: { readOnly: true, @@ -6410,815 +7700,713 @@ export const LocationCapabilities: msRest.CompositeMapper = { name: "String" } }, - supportedServerVersions: { - readOnly: true, - serializedName: "supportedServerVersions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerVersionCapability" - } - } - } - }, - supportedManagedInstanceVersions: { + supportedLicenseTypes: { readOnly: true, - serializedName: "supportedManagedInstanceVersions", + serializedName: "supportedLicenseTypes", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ManagedInstanceVersionCapability" - } - } - } - }, - status: { - readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] - } - }, - reason: { - serializedName: "reason", - type: { - name: "String" - } - } - } - } -}; - -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" + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - maxLogSizeBytes: { + supportedVcoresValues: { readOnly: true, - serializedName: "properties.maxLogSizeBytes", + serializedName: "supportedVcoresValues", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolVcoresCapability" + } + } } }, - earliestRestoreDate: { + status: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "status", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - readScale: { - serializedName: "properties.readScale", + reason: { + serializedName: "reason", type: { name: "String" } - }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", - type: { - name: "Number" - } - }, - currentSku: { + } + } + } +}; + +export const InstancePoolEditionCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolEditionCapability", + type: { + name: "Composite", + className: "InstancePoolEditionCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.currentSku", - type: { - name: "Composite", - className: "Sku" - } - }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + serializedName: "name", type: { - name: "Number" + name: "String" } }, - minCapacity: { - serializedName: "properties.minCapacity", + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolFamilyCapability" + } + } } }, - pausedDate: { + status: { readOnly: true, - serializedName: "properties.pausedDate", + serializedName: "status", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - resumedDate: { - readOnly: true, - serializedName: "properties.resumedDate", + reason: { + serializedName: "reason", type: { - name: "DateTime" + name: "String" } } } } }; -export const DatabaseUpdate: msRest.CompositeMapper = { - serializedName: "DatabaseUpdate", +export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVersionCapability", type: { name: "Composite", - className: "DatabaseUpdate", + className: "ManagedInstanceVersionCapability", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - createMode: { - serializedName: "properties.createMode", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - collation: { - serializedName: "properties.collation", + supportedEditions: { + readOnly: true, + serializedName: "supportedEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceEditionCapability" + } + } } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + supportedInstancePoolEditions: { + readOnly: true, + serializedName: "supportedInstancePoolEditions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolEditionCapability" + } + } } }, - sampleName: { - serializedName: "properties.sampleName", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", + reason: { + serializedName: "reason", type: { name: "String" } - }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + } + } + } +}; + +export const LocationCapabilities: msRest.CompositeMapper = { + serializedName: "LocationCapabilities", + type: { + name: "Composite", + className: "LocationCapabilities", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - status: { + supportedServerVersions: { readOnly: true, - serializedName: "properties.status", + serializedName: "supportedServerVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVersionCapability" + } + } } }, - databaseId: { + supportedManagedInstanceVersions: { readOnly: true, - serializedName: "properties.databaseId", + serializedName: "supportedManagedInstanceVersions", type: { - name: "Uuid" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVersionCapability" + } + } } }, - creationDate: { + status: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "status", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - currentServiceObjectiveName: { - readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + reason: { + serializedName: "reason", type: { name: "String" } - }, - requestedServiceObjectiveName: { + } + } + } +}; + +export const ManagedInstanceLongTermRetentionBackup: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackup", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionBackup", + modelProperties: { + ...ProxyResource.type.modelProperties, + managedInstanceName: { readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + serializedName: "properties.managedInstanceName", type: { name: "String" } }, - defaultSecondaryLocation: { + managedInstanceCreateTime: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "properties.managedInstanceCreateTime", type: { - name: "String" + name: "DateTime" } }, - failoverGroupId: { + databaseName: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "properties.databaseName", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + databaseDeletionTime: { + readOnly: true, + serializedName: "properties.databaseDeletionTime", type: { name: "DateTime" } }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + backupTime: { + readOnly: true, + serializedName: "properties.backupTime", type: { name: "DateTime" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + backupExpirationTime: { + readOnly: true, + serializedName: "properties.backupExpirationTime", type: { - name: "String" + name: "DateTime" } - }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + } + } + } +}; + +export const ManagedInstanceLongTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicy", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + weeklyRetention: { + serializedName: "properties.weeklyRetention", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + monthlyRetention: { + serializedName: "properties.monthlyRetention", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + yearlyRetention: { + serializedName: "properties.yearlyRetention", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + weekOfYear: { + serializedName: "properties.weekOfYear", type: { - name: "String" + name: "Number" } - }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + } + } + } +}; + +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", + type: { + name: "Composite", + className: "WorkloadGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + minResourcePercent: { + required: true, + serializedName: "properties.minResourcePercent", type: { - name: "Boolean" + name: "Number" } }, - licenseType: { - serializedName: "properties.licenseType", + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", type: { - name: "String" + name: "Number" } }, - maxLogSizeBytes: { - readOnly: true, - serializedName: "properties.maxLogSizeBytes", + minResourcePercentPerRequest: { + required: true, + serializedName: "properties.minResourcePercentPerRequest", type: { name: "Number" } }, - earliestRestoreDate: { - readOnly: true, - serializedName: "properties.earliestRestoreDate", + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", type: { - name: "DateTime" + name: "Number" } }, - readScale: { - serializedName: "properties.readScale", + importance: { + serializedName: "properties.importance", type: { name: "String" } }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", type: { name: "Number" } - }, - currentSku: { - readOnly: true, - serializedName: "properties.currentSku", + } + } + } +}; + +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", + type: { + name: "Composite", + className: "WorkloadClassifier", + modelProperties: { + ...ProxyResource.type.modelProperties, + memberName: { + required: true, + serializedName: "properties.memberName", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + label: { + serializedName: "properties.label", type: { - name: "Number" + name: "String" } }, - minCapacity: { - serializedName: "properties.minCapacity", + context: { + serializedName: "properties.context", type: { - name: "Number" + name: "String" } }, - pausedDate: { - readOnly: true, - serializedName: "properties.pausedDate", + startTime: { + serializedName: "properties.startTime", type: { - name: "DateTime" + name: "String" } }, - resumedDate: { - readOnly: true, - serializedName: "properties.resumedDate", + endTime: { + serializedName: "properties.endTime", type: { - name: "DateTime" + name: "String" } }, - tags: { - serializedName: "tags", + importance: { + serializedName: "properties.importance", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ResourceMoveDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMoveDefinition", +export const UpsertManagedServerOperationParameters: msRest.CompositeMapper = { + serializedName: "UpsertManagedServerOperationParameters", type: { name: "Composite", - className: "ResourceMoveDefinition", + className: "UpsertManagedServerOperationParameters", modelProperties: { - id: { - required: true, - serializedName: "id", + family: { + serializedName: "family", type: { name: "String" } + }, + tier: { + serializedName: "tier", + type: { + name: "String" + } + }, + vCores: { + serializedName: "vCores", + type: { + name: "Number" + } + }, + storageSizeInGB: { + serializedName: "storageSizeInGB", + type: { + name: "Number" + } } } } }; -export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseSettings", +export const ManagedInstanceOperationParametersPair: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationParametersPair", type: { name: "Composite", - className: "ElasticPoolPerDatabaseSettings", + className: "ManagedInstanceOperationParametersPair", modelProperties: { - minCapacity: { - serializedName: "minCapacity", + currentParameters: { + readOnly: true, + serializedName: "currentParameters", type: { - name: "Number" + name: "Composite", + className: "UpsertManagedServerOperationParameters" } }, - maxCapacity: { - serializedName: "maxCapacity", + requestedParameters: { + readOnly: true, + serializedName: "requestedParameters", type: { - name: "Number" + name: "Composite", + className: "UpsertManagedServerOperationParameters" } } } } }; -export const ElasticPool: msRest.CompositeMapper = { - serializedName: "ElasticPool", +export const UpsertManagedServerOperationStep: msRest.CompositeMapper = { + serializedName: "UpsertManagedServerOperationStep", type: { name: "Composite", - className: "ElasticPool", + className: "UpsertManagedServerOperationStep", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + order: { + serializedName: "order", type: { - name: "Composite", - className: "Sku" + name: "Number" } }, - kind: { - readOnly: true, - serializedName: "kind", + name: { + serializedName: "name", type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + status: { + serializedName: "status", type: { name: "String" } - }, - creationDate: { + } + } + } +}; + +export const ManagedInstanceOperationSteps: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationSteps", + type: { + name: "Composite", + className: "ManagedInstanceOperationSteps", + modelProperties: { + totalSteps: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "totalSteps", type: { - name: "DateTime" + name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + currentStep: { + readOnly: true, + serializedName: "currentStep", type: { name: "Number" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" - } - }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", - type: { - name: "Boolean" - } - }, - licenseType: { - serializedName: "properties.licenseType", + stepsList: { + readOnly: true, + serializedName: "stepsList", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpsertManagedServerOperationStep" + } + } } } } } }; -export const ElasticPoolUpdate: msRest.CompositeMapper = { - serializedName: "ElasticPoolUpdate", +export const ManagedInstanceOperation: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperation", type: { name: "Composite", - className: "ElasticPoolUpdate", + className: "ManagedInstanceOperation", modelProperties: { - sku: { - serializedName: "sku", + ...ProxyResource.type.modelProperties, + managedInstanceName: { + readOnly: true, + serializedName: "properties.managedInstanceName", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + operation: { + readOnly: true, + serializedName: "properties.operation", type: { - name: "Number" + name: "String" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + operationFriendlyName: { + readOnly: true, + serializedName: "properties.operationFriendlyName", type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + name: "String" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + percentComplete: { + readOnly: true, + serializedName: "properties.percentComplete", type: { - name: "Boolean" + name: "Number" } }, - licenseType: { - serializedName: "properties.licenseType", + startTime: { + readOnly: true, + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanError", - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanError", - modelProperties: { - code: { + state: { readOnly: true, - serializedName: "code", + serializedName: "properties.state", type: { name: "String" } }, - message: { + errorCode: { readOnly: true, - serializedName: "message", + serializedName: "properties.errorCode", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecord", - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanRecord", - modelProperties: { - ...ProxyResource.type.modelProperties, - scanId: { + }, + errorDescription: { readOnly: true, - serializedName: "properties.scanId", + serializedName: "properties.errorDescription", type: { name: "String" } }, - triggerType: { + errorSeverity: { readOnly: true, - serializedName: "properties.triggerType", + serializedName: "properties.errorSeverity", type: { - name: "String" + name: "Number" } }, - state: { + isUserError: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.isUserError", type: { - name: "String" + name: "Boolean" } }, - startTime: { + estimatedCompletionTime: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "properties.estimatedCompletionTime", type: { name: "DateTime" } }, - endTime: { + description: { readOnly: true, - serializedName: "properties.endTime", + serializedName: "properties.description", type: { - name: "DateTime" + name: "String" } }, - errors: { + isCancellable: { readOnly: true, - serializedName: "properties.errors", + serializedName: "properties.isCancellable", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanError" - } - } + name: "Boolean" } }, - storageContainerPath: { + operationParameters: { readOnly: true, - serializedName: "properties.storageContainerPath", + serializedName: "properties.operationParameters", type: { - name: "String" + name: "Composite", + className: "ManagedInstanceOperationParametersPair" } }, - numberOfFailedSecurityChecks: { + operationSteps: { readOnly: true, - serializedName: "properties.numberOfFailedSecurityChecks", + serializedName: "properties.operationSteps", type: { - name: "Number" + name: "Composite", + className: "ManagedInstanceOperationSteps" } } } } }; -export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentScansExport", +export const ServerAzureADAdministrator: msRest.CompositeMapper = { + serializedName: "ServerAzureADAdministrator", type: { name: "Composite", - className: "DatabaseVulnerabilityAssessmentScansExport", + className: "ServerAzureADAdministrator", modelProperties: { ...ProxyResource.type.modelProperties, - exportedReportLocation: { - readOnly: true, - serializedName: "properties.exportedReportLocation", + administratorType: { + required: true, + isConstant: true, + serializedName: "properties.administratorType", + defaultValue: 'ActiveDirectory', type: { name: "String" } - } - } - } -}; - -export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadWriteEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint", - modelProperties: { - failoverPolicy: { + }, + login: { required: true, - serializedName: "failoverPolicy", + serializedName: "properties.login", type: { name: "String" } }, - failoverWithDataLossGracePeriodMinutes: { - serializedName: "failoverWithDataLossGracePeriodMinutes", + sid: { + required: true, + serializedName: "properties.sid", type: { - name: "Number" + name: "Uuid" + } + }, + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "Uuid" + } + }, + azureADOnlyAuthentication: { + readOnly: true, + serializedName: "properties.azureADOnlyAuthentication", + type: { + name: "Boolean" } } } } }; -export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadOnlyEndpoint", +export const SyncDatabaseIdProperties: msRest.CompositeMapper = { + serializedName: "SyncDatabaseIdProperties", type: { name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint", + className: "SyncDatabaseIdProperties", modelProperties: { - failoverPolicy: { - serializedName: "failoverPolicy", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } @@ -7227,240 +8415,246 @@ export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { } }; -export const PartnerRegionInfo: msRest.CompositeMapper = { - serializedName: "PartnerRegionInfo", +export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaTableColumn", type: { name: "Composite", - className: "PartnerRegionInfo", + className: "SyncFullSchemaTableColumn", modelProperties: { - location: { - serializedName: "location", + dataSize: { + readOnly: true, + serializedName: "dataSize", type: { name: "String" } }, - replicationRole: { + dataType: { readOnly: true, - serializedName: "replicationRole", - type: { - name: "String" - } - } - } - } -}; - -export const ManagedInstancePairInfo: msRest.CompositeMapper = { - serializedName: "ManagedInstancePairInfo", - type: { - name: "Composite", - className: "ManagedInstancePairInfo", - modelProperties: { - primaryManagedInstanceId: { - serializedName: "primaryManagedInstanceId", + serializedName: "dataType", type: { name: "String" } }, - partnerManagedInstanceId: { - serializedName: "partnerManagedInstanceId", + errorId: { + readOnly: true, + serializedName: "errorId", type: { name: "String" } - } - } - } -}; - -export const InstanceFailoverGroup: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroup", - type: { - name: "Composite", - className: "InstanceFailoverGroup", - modelProperties: { - ...ProxyResource.type.modelProperties, - readWriteEndpoint: { - required: true, - serializedName: "properties.readWriteEndpoint", + }, + hasError: { + readOnly: true, + serializedName: "hasError", type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint" + name: "Boolean" } }, - readOnlyEndpoint: { - serializedName: "properties.readOnlyEndpoint", + isPrimaryKey: { + readOnly: true, + serializedName: "isPrimaryKey", type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint" + name: "Boolean" } }, - replicationRole: { + name: { readOnly: true, - serializedName: "properties.replicationRole", + serializedName: "name", type: { name: "String" } }, - replicationState: { + quotedName: { readOnly: true, - serializedName: "properties.replicationState", + serializedName: "quotedName", type: { name: "String" } - }, - partnerRegions: { - required: true, - serializedName: "properties.partnerRegions", + } + } + } +}; + +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: "PartnerRegionInfo" + className: "SyncFullSchemaTableColumn" } } } }, - managedInstancePairs: { - required: true, - serializedName: "properties.managedInstancePairs", + errorId: { + readOnly: true, + serializedName: "errorId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstancePairInfo" - } - } + name: "String" } - } - } - } -}; - -export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicy", - type: { - name: "Composite", - className: "BackupShortTermRetentionPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - retentionDays: { - serializedName: "properties.retentionDays", + }, + hasError: { + readOnly: true, + serializedName: "hasError", + type: { + name: "Boolean" + } + }, + name: { + readOnly: true, + serializedName: "name", type: { - name: "Number" + name: "String" + } + }, + quotedName: { + readOnly: true, + serializedName: "quotedName", + type: { + name: "String" } } } } }; -export const TdeCertificate: msRest.CompositeMapper = { - serializedName: "TdeCertificate", +export const SyncFullSchemaProperties: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaProperties", type: { name: "Composite", - className: "TdeCertificate", + className: "SyncFullSchemaProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - privateBlob: { - required: true, - serializedName: "properties.privateBlob", + tables: { + readOnly: true, + serializedName: "tables", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncFullSchemaTable" + } + } } }, - certPassword: { - serializedName: "properties.certPassword", + lastUpdateTime: { + readOnly: true, + serializedName: "lastUpdateTime", type: { - name: "String" + name: "DateTime" } } } } }; -export const ManagedInstanceKey: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKey", +export const SyncGroupLogProperties: msRest.CompositeMapper = { + serializedName: "SyncGroupLogProperties", type: { name: "Composite", - className: "ManagedInstanceKey", + className: "SyncGroupLogProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + timestamp: { readOnly: true, - serializedName: "kind", + serializedName: "timestamp", type: { - name: "String" + name: "DateTime" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - uri: { - serializedName: "properties.uri", + source: { + readOnly: true, + serializedName: "source", type: { name: "String" } }, - thumbprint: { + details: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "details", type: { name: "String" } }, - creationDate: { + tracingId: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "tracingId", type: { - name: "DateTime" + name: "Uuid" + } + }, + operationStatus: { + readOnly: true, + serializedName: "operationStatus", + type: { + name: "String" } } } } }; -export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtector", +export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTableColumn", type: { name: "Composite", - className: "ManagedInstanceEncryptionProtector", + className: "SyncGroupSchemaTableColumn", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - readOnly: true, - serializedName: "kind", + quotedName: { + serializedName: "quotedName", type: { name: "String" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + dataSize: { + serializedName: "dataSize", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + dataType: { + serializedName: "dataType", type: { name: "String" } - }, - uri: { - readOnly: true, - serializedName: "properties.uri", + } + } + } +}; + +export const SyncGroupSchemaTable: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTable", + type: { + name: "Composite", + className: "SyncGroupSchemaTable", + modelProperties: { + columns: { + serializedName: "columns", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncGroupSchemaTableColumn" + } + } } }, - thumbprint: { - readOnly: true, - serializedName: "properties.thumbprint", + quotedName: { + serializedName: "quotedName", type: { name: "String" } @@ -7469,16 +8663,26 @@ export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { } }; -export const RecoverableManagedDatabase: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabase", +export const SyncGroupSchema: msRest.CompositeMapper = { + serializedName: "SyncGroupSchema", type: { name: "Composite", - className: "RecoverableManagedDatabase", + className: "SyncGroupSchema", modelProperties: { - ...ProxyResource.type.modelProperties, - lastAvailableBackupDate: { - readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + tables: { + serializedName: "tables", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncGroupSchemaTable" + } + } + } + }, + masterSyncMemberName: { + serializedName: "masterSyncMemberName", type: { name: "String" } @@ -7487,350 +8691,371 @@ export const RecoverableManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessment", +export const SyncGroup: msRest.CompositeMapper = { + serializedName: "SyncGroup", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment", + className: "SyncGroup", modelProperties: { ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + interval: { + serializedName: "properties.interval", + type: { + name: "Number" + } + }, + lastSyncTime: { + readOnly: true, + serializedName: "properties.lastSyncTime", + type: { + name: "DateTime" + } + }, + conflictResolutionPolicy: { + serializedName: "properties.conflictResolutionPolicy", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + syncDatabaseId: { + serializedName: "properties.syncDatabaseId", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + hubDatabaseUserName: { + serializedName: "properties.hubDatabaseUserName", type: { name: "String" } }, - recurringScans: { - serializedName: "properties.recurringScans", + hubDatabasePassword: { + serializedName: "properties.hubDatabasePassword", + type: { + name: "String" + } + }, + syncState: { + readOnly: true, + serializedName: "properties.syncState", + type: { + name: "String" + } + }, + schema: { + serializedName: "properties.schema", type: { name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + className: "SyncGroupSchema" + } + }, + usePrivateLinkConnection: { + serializedName: "properties.usePrivateLinkConnection", + type: { + name: "Boolean" } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const SyncMember: msRest.CompositeMapper = { + serializedName: "SyncMember", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "SyncMember", modelProperties: { ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + databaseType: { + serializedName: "properties.databaseType", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + syncAgentId: { + serializedName: "properties.syncAgentId", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + sqlServerDatabaseId: { + serializedName: "properties.sqlServerDatabaseId", + type: { + name: "Uuid" + } + }, + syncMemberAzureDatabaseResourceId: { + serializedName: "properties.syncMemberAzureDatabaseResourceId", type: { name: "String" } }, - recurringScans: { - serializedName: "properties.recurringScans", + usePrivateLinkConnection: { + serializedName: "properties.usePrivateLinkConnection", type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + name: "Boolean" } - } - } - } -}; - -export const InstancePool: msRest.CompositeMapper = { - serializedName: "InstancePool", - type: { - name: "Composite", - className: "InstancePool", - modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + }, + serverName: { + serializedName: "properties.serverName", + type: { + name: "String" + } + }, + databaseName: { + serializedName: "properties.databaseName", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - subnetId: { - required: true, - serializedName: "properties.subnetId", + userName: { + serializedName: "properties.userName", type: { name: "String" } }, - vCores: { - required: true, - serializedName: "properties.vCores", + password: { + serializedName: "properties.password", type: { - name: "Number" + name: "String" } }, - licenseType: { - required: true, - serializedName: "properties.licenseType", + syncDirection: { + serializedName: "properties.syncDirection", type: { name: "String" } - } - } - } -}; - -export const InstancePoolUpdate: msRest.CompositeMapper = { - serializedName: "InstancePoolUpdate", - type: { - name: "Composite", - className: "InstancePoolUpdate", - modelProperties: { - tags: { - serializedName: "tags", + }, + syncState: { + readOnly: true, + serializedName: "properties.syncState", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const Name: msRest.CompositeMapper = { - serializedName: "Name", +export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicy", type: { name: "Composite", - className: "Name", + className: "BackupShortTermRetentionPolicy", modelProperties: { - value: { - serializedName: "value", + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - localizedValue: { - serializedName: "localizedValue", + diffBackupIntervalInHours: { + serializedName: "properties.diffBackupIntervalInHours", type: { - name: "String" + name: "Number" } } } } }; -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", +export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseRestoreDetailsResult", type: { name: "Composite", - className: "Usage", + className: "ManagedDatabaseRestoreDetailsResult", modelProperties: { - id: { + ...ProxyResource.type.modelProperties, + status: { readOnly: true, - serializedName: "id", + serializedName: "properties.status", type: { name: "String" } }, - name: { + currentRestoringFileName: { readOnly: true, - serializedName: "name", + serializedName: "properties.currentRestoringFileName", type: { - name: "Composite", - className: "Name" + name: "String" } }, - type: { + lastRestoredFileName: { readOnly: true, - serializedName: "type", + serializedName: "properties.lastRestoredFileName", type: { name: "String" } }, - unit: { + lastRestoredFileTime: { readOnly: true, - serializedName: "unit", + serializedName: "properties.lastRestoredFileTime", type: { - name: "String" + name: "DateTime" } }, - currentValue: { + percentCompleted: { readOnly: true, - serializedName: "currentValue", + serializedName: "properties.percentCompleted", type: { name: "Number" } }, - limit: { + unrestorableFiles: { readOnly: true, - serializedName: "limit", + serializedName: "properties.unrestorableFiles", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - requestedLimit: { + numberOfFilesDetected: { readOnly: true, - serializedName: "requestedLimit", + serializedName: "properties.numberOfFilesDetected", type: { name: "Number" } + }, + lastUploadedFileName: { + readOnly: true, + serializedName: "properties.lastUploadedFileName", + type: { + name: "String" + } + }, + lastUploadedFileTime: { + readOnly: true, + serializedName: "properties.lastUploadedFileTime", + type: { + name: "DateTime" + } + }, + blockReason: { + readOnly: true, + serializedName: "properties.blockReason", + type: { + name: "String" + } } } } }; -export const ManagedInstance: msRest.CompositeMapper = { - serializedName: "ManagedInstance", +export const ManagedDatabase: msRest.CompositeMapper = { + serializedName: "ManagedDatabase", type: { name: "Composite", - className: "ManagedInstance", + className: "ManagedDatabase", modelProperties: { ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ResourceIdentity" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + collation: { + serializedName: "properties.collation", type: { name: "String" } }, - fullyQualifiedDomainName: { + status: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "properties.status", type: { name: "String" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", type: { - name: "String" + name: "DateTime" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + earliestRestorePoint: { + readOnly: true, + serializedName: "properties.earliestRestorePoint", type: { - name: "String" + name: "DateTime" } }, - subnetId: { - serializedName: "properties.subnetId", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, - state: { + defaultSecondaryLocation: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.defaultSecondaryLocation", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + catalogCollation: { + serializedName: "properties.catalogCollation", type: { name: "String" } }, - vCores: { - serializedName: "properties.vCores", - type: { - name: "Number" - } - }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + createMode: { + serializedName: "properties.createMode", type: { - name: "Number" + name: "String" } }, - collation: { - serializedName: "properties.collation", + storageContainerUri: { + serializedName: "properties.storageContainerUri", type: { name: "String" } }, - dnsZone: { - readOnly: true, - serializedName: "properties.dnsZone", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", type: { - name: "Boolean" + name: "String" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { - name: "DateTime" + name: "String" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", type: { name: "String" } }, - timezoneId: { - serializedName: "properties.timezoneId", + autoCompleteRestore: { + serializedName: "properties.autoCompleteRestore", type: { - name: "String" + name: "Boolean" } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + lastBackupName: { + serializedName: "properties.lastBackupName", type: { name: "String" } @@ -7839,126 +9064,115 @@ export const ManagedInstance: msRest.CompositeMapper = { } }; -export const ManagedInstanceUpdate: msRest.CompositeMapper = { - serializedName: "ManagedInstanceUpdate", +export const ManagedDatabaseUpdate: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseUpdate", type: { name: "Composite", - className: "ManagedInstanceUpdate", + className: "ManagedDatabaseUpdate", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + collation: { + serializedName: "properties.collation", type: { name: "String" } }, - fullyQualifiedDomainName: { + status: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "properties.status", type: { name: "String" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", type: { - name: "String" + name: "DateTime" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + earliestRestorePoint: { + readOnly: true, + serializedName: "properties.earliestRestorePoint", type: { - name: "String" + name: "DateTime" } }, - subnetId: { - serializedName: "properties.subnetId", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, - state: { + defaultSecondaryLocation: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.defaultSecondaryLocation", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + catalogCollation: { + serializedName: "properties.catalogCollation", type: { name: "String" } }, - vCores: { - serializedName: "properties.vCores", - type: { - name: "Number" - } - }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + createMode: { + serializedName: "properties.createMode", type: { - name: "Number" + name: "String" } }, - collation: { - serializedName: "properties.collation", + storageContainerUri: { + serializedName: "properties.storageContainerUri", type: { name: "String" } }, - dnsZone: { - readOnly: true, - serializedName: "properties.dnsZone", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", type: { - name: "Boolean" + name: "String" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { - name: "DateTime" + name: "String" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", type: { name: "String" } }, - timezoneId: { - serializedName: "properties.timezoneId", + autoCompleteRestore: { + serializedName: "properties.autoCompleteRestore", type: { - name: "String" + name: "Boolean" } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + lastBackupName: { + serializedName: "properties.lastBackupName", type: { name: "String" } @@ -7978,184 +9192,188 @@ export const ManagedInstanceUpdate: msRest.CompositeMapper = { } }; -export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseRestoreDetailsResult", +export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { + serializedName: "CompleteDatabaseRestoreDefinition", type: { name: "Composite", - className: "ManagedDatabaseRestoreDetailsResult", + className: "CompleteDatabaseRestoreDefinition", modelProperties: { - ...ProxyResource.type.modelProperties, - status: { - readOnly: true, - serializedName: "properties.status", + lastBackupName: { + required: true, + serializedName: "lastBackupName", type: { name: "String" } - }, - currentRestoringFileName: { - readOnly: true, - serializedName: "properties.currentRestoringFileName", + } + } + } +}; + +export const ServerAzureADOnlyAuthentication: msRest.CompositeMapper = { + serializedName: "ServerAzureADOnlyAuthentication", + type: { + name: "Composite", + className: "ServerAzureADOnlyAuthentication", + modelProperties: { + ...ProxyResource.type.modelProperties, + azureADOnlyAuthentication: { + required: true, + serializedName: "properties.azureADOnlyAuthentication", type: { - name: "String" + name: "Boolean" } - }, - lastRestoredFileName: { - readOnly: true, - serializedName: "properties.lastRestoredFileName", + } + } + } +}; + +export const ManagedInstance: msRest.CompositeMapper = { + serializedName: "ManagedInstance", + type: { + name: "Composite", + className: "ManagedInstance", + modelProperties: { + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "ResourceIdentity" } }, - lastRestoredFileTime: { - readOnly: true, - serializedName: "properties.lastRestoredFileTime", + sku: { + serializedName: "sku", type: { - name: "DateTime" + name: "Composite", + className: "Sku" } }, - percentCompleted: { + provisioningState: { readOnly: true, - serializedName: "properties.percentCompleted", + serializedName: "properties.provisioningState", type: { - name: "Number" + name: "String" } }, - unrestorableFiles: { - readOnly: true, - serializedName: "properties.unrestorableFiles", + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - numberOfFilesDetected: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "properties.numberOfFilesDetected", + serializedName: "properties.fullyQualifiedDomainName", type: { - name: "Number" + name: "String" } }, - lastUploadedFileName: { - readOnly: true, - serializedName: "properties.lastUploadedFileName", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - lastUploadedFileTime: { - readOnly: true, - serializedName: "properties.lastUploadedFileTime", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { - name: "DateTime" + name: "String" } }, - blockReason: { - readOnly: true, - serializedName: "properties.blockReason", + subnetId: { + serializedName: "properties.subnetId", type: { name: "String" } - } - } - } -}; - -export const ManagedDatabase: msRest.CompositeMapper = { - serializedName: "ManagedDatabase", - type: { - name: "Composite", - className: "ManagedDatabase", - modelProperties: { - ...TrackedResource.type.modelProperties, - collation: { - serializedName: "properties.collation", + }, + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } }, - creationDate: { - readOnly: true, - serializedName: "properties.creationDate", + vCores: { + serializedName: "properties.vCores", type: { - name: "DateTime" + name: "Number" } }, - earliestRestorePoint: { - readOnly: true, - serializedName: "properties.earliestRestorePoint", + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", type: { - name: "DateTime" + name: "Number" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + collation: { + serializedName: "properties.collation", type: { - name: "DateTime" + name: "String" } }, - defaultSecondaryLocation: { + dnsZone: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "properties.dnsZone", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", type: { name: "String" } }, - createMode: { - serializedName: "properties.createMode", + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", type: { - name: "String" + name: "Boolean" } }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + proxyOverride: { + serializedName: "properties.proxyOverride", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + timezoneId: { + serializedName: "properties.timezoneId", type: { name: "String" } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + instancePoolId: { + serializedName: "properties.instancePoolId", type: { name: "String" } }, - failoverGroupId: { - readOnly: true, - serializedName: "properties.failoverGroupId", + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } @@ -8164,254 +9382,189 @@ export const ManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedDatabaseUpdate: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseUpdate", +export const ManagedInstancePrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "ManagedInstancePrivateLinkServiceConnectionStateProperty", type: { name: "Composite", - className: "ManagedDatabaseUpdate", + className: "ManagedInstancePrivateLinkServiceConnectionStateProperty", modelProperties: { - collation: { - serializedName: "properties.collation", + status: { + required: true, + serializedName: "status", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + description: { + required: true, + serializedName: "description", type: { name: "String" } }, - creationDate: { + actionsRequired: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "actionsRequired", type: { - name: "DateTime" + name: "String" + } + } + } + } +}; + +export const ManagedInstanceUpdate: msRest.CompositeMapper = { + serializedName: "ManagedInstanceUpdate", + type: { + name: "Composite", + className: "ManagedInstanceUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" } }, - earliestRestorePoint: { + provisioningState: { readOnly: true, - serializedName: "properties.earliestRestorePoint", + serializedName: "properties.provisioningState", type: { - name: "DateTime" + name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", type: { - name: "DateTime" + name: "String" } }, - defaultSecondaryLocation: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - createMode: { - serializedName: "properties.createMode", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + subnetId: { + serializedName: "properties.subnetId", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + vCores: { + serializedName: "properties.vCores", type: { - name: "String" + name: "Number" } }, - failoverGroupId: { - readOnly: true, - serializedName: "properties.failoverGroupId", + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", type: { - name: "String" + name: "Number" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + collation: { + serializedName: "properties.collation", type: { name: "String" } }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { - serializedName: "CompleteDatabaseRestoreDefinition", - type: { - name: "Composite", - className: "CompleteDatabaseRestoreDefinition", - modelProperties: { - lastBackupName: { - required: true, - serializedName: "lastBackupName", + dnsZone: { + readOnly: true, + serializedName: "properties.dnsZone", type: { name: "String" } - } - } - } -}; - -export const PrivateEndpointProperty: msRest.CompositeMapper = { - serializedName: "PrivateEndpointProperty", - type: { - name: "Composite", - className: "PrivateEndpointProperty", - modelProperties: { - id: { - serializedName: "id", + }, + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", type: { name: "String" } - } - } - } -}; - -export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionStateProperty", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty", - modelProperties: { - status: { - required: true, - serializedName: "status", + }, + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", type: { - name: "String" + name: "Boolean" } }, - description: { - required: true, - serializedName: "description", + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", type: { name: "String" } }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", - type: { - name: "Composite", - className: "PrivateEndpointConnection", - modelProperties: { - ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + }, + proxyOverride: { + serializedName: "properties.proxyOverride", type: { - name: "Composite", - className: "PrivateEndpointProperty" + name: "String" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + timezoneId: { + serializedName: "properties.timezoneId", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + instancePoolId: { + serializedName: "properties.instancePoolId", type: { name: "String" } - } - } - } -}; - -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", - type: { - name: "Composite", - className: "PrivateLinkResourceProperties", - modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", type: { name: "String" } }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - readOnly: true, - serializedName: "properties", + }, + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } @@ -8464,36 +9617,6 @@ export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = { } }; -export const ServerListResult: msRest.CompositeMapper = { - serializedName: "ServerListResult", - type: { - name: "Composite", - className: "ServerListResult", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Server" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const DataMaskingRuleListResult: msRest.CompositeMapper = { serializedName: "DataMaskingRuleListResult", type: { @@ -8734,11 +9857,11 @@ export const ReplicationLinkListResult: msRest.CompositeMapper = { } }; -export const ServerAdministratorListResult: msRest.CompositeMapper = { - serializedName: "ServerAdministratorListResult", +export const ServerCommunicationLinkListResult: msRest.CompositeMapper = { + serializedName: "ServerCommunicationLinkListResult", type: { name: "Composite", - className: "ServerAdministratorListResult", + className: "ServerCommunicationLinkListResult", modelProperties: { value: { serializedName: "", @@ -8747,203 +9870,481 @@ export const ServerAdministratorListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerAzureADAdministrator" + 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 ServiceTierAdvisorListResult: msRest.CompositeMapper = { + serializedName: "ServiceTierAdvisorListResult", + type: { + name: "Composite", + className: "ServiceTierAdvisorListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceTierAdvisor" + } + } + } + } + } + } +}; + +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 DatabaseUsageListResult: msRest.CompositeMapper = { + serializedName: "DatabaseUsageListResult", + type: { + name: "Composite", + className: "DatabaseUsageListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatabaseUsage" + } + } + } + } + } + } +}; + +export const EncryptionProtectorListResult: msRest.CompositeMapper = { + serializedName: "EncryptionProtectorListResult", + type: { + name: "Composite", + className: "EncryptionProtectorListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EncryptionProtector" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const FailoverGroupListResult: msRest.CompositeMapper = { + serializedName: "FailoverGroupListResult", + type: { + name: "Composite", + className: "FailoverGroupListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FailoverGroup" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServerCommunicationLinkListResult: msRest.CompositeMapper = { - serializedName: "ServerCommunicationLinkListResult", +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", type: { name: "Composite", - className: "ServerCommunicationLinkListResult", + className: "OperationListResult", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServerCommunicationLink" + className: "Operation" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServiceObjectiveListResult: msRest.CompositeMapper = { - serializedName: "ServiceObjectiveListResult", +export const ServerKeyListResult: msRest.CompositeMapper = { + serializedName: "ServerKeyListResult", type: { name: "Composite", - className: "ServiceObjectiveListResult", + className: "ServerKeyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceObjective" + className: "ServerKey" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ElasticPoolActivityListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolActivityListResult", +export const SyncAgentListResult: msRest.CompositeMapper = { + serializedName: "SyncAgentListResult", type: { name: "Composite", - className: "ElasticPoolActivityListResult", + className: "SyncAgentListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ElasticPoolActivity" + className: "SyncAgent" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ElasticPoolDatabaseActivityListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolDatabaseActivityListResult", +export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "SyncAgentLinkedDatabaseListResult", type: { name: "Composite", - className: "ElasticPoolDatabaseActivityListResult", + className: "SyncAgentLinkedDatabaseListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ElasticPoolDatabaseActivity" + className: "SyncAgentLinkedDatabase" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServiceTierAdvisorListResult: msRest.CompositeMapper = { - serializedName: "ServiceTierAdvisorListResult", +export const SubscriptionUsageListResult: msRest.CompositeMapper = { + serializedName: "SubscriptionUsageListResult", type: { name: "Composite", - className: "ServiceTierAdvisorListResult", + className: "SubscriptionUsageListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceTierAdvisor" + className: "SubscriptionUsage" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const TransparentDataEncryptionActivityListResult: msRest.CompositeMapper = { - serializedName: "TransparentDataEncryptionActivityListResult", +export const VirtualClusterListResult: msRest.CompositeMapper = { + serializedName: "VirtualClusterListResult", type: { name: "Composite", - className: "TransparentDataEncryptionActivityListResult", + className: "VirtualClusterListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TransparentDataEncryptionActivity" + className: "VirtualCluster" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServerUsageListResult: msRest.CompositeMapper = { - serializedName: "ServerUsageListResult", +export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRuleListResult", type: { name: "Composite", - className: "ServerUsageListResult", + className: "VirtualNetworkRuleListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServerUsage" + className: "VirtualNetworkRule" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const DatabaseUsageListResult: msRest.CompositeMapper = { - serializedName: "DatabaseUsageListResult", +export const ExtendedDatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedDatabaseBlobAuditingPolicyListResult", type: { name: "Composite", - className: "DatabaseUsageListResult", + className: "ExtendedDatabaseBlobAuditingPolicyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DatabaseUsage" + className: "ExtendedDatabaseBlobAuditingPolicy" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const EncryptionProtectorListResult: msRest.CompositeMapper = { - serializedName: "EncryptionProtectorListResult", +export const ExtendedServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "EncryptionProtectorListResult", + className: "ExtendedServerBlobAuditingPolicyListResult", modelProperties: { value: { readOnly: true, @@ -8953,7 +10354,7 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "EncryptionProtector" + className: "ExtendedServerBlobAuditingPolicy" } } } @@ -8969,11 +10370,11 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = { } }; -export const FailoverGroupListResult: msRest.CompositeMapper = { - serializedName: "FailoverGroupListResult", +export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "FailoverGroupListResult", + className: "ServerBlobAuditingPolicyListResult", modelProperties: { value: { readOnly: true, @@ -8983,7 +10384,7 @@ export const FailoverGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "FailoverGroup" + className: "ServerBlobAuditingPolicy" } } } @@ -8999,11 +10400,11 @@ export const FailoverGroupListResult: msRest.CompositeMapper = { } }; -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", +export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "DatabaseBlobAuditingPolicyListResult", type: { name: "Composite", - className: "OperationListResult", + className: "DatabaseBlobAuditingPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9013,7 +10414,7 @@ export const OperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "DatabaseBlobAuditingPolicy" } } } @@ -9029,11 +10430,11 @@ export const OperationListResult: msRest.CompositeMapper = { } }; -export const ServerKeyListResult: msRest.CompositeMapper = { - serializedName: "ServerKeyListResult", +export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "ServerKeyListResult", + className: "DatabaseVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -9043,7 +10444,7 @@ export const ServerKeyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerKey" + className: "DatabaseVulnerabilityAssessment" } } } @@ -9059,11 +10460,11 @@ export const ServerKeyListResult: msRest.CompositeMapper = { } }; -export const SyncAgentListResult: msRest.CompositeMapper = { - serializedName: "SyncAgentListResult", +export const JobAgentListResult: msRest.CompositeMapper = { + serializedName: "JobAgentListResult", type: { name: "Composite", - className: "SyncAgentListResult", + className: "JobAgentListResult", modelProperties: { value: { readOnly: true, @@ -9073,7 +10474,7 @@ export const SyncAgentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncAgent" + className: "JobAgent" } } } @@ -9089,11 +10490,11 @@ export const SyncAgentListResult: msRest.CompositeMapper = { } }; -export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "SyncAgentLinkedDatabaseListResult", +export const JobCredentialListResult: msRest.CompositeMapper = { + serializedName: "JobCredentialListResult", type: { name: "Composite", - className: "SyncAgentLinkedDatabaseListResult", + className: "JobCredentialListResult", modelProperties: { value: { readOnly: true, @@ -9103,7 +10504,7 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncAgentLinkedDatabase" + className: "JobCredential" } } } @@ -9119,11 +10520,11 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { } }; -export const SyncDatabaseIdListResult: msRest.CompositeMapper = { - serializedName: "SyncDatabaseIdListResult", +export const JobExecutionListResult: msRest.CompositeMapper = { + serializedName: "JobExecutionListResult", type: { name: "Composite", - className: "SyncDatabaseIdListResult", + className: "JobExecutionListResult", modelProperties: { value: { readOnly: true, @@ -9133,7 +10534,7 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncDatabaseIdProperties" + className: "JobExecution" } } } @@ -9149,11 +10550,11 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = { } }; -export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaPropertiesListResult", +export const JobListResult: msRest.CompositeMapper = { + serializedName: "JobListResult", type: { name: "Composite", - className: "SyncFullSchemaPropertiesListResult", + className: "JobListResult", modelProperties: { value: { readOnly: true, @@ -9163,7 +10564,7 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncFullSchemaProperties" + className: "Job" } } } @@ -9179,11 +10580,11 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { } }; -export const SyncGroupLogListResult: msRest.CompositeMapper = { - serializedName: "SyncGroupLogListResult", +export const JobStepListResult: msRest.CompositeMapper = { + serializedName: "JobStepListResult", type: { name: "Composite", - className: "SyncGroupLogListResult", + className: "JobStepListResult", modelProperties: { value: { readOnly: true, @@ -9193,7 +10594,7 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncGroupLogProperties" + className: "JobStep" } } } @@ -9209,11 +10610,11 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = { } }; -export const SyncGroupListResult: msRest.CompositeMapper = { - serializedName: "SyncGroupListResult", +export const JobTargetGroupListResult: msRest.CompositeMapper = { + serializedName: "JobTargetGroupListResult", type: { name: "Composite", - className: "SyncGroupListResult", + className: "JobTargetGroupListResult", modelProperties: { value: { readOnly: true, @@ -9223,7 +10624,7 @@ export const SyncGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncGroup" + className: "JobTargetGroup" } } } @@ -9239,11 +10640,11 @@ export const SyncGroupListResult: msRest.CompositeMapper = { } }; -export const SyncMemberListResult: msRest.CompositeMapper = { - serializedName: "SyncMemberListResult", +export const JobVersionListResult: msRest.CompositeMapper = { + serializedName: "JobVersionListResult", type: { name: "Composite", - className: "SyncMemberListResult", + className: "JobVersionListResult", modelProperties: { value: { readOnly: true, @@ -9253,7 +10654,7 @@ export const SyncMemberListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncMember" + className: "JobVersion" } } } @@ -9269,11 +10670,11 @@ export const SyncMemberListResult: msRest.CompositeMapper = { } }; -export const SubscriptionUsageListResult: msRest.CompositeMapper = { - serializedName: "SubscriptionUsageListResult", +export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { + serializedName: "LongTermRetentionBackupListResult", type: { name: "Composite", - className: "SubscriptionUsageListResult", + className: "LongTermRetentionBackupListResult", modelProperties: { value: { readOnly: true, @@ -9283,7 +10684,7 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SubscriptionUsage" + className: "LongTermRetentionBackup" } } } @@ -9299,11 +10700,11 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = { } }; -export const VirtualClusterListResult: msRest.CompositeMapper = { - serializedName: "VirtualClusterListResult", +export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedBackupShortTermRetentionPolicyListResult", type: { name: "Composite", - className: "VirtualClusterListResult", + className: "ManagedBackupShortTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9313,7 +10714,7 @@ export const VirtualClusterListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualCluster" + className: "ManagedBackupShortTermRetentionPolicy" } } } @@ -9329,11 +10730,11 @@ export const VirtualClusterListResult: msRest.CompositeMapper = { } }; -export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRuleListResult", +export const ServerDnsAliasListResult: msRest.CompositeMapper = { + serializedName: "ServerDnsAliasListResult", type: { name: "Composite", - className: "VirtualNetworkRuleListResult", + className: "ServerDnsAliasListResult", modelProperties: { value: { readOnly: true, @@ -9343,7 +10744,7 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualNetworkRule" + className: "ServerDnsAlias" } } } @@ -9359,11 +10760,11 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { } }; -export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicyListResult", +export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "LogicalServerSecurityAlertPolicyListResult", type: { name: "Composite", - className: "ServerBlobAuditingPolicyListResult", + className: "LogicalServerSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9373,7 +10774,7 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerBlobAuditingPolicy" + className: "ServerSecurityAlertPolicy" } } } @@ -9389,11 +10790,11 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { } }; -export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { - serializedName: "DatabaseBlobAuditingPolicyListResult", +export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedManagedDatabaseListResult", type: { name: "Composite", - className: "DatabaseBlobAuditingPolicyListResult", + className: "RestorableDroppedManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -9403,7 +10804,7 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseBlobAuditingPolicy" + className: "RestorableDroppedManagedDatabase" } } } @@ -9419,11 +10820,11 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { } }; -export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentListResult", +export const RestorePointListResult: msRest.CompositeMapper = { + serializedName: "RestorePointListResult", type: { name: "Composite", - className: "DatabaseVulnerabilityAssessmentListResult", + className: "RestorePointListResult", modelProperties: { value: { readOnly: true, @@ -9433,27 +10834,20 @@ export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "DatabaseVulnerabilityAssessment" + className: "RestorePoint" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const JobAgentListResult: msRest.CompositeMapper = { - serializedName: "JobAgentListResult", +export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseSecurityAlertPolicyListResult", type: { name: "Composite", - className: "JobAgentListResult", + className: "ManagedDatabaseSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9463,7 +10857,7 @@ export const JobAgentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobAgent" + className: "ManagedDatabaseSecurityAlertPolicy" } } } @@ -9479,11 +10873,11 @@ export const JobAgentListResult: msRest.CompositeMapper = { } }; -export const JobCredentialListResult: msRest.CompositeMapper = { - serializedName: "JobCredentialListResult", +export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedServerSecurityAlertPolicyListResult", type: { name: "Composite", - className: "JobCredentialListResult", + className: "ManagedServerSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9493,7 +10887,7 @@ export const JobCredentialListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobCredential" + className: "ManagedServerSecurityAlertPolicy" } } } @@ -9509,11 +10903,11 @@ export const JobCredentialListResult: msRest.CompositeMapper = { } }; -export const JobExecutionListResult: msRest.CompositeMapper = { - serializedName: "JobExecutionListResult", +export const SensitivityLabelListResult: msRest.CompositeMapper = { + serializedName: "SensitivityLabelListResult", type: { name: "Composite", - className: "JobExecutionListResult", + className: "SensitivityLabelListResult", modelProperties: { value: { readOnly: true, @@ -9523,7 +10917,7 @@ export const JobExecutionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobExecution" + className: "SensitivityLabel" } } } @@ -9539,11 +10933,11 @@ export const JobExecutionListResult: msRest.CompositeMapper = { } }; -export const JobListResult: msRest.CompositeMapper = { - serializedName: "JobListResult", +export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceAdministratorListResult", type: { name: "Composite", - className: "JobListResult", + className: "ManagedInstanceAdministratorListResult", modelProperties: { value: { readOnly: true, @@ -9553,7 +10947,7 @@ export const JobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Job" + className: "ManagedInstanceAdministrator" } } } @@ -9569,11 +10963,11 @@ export const JobListResult: msRest.CompositeMapper = { } }; -export const JobStepListResult: msRest.CompositeMapper = { - serializedName: "JobStepListResult", +export const DatabaseOperationListResult: msRest.CompositeMapper = { + serializedName: "DatabaseOperationListResult", type: { name: "Composite", - className: "JobStepListResult", + className: "DatabaseOperationListResult", modelProperties: { value: { readOnly: true, @@ -9583,7 +10977,7 @@ export const JobStepListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobStep" + className: "DatabaseOperation" } } } @@ -9599,11 +10993,11 @@ export const JobStepListResult: msRest.CompositeMapper = { } }; -export const JobTargetGroupListResult: msRest.CompositeMapper = { - serializedName: "JobTargetGroupListResult", +export const ElasticPoolOperationListResult: msRest.CompositeMapper = { + serializedName: "ElasticPoolOperationListResult", type: { name: "Composite", - className: "JobTargetGroupListResult", + className: "ElasticPoolOperationListResult", modelProperties: { value: { readOnly: true, @@ -9613,7 +11007,7 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobTargetGroup" + className: "ElasticPoolOperation" } } } @@ -9629,11 +11023,11 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = { } }; -export const JobVersionListResult: msRest.CompositeMapper = { - serializedName: "JobVersionListResult", +export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecordListResult", type: { name: "Composite", - className: "JobVersionListResult", + className: "VulnerabilityAssessmentScanRecordListResult", modelProperties: { value: { readOnly: true, @@ -9643,7 +11037,7 @@ export const JobVersionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobVersion" + className: "VulnerabilityAssessmentScanRecord" } } } @@ -9659,11 +11053,11 @@ export const JobVersionListResult: msRest.CompositeMapper = { } }; -export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { - serializedName: "LongTermRetentionBackupListResult", +export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupListResult", type: { name: "Composite", - className: "LongTermRetentionBackupListResult", + className: "InstanceFailoverGroupListResult", modelProperties: { value: { readOnly: true, @@ -9673,7 +11067,7 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "LongTermRetentionBackup" + className: "InstanceFailoverGroup" } } } @@ -9689,11 +11083,11 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { } }; -export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedBackupShortTermRetentionPolicyListResult", +export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKeyListResult", type: { name: "Composite", - className: "ManagedBackupShortTermRetentionPolicyListResult", + className: "ManagedInstanceKeyListResult", modelProperties: { value: { readOnly: true, @@ -9703,7 +11097,7 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa element: { type: { name: "Composite", - className: "ManagedBackupShortTermRetentionPolicy" + className: "ManagedInstanceKey" } } } @@ -9719,11 +11113,11 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa } }; -export const ServerDnsAliasListResult: msRest.CompositeMapper = { - serializedName: "ServerDnsAliasListResult", +export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtectorListResult", type: { name: "Composite", - className: "ServerDnsAliasListResult", + className: "ManagedInstanceEncryptionProtectorListResult", modelProperties: { value: { readOnly: true, @@ -9733,7 +11127,7 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerDnsAlias" + className: "ManagedInstanceEncryptionProtector" } } } @@ -9749,11 +11143,11 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = { } }; -export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "LogicalServerSecurityAlertPolicyListResult", +export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabaseListResult", type: { name: "Composite", - className: "LogicalServerSecurityAlertPolicyListResult", + className: "RecoverableManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -9763,7 +11157,7 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "ServerSecurityAlertPolicy" + className: "RecoverableManagedDatabase" } } } @@ -9779,11 +11173,11 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper } }; -export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RestorableDroppedManagedDatabaseListResult", +export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "RestorableDroppedManagedDatabaseListResult", + className: "ManagedInstanceVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -9793,7 +11187,7 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "RestorableDroppedManagedDatabase" + className: "ManagedInstanceVulnerabilityAssessment" } } } @@ -9809,11 +11203,11 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper } }; -export const RestorePointListResult: msRest.CompositeMapper = { - serializedName: "RestorePointListResult", +export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "RestorePointListResult", + className: "ServerVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -9823,20 +11217,27 @@ export const RestorePointListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RestorePoint" + className: "ServerVulnerabilityAssessment" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseSecurityAlertPolicyListResult", +export const InstancePoolListResult: msRest.CompositeMapper = { + serializedName: "InstancePoolListResult", type: { name: "Composite", - className: "ManagedDatabaseSecurityAlertPolicyListResult", + className: "InstancePoolListResult", modelProperties: { value: { readOnly: true, @@ -9846,7 +11247,7 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe element: { type: { name: "Composite", - className: "ManagedDatabaseSecurityAlertPolicy" + className: "InstancePool" } } } @@ -9862,11 +11263,11 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe } }; -export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedServerSecurityAlertPolicyListResult", +export const UsageListResult: msRest.CompositeMapper = { + serializedName: "UsageListResult", type: { name: "Composite", - className: "ManagedServerSecurityAlertPolicyListResult", + className: "UsageListResult", modelProperties: { value: { readOnly: true, @@ -9876,7 +11277,7 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "ManagedServerSecurityAlertPolicy" + className: "Usage" } } } @@ -9892,11 +11293,11 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper } }; -export const SensitivityLabelListResult: msRest.CompositeMapper = { - serializedName: "SensitivityLabelListResult", +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", type: { name: "Composite", - className: "SensitivityLabelListResult", + className: "PrivateEndpointConnectionListResult", modelProperties: { value: { readOnly: true, @@ -9906,7 +11307,7 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SensitivityLabel" + className: "PrivateEndpointConnection" } } } @@ -9922,11 +11323,11 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceAdministratorListResult", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "ManagedInstanceAdministratorListResult", + className: "PrivateLinkResourceListResult", modelProperties: { value: { readOnly: true, @@ -9936,7 +11337,7 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedInstanceAdministrator" + className: "PrivateLinkResource" } } } @@ -9952,11 +11353,11 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { } }; -export const DatabaseOperationListResult: msRest.CompositeMapper = { - serializedName: "DatabaseOperationListResult", +export const ServerListResult: msRest.CompositeMapper = { + serializedName: "ServerListResult", type: { name: "Composite", - className: "DatabaseOperationListResult", + className: "ServerListResult", modelProperties: { value: { readOnly: true, @@ -9966,7 +11367,7 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseOperation" + className: "Server" } } } @@ -9982,11 +11383,11 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = { } }; -export const ElasticPoolOperationListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolOperationListResult", +export const ManagedInstanceLongTermRetentionBackupListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackupListResult", type: { name: "Composite", - className: "ElasticPoolOperationListResult", + className: "ManagedInstanceLongTermRetentionBackupListResult", modelProperties: { value: { readOnly: true, @@ -9996,7 +11397,7 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ElasticPoolOperation" + className: "ManagedInstanceLongTermRetentionBackup" } } } @@ -10012,11 +11413,11 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = { } }; -export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecordListResult", +export const ManagedInstanceLongTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicyListResult", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecordListResult", + className: "ManagedInstanceLongTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -10026,7 +11427,7 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord" + className: "ManagedInstanceLongTermRetentionPolicy" } } } @@ -10042,11 +11443,11 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper } }; -export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupListResult", +export const WorkloadGroupListResult: msRest.CompositeMapper = { + serializedName: "WorkloadGroupListResult", type: { name: "Composite", - className: "InstanceFailoverGroupListResult", + className: "WorkloadGroupListResult", modelProperties: { value: { readOnly: true, @@ -10056,7 +11457,7 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "InstanceFailoverGroup" + className: "WorkloadGroup" } } } @@ -10072,11 +11473,11 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { } }; -export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicyListResult", +export const WorkloadClassifierListResult: msRest.CompositeMapper = { + serializedName: "WorkloadClassifierListResult", type: { name: "Composite", - className: "BackupShortTermRetentionPolicyListResult", + className: "WorkloadClassifierListResult", modelProperties: { value: { readOnly: true, @@ -10086,7 +11487,7 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "BackupShortTermRetentionPolicy" + className: "WorkloadClassifier" } } } @@ -10102,11 +11503,11 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = } }; -export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKeyListResult", +export const ManagedInstanceOperationListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationListResult", type: { name: "Composite", - className: "ManagedInstanceKeyListResult", + className: "ManagedInstanceOperationListResult", modelProperties: { value: { readOnly: true, @@ -10116,7 +11517,7 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedInstanceKey" + className: "ManagedInstanceOperation" } } } @@ -10132,11 +11533,11 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtectorListResult", +export const AdministratorListResult: msRest.CompositeMapper = { + serializedName: "AdministratorListResult", type: { name: "Composite", - className: "ManagedInstanceEncryptionProtectorListResult", + className: "AdministratorListResult", modelProperties: { value: { readOnly: true, @@ -10146,7 +11547,7 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe element: { type: { name: "Composite", - className: "ManagedInstanceEncryptionProtector" + className: "ServerAzureADAdministrator" } } } @@ -10162,11 +11563,11 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe } }; -export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabaseListResult", +export const SyncDatabaseIdListResult: msRest.CompositeMapper = { + serializedName: "SyncDatabaseIdListResult", type: { name: "Composite", - className: "RecoverableManagedDatabaseListResult", + className: "SyncDatabaseIdListResult", modelProperties: { value: { readOnly: true, @@ -10176,7 +11577,7 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RecoverableManagedDatabase" + className: "SyncDatabaseIdProperties" } } } @@ -10192,11 +11593,11 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessmentListResult", +export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaPropertiesListResult", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessmentListResult", + className: "SyncFullSchemaPropertiesListResult", modelProperties: { value: { readOnly: true, @@ -10206,7 +11607,7 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM element: { type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment" + className: "SyncFullSchemaProperties" } } } @@ -10222,11 +11623,11 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM } }; -export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessmentListResult", +export const SyncGroupLogListResult: msRest.CompositeMapper = { + serializedName: "SyncGroupLogListResult", type: { name: "Composite", - className: "ServerVulnerabilityAssessmentListResult", + className: "SyncGroupLogListResult", modelProperties: { value: { readOnly: true, @@ -10236,7 +11637,7 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerVulnerabilityAssessment" + className: "SyncGroupLogProperties" } } } @@ -10252,11 +11653,11 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { } }; -export const InstancePoolListResult: msRest.CompositeMapper = { - serializedName: "InstancePoolListResult", +export const SyncGroupListResult: msRest.CompositeMapper = { + serializedName: "SyncGroupListResult", type: { name: "Composite", - className: "InstancePoolListResult", + className: "SyncGroupListResult", modelProperties: { value: { readOnly: true, @@ -10266,7 +11667,7 @@ export const InstancePoolListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "InstancePool" + className: "SyncGroup" } } } @@ -10282,11 +11683,11 @@ export const InstancePoolListResult: msRest.CompositeMapper = { } }; -export const UsageListResult: msRest.CompositeMapper = { - serializedName: "UsageListResult", +export const SyncMemberListResult: msRest.CompositeMapper = { + serializedName: "SyncMemberListResult", type: { name: "Composite", - className: "UsageListResult", + className: "SyncMemberListResult", modelProperties: { value: { readOnly: true, @@ -10296,7 +11697,7 @@ export const UsageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Usage" + className: "SyncMember" } } } @@ -10342,11 +11743,11 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = { } }; -export const ManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseListResult", +export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicyListResult", type: { name: "Composite", - className: "ManagedDatabaseListResult", + className: "BackupShortTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -10356,7 +11757,7 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedDatabase" + className: "BackupShortTermRetentionPolicy" } } } @@ -10372,11 +11773,11 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionListResult", +export const ManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseListResult", type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "ManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -10386,7 +11787,7 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "ManagedDatabase" } } } @@ -10402,11 +11803,11 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const AzureADOnlyAuthListResult: msRest.CompositeMapper = { + serializedName: "AzureADOnlyAuthListResult", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "AzureADOnlyAuthListResult", modelProperties: { value: { readOnly: true, @@ -10416,7 +11817,7 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "ServerAzureADOnlyAuthentication" } } } diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts index 85f7ca30cdca..c152f6708872 100644 --- a/sdk/sql/arm-sql/src/models/parameters.ts +++ b/sdk/sql/arm-sql/src/models/parameters.ts @@ -20,43 +20,55 @@ 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 apiVersion0: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { required: true, isConstant: true, - serializedName: "administratorName", - defaultValue: 'ActiveDirectory', + serializedName: "api-version", + defaultValue: '2014-04-01', type: { name: "String" } } }; -export const apiVersion0: msRest.OperationQueryParameter = { +export const apiVersion1: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2014-04-01', + defaultValue: '2017-10-01-preview', type: { name: "String" } } }; -export const apiVersion1: msRest.OperationQueryParameter = { +export const apiVersion2: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2018-06-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion3: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -68,37 +80,79 @@ export const apiVersion1: msRest.OperationQueryParameter = { } } }; -export const apiVersion2: msRest.OperationQueryParameter = { +export const apiVersion4: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-10-01-preview', + defaultValue: '2017-03-01-preview', type: { name: "String" } } }; -export const apiVersion3: msRest.OperationQueryParameter = { +export const apiVersion5: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-01-preview', + defaultValue: '2019-06-01-preview', type: { name: "String" } } }; -export const apiVersion4: msRest.OperationQueryParameter = { +export const apiVersion6: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-03-01-preview', + defaultValue: '2019-06-01-preview', + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + } +}; +export const apiVersion7: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2020-02-02-preview', + type: { + name: "String" + } + } +}; +export const apiVersion8: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2020-02-02-preview', + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + } +}; +export const authenticationName: msRest.OperationURLParameter = { + parameterPath: "authenticationName", + mapper: { + required: true, + isConstant: true, + serializedName: "authenticationName", + defaultValue: 'Default', type: { name: "String" } @@ -649,7 +703,7 @@ export const replicaType: msRest.OperationQueryParameter = { } } }; -export const resourceGroupName: msRest.OperationURLParameter = { +export const resourceGroupName0: msRest.OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { required: true, @@ -659,6 +713,21 @@ export const resourceGroupName: msRest.OperationURLParameter = { } } }; +export const resourceGroupName1: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + constraints: { + MaxLength: 90, + MinLength: 1, + Pattern: /^[-\w\._\(\)]+$/ + }, + type: { + name: "String" + } + } +}; export const restorableDroppedDatabaseId: msRest.OperationURLParameter = { parameterPath: "restorableDroppedDatabaseId", mapper: { @@ -1013,3 +1082,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..e7166e0caf5d 100644 --- a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerRegionInfo, PrivateEndpointConnection, PrivateEndpointConnectionListResult, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0944a2693a7e 100644 --- a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceListResult, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts index 0eee5fddc7c8..4a4b579a5ac8 100644 --- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..a37e9234fb67 100644 --- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..ab98330ae6d7 100644 --- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..b72885871aee 100644 --- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,14 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UnlinkParameters, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..39fd92613c14 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..83977b6416a5 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..6488d1bab375 100644 --- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,11 +99,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c814c4e9e04a 100644 --- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..1daf462ce2d9 100644 --- a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts @@ -7,6 +7,7 @@ */ export { + AdministratorListResult, AutomaticTuningOptions, AutomaticTuningServerOptions, BackupLongTermRetentionPolicy, @@ -64,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -89,14 +96,15 @@ export { RestorePoint, SensitivityLabel, Server, - ServerAdministratorListResult, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..461e9accc4aa --- /dev/null +++ b/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + AzureADOnlyAuthListResult, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + 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..3d489153b212 100644 --- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +97,14 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerBlobAuditingPolicyListResult, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..9e1b00fbb516 100644 --- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +97,14 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerCommunicationLinkListResult, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..3c9b55272ccb 100644 --- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,6 +97,7 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, @@ -98,6 +105,7 @@ export { ServerDnsAliasAcquisition, ServerDnsAliasListResult, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -116,9 +124,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..9f976d021e5a 100644 --- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +97,14 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, ServerKeyListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..e6b7c79a7115 100644 --- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts @@ -65,6 +65,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +77,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,11 +98,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts index 752ff0c23f91..f276fd31a83d 100644 --- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentListResult, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..37242f6e67ee 100644 --- a/sdk/sql/arm-sql/src/models/serversMappers.ts +++ b/sdk/sql/arm-sql/src/models/serversMappers.ts @@ -66,6 +66,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +78,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +99,14 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, ServerListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerUpdate, ServerVulnerabilityAssessment, @@ -118,9 +126,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c55f8c2062e4 100644 --- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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/serviceTierAdvisorsMappers.ts index 894adb3d60dd..de9eda6e8bcb 100644 --- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..31109941ac64 100644 --- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..c39cb39c6543 100644 --- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -117,9 +125,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..41cf8d54d21f 100644 --- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -123,9 +131,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..7d02e3eefe2e 100644 --- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,9 +127,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..93b603482fb5 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -115,9 +123,13 @@ export { TransparentDataEncryption, TransparentDataEncryptionActivity, TransparentDataEncryptionActivityListResult, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..0d0745b9ae26 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,9 +122,13 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts index 90ecde2829f0..bcea7ef767e7 100644 --- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,11 +122,15 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..199a2cd2568d 100644 --- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts @@ -64,6 +64,11 @@ export { ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +76,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,11 +97,13 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,10 +122,14 @@ export { TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, 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..bf4c0fba2616 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + 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..cce9afad7ee7 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts @@ -0,0 +1,135 @@ +/* + * 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. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + WorkloadGroupListResult +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts index 015a8db7ac5e..23d03346e2cd 100644 --- a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts @@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.policyName, @@ -177,7 +177,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId @@ -203,7 +203,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.policyName, diff --git a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts index a91d73b39445..410be031bbbc 100644 --- a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts @@ -216,14 +216,14 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.policyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -243,13 +243,13 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -269,14 +269,14 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.policyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -304,14 +304,14 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.policyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts index 66ddab401ec4..2c6f4279f788 100644 --- a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts @@ -116,7 +116,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.dataMaskingPolicyName @@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.dataMaskingPolicyName diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts index 730fb4fa3c41..085b7a1f5b5c 100644 --- a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts +++ b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts @@ -120,7 +120,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.dataMaskingPolicyName, @@ -158,7 +158,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.dataMaskingPolicyName diff --git a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts index c8538356092a..13f4e5af136e 100644 --- a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts @@ -115,13 +115,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/automaticTuning/current", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -141,13 +141,13 @@ const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/automaticTuning/current", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..ed2e1861e8bb 100644 --- a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts @@ -182,7 +182,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.blobAuditingPolicyName, @@ -209,7 +209,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.blobAuditingPolicyName, @@ -246,7 +246,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/databaseOperations.ts b/sdk/sql/arm-sql/src/operations/databaseOperations.ts index 73da08119974..00751d43ca9e 100644 --- a/sdk/sql/arm-sql/src/operations/databaseOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseOperations.ts @@ -143,14 +143,14 @@ const cancelOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/operations/{operationId}/cancel", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.operationId, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -168,13 +168,13 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/operations", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts index 13565e880d9b..758df8763862 100644 --- a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts @@ -122,7 +122,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.securityAlertPolicyName0 @@ -149,7 +149,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.securityAlertPolicyName0 diff --git a/sdk/sql/arm-sql/src/operations/databaseUsages.ts b/sdk/sql/arm-sql/src/operations/databaseUsages.ts index a7146aee6cb0..c90e272606ae 100644 --- a/sdk/sql/arm-sql/src/operations/databaseUsages.ts +++ b/sdk/sql/arm-sql/src/operations/databaseUsages.ts @@ -73,7 +73,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/usages", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts index 12157deacbb5..2ad3fd00e985 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts @@ -205,7 +205,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -234,7 +234,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -270,7 +270,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts index 20c44d8e1471..5512c27fb178 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts @@ -225,14 +225,14 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -252,7 +252,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -280,7 +280,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/export", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -288,7 +288,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/initiateScan", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -319,7 +319,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..7c525ff4ee7e 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts @@ -224,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -251,7 +251,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -288,7 +288,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -313,7 +313,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/databases.ts b/sdk/sql/arm-sql/src/operations/databases.ts index 846dfc51b1bd..5a3c59502717 100644 --- a/sdk/sql/arm-sql/src/operations/databases.ts +++ b/sdk/sql/arm-sql/src/operations/databases.ts @@ -693,7 +693,7 @@ const listMetricsOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/metrics", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], @@ -720,7 +720,7 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/metricDefinitions", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], @@ -745,12 +745,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -770,13 +770,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -796,13 +796,13 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -822,13 +822,13 @@ const renameOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -854,7 +854,7 @@ const beginImportMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ @@ -887,7 +887,7 @@ const beginCreateImportOperationOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.extensionName @@ -922,7 +922,7 @@ const beginExportMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], @@ -955,13 +955,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -992,13 +992,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1018,13 +1018,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1052,13 +1052,13 @@ const beginPauseOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1079,13 +1079,13 @@ const beginResumeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1106,13 +1106,13 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1131,14 +1131,14 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ Parameters.replicaType, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts index 41b02ce1dc7a..4a4e78cf6905 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts @@ -73,7 +73,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/elasticPoolActivity", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName ], diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts index 12a137296830..877ee5b6e7b4 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts @@ -73,7 +73,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/elasticPoolDatabaseActivity", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName ], diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts index 049f74e667db..aecfa7be2739 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts @@ -143,14 +143,14 @@ const cancelOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/operations/{operationId}/cancel", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.operationId, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -168,13 +168,13 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/operations", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..518cf3b7b20d 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPools.ts @@ -365,7 +365,7 @@ const listMetricsOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/metrics", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName ], @@ -392,7 +392,7 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/metricDefinitions", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName ], @@ -417,13 +417,13 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ Parameters.skip, - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -443,13 +443,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -469,13 +469,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -506,13 +506,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -532,13 +532,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -566,13 +566,13 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/failover", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.elasticPoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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..130cdad03405 100644 --- a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts @@ -199,12 +199,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -224,13 +224,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -250,13 +250,13 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}/revalidate", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -275,13 +275,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..d205277dd487 100644 --- a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts @@ -107,6 +107,73 @@ export class ExtendedDatabaseBlobAuditingPolicies { createOrUpdateOperationSpec, callback) as Promise; } + + /** + * 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 + */ + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -115,7 +182,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.blobAuditingPolicyName, @@ -142,7 +209,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.blobAuditingPolicyName, @@ -174,3 +241,50 @@ 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + 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 + ], + 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..5f8f59bb8f82 100644 --- a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts @@ -76,6 +76,41 @@ export class ExtendedServerBlobAuditingPolicies { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * 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 + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + /** * 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 +131,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 + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -104,7 +167,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.blobAuditingPolicyName, Parameters.subscriptionId @@ -126,11 +189,36 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings", + urlParameters: [ + Parameters.resourceGroupName0, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion4 + ], + 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}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.blobAuditingPolicyName, Parameters.subscriptionId @@ -159,3 +247,24 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + 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..2eb8bf03c3c7 100644 --- a/sdk/sql/arm-sql/src/operations/failoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/failoverGroups.ts @@ -319,13 +319,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -345,12 +345,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -370,13 +370,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -407,13 +407,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -433,13 +433,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -467,13 +467,13 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}/failover", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -494,13 +494,13 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}/forceFailoverAllowDataLoss", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..ca0c1c9f0bd6 100644 --- a/sdk/sql/arm-sql/src/operations/firewallRules.ts +++ b/sdk/sql/arm-sql/src/operations/firewallRules.ts @@ -190,7 +190,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.firewallRuleName ], @@ -226,7 +226,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.firewallRuleName ], @@ -251,7 +251,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.firewallRuleName ], @@ -277,7 +277,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts index 661201b459fb..09a49342224d 100644 --- a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts @@ -155,7 +155,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.geoBackupPolicyName @@ -192,7 +192,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies/{geoBackupPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.geoBackupPolicyName @@ -219,7 +219,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], diff --git a/sdk/sql/arm-sql/src/operations/index.ts b/sdk/sql/arm-sql/src/operations/index.ts index d044e4c4439f..37f17782b6a1 100644 --- a/sdk/sql/arm-sql/src/operations/index.ts +++ b/sdk/sql/arm-sql/src/operations/index.ts @@ -10,7 +10,6 @@ export * from "./recoverableDatabases"; export * from "./restorableDroppedDatabases"; -export * from "./servers"; export * from "./serverConnectionPolicies"; export * from "./databaseThreatDetectionPolicies"; export * from "./dataMaskingPolicies"; @@ -21,7 +20,6 @@ export * from "./databases"; export * from "./elasticPools"; export * from "./recommendedElasticPools"; export * from "./replicationLinks"; -export * from "./serverAzureADAdministrators"; export * from "./serverCommunicationLinks"; export * from "./serviceObjectives"; export * from "./elasticPoolActivities"; @@ -37,8 +35,6 @@ 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"; @@ -72,13 +68,11 @@ export * from "./sensitivityLabels"; export * from "./managedInstanceAdministrators"; export * from "./databaseOperations"; export * from "./elasticPoolOperations"; -export * from "./capabilities"; export * from "./databaseVulnerabilityAssessmentScans"; export * from "./managedDatabaseVulnerabilityAssessmentRuleBaselines"; export * from "./managedDatabaseVulnerabilityAssessmentScans"; export * from "./managedDatabaseVulnerabilityAssessments"; export * from "./instanceFailoverGroups"; -export * from "./backupShortTermRetentionPolicies"; export * from "./tdeCertificates"; export * from "./managedInstanceTdeCertificates"; export * from "./managedInstanceKeys"; @@ -89,8 +83,20 @@ export * from "./serverVulnerabilityAssessments"; export * from "./managedDatabaseSensitivityLabels"; export * from "./instancePools"; export * from "./usages"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./servers"; +export * from "./capabilities"; +export * from "./longTermRetentionManagedInstanceBackups"; +export * from "./managedInstanceLongTermRetentionPolicies"; +export * from "./workloadGroups"; +export * from "./workloadClassifiers"; +export * from "./managedInstanceOperations"; +export * from "./serverAzureADAdministrators"; +export * from "./syncGroups"; +export * from "./syncMembers"; export * from "./managedInstances"; +export * from "./backupShortTermRetentionPolicies"; export * from "./managedDatabaseRestoreDetails"; export * from "./managedDatabases"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; +export * from "./serverAzureADOnlyAuthentications"; diff --git a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts index be0ae243f7f4..7cc0937cfce7 100644 --- a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts @@ -281,13 +281,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -307,12 +307,12 @@ const listByLocationOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -332,13 +332,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -369,13 +369,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -395,13 +395,13 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}/failover", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -422,13 +422,13 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/instanceFailoverGroups/{failoverGroupName}/forceFailoverAllowDataLoss", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.failoverGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..8aa3ce78d65a 100644 --- a/sdk/sql/arm-sql/src/operations/instancePools.ts +++ b/sdk/sql/arm-sql/src/operations/instancePools.ts @@ -282,12 +282,12 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -307,11 +307,11 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +334,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -354,12 +354,12 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -390,12 +390,12 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -415,12 +415,12 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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..39dbe323a8c7 100644 --- a/sdk/sql/arm-sql/src/operations/jobAgents.ts +++ b/sdk/sql/arm-sql/src/operations/jobAgents.ts @@ -247,7 +247,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], @@ -272,7 +272,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -298,7 +298,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -335,7 +335,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -361,7 +361,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/jobCredentials.ts b/sdk/sql/arm-sql/src/operations/jobCredentials.ts index caf6404ca3cb..92cd490cd310 100644 --- a/sdk/sql/arm-sql/src/operations/jobCredentials.ts +++ b/sdk/sql/arm-sql/src/operations/jobCredentials.ts @@ -233,7 +233,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -259,7 +259,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.credentialName, @@ -286,7 +286,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.credentialName, @@ -323,7 +323,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.credentialName, diff --git a/sdk/sql/arm-sql/src/operations/jobExecutions.ts b/sdk/sql/arm-sql/src/operations/jobExecutions.ts index 70719de8f48d..4d5681be200b 100644 --- a/sdk/sql/arm-sql/src/operations/jobExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobExecutions.ts @@ -345,7 +345,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/executions", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -378,7 +378,7 @@ const cancelOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/cancel", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -404,7 +404,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -438,7 +438,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -466,7 +466,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/start", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -494,7 +494,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts index ccf641ff4a81..049dfef91684 100644 --- a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts @@ -159,7 +159,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -194,7 +194,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/jobSteps.ts b/sdk/sql/arm-sql/src/operations/jobSteps.ts index bc44e2296009..0022ec0156ed 100644 --- a/sdk/sql/arm-sql/src/operations/jobSteps.ts +++ b/sdk/sql/arm-sql/src/operations/jobSteps.ts @@ -375,7 +375,7 @@ const listByVersionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}/steps", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -403,7 +403,7 @@ const getByVersionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}/steps/{stepName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -432,7 +432,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -459,7 +459,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -487,7 +487,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -525,7 +525,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts index 0a54d2027c5d..d77141540dbb 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts @@ -242,7 +242,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/targets", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -277,7 +277,7 @@ const listByStepOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -313,7 +313,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets/{targetId}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts index c2f1291e0923..d78274f9e3cd 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts @@ -233,7 +233,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -259,7 +259,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.targetGroupName, @@ -286,7 +286,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.targetGroupName, @@ -323,7 +323,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.targetGroupName, diff --git a/sdk/sql/arm-sql/src/operations/jobVersions.ts b/sdk/sql/arm-sql/src/operations/jobVersions.ts index 22c8f459d997..ab10ac0ce98c 100644 --- a/sdk/sql/arm-sql/src/operations/jobVersions.ts +++ b/sdk/sql/arm-sql/src/operations/jobVersions.ts @@ -151,7 +151,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -178,7 +178,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/jobs.ts b/sdk/sql/arm-sql/src/operations/jobs.ts index e59fdf513162..416ec1feaa15 100644 --- a/sdk/sql/arm-sql/src/operations/jobs.ts +++ b/sdk/sql/arm-sql/src/operations/jobs.ts @@ -233,7 +233,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.subscriptionId @@ -259,7 +259,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -286,7 +286,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, @@ -323,7 +323,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.jobAgentName, Parameters.jobName, diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts index 6bc0a26893ad..7c7939e9c9a1 100644 --- a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts @@ -579,7 +579,7 @@ const getByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -607,7 +607,7 @@ const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -636,7 +636,7 @@ const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.subscriptionId ], @@ -663,7 +663,7 @@ const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.subscriptionId @@ -799,7 +799,7 @@ 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.resourceGroupName0, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, 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..40c1d6c166e8 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts @@ -0,0 +1,981 @@ +/* + * 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 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 + */ + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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): 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): void; + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + deleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams): Promise; + /** + * @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): 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): void; + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams): Promise; + /** + * @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): 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): void; + listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + options + }, + listByInstanceOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams): Promise; + /** + * @param locationName The location of the database. + * @param callback The callback + */ + listByLocation(locationName: string, callback: msRest.ServiceCallback): 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): void; + listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + options + }, + listByLocationOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + getByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + deleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + databaseName, + options + }, + listByResourceGroupDatabaseOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + options + }, + listByResourceGroupInstanceOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + options + }, + listByResourceGroupLocationOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + beginDeleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstanceNextOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByLocationNextOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupDatabaseNextOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByResourceGroupInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): 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: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupInstanceNextOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupLocationNextOperationSpec, + callback) as Promise; + } +} + +// 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.resourceGroupName0, + 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.resourceGroupName0, + 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.resourceGroupName0, + 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.resourceGroupName0, + 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.resourceGroupName0, + 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 + ], + 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 + ], + 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 + ], + 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 + ], + 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 + ], + 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 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts index 825d783a4032..385b9a2fb212 100644 --- a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts @@ -216,7 +216,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.policyName, @@ -243,7 +243,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId @@ -269,7 +269,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.policyName, @@ -304,7 +304,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.policyName, diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts index 1ff1a97ed81b..642e9c0d1b04 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts @@ -28,8 +28,7 @@ export class ManagedDatabaseRestoreDetails { /** * Gets managed database restore details. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param [options] The optional parameters @@ -37,16 +36,14 @@ export class ManagedDatabaseRestoreDetails { */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @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): 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The optional parameters @@ -72,14 +69,14 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/restoreDetails/{restoreDetailsName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.restoreDetailsName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts index a35978ff4977..3b23b858c7ad 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts @@ -191,7 +191,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.securityAlertPolicyName0, @@ -218,7 +218,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.securityAlertPolicyName0, @@ -255,7 +255,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts index 78a062d17bb6..66203ae8b256 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts @@ -434,7 +434,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.schemaName, @@ -444,7 +444,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -464,7 +464,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.schemaName, @@ -474,7 +474,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -504,7 +504,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.schemaName, @@ -514,7 +514,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -532,7 +532,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.schemaName, @@ -542,7 +542,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -560,7 +560,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.schemaName, @@ -570,7 +570,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -588,14 +588,14 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -615,7 +615,7 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId @@ -624,7 +624,7 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.includeDisabledRecommendations, Parameters.skipToken, Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts index 2cff3b673b3f..00eb296d4868 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts @@ -206,7 +206,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -215,7 +215,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -235,7 +235,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -244,7 +244,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -271,7 +271,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -280,7 +280,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts index 9cdc67c4f9f3..333c9a046064 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts @@ -225,14 +225,14 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -252,7 +252,7 @@ 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.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -280,7 +280,7 @@ 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.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -288,7 +288,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/initiateScan", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, @@ -319,7 +319,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..8335795eb202 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts @@ -221,14 +221,14 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -248,14 +248,14 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -285,14 +285,14 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -310,13 +310,13 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..a0840619130f 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabases.ts @@ -29,23 +29,20 @@ export class ManagedDatabases { /** * Gets a list of managed 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param [options] The optional parameters * @returns Promise */ listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param callback The callback */ listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param options The optional parameters * @param callback The callback @@ -64,8 +61,7 @@ export class ManagedDatabases { /** * Gets 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param [options] The optional parameters @@ -73,16 +69,14 @@ export class ManagedDatabases { */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @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): 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The optional parameters @@ -103,8 +97,7 @@ export class ManagedDatabases { /** * 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The requested database resource state. @@ -118,8 +111,7 @@ export class ManagedDatabases { /** * Deletes 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param [options] The optional parameters @@ -132,8 +124,7 @@ export class ManagedDatabases { /** * 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The requested database resource state. @@ -145,10 +136,41 @@ export class ManagedDatabases { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a list of inaccessible managed databases in a managed instance + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @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): void; + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listInaccessibleByInstanceOperationSpec, + callback) as Promise; + } + /** * Completes the restore operation on 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The definition for completing the restore of this managed database. @@ -162,8 +184,7 @@ export class ManagedDatabases { /** * 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The requested database resource state. @@ -185,8 +206,7 @@ export class ManagedDatabases { /** * Deletes 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param [options] The optional parameters @@ -206,8 +226,7 @@ export class ManagedDatabases { /** * 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The requested database resource state. @@ -229,8 +248,7 @@ export class ManagedDatabases { /** * Completes the restore operation on 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 resourceGroupName The name of the resource group. The name is case insensitive. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters The definition for completing the restore of this managed database. @@ -277,6 +295,34 @@ export class ManagedDatabases { listByInstanceNextOperationSpec, callback) as Promise; } + + /** + * 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 + */ + listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listInaccessibleByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listInaccessibleByInstanceNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -285,12 +331,12 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -310,13 +356,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -332,17 +378,42 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listInaccessibleByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases", + urlParameters: [ + Parameters.resourceGroupName1, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion8 + ], + 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}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -373,13 +444,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -399,13 +470,13 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -433,13 +504,13 @@ const beginCompleteRestoreOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName1, Parameters.managedInstanceName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -481,3 +552,24 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listInaccessibleByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedDatabaseListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts index 6dea07f57bbc..9a6cc52c7114 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts @@ -199,7 +199,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], @@ -224,9 +224,9 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators/{administratorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ @@ -250,9 +250,9 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators/{administratorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ @@ -287,9 +287,9 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators/{administratorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts index 1a5461fe6288..3beec3460c41 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts @@ -199,12 +199,12 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -224,13 +224,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -250,13 +250,13 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}/revalidate", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -275,13 +275,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/encryptionProtector/{encryptionProtectorName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.encryptionProtectorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..883825f9d541 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts @@ -209,13 +209,13 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -235,13 +235,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -261,13 +261,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -298,13 +298,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..612e01ce57c7 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts @@ -0,0 +1,284 @@ +/* + * 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 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 + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } +} + +// 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.resourceGroupName0, + 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.resourceGroupName0, + 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.resourceGroupName0, + 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 + ], + 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..912b4342b019 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts @@ -0,0 +1,267 @@ +/* + * 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/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; + } + + /** + * 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 + */ + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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; + /** + * @param resourceGroupName The 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; + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + operationId, + options + }, + cancelOperationSpec, + callback); + } + + /** + * 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 + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByManagedInstanceOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + operationId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByManagedInstanceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const cancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}/cancel", + urlParameters: [ + Parameters.resourceGroupName0, + Parameters.managedInstanceName, + Parameters.operationId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByManagedInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations", + urlParameters: [ + Parameters.resourceGroupName0, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.managedInstanceName, + Parameters.operationId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceOperation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceOperationListResult + }, + 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..e35ca34eb145 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts @@ -69,12 +69,12 @@ const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/tdeCertificates", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts index 11ac9da5bce2..ed1b28c9ee84 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts @@ -217,13 +217,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -243,13 +243,13 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -279,13 +279,13 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -303,12 +303,12 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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..24eab0911655 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstances.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstances.ts @@ -28,38 +28,15 @@ export class ManagedInstances { } /** - * Gets a list of all managed instances in an instance pool. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param instancePoolName The instance pool name. + * Failovers a managed instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param managedInstanceName The name of the managed instance. * @param [options] The optional parameters - * @returns Promise - */ - listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param instancePoolName The instance pool name. - * @param callback The callback - */ - listByInstancePool(resourceGroupName: string, instancePoolName: string, callback: msRest.ServiceCallback): 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 instancePoolName The instance pool name. - * @param options The optional parameters - * @param callback The callback + * @returns Promise */ - listByInstancePool(resourceGroupName: string, instancePoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - instancePoolName, - options - }, - listByInstancePoolOperationSpec, - callback) as Promise; + failover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesFailoverOptionalParams): Promise { + return this.beginFailover(resourceGroupName,managedInstanceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -169,6 +146,41 @@ export class ManagedInstances { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a list of all managed instances in an instance pool. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The instance pool name. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param instancePoolName The instance pool name. + * @param callback The callback + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, callback: msRest.ServiceCallback): 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 instancePoolName The instance pool name. + * @param options The optional parameters + * @param callback The callback + */ + listByInstancePool(resourceGroupName: string, instancePoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + instancePoolName, + options + }, + listByInstancePoolOperationSpec, + callback) as Promise; + } + /** * Gets a list of all managed instances in the subscription. * @param [options] The optional parameters @@ -193,6 +205,24 @@ export class ManagedInstances { callback) as Promise; } + /** + * Failovers a managed instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesBeginFailoverOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + options + }, + beginFailoverOperationSpec, + options); + } + /** * Creates or updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -255,59 +285,59 @@ export class ManagedInstances { } /** - * Gets a list of all managed instances in an instance pool. + * 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 + * @returns Promise */ - listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByInstancePoolNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByInstancePoolNextOperationSpec, - callback) as Promise; + listByResourceGroupNextOperationSpec, + callback) as Promise; } /** - * Gets a list of managed instances in a resource group. + * 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 + * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupNextOperationSpec, - callback) as Promise; + listByInstancePoolNextOperationSpec, + callback) as Promise; } /** @@ -341,16 +371,15 @@ export class ManagedInstances { // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const listByInstancePoolOperationSpec: msRest.OperationSpec = { +const listByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances", urlParameters: [ - Parameters.resourceGroupName, - Parameters.instancePoolName, + Parameters.resourceGroupName0, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -366,22 +395,23 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupOperationSpec: msRest.OperationSpec = { +const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, + Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ManagedInstanceListResult + bodyMapper: Mappers.ManagedInstance }, default: { bodyMapper: Mappers.CloudError @@ -390,23 +420,23 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const getOperationSpec: msRest.OperationSpec = { +const listByInstancePoolOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances", urlParameters: [ - Parameters.resourceGroupName, - Parameters.managedInstanceName, + Parameters.resourceGroupName0, + Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ManagedInstance + bodyMapper: Mappers.ManagedInstanceListResult }, default: { bodyMapper: Mappers.CloudError @@ -422,7 +452,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -438,16 +468,41 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/failover", + urlParameters: [ + Parameters.resourceGroupName1, + Parameters.subscriptionId, + Parameters.managedInstanceName + ], + queryParameters: [ + Parameters.apiVersion6, + Parameters.replicaType + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -478,12 +533,12 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -503,12 +558,12 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -532,7 +587,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", @@ -553,7 +608,7 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { +const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", diff --git a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts index f6b8abddc545..2fcc7e60a997 100644 --- a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts @@ -221,7 +221,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.restorableDroppedDatabaseId, Parameters.policyName, @@ -248,7 +248,7 @@ const listByRestorableDroppedDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.restorableDroppedDatabaseId, Parameters.subscriptionId @@ -274,7 +274,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.restorableDroppedDatabaseId, Parameters.policyName, @@ -309,7 +309,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.restorableDroppedDatabaseId, Parameters.policyName, diff --git a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts index 0c58ca809417..8c5ed31f4704 100644 --- a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts @@ -167,7 +167,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.securityAlertPolicyName1, Parameters.subscriptionId @@ -193,7 +193,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/securityAlertPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], @@ -218,7 +218,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.securityAlertPolicyName1, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/operations.ts b/sdk/sql/arm-sql/src/operations/operations.ts index 21acf86ad037..ea0aac259f41 100644 --- a/sdk/sql/arm-sql/src/operations/operations.ts +++ b/sdk/sql/arm-sql/src/operations/operations.ts @@ -85,7 +85,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Sql/operations", queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts index f2a129d2a609..ed3de6929656 100644 --- a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts +++ b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts @@ -209,13 +209,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.privateEndpointConnectionName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -235,12 +235,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -260,13 +260,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.privateEndpointConnectionName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -294,13 +294,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.privateEndpointConnectionName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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..3fdf62d4a25f 100644 --- a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts +++ b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts @@ -135,12 +135,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateLinkResources", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -160,13 +160,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateLinkResources/{groupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.groupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts b/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts index a2eb82653e0e..58f2ac5a8381 100644 --- a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts @@ -147,7 +147,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.recommendedElasticPoolName ], @@ -173,7 +173,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ @@ -198,7 +198,7 @@ const listMetricsOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.recommendedElasticPoolName ], diff --git a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts index 698f705aec79..747680f56bc0 100644 --- a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts @@ -108,7 +108,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], @@ -134,7 +134,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts index a36cefea4644..7d6cbb2f1e48 100644 --- a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts @@ -135,12 +135,12 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -160,13 +160,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases/{recoverableDatabaseName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.recoverableDatabaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], 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..789a18798349 100644 --- a/sdk/sql/arm-sql/src/operations/replicationLinks.ts +++ b/sdk/sql/arm-sql/src/operations/replicationLinks.ts @@ -145,6 +145,22 @@ export class ReplicationLinks { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * 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 + */ + unlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUnlink(resourceGroupName,serverName,databaseName,linkId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Lists a database's replication links. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -231,6 +247,31 @@ 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 + */ + beginUnlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + databaseName, + linkId, + parameters, + options + }, + beginUnlinkOperationSpec, + options); + } } // Operation Specifications @@ -240,7 +281,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.linkId @@ -266,7 +307,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.linkId @@ -293,7 +334,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], @@ -319,7 +360,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}/failover", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.linkId @@ -345,7 +386,33 @@ const beginFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}/forceFailoverAllowDataLoss", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.linkId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + 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.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.linkId @@ -356,6 +423,13 @@ const beginFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.UnlinkParameters, + required: true + } + }, responses: { 202: {}, 204: {}, diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts index 8cead12893dd..e5dbb3b2da18 100644 --- a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts @@ -111,7 +111,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppededDatabaseId}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.restorableDroppededDatabaseId ], @@ -137,7 +137,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts index 616f9c58900d..0e8efda44d00 100644 --- a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts @@ -135,7 +135,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.subscriptionId ], @@ -160,7 +160,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.managedInstanceName, Parameters.restorableDroppedDatabaseId, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/restorePoints.ts b/sdk/sql/arm-sql/src/operations/restorePoints.ts index d3cbf393d7c6..a455e73b75da 100644 --- a/sdk/sql/arm-sql/src/operations/restorePoints.ts +++ b/sdk/sql/arm-sql/src/operations/restorePoints.ts @@ -197,7 +197,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints/{restorePointName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.restorePointName, @@ -250,7 +250,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints/{restorePointName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.restorePointName, @@ -275,7 +275,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts index 32d4584c6a05..d7793452802e 100644 --- a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts @@ -434,7 +434,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/currentSensitivityLabels", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId @@ -461,7 +461,7 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId @@ -490,7 +490,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.schemaName, @@ -518,7 +518,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.schemaName, @@ -546,7 +546,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.schemaName, @@ -576,7 +576,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.schemaName, @@ -616,7 +616,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.schemaName, diff --git a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts index b473a84bcf2e..a69338943112 100644 --- a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts @@ -107,7 +107,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/automaticTuning/current", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], @@ -132,7 +132,7 @@ const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/automaticTuning/current", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts index f80129644663..3b1cbbfd98d2 100644 --- a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts +++ b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts @@ -28,36 +28,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 - */ - createOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreateOrUpdate(resourceGroupName,serverName,properties,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * 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 - */ - deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(resourceGroupName,serverName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * 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 +63,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 + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 + */ + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + 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 +104,7 @@ export class ServerAzureADAdministrators { * @param serverName The name of the server. * @param callback The callback */ - listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): 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 +112,8 @@ export class ServerAzureADAdministrators { * @param options The optional parameters * @param callback The callback */ - listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,22 +125,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 */ - beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, serverName, - properties, + parameters, options }, beginCreateOrUpdateOperationSpec, @@ -150,7 +146,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 +163,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 + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -176,12 +200,12 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -202,18 +226,18 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAdministratorListResult + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError @@ -227,18 +251,18 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage ], requestBody: { - parameterPath: "properties", + parameterPath: "parameters", mapper: { ...Mappers.ServerAzureADAdministrator, required: true @@ -251,9 +275,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ServerAzureADAdministrator }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -266,25 +288,40 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 + ], + 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 ], 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..955a2913ed56 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts @@ -0,0 +1,335 @@ +/* + * 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 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 + */ + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 + */ + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + beginDeleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } +} + +// 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.subscriptionId, + Parameters.resourceGroupName0, + Parameters.serverName, + Parameters.authenticationName + ], + queryParameters: [ + Parameters.apiVersion7 + ], + 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.subscriptionId, + Parameters.resourceGroupName0, + Parameters.serverName + ], + queryParameters: [ + Parameters.apiVersion7 + ], + 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.subscriptionId, + Parameters.resourceGroupName0, + Parameters.serverName, + Parameters.authenticationName + ], + queryParameters: [ + Parameters.apiVersion7 + ], + 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.subscriptionId, + Parameters.resourceGroupName0, + Parameters.serverName, + Parameters.authenticationName + ], + queryParameters: [ + Parameters.apiVersion7 + ], + 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 + ], + 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..0337c1a4033a 100644 --- a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts @@ -167,7 +167,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.blobAuditingPolicyName, Parameters.subscriptionId @@ -193,7 +193,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], @@ -218,7 +218,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.blobAuditingPolicyName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts index e334e3dba6e2..23ddc31cb730 100644 --- a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts +++ b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts @@ -186,7 +186,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.communicationLinkName ], @@ -210,7 +210,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.communicationLinkName ], @@ -236,7 +236,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ @@ -261,7 +261,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.communicationLinkName ], diff --git a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts index 8cd96ee36a74..e7f6f56f4b24 100644 --- a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts @@ -108,7 +108,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.connectionPolicyName ], @@ -144,7 +144,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.connectionPolicyName ], diff --git a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts index fdd12166a26f..a68de082cb1b 100644 --- a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts +++ b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.dnsAliasName, Parameters.subscriptionId @@ -270,7 +270,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], @@ -295,7 +295,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.dnsAliasName, Parameters.subscriptionId @@ -325,7 +325,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.dnsAliasName, Parameters.subscriptionId @@ -351,7 +351,7 @@ const beginAcquireOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}/acquire", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.dnsAliasName, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/serverKeys.ts b/sdk/sql/arm-sql/src/operations/serverKeys.ts index b53497dcea66..63f830687b80 100644 --- a/sdk/sql/arm-sql/src/operations/serverKeys.ts +++ b/sdk/sql/arm-sql/src/operations/serverKeys.ts @@ -217,12 +217,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -242,13 +242,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -268,13 +268,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -305,13 +305,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts index 56e479b9f51e..01c3ff43476d 100644 --- a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts @@ -167,7 +167,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.securityAlertPolicyName1, Parameters.subscriptionId @@ -193,7 +193,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], @@ -218,7 +218,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.securityAlertPolicyName1, Parameters.subscriptionId diff --git a/sdk/sql/arm-sql/src/operations/serverUsages.ts b/sdk/sql/arm-sql/src/operations/serverUsages.ts index ca3991457707..2a37a84262b3 100644 --- a/sdk/sql/arm-sql/src/operations/serverUsages.ts +++ b/sdk/sql/arm-sql/src/operations/serverUsages.ts @@ -69,7 +69,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts index 09f92258465f..f2aa8d28d023 100644 --- a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts @@ -205,13 +205,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -231,13 +231,13 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -267,13 +267,13 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.vulnerabilityAssessmentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -291,12 +291,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + 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..f405f8d50a24 100644 --- a/sdk/sql/arm-sql/src/operations/servers.ts +++ b/sdk/sql/arm-sql/src/operations/servers.ts @@ -27,58 +27,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 - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param parameters The parameters to request for name availability. - * @param callback The callback - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback): 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): void; - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - parameters, - options - }, - checkNameAvailabilityOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of all servers in the subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - /** * Gets a list of servers in a resource groups. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -186,6 +134,58 @@ export class Servers { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a list of all servers in the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param parameters The name availability request parameters. + * @param callback The callback + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback): 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): void; + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + parameters, + options + }, + checkNameAvailabilityOperationSpec, + callback) as Promise; + } + /** * Creates or updates a server. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -248,86 +248,80 @@ export class Servers { } /** - * Gets a list of all servers in the subscription. + * 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 + * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listNextOperationSpec, - callback) as Promise; + listByResourceGroupNextOperationSpec, + callback) as Promise; } /** - * 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 + * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupNextOperationSpec, - callback) as Promise; + listNextOperationSpec, + callback) as Promise; } } // 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.resourceGroupName0, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], 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 +330,23 @@ 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.resourceGroupName0, + Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerListResult + bodyMapper: Mappers.Server }, default: { bodyMapper: Mappers.CloudError @@ -359,15 +355,14 @@ 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.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -383,23 +378,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.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckNameAvailabilityRequest, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.Server + bodyMapper: Mappers.CheckNameAvailabilityResponse }, default: { bodyMapper: Mappers.CloudError @@ -412,12 +412,12 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -448,12 +448,12 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -473,12 +473,12 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -502,7 +502,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const listNextOperationSpec: msRest.OperationSpec = { +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", @@ -523,7 +523,7 @@ const listNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { +const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", diff --git a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts index d10a6be2ddd5..f2cac011742c 100644 --- a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts +++ b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts @@ -108,7 +108,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.serviceObjectiveName ], @@ -134,7 +134,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName ], queryParameters: [ diff --git a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts b/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts index ab2ce84c5fa4..7aa0a39671e2 100644 --- a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts +++ b/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts @@ -116,7 +116,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors/{serviceTierAdvisorName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.serviceTierAdvisorName @@ -143,7 +143,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName ], diff --git a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts index 34dc34fce3ad..a6d95f574e64 100644 --- a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts +++ b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts @@ -125,7 +125,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..7fcf99678e64 100644 --- a/sdk/sql/arm-sql/src/operations/syncAgents.ts +++ b/sdk/sql/arm-sql/src/operations/syncAgents.ts @@ -315,13 +315,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.syncAgentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -341,12 +341,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -366,13 +366,13 @@ const generateKeyOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}/generateKey", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.syncAgentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -392,13 +392,13 @@ const listLinkedDatabasesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}/linkedDatabases", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.syncAgentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -418,13 +418,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.syncAgentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -455,13 +455,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.syncAgentName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..09ccc81db58a 100644 --- a/sdk/sql/arm-sql/src/operations/syncGroups.ts +++ b/sdk/sql/arm-sql/src/operations/syncGroups.ts @@ -605,7 +605,7 @@ const listSyncDatabaseIdsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -625,14 +625,14 @@ const listHubSchemasOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/hubSchemas", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -652,7 +652,7 @@ const listLogsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/logs", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -663,7 +663,7 @@ const listLogsOperationSpec: msRest.OperationSpec = { Parameters.endTime, Parameters.type, Parameters.continuationToken, - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -683,14 +683,14 @@ const cancelSyncOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/cancelSync", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -708,14 +708,14 @@ const triggerSyncOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/triggerSync", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -733,14 +733,14 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -760,13 +760,13 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -786,14 +786,14 @@ const beginRefreshHubSchemaOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/refreshHubSchema", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -812,14 +812,14 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -850,14 +850,14 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -877,14 +877,14 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], 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..dd87dcaf715f 100644 --- a/sdk/sql/arm-sql/src/operations/syncMembers.ts +++ b/sdk/sql/arm-sql/src/operations/syncMembers.ts @@ -397,7 +397,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -405,7 +405,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -425,14 +425,14 @@ const listBySyncGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -452,7 +452,7 @@ const listMemberSchemasOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}/schemas", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -460,7 +460,7 @@ const listMemberSchemasOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -480,7 +480,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -488,7 +488,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -519,7 +519,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -527,7 +527,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -547,7 +547,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -555,7 +555,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -583,7 +583,7 @@ const beginRefreshMemberSchemaOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}/refreshSchema", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.syncGroupName, @@ -591,7 +591,7 @@ const beginRefreshMemberSchemaOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], 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..f83c9c98eb7c 100644 --- a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts @@ -69,12 +69,12 @@ const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/tdeCertificates", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts index 35545b94cc76..51ead309dc6c 100644 --- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts +++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts @@ -73,7 +73,7 @@ const listByConfigurationOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.transparentDataEncryptionName diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts index 29f3d63bbf1b..808bb35633cf 100644 --- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts +++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts @@ -119,7 +119,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.transparentDataEncryptionName @@ -156,7 +156,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.databaseName, Parameters.transparentDataEncryptionName diff --git a/sdk/sql/arm-sql/src/operations/usages.ts b/sdk/sql/arm-sql/src/operations/usages.ts index fc08d9576ea3..2d4ac5ae1961 100644 --- a/sdk/sql/arm-sql/src/operations/usages.ts +++ b/sdk/sql/arm-sql/src/operations/usages.ts @@ -96,13 +96,13 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.instancePoolName, Parameters.subscriptionId ], queryParameters: [ Parameters.expandChildren, - Parameters.apiVersion3 + Parameters.apiVersion2 ], 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..882939954a8c 100644 --- a/sdk/sql/arm-sql/src/operations/virtualClusters.ts +++ b/sdk/sql/arm-sql/src/operations/virtualClusters.ts @@ -250,7 +250,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -270,11 +270,11 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -294,12 +294,12 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.virtualClusterName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -319,12 +319,12 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.virtualClusterName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -344,12 +344,12 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.virtualClusterName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..9d132e75890c 100644 --- a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts +++ b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts @@ -209,13 +209,13 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.virtualNetworkRuleName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -235,12 +235,12 @@ const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -260,13 +260,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.virtualNetworkRuleName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -297,13 +297,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}", urlParameters: [ - Parameters.resourceGroupName, + Parameters.resourceGroupName0, Parameters.serverName, Parameters.virtualNetworkRuleName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..a2a4b09b3157 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts @@ -0,0 +1,387 @@ +/* + * 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 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 + */ + get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + workloadGroupName, + workloadClassifierName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,workloadGroupName,workloadClassifierName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 + */ + deleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + workloadGroupName, + options + }, + listByWorkloadGroupOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByWorkloadGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByWorkloadGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByWorkloadGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByWorkloadGroupNextOperationSpec, + callback) as Promise; + } +} + +// 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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 + ], + 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..66ce36477161 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/workloadGroups.ts @@ -0,0 +1,359 @@ +/* + * 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 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 + */ + get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + workloadGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,workloadGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 + */ + deleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The 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): 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): void; + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + beginDeleteMethod(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise { + 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 + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } +} + +// 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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.resourceGroupName0, + Parameters.serverName, + Parameters.databaseName, + Parameters.workloadGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + 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 + ], + 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..7b7dbec0a8bb 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClient.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts @@ -19,7 +19,6 @@ class SqlManagementClient extends SqlManagementClientContext { // Operation groups recoverableDatabases: operations.RecoverableDatabases; restorableDroppedDatabases: operations.RestorableDroppedDatabases; - servers: operations.Servers; serverConnectionPolicies: operations.ServerConnectionPolicies; databaseThreatDetectionPolicies: operations.DatabaseThreatDetectionPolicies; dataMaskingPolicies: operations.DataMaskingPolicies; @@ -30,7 +29,6 @@ class SqlManagementClient extends SqlManagementClientContext { elasticPools: operations.ElasticPools; recommendedElasticPools: operations.RecommendedElasticPools; replicationLinks: operations.ReplicationLinks; - serverAzureADAdministrators: operations.ServerAzureADAdministrators; serverCommunicationLinks: operations.ServerCommunicationLinks; serviceObjectives: operations.ServiceObjectives; elasticPoolActivities: operations.ElasticPoolActivities; @@ -46,8 +44,6 @@ class SqlManagementClient extends SqlManagementClientContext { operations: operations.Operations; serverKeys: operations.ServerKeys; syncAgents: operations.SyncAgents; - syncGroups: operations.SyncGroups; - syncMembers: operations.SyncMembers; subscriptionUsages: operations.SubscriptionUsages; virtualClusters: operations.VirtualClusters; virtualNetworkRules: operations.VirtualNetworkRules; @@ -81,13 +77,11 @@ class SqlManagementClient extends SqlManagementClientContext { managedInstanceAdministrators: operations.ManagedInstanceAdministrators; databaseOperations: operations.DatabaseOperations; elasticPoolOperations: operations.ElasticPoolOperations; - capabilities: operations.Capabilities; databaseVulnerabilityAssessmentScans: operations.DatabaseVulnerabilityAssessmentScans; managedDatabaseVulnerabilityAssessmentRuleBaselines: operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselines; managedDatabaseVulnerabilityAssessmentScans: operations.ManagedDatabaseVulnerabilityAssessmentScans; managedDatabaseVulnerabilityAssessments: operations.ManagedDatabaseVulnerabilityAssessments; instanceFailoverGroups: operations.InstanceFailoverGroups; - backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies; tdeCertificates: operations.TdeCertificates; managedInstanceTdeCertificates: operations.ManagedInstanceTdeCertificates; managedInstanceKeys: operations.ManagedInstanceKeys; @@ -98,11 +92,23 @@ class SqlManagementClient extends SqlManagementClientContext { managedDatabaseSensitivityLabels: operations.ManagedDatabaseSensitivityLabels; instancePools: operations.InstancePools; usages: operations.Usages; + privateEndpointConnections: operations.PrivateEndpointConnections; + privateLinkResources: operations.PrivateLinkResources; + servers: operations.Servers; + capabilities: operations.Capabilities; + longTermRetentionManagedInstanceBackups: operations.LongTermRetentionManagedInstanceBackups; + managedInstanceLongTermRetentionPolicies: operations.ManagedInstanceLongTermRetentionPolicies; + workloadGroups: operations.WorkloadGroups; + workloadClassifiers: operations.WorkloadClassifiers; + managedInstanceOperations: operations.ManagedInstanceOperations; + serverAzureADAdministrators: operations.ServerAzureADAdministrators; + syncGroups: operations.SyncGroups; + syncMembers: operations.SyncMembers; managedInstances: operations.ManagedInstances; + backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies; managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails; managedDatabases: operations.ManagedDatabases; - privateEndpointConnections: operations.PrivateEndpointConnections; - privateLinkResources: operations.PrivateLinkResources; + serverAzureADOnlyAuthentications: operations.ServerAzureADOnlyAuthentications; /** * Initializes a new instance of the SqlManagementClient class. @@ -114,7 +120,6 @@ class SqlManagementClient extends SqlManagementClientContext { 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); @@ -125,7 +130,6 @@ class SqlManagementClient extends SqlManagementClientContext { 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); @@ -141,8 +145,6 @@ class SqlManagementClient extends SqlManagementClientContext { 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); @@ -176,13 +178,11 @@ class SqlManagementClient extends SqlManagementClientContext { 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.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); @@ -193,11 +193,23 @@ class SqlManagementClient extends SqlManagementClientContext { this.managedDatabaseSensitivityLabels = new operations.ManagedDatabaseSensitivityLabels(this); this.instancePools = new operations.InstancePools(this); this.usages = new operations.Usages(this); + this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.servers = new operations.Servers(this); + this.capabilities = new operations.Capabilities(this); + this.longTermRetentionManagedInstanceBackups = new operations.LongTermRetentionManagedInstanceBackups(this); + this.managedInstanceLongTermRetentionPolicies = new operations.ManagedInstanceLongTermRetentionPolicies(this); + this.workloadGroups = new operations.WorkloadGroups(this); + this.workloadClassifiers = new operations.WorkloadClassifiers(this); + this.managedInstanceOperations = new operations.ManagedInstanceOperations(this); + this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this); + this.syncGroups = new operations.SyncGroups(this); + this.syncMembers = new operations.SyncMembers(this); this.managedInstances = new operations.ManagedInstances(this); + this.backupShortTermRetentionPolicies = new operations.BackupShortTermRetentionPolicies(this); this.managedDatabaseRestoreDetails = new operations.ManagedDatabaseRestoreDetails(this); this.managedDatabases = new operations.ManagedDatabases(this); - this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); - this.privateLinkResources = new operations.PrivateLinkResources(this); + this.serverAzureADOnlyAuthentications = new operations.ServerAzureADOnlyAuthentications(this); } } diff --git a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts index f189156ca9d6..380a880271e0 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-sql"; -const packageVersion = "7.0.2"; +const packageVersion = "7.0.1"; export class SqlManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -57,23 +57,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 +}