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/src/models/backupLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts index 7979989c60d3..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..749a94803daa 100644 --- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..26190b056e28 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..5b0db1c49f11 100644 --- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..50136c76f29c 100644 --- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..49cfe48f6ee7 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..ae8a85b4a14e 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..55f008edac8f 100644 --- a/sdk/sql/arm-sql/src/models/databasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts @@ -63,12 +63,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -83,6 +84,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -109,6 +111,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -131,5 +134,7 @@ export { 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..f4e528ee77da 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..d2cf3ed25e63 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..e750675e5e4f 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..b6a15ae27f37 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts @@ -60,12 +60,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -80,6 +81,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -105,6 +107,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -127,5 +130,7 @@ export { 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..de34777ad538 100644 --- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..5feb32d309c0 100644 --- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts @@ -60,12 +60,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +74,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..0049f9df0287 100644 --- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..420a337d3682 100644 --- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..7689e54cb920 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. */ @@ -849,24 +812,6 @@ export interface ReplicationLink extends ProxyResource { readonly replicationState?: ReplicationState; } -/** - * An server Active Directory Administrator. - */ -export interface ServerAzureADAdministrator extends ProxyResource { - /** - * The server administrator login value. - */ - login: string; - /** - * The server administrator Sid (Secure ID). - */ - sid: string; - /** - * The server Active Directory Administrator tenant id. - */ - tenantId: string; -} - /** * Server communication link. */ @@ -1752,96 +1697,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. */ @@ -2308,7 +2163,7 @@ 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; /** @@ -2418,6 +2273,12 @@ 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; } /** @@ -2435,7 +2296,7 @@ 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; /** @@ -2545,6 +2406,12 @@ 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; } /** @@ -2558,7 +2425,7 @@ export interface ServerBlobAuditingPolicy 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; /** @@ -2668,6 +2535,12 @@ export interface ServerBlobAuditingPolicy 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; } /** @@ -2686,7 +2559,7 @@ export interface DatabaseBlobAuditingPolicy 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; /** @@ -2796,6 +2669,12 @@ export interface DatabaseBlobAuditingPolicy 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; } /** @@ -3603,6 +3482,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 +3660,1164 @@ 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. - */ - reason?: string; -} - -/** - * The performance level capability. - */ -export interface PerformanceLevelCapability { - /** - * Performance level value. + * 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 value?: number; + readonly status?: DatabaseStatus; /** - * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores' + * The ID of the database. * **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 databaseId?: string; /** - * License type identifier. + * The creation date of the database (ISO8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly creationDate?: Date; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly currentServiceObjectiveName?: string; /** - * The reason for the capability not being available. + * The requested service level objective name of the 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 requestedServiceObjectiveName?: string; /** - * The unique ID of the service objective. + * The default secondary region for this database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; + readonly defaultSecondaryLocation?: string; /** - * The service objective name. + * 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 name?: string; + readonly failoverGroupId?: string; /** - * The list of supported maximum database sizes. - * **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 supportedMaxSizes?: MaxSizeRangeCapability[]; + restorePointInTime?: Date; /** - * The performance level. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the time that the database was deleted. */ - readonly performanceLevel?: PerformanceLevelCapability; + sourceDatabaseDeletionDate?: Date; /** - * The sku. - * **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 sku?: Sku; + recoveryServicesRecoveryPointId?: 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 long term retention backup associated with create operation of + * this database. */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + longTermRetentionBackupResourceId?: 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 recoverable database associated with create operation of this + * database. */ - readonly includedMaxSize?: MaxSizeCapability; + recoverableDatabaseId?: 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 restorable dropped database associated with create operation of + * this database. */ - readonly status?: CapabilityStatus; + restorableDroppedDatabaseId?: string; /** - * The reason for the capability not being available. + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - reason?: string; -} - -/** - * The edition capability. - */ -export interface EditionCapability { + catalogCollation?: CatalogCollationType; /** - * The database edition name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not this database is zone redundant, which means the replicas of this database will + * be spread across multiple availability zones. */ - readonly name?: string; + zoneRedundant?: boolean; /** - * The list of supported service objectives for the edition. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The license type to apply for this database. Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; + licenseType?: DatabaseLicenseType; /** - * Whether or not zone redundancy is supported 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 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 minimum per-database performance level capability. - */ -export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { + readScale?: DatabaseReadScale; /** - * The minimum performance level per database. - * **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 limit?: number; + readReplicaCount?: number; /** - * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores' + * The name and tier of the SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: PerformanceLevelUnit; + readonly currentSku?: Sku; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 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. 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 { +export interface VulnerabilityAssessmentScanError { /** - * The server version name. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly code?: string; /** - * The list of supported managed instance editions. + * The error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedEditions?: ManagedInstanceEditionCapability[]; + readonly message?: string; +} + +/** + * A vulnerability assessment scan record. + */ +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The scan ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly scanId?: string; /** - * The reason for the capability not being available. + * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; -} - -/** - * The location capability. - */ -export interface LocationCapabilities { + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** - * The location name. + * 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 name?: string; + readonly state?: VulnerabilityAssessmentScanState; /** - * The list of supported server versions. + * The scan start time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedServerVersions?: ServerVersionCapability[]; + readonly startTime?: Date; /** - * The list of supported managed instance versions. + * The scan end time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; + readonly endTime?: Date; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The scan errors. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly errors?: VulnerabilityAssessmentScanError[]; /** - * The reason for the capability not being available. + * The scan results storage container path. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly storageContainerPath?: string; + /** + * The number of failed security checks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly numberOfFailedSecurityChecks?: number; } /** - * A database resource. + * A database Vulnerability Assessment scan export 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; +export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { /** - * Kind of database. This is metadata used for the Azure portal experience. + * 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.** */ - readonly kind?: string; + readonly exportedReportLocation?: string; +} + +/** + * Read-write endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadWriteEndpoint { /** - * Resource that manages the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is + * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: + * 'Manual', 'Automatic' */ - readonly managedBy?: string; + failoverPolicy: ReadWriteEndpointFailoverPolicy; /** - * 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' + * Grace period before failover with data loss is attempted for the read-write endpoint. If + * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ - createMode?: CreateMode; + failoverWithDataLossGracePeriodMinutes?: number; +} + +/** + * Read-only endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadOnlyEndpoint { /** - * The collation of the database. + * Failover policy of the read-only endpoint for the failover group. Possible values include: + * 'Disabled', 'Enabled' */ - collation?: string; + failoverPolicy?: ReadOnlyEndpointFailoverPolicy; +} + +/** + * Partner region information for the failover group. + */ +export interface PartnerRegionInfo { /** - * The max size of the database expressed in bytes. + * Geo location of the partner managed instances. */ - maxSizeBytes?: number; + location?: string; /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * 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.** */ - sampleName?: SampleName; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; +} + +/** + * Pairs of Managed Instances in the failover group. + */ +export interface ManagedInstancePairInfo { /** - * The resource identifier of the elastic pool containing this database. + * Id of Primary Managed Instance in pair. */ - elasticPoolId?: string; + primaryManagedInstanceId?: string; /** - * The resource identifier of the source database associated with create operation of this - * database. + * Id of Partner Managed Instance in pair. */ - sourceDatabaseId?: string; + partnerManagedInstanceId?: string; +} + +/** + * An instance failover group. + */ +export interface InstanceFailoverGroup extends ProxyResource { /** - * 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.** + * Read-write endpoint of the failover group instance. */ - readonly status?: DatabaseStatus; + readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; /** - * The ID 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 databaseId?: string; + readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; /** - * The creation date of the database (ISO8601 format). + * 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 creationDate?: Date; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; /** - * The current service level objective name of the database. + * Replication state of the failover group instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentServiceObjectiveName?: string; + readonly replicationState?: string; /** - * The requested service level objective name of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Partner region information for the failover group. */ - readonly requestedServiceObjectiveName?: string; + partnerRegions: PartnerRegionInfo[]; /** - * The default secondary region for this database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of managed instance pairs in the failover group. */ - readonly defaultSecondaryLocation?: string; + managedInstancePairs: ManagedInstancePairInfo[]; +} + +/** + * A short term retention policy. + */ +export interface BackupShortTermRetentionPolicy extends ProxyResource { /** - * Failover Group resource identifier that this database belongs to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The backup retention period in days. This is how many days Point-in-Time Restore will be + * supported. */ - readonly failoverGroupId?: string; + retentionDays?: number; +} + +/** + * A TDE certificate that can be uploaded into a server. + */ +export interface TdeCertificate extends ProxyResource { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The base64 encoded certificate private blob. */ - restorePointInTime?: Date; + privateBlob: string; /** - * Specifies the time that the database was deleted. + * The certificate password. */ - sourceDatabaseDeletionDate?: Date; + certPassword?: string; +} + +/** + * A managed instance key. + */ +export interface ManagedInstanceKey extends ProxyResource { /** - * The resource identifier of the recovery point 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.** */ - recoveryServicesRecoveryPointId?: string; + readonly kind?: string; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' */ - longTermRetentionBackupResourceId?: string; + serverKeyType: ServerKeyType; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. */ - recoverableDatabaseId?: string; + uri?: string; /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * Thumbprint of the key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly thumbprint?: string; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The key creation date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly creationDate?: Date; +} + +/** + * The managed instance encryption protector. + */ +export interface ManagedInstanceEncryptionProtector extends ProxyResource { /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * 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.** */ - zoneRedundant?: boolean; + readonly kind?: string; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The name of the managed instance key. */ - licenseType?: DatabaseLicenseType; + serverKeyName?: string; /** - * The max log size for this database. + * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' + */ + serverKeyType: ServerKeyType; + /** + * The URI of the server key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxLogSizeBytes?: number; + readonly uri?: string; /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * Thumbprint of the server key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestoreDate?: Date; + readonly thumbprint?: string; +} + +/** + * A recoverable managed database resource. + */ +export interface RecoverableManagedDatabase extends ProxyResource { /** - * 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 last available backup date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readScale?: DatabaseReadScale; + readonly lastAvailableBackupDate?: string; +} + +/** + * A managed instance vulnerability assessment. + */ +export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { /** - * The number of readonly secondary replicas associated with the database to which readonly - * application intent connections may be routed. This property is only settable for Hyperscale - * edition databases. + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - readReplicaCount?: number; + storageContainerPath: string; /** - * The name and tier of the SKU. - * **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 currentSku?: Sku; + storageContainerSasKey?: string; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - autoPauseDelay?: number; + storageAccountAccessKey?: string; /** - * Minimal capacity that database will always have allocated, if not paused + * The recurring scans settings */ - minCapacity?: number; + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * A server vulnerability assessment. + */ +export interface ServerVulnerabilityAssessment 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. + * An Azure SQL instance pool. */ -export interface DatabaseUpdate { +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; +} + +/** + * Azure Active Directory identity configuration for a resource. + */ +export interface ResourceIdentity { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The Azure Active Directory principal id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly principalId?: string; /** - * Specifies the time that the database was deleted. + * 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' */ - sourceDatabaseDeletionDate?: Date; + type?: IdentityType; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * The Azure Active Directory tenant id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesRecoveryPointId?: string; + readonly tenantId?: string; +} + +/** + * An Azure SQL managed instance. + */ +export interface ManagedInstance extends TrackedResource { /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The Azure Active Directory identity of the managed instance. */ - longTermRetentionBackupResourceId?: string; + identity?: ResourceIdentity; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 */ - recoverableDatabaseId?: string; + sku?: Sku; /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * 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' */ - restorableDroppedDatabaseId?: string; + managedInstanceCreateMode?: ManagedServerCreateMode; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly fullyQualifiedDomainName?: string; /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). */ - zoneRedundant?: boolean; + administratorLogin?: string; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The administrator login password (required for managed instance creation). */ - licenseType?: DatabaseLicenseType; + administratorLoginPassword?: string; /** - * The max log size for this database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Subnet resource ID for the managed instance. */ - readonly maxLogSizeBytes?: number; + subnetId?: string; /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * The state of the managed instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestoreDate?: Date; + readonly state?: 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 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' */ - readScale?: DatabaseReadScale; + licenseType?: ManagedInstanceLicenseType; /** - * 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 number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. */ - readReplicaCount?: number; + vCores?: number; /** - * The name and tier of the SKU. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. */ - readonly currentSku?: Sku; + storageSizeInGB?: number; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * Collation of the managed instance. */ - autoPauseDelay?: number; + collation?: string; /** - * Minimal capacity that database will always have allocated, if not paused + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly dnsZone?: string; /** - * 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.** + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. */ - readonly pausedDate?: Date; + dnsZonePartner?: 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.** + * Whether or not the public data endpoint is enabled. */ - readonly resumedDate?: Date; + publicDataEndpointEnabled?: boolean; /** - * Resource tags. + * The resource identifier of the source managed instance associated with create operation of + * this instance. */ - tags?: { [propertyName: string]: string }; -} - -/** - * Contains the information necessary to perform a resource move (rename). - */ -export interface ResourceMoveDefinition { + sourceManagedInstanceId?: string; /** - * The target ID for the resource + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - id: string; -} - -/** - * Per database settings of an elastic pool. - */ -export interface ElasticPoolPerDatabaseSettings { + restorePointInTime?: Date; /** - * The minimum capacity all databases are guaranteed. + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' */ - minCapacity?: number; + proxyOverride?: ManagedInstanceProxyOverride; /** - * The maximum capacity any one database can consume. + * 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". */ - maxCapacity?: number; + timezoneId?: string; + /** + * The Id of the instance pool this managed server belongs to. + */ + instancePoolId?: string; } /** - * An elastic pool. + * An update request for an Azure SQL Database managed instance. */ -export interface ElasticPool extends TrackedResource { +export interface ManagedInstanceUpdate { /** - * The elastic pool SKU. + * Managed instance sku + */ + sku?: Sku; + /** + * Specifies the mode of database creation. * - * 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: + * Default: Regular instance creation. * - * ```azurecli - * az sql elastic-pool list-editions -l -o table - * ```` + * 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' */ - sku?: Sku; + managedInstanceCreateMode?: ManagedServerCreateMode; /** - * Kind of elastic pool. This is metadata used for the Azure portal experience. + * 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 kind?: string; + readonly fullyQualifiedDomainName?: 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 managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). */ - readonly state?: ElasticPoolState; + administratorLogin?: string; /** - * The creation date of the elastic pool (ISO8601 format). + * 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 creationDate?: Date; + readonly state?: string; /** - * The storage limit for the database elastic pool in bytes. + * 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' */ - maxSizeBytes?: number; + licenseType?: ManagedInstanceLicenseType; /** - * The per database settings for the elastic pool. + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + vCores?: number; /** - * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic - * pool will be spread across multiple availability zones. + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. */ - zoneRedundant?: boolean; + storageSizeInGB?: number; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Collation of the managed instance. */ - licenseType?: ElasticPoolLicenseType; -} - -/** - * An elastic pool update. - */ -export interface ElasticPoolUpdate { - sku?: Sku; + collation?: string; /** - * The storage limit for the database elastic pool in bytes. + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxSizeBytes?: number; + readonly dnsZone?: string; /** - * The per database settings for the elastic pool. + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + dnsZonePartner?: 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. + * Whether or not the public data endpoint is enabled. */ - zoneRedundant?: boolean; + publicDataEndpointEnabled?: boolean; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The resource identifier of the source managed instance associated with create operation of + * this instance. */ - licenseType?: ElasticPoolLicenseType; + 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; /** * Resource tags. */ @@ -4820,1791 +4825,1874 @@ export interface ElasticPoolUpdate { } /** - * Properties of a vulnerability assessment scan error. + * An interface representing PrivateEndpointProperty. */ -export interface VulnerabilityAssessmentScanError { - /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly code?: string; +export interface PrivateEndpointProperty extends BaseResource { /** - * The error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource id of the private endpoint. */ - readonly message?: string; + id?: string; } /** - * A vulnerability assessment scan record. + * An interface representing PrivateLinkServiceConnectionStateProperty. */ -export interface VulnerabilityAssessmentScanRecord extends ProxyResource { - /** - * The scan ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly scanId?: string; - /** - * 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 triggerType?: VulnerabilityAssessmentScanTriggerType; +export interface PrivateLinkServiceConnectionStateProperty { /** - * 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.** + * The private link service connection status. Possible values include: 'Approved', 'Pending', + * 'Rejected', 'Disconnected' */ - readonly state?: VulnerabilityAssessmentScanState; + status: PrivateLinkServiceConnectionStateStatus; /** - * The scan start time (UTC). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The private link service connection description. */ - readonly startTime?: Date; + description: string; /** - * The scan end time (UTC). + * The actions required for private link service connection. Possible values include: 'None' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly endTime?: Date; + readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire; +} + +/** + * Properties of a private endpoint connection. + */ +export interface PrivateEndpointConnectionProperties { /** - * The scan errors. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Private endpoint which the connection belongs to. */ - readonly errors?: VulnerabilityAssessmentScanError[]; + privateEndpoint?: PrivateEndpointProperty; /** - * The scan results storage container path. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Connection state of the private endpoint connection. */ - readonly storageContainerPath?: string; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** - * The number of failed security checks. + * 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 numberOfFailedSecurityChecks?: number; + readonly provisioningState?: PrivateEndpointProvisioningState; } /** - * A database Vulnerability Assessment scan export resource. + * A private endpoint connection */ -export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { +export interface PrivateEndpointConnection extends ProxyResource { /** - * Location of the exported report (e.g. - * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: PrivateEndpointProperty; + /** + * Connection state of the private endpoint connection. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + /** + * State of the private endpoint connection. Possible values include: 'Approving', 'Ready', + * 'Dropping', 'Failed', 'Rejecting' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly exportedReportLocation?: string; + readonly provisioningState?: PrivateEndpointProvisioningState; } /** - * Read-write endpoint of the failover group instance. + * Properties of a private link resource. */ -export interface InstanceFailoverGroupReadWriteEndpoint { +export interface PrivateLinkResourceProperties { /** - * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is - * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: - * 'Manual', 'Automatic' + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverPolicy: ReadWriteEndpointFailoverPolicy; + readonly groupId?: string; /** - * Grace period before failover with data loss is attempted for the read-write endpoint. If - * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. + * The private link resource required member names. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverWithDataLossGracePeriodMinutes?: number; + readonly requiredMembers?: string[]; } /** - * Read-only endpoint of the failover group instance. + * A private link resource */ -export interface InstanceFailoverGroupReadOnlyEndpoint { +export interface PrivateLinkResource extends ProxyResource { /** - * Failover policy of the read-only endpoint for the failover group. Possible values include: - * 'Disabled', 'Enabled' + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverPolicy?: ReadOnlyEndpointFailoverPolicy; + readonly properties?: PrivateLinkResourceProperties; } /** - * Partner region information for the failover group. + * A private endpoint connection under a server */ -export interface PartnerRegionInfo { +export interface ServerPrivateEndpointConnection { /** - * Geo location of the partner managed instances. + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; + readonly id?: string; /** - * Replication role of the partner managed instances. Possible values include: 'Primary', - * 'Secondary' + * Private endpoint connection properties * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + readonly properties?: PrivateEndpointConnectionProperties; } /** - * Pairs of Managed Instances in the failover group. + * An Azure SQL Database server. */ -export interface ManagedInstancePairInfo { +export interface Server extends TrackedResource { /** - * Id of Primary Managed Instance in pair. + * The Azure Active Directory identity of the server. */ - primaryManagedInstanceId?: string; + identity?: ResourceIdentity; /** - * Id of Partner Managed Instance in pair. + * 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.** */ - partnerManagedInstanceId?: string; -} - -/** - * An instance failover group. - */ -export interface InstanceFailoverGroup extends ProxyResource { + readonly kind?: string; /** - * Read-write endpoint of the failover group instance. + * Administrator username for the server. Once created it cannot be changed. */ - readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; + administratorLogin?: string; /** - * Read-only endpoint of the failover group instance. + * The administrator login password (required for server creation). */ - readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; + administratorLoginPassword?: string; /** - * Local replication role of the failover group instance. Possible values include: 'Primary', - * 'Secondary' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The version of the server. */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + version?: string; /** - * Replication state of the failover group instance. + * The state of the server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationState?: string; - /** - * Partner region information for the failover group. - */ - partnerRegions: PartnerRegionInfo[]; + readonly state?: string; /** - * List of managed instance pairs in the failover group. + * The fully qualified domain name of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedInstancePairs: ManagedInstancePairInfo[]; -} - -/** - * A short term retention policy. - */ -export interface BackupShortTermRetentionPolicy extends ProxyResource { + readonly fullyQualifiedDomainName?: string; /** - * The backup retention period in days. This is how many days Point-in-Time Restore will be - * supported. + * List of private endpoint connections on a server + * **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 privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** - * The base64 encoded certificate private blob. + * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' */ - privateBlob: string; + minimalTlsVersion?: string; /** - * The certificate password. + * 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' */ - certPassword?: string; + publicNetworkAccess?: ServerPublicNetworkAccess; } /** - * A managed instance key. + * An update request for an Azure SQL Database server. */ -export interface ManagedInstanceKey extends ProxyResource { +export interface ServerUpdate { /** - * 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.** + * Administrator username for the server. Once created it cannot be changed. */ - readonly kind?: string; + administratorLogin?: string; /** - * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * The administrator login password (required for server creation). */ - serverKeyType: ServerKeyType; + administratorLoginPassword?: string; /** - * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. + * The version of the server. */ - uri?: string; + version?: string; /** - * Thumbprint of the key. + * The state of the server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly state?: string; /** - * The key creation date. + * The fully qualified domain name of the server. * **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 fullyQualifiedDomainName?: string; /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * List of private endpoint connections on a server * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; - /** - * The name of the managed instance key. - */ - serverKeyName?: string; + readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** - * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' */ - serverKeyType: ServerKeyType; + minimalTlsVersion?: string; /** - * The URI of the server key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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' */ - readonly uri?: string; + publicNetworkAccess?: ServerPublicNetworkAccess; /** - * Thumbprint of the server key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags. */ - readonly thumbprint?: string; + tags?: { [propertyName: string]: string }; } /** - * A recoverable managed database resource. + * A request to check whether the specified name for a resource is available. */ -export interface RecoverableManagedDatabase extends ProxyResource { - /** - * The last available backup date. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastAvailableBackupDate?: string; +export interface CheckNameAvailabilityRequest { + name: string; } /** - * A managed instance vulnerability assessment. + * The result of a name availability check. */ -export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { +export interface CheckNameAvailabilityResponse { /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * The name whose availability was checked. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerPath: string; + readonly name?: 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. + * True if the name is available, otherwise false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; + readonly available?: boolean; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * 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.** */ - storageAccountAccessKey?: string; + readonly reason?: CheckNameAvailabilityReason; /** - * The recurring scans settings + * 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.** */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + readonly message?: string; } /** - * A server vulnerability assessment. + * The maximum size capability. */ -export interface ServerVulnerabilityAssessment extends ProxyResource { +export interface MaxSizeCapability { /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * The maximum size limit (see 'unit' for the units). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerPath: string; + readonly limit?: 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 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.** */ - storageContainerSasKey?: string; + readonly unit?: MaxSizeUnit; +} + +/** + * The log size capability. + */ +export interface LogSizeCapability { /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * The log size limit (see 'unit' for the units). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly limit?: number; /** - * The recurring scans settings + * 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.** */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + readonly unit?: LogSizeUnit; } /** - * An Azure SQL instance pool. + * The maximum size range capability. */ -export interface InstancePool extends TrackedResource { +export interface MaxSizeRangeCapability { /** - * The name and tier of the SKU. + * Minimum value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly minValue?: MaxSizeCapability; /** - * Resource ID of the subnet to place this instance pool in. + * Maximum value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId: string; + readonly maxValue?: MaxSizeCapability; /** - * Count of vCores belonging to this instance pool. + * 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.** */ - vCores: number; + readonly scaleSize?: MaxSizeCapability; /** - * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) - * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Size of transaction log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType: InstancePoolLicenseType; + 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; } /** - * An update to an Instance pool. + * The performance level capability. */ -export interface InstancePoolUpdate { +export interface PerformanceLevelCapability { /** - * Resource tags. + * Performance level value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: 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; } /** - * ARM Usage Name + * The license type capability */ -export interface Name { +export interface LicenseTypeCapability { /** - * Usage name value + * License type identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; + readonly name?: string; /** - * 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. + * Supported auto pause delay time range */ -export interface Usage { - /** - * Resource ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; +export interface AutoPauseDelayTimeRange { /** - * Resource name. + * Minimum value * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: Name; + readonly minValue?: number; /** - * Resource type. + * Maximum value * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly type?: string; + readonly maxValue?: number; /** - * Usage unit. + * Step value for discrete values between the minimum value and the maximum value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; + readonly stepSize?: number; /** - * Usage current value. + * Default value is no value is provided * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentValue?: number; + readonly default?: number; /** - * Usage limit. + * Unit of time that delay is expressed in. Possible values include: 'Minutes' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly unit?: PauseDelayTimeUnit; /** - * Usage requested limit. + * 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 requestedLimit?: number; + readonly doNotPauseValue?: number; } /** - * An Azure SQL managed instance. + * The min capacity capability */ -export interface ManagedInstance extends TrackedResource { +export interface MinCapacityCapability { /** - * The Azure Active Directory identity of the managed instance. + * Min capacity value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identity?: ResourceIdentity; + readonly value?: number; /** - * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 + * 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.** */ - sku?: Sku; + readonly status?: CapabilityStatus; /** - * 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 reason for the capability not being available. */ - managedInstanceCreateMode?: ManagedServerCreateMode; + reason?: string; +} + +/** + * The service objectives capability. + */ +export interface ServiceObjectiveCapability { /** - * The fully qualified domain name of the managed instance. + * The unique ID of the service objective. * **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; + readonly id?: string; /** - * The administrator login password (required for managed instance creation). + * The service objective name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLoginPassword?: string; + readonly name?: string; /** - * Subnet resource ID for the managed instance. + * The list of supported maximum database sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * The state of the managed instance. + * The performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: string; + readonly performanceLevel?: PerformanceLevelCapability; /** - * 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 sku. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ManagedInstanceLicenseType; + readonly sku?: Sku; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * The included (free) max size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageSizeInGB?: number; + readonly includedMaxSize?: MaxSizeCapability; /** - * Collation of the managed instance. + * 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.** */ - collation?: string; + readonly zoneRedundant?: boolean; /** - * The Dns Zone that the managed instance is in. + * Supported time range for auto pause delay * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * List of supported min capacities + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsZonePartner?: string; + readonly supportedMinCapacities?: MinCapacityCapability[]; /** - * Whether or not the public data endpoint is enabled. + * The compute model + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicDataEndpointEnabled?: boolean; + readonly computeModel?: string; /** - * 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 read scale capability. + */ +export interface ReadScaleCapability { /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The maximum number of read scale replicas. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly maxNumberOfReplicas?: number; /** - * 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 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.** */ - timezoneId?: string; + readonly status?: CapabilityStatus; /** - * The Id of the instance pool this managed server belongs to. + * The reason for the capability not being available. */ - instancePoolId?: string; + reason?: string; } /** - * An update request for an Azure SQL Database managed instance. + * The storage account type capability. */ -export interface ManagedInstanceUpdate { - /** - * Managed instance sku - */ - sku?: Sku; +export interface StorageCapability { /** - * 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 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.** */ - managedInstanceCreateMode?: ManagedServerCreateMode; + readonly storageAccountType?: StorageAccountType; /** - * The fully qualified domain name 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 fullyQualifiedDomainName?: string; + readonly status?: CapabilityStatus; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * The reason for the capability not being available. */ - administratorLogin?: string; + reason?: string; +} + +/** + * The edition capability. + */ +export interface EditionCapability { /** - * The administrator login password (required for managed instance creation). + * The database edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLoginPassword?: string; + readonly name?: string; /** - * Subnet resource ID for the managed instance. + * The list of supported service objectives for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; /** - * The state of the managed instance. + * Whether or not zone redundancy is supported for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: string; + readonly zoneRedundant?: boolean; /** - * 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 read scale capability for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ManagedInstanceLicenseType; + readonly readScale?: ReadScaleCapability; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * The list of supported storage capabilities for this edition + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly supportedStorageCapabilities?: StorageCapability[]; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * 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.** */ - storageSizeInGB?: number; + readonly status?: CapabilityStatus; /** - * Collation of the managed instance. + * The reason for the capability not being available. */ - collation?: string; + reason?: string; +} + +/** + * The minimum per-database performance level capability. + */ +export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { /** - * The Dns Zone that the managed instance is in. + * The minimum performance level per database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly limit?: number; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * 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.** */ - dnsZonePartner?: string; + readonly unit?: PerformanceLevelUnit; /** - * 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 max per-database performance level capability. + */ +export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The maximum performance level per database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly limit?: number; /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * 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.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly unit?: PerformanceLevelUnit; /** - * 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 min database performance levels. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; /** - * 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 Elastic Pool performance level capability. */ -export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { +export interface ElasticPoolPerformanceLevelCapability { /** - * Restore status. + * The performance level for the pool. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: string; + readonly performanceLevel?: PerformanceLevelCapability; /** - * Current restoring file name. + * The sku. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentRestoringFileName?: string; + readonly sku?: Sku; /** - * Last restored file name. + * List of supported license types. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileName?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Last restored file time. + * The maximum number of databases supported. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileTime?: Date; + readonly maxDatabaseCount?: number; /** - * Percent completed. + * The included (free) max size for this performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly percentCompleted?: number; + readonly includedMaxSize?: MaxSizeCapability; /** - * List of unrestorable files. + * The list of supported max sizes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unrestorableFiles?: string[]; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * Number of files detected. + * The list of supported per database max sizes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly numberOfFilesDetected?: number; + readonly supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; /** - * Last uploaded file name. + * 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 lastUploadedFileName?: string; + readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; /** - * Last uploaded file time. + * Whether or not zone redundancy is supported for the performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileTime?: Date; + readonly zoneRedundant?: boolean; /** - * The reason why restore is in Blocked state. + * 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 blockReason?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * A managed database resource. + * The elastic pool edition capability. */ -export interface ManagedDatabase extends TrackedResource { - /** - * Collation of the managed database. - */ - collation?: string; +export interface ElasticPoolEditionCapability { /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * The elastic pool edition name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly name?: string; /** - * Creation date of the database. + * 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 creationDate?: Date; + readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; /** - * Earliest restore point in time for point in time restore. + * Whether or not zone redundancy is supported for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly 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; + readonly zoneRedundant?: boolean; /** - * Geo paired region. + * 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 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. - * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' - */ - 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 server capability + */ +export interface ServerVersionCapability { /** - * The resource identifier of the source database associated with create operation of this - * database. + * The server version 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 database editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly supportedEditions?: EditionCapability[]; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * The list of supported elastic pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; /** - * 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. + * The managed instance virtual cores capability. */ -export interface ManagedDatabaseUpdate { +export interface ManagedInstanceVcoresCapability { /** - * Collation of the managed database. + * The virtual cores identifier. + * **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 virtual cores value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly value?: number; /** - * Creation date of the database. + * Included size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly includedMaxSize?: MaxSizeCapability; /** - * Earliest restore point in time for point in time restore. + * Storage size ranges. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestorePoint?: Date; + readonly supportedStorageSizes?: MaxSizeRangeCapability[]; /** - * 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. + * 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.** */ - restorePointInTime?: Date; + readonly instancePoolSupported?: boolean; /** - * Geo paired region. + * True if this service objective is supported for standalone managed instances. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly standaloneSupported?: boolean; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * 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.** */ - catalogCollation?: CatalogCollationType; + readonly status?: CapabilityStatus; /** - * 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 reason for the capability not being available. */ - 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; + reason?: string; +} + +/** + * The managed server family capability. + */ +export interface ManagedInstanceFamilyCapability { /** - * The resource identifier of the source database associated with create operation of this - * database. + * Family 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. + * SKU name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly sku?: string; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Instance Failover Group resource identifier that this managed database belongs to. + * List of supported virtual cores values. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoverableDatabaseId?: string; + readonly status?: CapabilityStatus; /** - * Resource tags. + * The reason for the capability not being available. */ - tags?: { [propertyName: string]: string }; + reason?: string; } /** - * Contains the information necessary to perform a complete database restore operation. + * The managed server capability */ -export interface CompleteDatabaseRestoreDefinition { +export interface ManagedInstanceEditionCapability { /** - * The last backup name to apply + * The managed server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastBackupName: string; -} - -/** - * An interface representing PrivateEndpointProperty. - */ -export interface PrivateEndpointProperty extends BaseResource { + readonly name?: string; /** - * Resource id of the private endpoint. + * The supported families. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; + /** + * 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; } /** - * An interface representing PrivateLinkServiceConnectionStateProperty. + * The managed instance virtual cores capability. */ -export interface PrivateLinkServiceConnectionStateProperty { +export interface InstancePoolVcoresCapability { /** - * The private link service connection status. + * The virtual cores identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status: string; + readonly name?: string; /** - * The private link service connection description. + * The virtual cores value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description: string; + readonly value?: number; + /** + * Storage limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly storageLimit?: MaxSizeCapability; /** - * The actions required for private link service connection. + * 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 actionsRequired?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * A private endpoint connection + * The instance pool family capability. */ -export interface PrivateEndpointConnection extends ProxyResource { +export interface InstancePoolFamilyCapability { /** - * Private endpoint which the connection belongs to. + * Family name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privateEndpoint?: PrivateEndpointProperty; + readonly name?: string; /** - * Connection state of the private endpoint connection. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; + /** + * List of supported virtual cores values. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedVcoresValues?: InstancePoolVcoresCapability[]; /** - * State of the private endpoint connection. + * 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 provisioningState?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * Properties of a private link resource. + * The instance pool capability */ -export interface PrivateLinkResourceProperties { +export interface InstancePoolEditionCapability { /** - * The private link resource group id. + * The instance pool version name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly groupId?: string; + readonly name?: string; /** - * The private link resource required member names. + * The supported families. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; -} - -/** - * A private link resource - */ -export interface PrivateLinkResource extends ProxyResource { + readonly supportedFamilies?: InstancePoolFamilyCapability[]; /** - * The private link resource group id. + * 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 properties?: PrivateLinkResourceProperties; -} - -/** - * Optional Parameters. - */ -export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase { + readonly status?: CapabilityStatus; /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * The reason for the capability not being available. */ - replicaType?: ReplicaType; + reason?: string; } /** - * Optional Parameters. + * The managed instance capability */ -export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedInstanceVersionCapability { /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * The server version name. + * **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 name?: string; /** - * The number of elements in the collection to skip. + * The list of supported managed instance editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; -} - -/** - * Optional Parameters. - */ -export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { + readonly supportedEditions?: ManagedInstanceEditionCapability[]; /** - * The continuation token for this operation. + * The list of supported instance pool editions. + * **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 supportedInstancePoolEditions?: InstancePoolEditionCapability[]; /** - * If specified, only job executions created at or after the specified time are included. + * 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.** */ - createTimeMin?: Date; + readonly status?: CapabilityStatus; /** - * If specified, only job executions created before the specified time are included. + * The reason for the capability not being available. */ - createTimeMax?: Date; + reason?: string; +} + +/** + * The location capability. + */ +export interface LocationCapabilities { /** - * If specified, only job executions completed at or after the specified time are included. + * The location name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly name?: string; /** - * If specified, only job executions completed before the specified time are included. + * The list of supported server versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly supportedServerVersions?: ServerVersionCapability[]; /** - * If specified, only active or only completed job executions are included. + * The list of supported managed instance versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; /** - * The number of elements in the collection to skip. + * 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.** */ - skip?: number; + readonly status?: CapabilityStatus; /** - * The number of elements to return from the collection. + * The reason for the capability not being available. */ - top?: number; + reason?: string; } /** - * Optional Parameters. + * A long term retention backup for a managed database. */ -export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { - /** - * If specified, only job executions created at or after the specified time are included. - */ - createTimeMin?: Date; +export interface ManagedInstanceLongTermRetentionBackup extends ProxyResource { /** - * If specified, only job executions created before the specified time are included. + * The managed instance that the backup database belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly managedInstanceName?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * The create time of the instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly managedInstanceCreateTime?: Date; /** - * If specified, only job executions completed before the specified time are included. + * The name of the database the backup belong to + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly databaseName?: string; /** - * If specified, only active or only completed job executions are included. + * The delete time of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly databaseDeletionTime?: Date; /** - * The number of elements in the collection to skip. + * The time the backup was taken + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly backupTime?: Date; /** - * The number of elements to return from the collection. + * The time the long term retention backup will expire. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly backupExpirationTime?: Date; } /** - * Optional Parameters. + * A long term retention policy. */ -export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedInstanceLongTermRetentionPolicy extends ProxyResource { /** - * 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. + * The weekly retention policy for an LTR backup in an ISO 8601 format. */ - endTimeMax?: Date; + weeklyRetention?: string; /** - * If specified, only active or only completed job executions are included. + * The monthly retention policy for an LTR backup in an ISO 8601 format. */ - isActive?: boolean; + monthlyRetention?: string; /** - * The number of elements in the collection to skip. + * The yearly retention policy for an LTR backup in an ISO 8601 format. */ - skip?: number; + yearlyRetention?: string; /** - * The number of elements to return from the collection. + * The week of year to take the yearly backup in an ISO 8601 format. */ - top?: number; + weekOfYear?: number; } /** - * Optional Parameters. + * Workload group operations for a data warehouse */ -export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { - /** - * If specified, only job executions created at or after the specified time are included. - */ - createTimeMin?: Date; +export interface WorkloadGroup extends ProxyResource { /** - * If specified, only job executions created before the specified time are included. + * The workload group minimum percentage resource. */ - createTimeMax?: Date; + minResourcePercent: number; /** - * If specified, only job executions completed at or after the specified time are included. + * The workload group cap percentage resource. */ - endTimeMin?: Date; + maxResourcePercent: number; /** - * If specified, only job executions completed before the specified time are included. + * The workload group request minimum grant percentage. */ - endTimeMax?: Date; + minResourcePercentPerRequest: number; /** - * If specified, only active or only completed job executions are included. + * The workload group request maximum grant percentage. */ - isActive?: boolean; + maxResourcePercentPerRequest?: number; /** - * The number of elements in the collection to skip. + * The workload group importance level. */ - skip?: number; + importance?: string; /** - * The number of elements to return from the collection. + * The workload group query execution timeout. */ - top?: number; + queryExecutionTimeout?: number; } /** - * Optional Parameters. + * Workload classifier operations for a data warehouse */ -export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase { +export interface WorkloadClassifier extends ProxyResource { /** - * 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. + * The workload classifier member name. */ - createTimeMax?: Date; + memberName: string; /** - * If specified, only job executions completed at or after the specified time are included. + * The workload classifier label. */ - endTimeMin?: Date; + label?: string; /** - * If specified, only job executions completed before the specified time are included. + * The workload classifier context. */ - endTimeMax?: Date; + context?: string; /** - * If specified, only active or only completed job executions are included. + * The workload classifier start time for classification. */ - isActive?: boolean; + startTime?: string; /** - * The number of elements in the collection to skip. + * The workload classifier end time for classification. */ - skip?: number; + endTime?: string; /** - * The number of elements to return from the collection. + * The workload classifier importance. */ - top?: number; + importance?: string; } /** - * Optional Parameters. + * A managed database resource. */ -export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedDatabase extends TrackedResource { /** - * Whether or not to only get the latest backup for each database. + * Collation of the managed database. */ - onlyLatestPerDatabase?: boolean; + collation?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * 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.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { + readonly status?: ManagedDatabaseStatus; /** - * Whether or not to only get the latest backup for each database. + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly creationDate?: Date; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * 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.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase { + readonly earliestRestorePoint?: Date; /** - * Whether or not to only get the latest backup for each database. + * 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. */ - onlyLatestPerDatabase?: boolean; + restorePointInTime?: Date; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Geo paired region. + * **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 defaultSecondaryLocation?: string; /** - * Whether or not to only get the latest backup for each database. + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - onlyLatestPerDatabase?: boolean; + catalogCollation?: CatalogCollationType; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * 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', + * 'RestoreLongTermRetentionBackup' */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { + createMode?: ManagedDatabaseCreateMode; /** - * Whether or not to only get the latest backup for each database. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. */ - onlyLatestPerDatabase?: boolean; + storageContainerUri?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * The resource identifier of the source database associated with create operation of this + * database. */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { + sourceDatabaseId?: string; /** - * Whether or not to only get the latest backup for each database. + * The restorable dropped database resource id to restore when creating this database. */ - onlyLatestPerDatabase?: boolean; + restorableDroppedDatabaseId?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + storageContainerSasToken?: string; /** - * An OData filter expression that filters elements in the collection. + * 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.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + readonly failoverGroupId?: string; /** - * Specifies whether to include disabled recommendations or not. + * The resource identifier of the recoverable database associated with create operation of this + * database. */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + recoverableDatabaseId?: string; /** - * An OData filter expression that filters elements in the collection. + * The name of the Long Term Retention backup to be used for restore of this managed database. */ - filter?: string; + longTermRetentionBackupResourceId?: string; } /** - * Optional Parameters. + * An managed database update. */ -export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedDatabaseUpdate { /** - * If specified, restricts the response to only include the selected item. Possible values - * include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' + * Collation of the managed database. */ - include?: CapabilityGroup; -} - -/** - * Optional Parameters. - */ -export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { + collation?: string; /** - * An OData filter expression that filters elements in the collection. + * 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.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + readonly status?: ManagedDatabaseStatus; /** - * An OData filter expression that filters elements in the collection. + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + readonly creationDate?: Date; /** - * Specifies whether to include disabled recommendations or not. + * 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.** */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + readonly earliestRestorePoint?: Date; /** - * An OData filter expression that filters elements in the collection. + * 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. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { + restorePointInTime?: Date; /** - * Optional request parameter to include managed instance usages within the instance pool. + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - 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 { -} - -/** - * @interface - * A list of servers. - * @extends Array - */ -export interface ServerListResult extends Array { + readonly defaultSecondaryLocation?: string; /** - * Link to retrieve next page of results. + * 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. + * 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 nextLink?: string; + 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; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; } /** - * @interface - * The response to a list data masking rules request. - * @extends Array + * Contains the information necessary to perform a complete database restore operation. */ -export interface DataMaskingRuleListResult extends Array { +export interface CompleteDatabaseRestoreDefinition { + /** + * The last backup name to apply + */ + lastBackupName: string; } /** - * @interface - * Represents the response to a List Firewall Rules request. - * @extends Array + * Azure Active Directory administrator. */ -export interface FirewallRuleListResult extends Array { +export interface ServerAzureADAdministrator extends ProxyResource { + /** + * Login name of the server administrator. + */ + login: string; + /** + * SID (object ID) of the server administrator. + */ + sid: string; + /** + * Tenant ID of the administrator. + */ + tenantId?: string; + /** + * Azure Active Directory only Authentication enabled. + */ + azureADOnlyAuthentication?: boolean; } /** - * @interface - * The response to a list geo backup policies request. - * @extends Array + * Optional Parameters. */ -export interface GeoBackupPolicyListResult extends Array { +export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; } /** - * @interface - * The response to a list database metrics request. - * @extends Array + * Optional Parameters. */ -export interface MetricListResult extends Array { +export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; } /** - * @interface - * The response to a list database metric definitions request. - * @extends Array + * Optional Parameters. */ -export interface MetricDefinitionListResult extends Array { +export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { + /** + * The number of elements in the collection to skip. + */ + skip?: number; } /** - * @interface - * A list of databases. - * @extends Array + * Optional Parameters. */ -export interface DatabaseListResult extends Array { +export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The continuation token for this operation. */ - readonly nextLink?: string; + continuationToken?: string; } /** - * @interface - * The result of an elastic pool list request. - * @extends Array + * Optional Parameters. */ -export interface ElasticPoolListResult extends Array { +export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If specified, only job executions created at or after the specified time are included. */ - readonly nextLink?: string; + 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; } /** - * @interface - * Represents the response to a list recommended elastic pool request. - * @extends Array + * Optional Parameters. */ -export interface RecommendedElasticPoolListResult extends Array { +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; } /** - * @interface - * Represents the response to a list recommended elastic pool metrics request. - * @extends Array + * Optional Parameters. */ -export interface RecommendedElasticPoolListMetricsResult extends Array { +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; } /** - * @interface - * Represents the response to a List database replication link request. - * @extends Array + * Optional Parameters. */ -export interface ReplicationLinkListResult extends Array { -} - -/** - * @interface - * The response to a list Active Directory Administrators request. - * @extends Array - */ -export interface ServerAdministratorListResult extends Array { +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; } /** - * @interface - * A list of server communication links. - * @extends Array + * Optional Parameters. */ -export interface ServerCommunicationLinkListResult extends Array { +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; } /** - * @interface - * Represents the response to a get database service objectives request. - * @extends Array + * Optional Parameters. */ -export interface ServiceObjectiveListResult extends Array { +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; } /** - * @interface - * Represents the response to a list elastic pool activity request. - * @extends Array + * Optional Parameters. */ -export interface ElasticPoolActivityListResult extends Array { +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; } /** - * @interface - * Represents the response to a list elastic pool database activity request. - * @extends Array + * Optional Parameters. */ -export interface ElasticPoolDatabaseActivityListResult extends Array { +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; } /** - * @interface - * Represents the response to a list service tier advisor request. - * @extends Array + * Optional Parameters. */ -export interface ServiceTierAdvisorListResult extends Array { +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; } /** - * @interface - * Represents the response to a list database transparent data encryption activity request. - * @extends Array + * Optional Parameters. */ -export interface TransparentDataEncryptionActivityListResult extends Array { +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; } /** - * @interface - * Represents the response to a list server metrics request. - * @extends Array + * Optional Parameters. */ -export interface ServerUsageListResult extends Array { +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; } /** - * @interface - * The response to a list database metrics request. - * @extends Array + * Optional Parameters. */ -export interface DatabaseUsageListResult extends Array { +export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; } /** - * @interface - * A list of server encryption protectors. - * @extends Array + * Optional Parameters. */ -export interface EncryptionProtectorListResult extends Array { +export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies whether to include disabled recommendations or not. */ - readonly nextLink?: string; + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; } /** - * @interface - * A list of failover groups. - * @extends Array + * Optional Parameters. */ -export interface FailoverGroupListResult extends Array { +export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * An OData filter expression that filters elements in the collection. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * Result of the request to list SQL operations. - * @extends Array + * Optional Parameters. */ -export interface OperationListResult extends Array { +export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * An OData filter expression that filters elements in the collection. */ - readonly nextLink?: string; + filter?: string; } /** - * @interface - * A list of server keys. - * @extends Array + * Optional Parameters. */ -export interface ServerKeyListResult extends Array { +export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies whether to include disabled recommendations or not. */ - readonly nextLink?: string; + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; } /** - * @interface - * A list of sync agents. - * @extends Array + * Optional Parameters. */ -export interface SyncAgentListResult extends Array { +export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Optional request parameter to include managed instance usages within the instance pool. */ - readonly nextLink?: string; + expandChildren?: boolean; } /** - * @interface - * A list of sync agent linked databases. - * @extends Array + * Optional Parameters. */ -export interface SyncAgentLinkedDatabaseListResult extends Array { +export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If specified, restricts the response to only include the selected item. Possible values + * include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' */ - readonly nextLink?: string; + include?: CapabilityGroup; } /** - * @interface - * A list of sync database ID properties. - * @extends Array + * Optional Parameters. */ -export interface SyncDatabaseIdListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; -} - -/** - * @interface - * A list of sync schema properties. - * @extends Array - */ -export interface SyncFullSchemaPropertiesListResult extends Array { + onlyLatestPerDatabase?: boolean; /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' */ - readonly nextLink?: string; + databaseState?: DatabaseState1; } /** - * @interface - * A list of sync group log properties. - * @extends Array + * Optional Parameters. */ -export interface SyncGroupLogListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState2; } /** - * @interface - * A list of sync groups. - * @extends Array + * Optional Parameters. */ -export interface SyncGroupListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState3; } /** - * @interface - * A list of Azure SQL Database sync members. - * @extends Array + * Optional Parameters. */ -export interface SyncMemberListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState4; } /** - * @interface - * A list of subscription usage metrics in a location. - * @extends Array + * Optional Parameters. */ -export interface SubscriptionUsageListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState5; } /** - * @interface - * A list of virtual clusters. - * @extends Array + * Optional Parameters. */ -export interface VirtualClusterListResult extends Array { +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether or not to only get the latest backup for each database. */ - readonly nextLink?: string; + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState6; } /** - * @interface - * A list of virtual network rules. - * @extends Array + * An interface representing SqlManagementClientOptions. */ -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 interface SqlManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; } /** * @interface - * A list of server auditing settings. - * @extends Array + * The response to a list recoverable databases request + * @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; +export interface RecoverableDatabaseListResult extends Array { } /** * @interface - * A list of database auditing settings. - * @extends Array + * The response to a list restorable dropped databases request + * @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; +export interface RestorableDroppedDatabaseListResult extends Array { } /** * @interface - * A list of the database's vulnerability assessments. - * @extends Array + * The response to a list data masking rules request. + * @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; +export interface DataMaskingRuleListResult extends Array { } /** * @interface - * A list of Azure SQL job agents. - * @extends Array + * Represents the response to a List Firewall Rules request. + * @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; +export interface FirewallRuleListResult extends Array { } /** * @interface - * A list of job credentials. - * @extends Array + * The response to a list geo backup policies request. + * @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; +export interface GeoBackupPolicyListResult extends Array { } /** * @interface - * A list of job executions. - * @extends Array + * The response to a list database metrics request. + * @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; +export interface MetricListResult extends Array { } /** * @interface - * A list of jobs. - * @extends Array + * The response to a list database metric definitions request. + * @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; +export interface MetricDefinitionListResult extends Array { } /** * @interface - * A list of job steps. - * @extends Array + * A list of databases. + * @extends Array */ -export interface JobStepListResult 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.** @@ -6614,10 +6702,10 @@ export interface JobStepListResult extends Array { /** * @interface - * A list of target groups. - * @extends Array + * The result of an elastic pool list request. + * @extends Array */ -export interface JobTargetGroupListResult 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.** @@ -6627,101 +6715,111 @@ export interface JobTargetGroupListResult extends Array { /** * @interface - * A list of job versions. - * @extends Array + * Represents the response to a list recommended elastic pool request. + * @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; +export interface RecommendedElasticPoolListResult extends Array { } /** * @interface - * A list of long term retention backups. - * @extends Array + * Represents the response to a list recommended elastic pool metrics request. + * @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; +export interface RecommendedElasticPoolListMetricsResult extends Array { } /** * @interface - * A list of short term retention policies. - * @extends Array + * Represents the response to a List database replication link request. + * @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; +export interface ReplicationLinkListResult extends Array { } /** * @interface - * A list of server DNS aliases. - * @extends Array + * A list of server communication links. + * @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; +export interface ServerCommunicationLinkListResult extends Array { } /** * @interface - * A list of the server's security alert policies. - * @extends Array + * Represents the response to a get database service objectives request. + * @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; +export interface ServiceObjectiveListResult extends Array { } /** * @interface - * A list of restorable dropped managed databases. - * @extends Array + * Represents the response to a list elastic pool activity request. + * @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; +export interface ElasticPoolActivityListResult extends Array { } /** * @interface - * A list of long term retention backups. - * @extends Array + * Represents the response to a list elastic pool database activity request. + * @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.** +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 the managed database's security alert policies. - * @extends Array + * A list of failover groups. + * @extends Array */ -export interface ManagedDatabaseSecurityAlertPolicyListResult 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.** @@ -6731,10 +6829,10 @@ export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array + * Result of the request to list SQL operations. + * @extends Array */ -export interface ManagedServerSecurityAlertPolicyListResult 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.** @@ -6744,10 +6842,10 @@ export interface ManagedServerSecurityAlertPolicyListResult extends Array + * A list of server keys. + * @extends Array */ -export interface SensitivityLabelListResult 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.** @@ -6757,10 +6855,10 @@ export interface SensitivityLabelListResult extends Array { /** * @interface - * A list of managed instance administrators. - * @extends Array + * A list of sync agents. + * @extends Array */ -export interface ManagedInstanceAdministratorListResult 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.** @@ -6770,10 +6868,10 @@ export interface ManagedInstanceAdministratorListResult extends Array + * A list of sync agent linked databases. + * @extends Array */ -export interface DatabaseOperationListResult 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.** @@ -6783,10 +6881,10 @@ export interface DatabaseOperationListResult extends Array { /** * @interface - * The response to a list elastic pool operations request - * @extends Array + * A list of sync database ID properties. + * @extends Array */ -export interface ElasticPoolOperationListResult 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.** @@ -6796,10 +6894,10 @@ export interface ElasticPoolOperationListResult extends Array + * A list of sync schema properties. + * @extends Array */ -export interface VulnerabilityAssessmentScanRecordListResult 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.** @@ -6809,10 +6907,10 @@ export interface VulnerabilityAssessmentScanRecordListResult extends Array + * A list of sync group log properties. + * @extends Array */ -export interface InstanceFailoverGroupListResult 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.** @@ -6822,10 +6920,10 @@ export interface InstanceFailoverGroupListResult extends Array + * A list of sync groups. + * @extends Array */ -export interface BackupShortTermRetentionPolicyListResult 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.** @@ -6835,10 +6933,10 @@ export interface BackupShortTermRetentionPolicyListResult extends Array + * A list of Azure SQL Database sync members. + * @extends Array */ -export interface ManagedInstanceKeyListResult 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.** @@ -6848,10 +6946,10 @@ export interface ManagedInstanceKeyListResult extends Array /** * @interface - * A list of managed instance encryption protectors. - * @extends Array + * A list of subscription usage metrics in a location. + * @extends Array */ -export interface ManagedInstanceEncryptionProtectorListResult 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.** @@ -6861,10 +6959,10 @@ export interface ManagedInstanceEncryptionProtectorListResult extends Array + * A list of virtual clusters. + * @extends Array */ -export interface RecoverableManagedDatabaseListResult 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.** @@ -6874,10 +6972,10 @@ export interface RecoverableManagedDatabaseListResult extends Array + * A list of virtual network rules. + * @extends Array */ -export interface ManagedInstanceVulnerabilityAssessmentListResult 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.** @@ -6887,10 +6985,10 @@ export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array< /** * @interface - * A list of the server's vulnerability assessments. - * @extends Array + * A list of server auditing settings. + * @extends Array */ -export interface ServerVulnerabilityAssessmentListResult 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.** @@ -6900,10 +6998,10 @@ export interface ServerVulnerabilityAssessmentListResult extends Array + * A list of database auditing settings. + * @extends Array */ -export interface InstancePoolListResult 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.** @@ -6913,10 +7011,10 @@ export interface InstancePoolListResult extends Array { /** * @interface - * A list of usages. - * @extends Array + * A list of the database's vulnerability assessments. + * @extends Array */ -export interface UsageListResult 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.** @@ -6926,10 +7024,10 @@ export interface UsageListResult extends Array { /** * @interface - * A list of managed instances. - * @extends Array + * A list of Azure SQL job agents. + * @extends Array */ -export interface ManagedInstanceListResult 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.** @@ -6939,10 +7037,10 @@ export interface ManagedInstanceListResult extends Array { /** * @interface - * A list of managed databases. - * @extends Array + * A list of job credentials. + * @extends Array */ -export interface ManagedDatabaseListResult 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.** @@ -6952,10 +7050,10 @@ export interface ManagedDatabaseListResult extends Array { /** * @interface - * A list of private endpoint connections. - * @extends Array + * A list of job executions. + * @extends Array */ -export interface PrivateEndpointConnectionListResult 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.** @@ -6965,10 +7063,10 @@ export interface PrivateEndpointConnectionListResult extends Array + * A list of jobs. + * @extends Array */ -export interface PrivateLinkResourceListResult 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.** @@ -6977,700 +7075,1841 @@ export interface PrivateLinkResourceListResult extends Array */ -export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; +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; +} /** - * Defines values for ServerConnectionType. - * Possible values include: 'Default', 'Proxy', 'Redirect' - * @readonly - * @enum {string} + * @interface + * A list of target groups. + * @extends Array */ -export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; +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; +} /** - * Defines values for SecurityAlertPolicyState. - * Possible values include: 'New', 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * @interface + * A list of job versions. + * @extends Array */ -export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; +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; +} /** - * Defines values for SecurityAlertPolicyEmailAccountAdmins. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * @interface + * A list of long term retention backups. + * @extends Array */ -export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; +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; +} /** - * Defines values for SecurityAlertPolicyUseServerDefault. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * @interface + * A list of short term retention policies. + * @extends Array */ -export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; +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; +} /** - * Defines values for DataMaskingState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * @interface + * A list of server DNS aliases. + * @extends Array */ -export type DataMaskingState = 'Disabled' | 'Enabled'; +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; +} /** - * Defines values for DataMaskingRuleState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * @interface + * A list of the server's security alert policies. + * @extends Array */ -export type DataMaskingRuleState = 'Disabled' | 'Enabled'; +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; +} /** - * Defines values for DataMaskingFunction. - * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' - * @readonly - * @enum {string} + * @interface + * A list of restorable dropped managed databases. + * @extends Array */ -export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; +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; +} /** - * Defines values for GeoBackupPolicyState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * @interface + * A list of long term retention backups. + * @extends Array */ -export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; +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; +} /** - * Defines values for DatabaseEdition. - * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', - * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - * 'Hyperscale' - * @readonly - * @enum {string} + * @interface + * A list of the managed database's security alert policies. + * @extends Array */ -export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; +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; +} /** - * 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} + * @interface + * A list of the managed Server's security alert policies. + * @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'; +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; +} /** - * Defines values for StorageKeyType. - * Possible values include: 'StorageAccessKey', 'SharedAccessKey' - * @readonly - * @enum {string} + * @interface + * A list of sensitivity labels. + * @extends Array */ -export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey'; +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; +} /** - * Defines values for AuthenticationType. - * Possible values include: 'SQL', 'ADPassword' - * @readonly - * @enum {string} + * @interface + * A list of managed instance administrators. + * @extends Array */ -export type AuthenticationType = 'SQL' | 'ADPassword'; +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; +} /** - * Defines values for UnitType. - * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', - * 'bytesPerSecond' - * @readonly - * @enum {string} + * @interface + * The response to a list database operations request + * @extends Array */ -export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; +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; +} /** - * Defines values for PrimaryAggregationType. - * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' - * @readonly - * @enum {string} + * @interface + * The response to a list elastic pool operations request + * @extends Array */ -export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; +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; +} /** - * Defines values for UnitDefinitionType. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', - * 'BytesPerSecond' - * @readonly - * @enum {string} + * @interface + * A list of vulnerability assessment scan records. + * @extends Array */ -export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; +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; +} /** - * Defines values for ElasticPoolEdition. - * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' - * @readonly - * @enum {string} + * @interface + * A list of instance failover groups. + * @extends Array */ -export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; +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; +} /** - * Defines values for ReplicationRole. - * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' - * @readonly - * @enum {string} + * @interface + * A list of short term retention policies. + * @extends Array */ -export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; +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; +} /** - * Defines values for ReplicationState. - * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' - * @readonly - * @enum {string} + * @interface + * A list of managed instance keys. + * @extends Array */ -export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; +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; +} /** - * Defines values for RecommendedIndexAction. - * Possible values include: 'Create', 'Drop', 'Rebuild' - * @readonly - * @enum {string} + * @interface + * A list of managed instance encryption protectors. + * @extends Array */ -export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; +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; +} /** - * Defines values for RecommendedIndexState. - * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', - * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success' - * @readonly - * @enum {string} + * @interface + * A list of recoverable managed databases. + * @extends Array */ -export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success'; +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; +} /** - * Defines values for RecommendedIndexType. - * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' - * @readonly - * @enum {string} + * @interface + * A list of the ManagedInstance's vulnerability assessments. + * @extends Array */ -export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; +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; +} /** - * Defines values for TransparentDataEncryptionStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * @interface + * A list of the server's vulnerability assessments. + * @extends Array */ -export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; +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; +} /** - * Defines values for TransparentDataEncryptionActivityStatus. - * Possible values include: 'Encrypting', 'Decrypting' - * @readonly - * @enum {string} + * @interface + * A list of Azure SQL instance pools. + * @extends Array */ -export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; +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; +} /** - * Defines values for AutomaticTuningMode. - * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' - * @readonly - * @enum {string} + * @interface + * A list of usages. + * @extends Array */ -export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; +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; +} /** - * Defines values for AutomaticTuningOptionModeDesired. - * Possible values include: 'Off', 'On', 'Default' - * @readonly - * @enum {string} + * @interface + * A list of managed instances. + * @extends Array */ -export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; +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; +} /** - * Defines values for AutomaticTuningOptionModeActual. - * Possible values include: 'Off', 'On' - * @readonly - * @enum {string} + * @interface + * A list of private endpoint connections. + * @extends Array */ -export type AutomaticTuningOptionModeActual = 'Off' | 'On'; +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; +} /** - * Defines values for AutomaticTuningDisabledReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', - * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' - * @readonly - * @enum {string} + * @interface + * A list of private link resources + * @extends Array */ -export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; +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; +} /** - * Defines values for ServerKeyType. - * Possible values include: 'ServiceManaged', 'AzureKeyVault' - * @readonly - * @enum {string} + * @interface + * A list of servers. + * @extends Array */ -export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; +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; +} /** - * Defines values for ReadWriteEndpointFailoverPolicy. - * Possible values include: 'Manual', 'Automatic' - * @readonly - * @enum {string} + * @interface + * A list of long term retention backups for managed database(s). + * @extends Array */ -export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; +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; +} /** - * Defines values for ReadOnlyEndpointFailoverPolicy. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * @interface + * A list of long term retention policies. + * @extends Array */ -export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; +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; +} /** - * Defines values for FailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} + * @interface + * A list of workload groups. + * @extends Array */ -export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; +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; +} /** - * Defines values for OperationOrigin. - * Possible values include: 'user', 'system' - * @readonly - * @enum {string} + * @interface + * A list of workload classifiers for a workload group. + * @extends Array */ -export type OperationOrigin = 'user' | 'system'; +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; +} /** - * Defines values for IdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} + * @interface + * A list of managed databases. + * @extends Array */ -export type IdentityType = 'SystemAssigned'; +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; +} /** - * Defines values for SyncAgentState. - * Possible values include: 'Online', 'Offline', 'NeverConnected' - * @readonly - * @enum {string} + * @interface + * A list of active directory administrators. + * @extends Array */ -export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; +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; +} /** - * Defines values for SyncMemberDbType. - * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' + * Defines values for ServerConnectionType. + * Possible values include: 'Default', 'Proxy', 'Redirect' * @readonly * @enum {string} */ -export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; +export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; /** - * Defines values for SyncGroupLogType. - * Possible values include: 'All', 'Error', 'Warning', 'Success' + * Defines values for SecurityAlertPolicyState. + * Possible values include: 'New', 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; +export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; /** - * Defines values for SyncConflictResolutionPolicy. - * Possible values include: 'HubWin', 'MemberWin' + * Defines values for SecurityAlertPolicyEmailAccountAdmins. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; +export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; /** - * Defines values for SyncGroupState. - * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' + * Defines values for SecurityAlertPolicyUseServerDefault. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; +export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; /** - * Defines values for SyncDirection. - * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' + * Defines values for DataMaskingState. + * Possible values include: 'Disabled', 'Enabled' * @readonly * @enum {string} */ -export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; +export type DataMaskingState = 'Disabled' | 'Enabled'; /** - * 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' + * Defines values for DataMaskingRuleState. + * Possible values include: 'Disabled', 'Enabled' * @readonly * @enum {string} */ -export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; +export type DataMaskingRuleState = 'Disabled' | 'Enabled'; /** - * Defines values for VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' + * Defines values for DataMaskingFunction. + * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' * @readonly * @enum {string} */ -export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; +export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; /** - * Defines values for BlobAuditingPolicyState. - * Possible values include: 'Enabled', 'Disabled' + * Defines values for GeoBackupPolicyState. + * Possible values include: 'Disabled', 'Enabled' * @readonly * @enum {string} */ -export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; +export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; /** - * Defines values for JobAgentState. - * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' + * 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 type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; +export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; /** - * Defines values for JobExecutionLifecycle. - * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', - * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', - * 'Skipped' + * Defines values for ServiceObjectiveName. + * Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', + * 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', + * 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', + * 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', + * 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', + * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', + * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool' * @readonly * @enum {string} */ -export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; +export type ServiceObjectiveName = 'System' | 'System0' | 'System1' | 'System2' | 'System3' | 'System4' | 'System2L' | 'System3L' | 'System4L' | 'Free' | 'Basic' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S6' | 'S7' | 'S9' | 'S12' | 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P11' | 'P15' | 'PRS1' | 'PRS2' | 'PRS4' | 'PRS6' | 'DW100' | 'DW200' | 'DW300' | 'DW400' | 'DW500' | 'DW600' | 'DW1000' | 'DW1200' | 'DW1000c' | 'DW1500' | 'DW1500c' | 'DW2000' | 'DW2000c' | 'DW3000' | 'DW2500c' | 'DW3000c' | 'DW6000' | 'DW5000c' | 'DW6000c' | 'DW7500c' | 'DW10000c' | 'DW15000c' | 'DW30000c' | 'DS100' | 'DS200' | 'DS300' | 'DS400' | 'DS500' | 'DS600' | 'DS1000' | 'DS1200' | 'DS1500' | 'DS2000' | 'ElasticPool'; /** - * Defines values for ProvisioningState. - * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * Defines values for StorageKeyType. + * Possible values include: 'StorageAccessKey', 'SharedAccessKey' * @readonly * @enum {string} */ -export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; +export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey'; /** - * Defines values for JobTargetType. - * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', - * 'SqlServer' + * Defines values for AuthenticationType. + * Possible values include: 'SQL', 'ADPassword' * @readonly * @enum {string} */ -export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer'; +export type AuthenticationType = 'SQL' | 'ADPassword'; /** - * Defines values for JobScheduleType. - * Possible values include: 'Once', 'Recurring' + * Defines values for UnitType. + * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', + * 'bytesPerSecond' * @readonly * @enum {string} */ -export type JobScheduleType = 'Once' | 'Recurring'; +export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; /** - * Defines values for JobStepActionType. - * Possible values include: 'TSql' + * Defines values for PrimaryAggregationType. + * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' * @readonly * @enum {string} */ -export type JobStepActionType = 'TSql'; +export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; /** - * Defines values for JobStepActionSource. - * Possible values include: 'Inline' + * Defines values for UnitDefinitionType. + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', + * 'BytesPerSecond' * @readonly * @enum {string} */ -export type JobStepActionSource = 'Inline'; +export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; /** - * Defines values for JobStepOutputType. - * Possible values include: 'SqlDatabase' + * Defines values for ElasticPoolEdition. + * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' * @readonly * @enum {string} */ -export type JobStepOutputType = 'SqlDatabase'; +export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; /** - * Defines values for JobTargetGroupMembershipType. - * Possible values include: 'Include', 'Exclude' + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' * @readonly * @enum {string} */ -export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; +export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; /** - * Defines values for AutomaticTuningServerMode. - * Possible values include: 'Custom', 'Auto', 'Unspecified' + * Defines values for ReplicationState. + * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' * @readonly * @enum {string} */ -export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; +export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; /** - * Defines values for AutomaticTuningServerReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured' + * Defines values for RecommendedIndexAction. + * Possible values include: 'Create', 'Drop', 'Rebuild' * @readonly * @enum {string} */ -export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; +export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; /** - * Defines values for RestorePointType. - * Possible values include: 'CONTINUOUS', 'DISCRETE' + * Defines values for RecommendedIndexState. + * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', + * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success' * @readonly * @enum {string} */ -export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; +export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success'; /** - * Defines values for ManagementOperationState. - * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', - * 'Cancelled' + * Defines values for RecommendedIndexType. + * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' * @readonly * @enum {string} */ -export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; +export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; /** - * Defines values for MaxSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' + * Defines values for TransparentDataEncryptionStatus. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; +export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; /** - * Defines values for LogSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' + * Defines values for TransparentDataEncryptionActivityStatus. + * Possible values include: 'Encrypting', 'Decrypting' * @readonly * @enum {string} */ -export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; +export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; /** - * Defines values for CapabilityStatus. - * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' + * Defines values for AutomaticTuningMode. + * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' * @readonly * @enum {string} */ -export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; +export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; /** - * Defines values for PerformanceLevelUnit. - * Possible values include: 'DTU', 'VCores' + * Defines values for AutomaticTuningOptionModeDesired. + * Possible values include: 'Off', 'On', 'Default' * @readonly * @enum {string} */ -export type PerformanceLevelUnit = 'DTU' | 'VCores'; +export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; /** - * Defines values for CreateMode. - * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore', - * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', - * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * Defines values for AutomaticTuningOptionModeActual. + * Possible values include: 'Off', 'On' * @readonly * @enum {string} */ -export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; +export type AutomaticTuningOptionModeActual = 'Off' | 'On'; /** - * Defines values for SampleName. - * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * Defines values for AutomaticTuningDisabledReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', + * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' * @readonly * @enum {string} */ -export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; +export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; /** - * 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' + * Defines values for ServerKeyType. + * Possible values include: 'ServiceManaged', 'AzureKeyVault' * @readonly * @enum {string} */ -export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled'; +export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; /** - * Defines values for CatalogCollationType. - * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS' + * Defines values for ReadWriteEndpointFailoverPolicy. + * Possible values include: 'Manual', 'Automatic' * @readonly * @enum {string} */ -export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS'; +export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; /** - * Defines values for DatabaseLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' + * Defines values for ReadOnlyEndpointFailoverPolicy. + * Possible values include: 'Disabled', 'Enabled' * @readonly * @enum {string} */ -export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; /** - * Defines values for DatabaseReadScale. - * Possible values include: 'Enabled', 'Disabled' + * Defines values for FailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' * @readonly * @enum {string} */ -export type DatabaseReadScale = 'Enabled' | 'Disabled'; +export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; /** - * Defines values for ElasticPoolState. - * Possible values include: 'Creating', 'Ready', 'Disabled' + * Defines values for OperationOrigin. + * Possible values include: 'user', 'system' * @readonly * @enum {string} */ -export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; +export type OperationOrigin = 'user' | 'system'; /** - * Defines values for ElasticPoolLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' + * Defines values for SyncAgentState. + * Possible values include: 'Online', 'Offline', 'NeverConnected' * @readonly * @enum {string} */ -export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; /** - * Defines values for VulnerabilityAssessmentScanTriggerType. - * Possible values include: 'OnDemand', 'Recurring' + * Defines values for SyncMemberDbType. + * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' * @readonly * @enum {string} */ -export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; +export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; /** - * Defines values for VulnerabilityAssessmentScanState. - * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * Defines values for SyncGroupLogType. + * Possible values include: 'All', 'Error', 'Warning', 'Success' * @readonly * @enum {string} */ -export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; +export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; /** - * Defines values for InstanceFailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' + * Defines values for SyncConflictResolutionPolicy. + * Possible values include: 'HubWin', 'MemberWin' * @readonly * @enum {string} */ -export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; +export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; /** - * Defines values for InstancePoolLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' + * Defines values for SyncGroupState. + * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' * @readonly * @enum {string} */ -export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; /** - * Defines values for ManagedServerCreateMode. - * Possible values include: 'Default', 'PointInTimeRestore' + * Defines values for SyncDirection. + * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' * @readonly * @enum {string} */ -export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; +export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; /** - * Defines values for ManagedInstanceLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' + * 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 ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; /** - * Defines values for ManagedInstanceProxyOverride. - * Possible values include: 'Proxy', 'Redirect', 'Default' + * Defines values for VirtualNetworkRuleState. + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' * @readonly * @enum {string} */ -export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; /** - * Defines values for ManagedDatabaseStatus. - * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', - * 'Restoring', 'Updating' + * Defines values for BlobAuditingPolicyState. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating'; +export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; + +/** + * Defines values for JobAgentState. + * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' + * @readonly + * @enum {string} + */ +export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; + +/** + * Defines values for JobExecutionLifecycle. + * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', + * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', + * 'Skipped' + * @readonly + * @enum {string} + */ +export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; + +/** + * Defines values for JobTargetType. + * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', + * 'SqlServer' + * @readonly + * @enum {string} + */ +export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer'; + +/** + * Defines values for JobScheduleType. + * Possible values include: 'Once', 'Recurring' + * @readonly + * @enum {string} + */ +export type JobScheduleType = 'Once' | 'Recurring'; + +/** + * Defines values for JobStepActionType. + * Possible values include: 'TSql' + * @readonly + * @enum {string} + */ +export type JobStepActionType = 'TSql'; + +/** + * Defines values for JobStepActionSource. + * Possible values include: 'Inline' + * @readonly + * @enum {string} + */ +export type JobStepActionSource = 'Inline'; + +/** + * Defines values for JobStepOutputType. + * Possible values include: 'SqlDatabase' + * @readonly + * @enum {string} + */ +export type JobStepOutputType = 'SqlDatabase'; + +/** + * Defines values for JobTargetGroupMembershipType. + * Possible values include: 'Include', 'Exclude' + * @readonly + * @enum {string} + */ +export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; + +/** + * Defines values for AutomaticTuningServerMode. + * Possible values include: 'Custom', 'Auto', 'Unspecified' + * @readonly + * @enum {string} + */ +export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; + +/** + * Defines values for AutomaticTuningServerReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured' + * @readonly + * @enum {string} + */ +export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; + +/** + * Defines values for RestorePointType. + * Possible values include: 'CONTINUOUS', 'DISCRETE' + * @readonly + * @enum {string} + */ +export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; + +/** + * Defines values for SensitivityLabelRank. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + * @readonly + * @enum {string} + */ +export type SensitivityLabelRank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; + +/** + * Defines values for ManagementOperationState. + * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', + * 'Cancelled' + * @readonly + * @enum {string} + */ +export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; + +/** + * Defines values for CreateMode. + * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore', + * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * @readonly + * @enum {string} + */ +export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; + +/** + * Defines values for SampleName. + * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * @readonly + * @enum {string} + */ +export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; + +/** + * Defines values for DatabaseStatus. + * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', + * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', + * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling', + * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' + * @readonly + * @enum {string} + */ +export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled'; + +/** + * Defines values for CatalogCollationType. + * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS' + * @readonly + * @enum {string} + */ +export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS'; + +/** + * Defines values for DatabaseLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for DatabaseReadScale. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type DatabaseReadScale = 'Enabled' | 'Disabled'; + +/** + * Defines values for ElasticPoolState. + * Possible values include: 'Creating', 'Ready', 'Disabled' + * @readonly + * @enum {string} + */ +export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; + +/** + * Defines values for ElasticPoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for VulnerabilityAssessmentScanTriggerType. + * Possible values include: 'OnDemand', 'Recurring' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; + +/** + * Defines values for VulnerabilityAssessmentScanState. + * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; + +/** + * Defines values for InstanceFailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; + +/** + * Defines values for InstancePoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for IdentityType. + * Possible values include: 'SystemAssigned' + * @readonly + * @enum {string} + */ +export type IdentityType = 'SystemAssigned'; + +/** + * Defines values for ManagedServerCreateMode. + * Possible values include: 'Default', 'PointInTimeRestore' + * @readonly + * @enum {string} + */ +export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; + +/** + * Defines values for ManagedInstanceLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for ManagedInstanceProxyOverride. + * Possible values include: 'Proxy', 'Redirect', 'Default' + * @readonly + * @enum {string} + */ +export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; + +/** + * Defines values for PrivateLinkServiceConnectionStateStatus. + * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type PrivateLinkServiceConnectionStateStatus = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected'; + +/** + * Defines values for PrivateLinkServiceConnectionStateActionsRequire. + * Possible values include: 'None' + * @readonly + * @enum {string} + */ +export type PrivateLinkServiceConnectionStateActionsRequire = 'None'; + +/** + * Defines values for PrivateEndpointProvisioningState. + * Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting' + * @readonly + * @enum {string} + */ +export type PrivateEndpointProvisioningState = 'Approving' | 'Ready' | 'Dropping' | 'Failed' | 'Rejecting'; + +/** + * Defines values for ServerPublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type ServerPublicNetworkAccess = 'Enabled' | 'Disabled'; + +/** + * Defines values for CheckNameAvailabilityReason. + * Possible values include: 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} + */ +export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; + +/** + * Defines values for MaxSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' + * @readonly + * @enum {string} + */ +export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; + +/** + * Defines values for LogSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' + * @readonly + * @enum {string} + */ +export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; + +/** + * Defines values for CapabilityStatus. + * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' + * @readonly + * @enum {string} + */ +export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; + +/** + * Defines values for PerformanceLevelUnit. + * Possible values include: 'DTU', 'VCores' + * @readonly + * @enum {string} + */ +export type PerformanceLevelUnit = 'DTU' | 'VCores'; + +/** + * Defines values for PauseDelayTimeUnit. + * Possible values include: 'Minutes' + * @readonly + * @enum {string} + */ +export type PauseDelayTimeUnit = 'Minutes'; + +/** + * Defines values for ManagedDatabaseStatus. + * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', + * 'Restoring', 'Updating' + * @readonly + * @enum {string} + */ +export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating'; + +/** + * Defines values for ManagedDatabaseCreateMode. + * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', + * 'RestoreLongTermRetentionBackup' + * @readonly + * @enum {string} + */ +export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery' | 'RestoreLongTermRetentionBackup'; + +/** + * Defines values for LongTermRetentionDatabaseState. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for VulnerabilityAssessmentPolicyBaselineName. + * Possible values include: 'master', 'default' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; + +/** + * Defines values for SensitivityLabelSource. + * Possible values include: 'current', 'recommended' + * @readonly + * @enum {string} + */ +export type SensitivityLabelSource = 'current' | 'recommended'; + +/** + * Defines values for ReplicaType. + * Possible values include: 'Primary', 'ReadableSecondary' + * @readonly + * @enum {string} + */ +export type ReplicaType = 'Primary' | 'ReadableSecondary'; + +/** + * Defines values for CapabilityGroup. + * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' + * @readonly + * @enum {string} + */ +export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions' | 'supportedInstancePoolEditions' | 'supportedManagedInstanceEditions'; + +/** + * Defines values for DatabaseState1. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState1 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for DatabaseState2. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState2 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for DatabaseState3. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState3 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for DatabaseState4. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState4 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for DatabaseState5. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState5 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for DatabaseState6. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} + */ +export type DatabaseState6 = 'All' | 'Live' | 'Deleted'; + +/** + * Defines values for StorageAccountType. + * Possible values include: 'GRS', 'LRS', 'ZRS' + * @readonly + * @enum {string} + */ +export type StorageAccountType = 'GRS' | 'LRS' | 'ZRS'; + +/** + * Defines values for Type. + * Possible values include: 'All', 'Error', 'Warning', 'Success' + * @readonly + * @enum {string} + */ +export type Type = 'All' | 'Error' | 'Warning' | 'Success'; + +/** + * Contains response data for the get operation. + */ +export type RecoverableDatabasesGetResponse = RecoverableDatabase & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabase; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabaseListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +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; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +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; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; + +/** + * Contains response data for the 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; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = 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; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; +}; + +/** + * Contains response data for the listByDatabase operation. + */ +export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRuleListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type 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; + }; +}; + +/** + * Contains response data for the get operation. + */ +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; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +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; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +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; + }; +}; + +/** + * Contains response data for the get operation. + */ +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; + }; +}; + +/** + * Contains response data for the listByDatabase operation. + */ +export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { + /** + * 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: GeoBackupPolicyListResult; + }; +}; + +/** + * Contains response data for the importMethod operation. + */ +export type DatabasesImportMethodResponse = 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; + }; +}; + +/** + * Contains response data for the createImportOperation operation. + */ +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; + }; +}; + +/** + * Contains response data for the exportMethod operation. + */ +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; + }; +}; + +/** + * Contains response data for the listMetrics operation. + */ +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; + }; +}; + +/** + * Contains response data for the listMetricDefinitions operation. + */ +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; + }; +}; + +/** + * Contains response data for the listByServer operation. + */ +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; + }; +}; + +/** + * Contains response data for the get operation. + */ +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 ManagedDatabaseCreateMode. - * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery'; +export type DatabasesCreateOrUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for VulnerabilityAssessmentPolicyBaselineName. - * Possible values include: 'master', 'default' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; +export type DatabasesUpdateResponse = Database & { + /** + * 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: Database; + }; +}; /** - * Defines values for CapabilityGroup. - * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPool operation. */ -export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions'; +export type DatabasesListByElasticPoolResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ReplicaType. - * Possible values include: 'Primary', 'ReadableSecondary' - * @readonly - * @enum {string} - */ -export type ReplicaType = 'Primary' | 'ReadableSecondary'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for Type. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Contains response data for the pause operation. */ -export type Type = 'All' | 'Error' | 'Warning' | 'Success'; +export type DatabasesPauseResponse = 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; + }; +}; /** - * Contains response data for the get operation. + * Contains response data for the resume operation. */ -export type RecoverableDatabasesGetResponse = RecoverableDatabase & { +export type DatabasesResumeResponse = Database & { /** * The underlying HTTP response. */ @@ -7683,14 +8922,14 @@ export type RecoverableDatabasesGetResponse = RecoverableDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabase; + parsedBody: Database; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginImportMethod operation. */ -export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { +export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7703,14 +8942,14 @@ export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListRe /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabaseListResult; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateImportOperation operation. */ -export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { +export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7723,14 +8962,14 @@ export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabase; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginExportMethod operation. */ -export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { +export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The underlying HTTP response. */ @@ -7743,14 +8982,14 @@ export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDa /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabaseListResult; + parsedBody: ImportExportResponse; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { +export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7763,14 +9002,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse /** * The response body as parsed JSON or XML */ - parsedBody: CheckNameAvailabilityResponse; + parsedBody: Database; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginUpdate operation. */ -export type ServersListResponse = ServerListResult & { +export type DatabasesBeginUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -7783,14 +9022,14 @@ export type ServersListResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: Database; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginPause operation. */ -export type ServersListByResourceGroupResponse = ServerListResult & { +export type DatabasesBeginPauseResponse = Database & { /** * The underlying HTTP response. */ @@ -7803,14 +9042,14 @@ export type ServersListByResourceGroupResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: Database; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginResume operation. */ -export type ServersGetResponse = Server & { +export type DatabasesBeginResumeResponse = Database & { /** * The underlying HTTP response. */ @@ -7823,14 +9062,14 @@ export type ServersGetResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: Database; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ServersCreateOrUpdateResponse = Server & { +export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7843,14 +9082,14 @@ export type ServersCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type ServersUpdateResponse = Server & { +export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -7863,14 +9102,14 @@ export type ServersUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listMetrics operation. */ -export type ServersBeginCreateOrUpdateResponse = Server & { +export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The underlying HTTP response. */ @@ -7883,14 +9122,14 @@ export type ServersBeginCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: MetricListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listMetricDefinitions operation. */ -export type ServersBeginUpdateResponse = Server & { +export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { /** * The underlying HTTP response. */ @@ -7903,14 +9142,14 @@ export type ServersBeginUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: MetricDefinitionListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByServer operation. */ -export type ServersListNextResponse = ServerListResult & { +export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -7923,14 +9162,14 @@ export type ServersListNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ElasticPoolListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type ServersListByResourceGroupNextResponse = ServerListResult & { +export type ElasticPoolsGetResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7943,14 +9182,14 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: ElasticPool; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { +export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7963,14 +9202,14 @@ export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPol /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { +export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -7983,14 +9222,14 @@ export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { +export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8003,14 +9242,14 @@ export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { +export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8023,14 +9262,14 @@ export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { +export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -8043,14 +9282,14 @@ export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: ElasticPoolListResult; }; }; /** * Contains response data for the get operation. */ -export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { +export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The underlying HTTP response. */ @@ -8063,14 +9302,14 @@ export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: RecommendedElasticPool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { +export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -8083,14 +9322,14 @@ export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRule; + parsedBody: RecommendedElasticPoolListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listMetrics operation. */ -export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { +export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { /** * The underlying HTTP response. */ @@ -8103,14 +9342,34 @@ export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRuleListResult; + parsedBody: RecommendedElasticPoolListMetricsResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. + */ +export type ReplicationLinksGetResponse = ReplicationLink & { + /** + * 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: ReplicationLink; + }; +}; + +/** + * Contains response data for the listByDatabase operation. */ -export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { +export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ @@ -8123,14 +9382,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: ReplicationLinkListResult; }; }; /** * Contains response data for the get operation. */ -export type FirewallRulesGetResponse = FirewallRule & { +export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8143,14 +9402,14 @@ export type FirewallRulesGetResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type FirewallRulesListByServerResponse = FirewallRuleListResult & { +export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8163,14 +9422,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { +export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { /** * The underlying HTTP response. */ @@ -8183,14 +9442,14 @@ export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: ServerCommunicationLinkListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8203,14 +9462,14 @@ export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { +export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The underlying HTTP response. */ @@ -8223,14 +9482,14 @@ export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicyListResult; + parsedBody: ServiceObjective; }; }; /** - * Contains response data for the importMethod operation. + * Contains response data for the listByServer operation. */ -export type DatabasesImportMethodResponse = ImportExportResponse & { +export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { /** * The underlying HTTP response. */ @@ -8243,14 +9502,14 @@ export type DatabasesImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ServiceObjectiveListResult; }; }; /** - * Contains response data for the createImportOperation operation. + * Contains response data for the listByElasticPool operation. */ -export type DatabasesCreateImportOperationResponse = ImportExportResponse & { +export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { /** * The underlying HTTP response. */ @@ -8263,14 +9522,14 @@ export type DatabasesCreateImportOperationResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPoolActivityListResult; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listByElasticPool operation. */ -export type DatabasesExportMethodResponse = ImportExportResponse & { +export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { /** * The underlying HTTP response. */ @@ -8283,14 +9542,14 @@ export type DatabasesExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPoolDatabaseActivityListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the get operation. */ -export type DatabasesListMetricsResponse = MetricListResult & { +export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The underlying HTTP response. */ @@ -8303,14 +9562,14 @@ export type DatabasesListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: ServiceTierAdvisor; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the listByDatabase operation. */ -export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { /** * The underlying HTTP response. */ @@ -8323,14 +9582,14 @@ export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: ServiceTierAdvisorListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesListByServerResponse = DatabaseListResult & { +export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8343,14 +9602,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: TransparentDataEncryption; }; }; /** * Contains response data for the get operation. */ -export type DatabasesGetResponse = Database & { +export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8363,14 +9622,14 @@ export type DatabasesGetResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByConfiguration operation. */ -export type DatabasesCreateOrUpdateResponse = Database & { +export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { /** * The underlying HTTP response. */ @@ -8383,14 +9642,14 @@ export type DatabasesCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: TransparentDataEncryptionActivityListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByServer operation. */ -export type DatabasesUpdateResponse = Database & { +export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -8403,14 +9662,14 @@ export type DatabasesUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByDatabase operation. */ -export type DatabasesListByElasticPoolResponse = DatabaseListResult & { +export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The underlying HTTP response. */ @@ -8423,14 +9682,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: DatabaseUsageListResult; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the get operation. */ -export type DatabasesPauseResponse = Database & { +export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8443,14 +9702,14 @@ export type DatabasesPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the update operation. */ -export type DatabasesResumeResponse = Database & { +export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -8463,14 +9722,14 @@ export type DatabasesResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the beginImportMethod operation. + * Contains response data for the listByServer operation. */ -export type DatabasesBeginImportMethodResponse = ImportExportResponse & { +export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8483,14 +9742,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the beginCreateImportOperation operation. + * Contains response data for the get operation. */ -export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { +export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8503,14 +9762,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the beginExportMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesBeginExportMethodResponse = ImportExportResponse & { +export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8523,14 +9782,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: EncryptionProtector; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesBeginCreateOrUpdateResponse = Database & { +export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -8543,14 +9802,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesBeginUpdateResponse = Database & { +export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -8563,14 +9822,14 @@ export type DatabasesBeginUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the get operation. */ -export type DatabasesBeginPauseResponse = Database & { +export type FailoverGroupsGetResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8583,14 +9842,14 @@ export type DatabasesBeginPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesBeginResumeResponse = Database & { +export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8603,14 +9862,14 @@ export type DatabasesBeginResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the update operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8623,14 +9882,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the listByServer operation. */ -export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { +export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8643,14 +9902,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the failover operation. */ -export type ElasticPoolsListMetricsResponse = MetricListResult & { +export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8663,14 +9922,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8683,14 +9942,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { +export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8703,14 +9962,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ElasticPoolsGetResponse = ElasticPool & { +export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8723,14 +9982,14 @@ export type ElasticPoolsGetResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginFailover operation. */ -export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { +export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8743,14 +10002,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type ElasticPoolsUpdateResponse = ElasticPool & { +export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -8763,14 +10022,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { +export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -8783,14 +10042,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the list operation. */ -export type ElasticPoolsBeginUpdateResponse = ElasticPool & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8803,14 +10062,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listNext operation. */ -export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { +export type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -8823,14 +10082,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { +export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8843,14 +10102,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPool; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { +export type ServerKeysGetResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8863,14 +10122,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the createOrUpdate operation. */ -export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { +export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8883,14 +10142,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListMetricsResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ReplicationLinksGetResponse = ReplicationLink & { +export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8903,14 +10162,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLink; + parsedBody: ServerKey; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServerNext operation. */ -export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { +export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8923,14 +10182,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type SyncAgentsGetResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8943,14 +10202,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { +export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8963,14 +10222,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { +export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8983,14 +10242,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the generateKey operation. */ -export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { +export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The underlying HTTP response. */ @@ -9003,14 +10262,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato /** * The response body as parsed JSON or XML */ - parsedBody: ServerAdministratorListResult; + parsedBody: SyncAgentKeyProperties; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listLinkedDatabases operation. */ -export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -9023,14 +10282,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { +export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -9043,14 +10302,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { +export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -9063,14 +10322,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listLinkedDatabasesNext operation. */ -export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { +export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -9083,14 +10342,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listSyncDatabaseIds operation. */ -export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { +export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -9103,14 +10362,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLinkListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listHubSchemas operation. */ -export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { +export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9123,14 +10382,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listLogs operation. */ -export type ServiceObjectivesGetResponse = ServiceObjective & { +export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -9143,14 +10402,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjective; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { +export type SyncGroupsGetResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9163,14 +10422,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjectiveListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { +export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9183,14 +10442,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolActivityListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the update operation. */ -export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { +export type SyncGroupsUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9203,14 +10462,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolDatabaseActivityListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { +export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9223,14 +10482,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisor; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { +export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9243,14 +10502,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisorListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9263,14 +10522,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listSyncDatabaseIdsNext operation. */ -export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -9283,14 +10542,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the listByConfiguration operation. + * Contains response data for the listHubSchemasNext operation. */ -export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { +export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9303,14 +10562,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryptionActivityListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listLogsNext operation. */ -export type ServerUsagesListByServerResponse = ServerUsageListResult & { +export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -9323,14 +10582,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerUsageListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { +export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9343,14 +10602,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseUsageListResult; + parsedBody: SyncGroupListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { +export type SyncMembersGetResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9363,14 +10622,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: SyncMember; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { +export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9383,14 +10642,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { +export type SyncMembersUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9403,14 +10662,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySyncGroup operation. */ -export type EncryptionProtectorsGetResponse = EncryptionProtector & { +export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -9423,14 +10682,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMemberSchemas operation. */ -export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { +export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9443,14 +10702,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { +export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9463,14 +10722,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginUpdate operation. */ -export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { +export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9483,14 +10742,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySyncGroupNext operation. */ -export type FailoverGroupsGetResponse = FailoverGroup & { +export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -9503,14 +10762,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMemberSchemasNext operation. */ -export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { +export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9523,14 +10782,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByLocation operation. */ -export type FailoverGroupsUpdateResponse = FailoverGroup & { +export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -9543,14 +10802,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { +export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The underlying HTTP response. */ @@ -9563,14 +10822,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: SubscriptionUsage; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the listByLocationNext operation. */ -export type FailoverGroupsFailoverResponse = FailoverGroup & { +export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -9583,14 +10842,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the list operation. */ -export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { +export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9603,14 +10862,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { +export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9623,14 +10882,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { +export type VirtualClustersGetResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9643,14 +10902,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the update operation. */ -export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { +export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9663,14 +10922,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the beginUpdate operation. */ -export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { +export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -9683,14 +10942,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listNext operation. */ -export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { +export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9703,14 +10962,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type OperationsListResponse = OperationListResult & { +export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -9723,14 +10982,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9743,14 +11002,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerKeysListByServerResponse = ServerKeyListResult & { +export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9763,14 +11022,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ServerKeysGetResponse = ServerKey & { +export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9783,14 +11042,14 @@ export type ServerKeysGetResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerKeysCreateOrUpdateResponse = ServerKey & { +export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -9803,14 +11062,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { +export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -9823,14 +11082,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type ServerKeysListByServerNextResponse = ServerKeyListResult & { +export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9843,14 +11102,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsGetResponse = SyncAgent & { +export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9863,14 +11122,14 @@ export type SyncAgentsGetResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { +export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9883,14 +11142,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsListByServerResponse = SyncAgentListResult & { +export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9903,14 +11162,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the generateKey operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { +export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9923,14 +11182,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentKeyProperties; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listLinkedDatabases operation. + * Contains response data for the get operation. */ -export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { +export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9943,14 +11202,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { +export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -9963,14 +11222,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByServer operation. */ -export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { +export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -9983,14 +11242,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listLinkedDatabasesNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { +export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10003,14 +11262,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listSyncDatabaseIds operation. + * Contains response data for the listByServerNext operation. */ -export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { +export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10023,14 +11282,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listHubSchemas operation. + * Contains response data for the get operation. */ -export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10043,14 +11302,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listLogs operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { +export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10063,14 +11322,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type SyncGroupsGetResponse = SyncGroup & { +export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10083,14 +11342,14 @@ export type SyncGroupsGetResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { +export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10103,14 +11362,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SyncGroupsUpdateResponse = SyncGroup & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -10123,14 +11382,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -10143,14 +11402,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { +export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -10163,14 +11422,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsBeginUpdateResponse = SyncGroup & { +export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -10183,14 +11442,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listSyncDatabaseIdsNext operation. + * Contains response data for the listByDatabase operation. */ -export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -10203,14 +11462,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listHubSchemasNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -10223,14 +11482,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listLogsNext operation. + * Contains response data for the listByServer operation. */ -export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { +export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -10243,14 +11502,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { +export type JobAgentsGetResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10263,14 +11522,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersGetResponse = SyncMember & { +export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10283,14 +11542,14 @@ export type SyncMembersGetResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobAgent; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type SyncMembersCreateOrUpdateResponse = SyncMember & { +export type JobAgentsUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10303,14 +11562,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobAgent; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncMembersUpdateResponse = SyncMember & { +export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10323,14 +11582,14 @@ export type SyncMembersUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listBySyncGroup operation. + * Contains response data for the beginUpdate operation. */ -export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { +export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10343,14 +11602,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listMemberSchemas operation. + * Contains response data for the listByServerNext operation. */ -export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -10363,14 +11622,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByAgent operation. */ -export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { +export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -10383,14 +11642,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type SyncMembersBeginUpdateResponse = SyncMember & { +export type JobCredentialsGetResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -10403,14 +11662,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: JobCredential; }; }; /** - * Contains response data for the listBySyncGroupNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { +export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -10423,14 +11682,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: JobCredential; }; }; /** - * Contains response data for the listMemberSchemasNext operation. + * Contains response data for the listByAgentNext operation. */ -export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -10443,14 +11702,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByAgent operation. */ -export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { +export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10463,14 +11722,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type SubscriptionUsagesGetResponse = SubscriptionUsage & { +export type JobExecutionsCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10483,14 +11742,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsage; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the listByJob operation. */ -export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { +export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10503,14 +11762,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type VirtualClustersListResponse = VirtualClusterListResult & { +export type JobExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10523,14 +11782,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { +export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10543,14 +11802,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type VirtualClustersGetResponse = VirtualCluster & { +export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10563,14 +11822,14 @@ export type VirtualClustersGetResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobExecution; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type VirtualClustersUpdateResponse = VirtualCluster & { +export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10583,14 +11842,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobExecution; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByAgentNext operation. */ -export type VirtualClustersBeginUpdateResponse = VirtualCluster & { +export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10603,14 +11862,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByJobNext operation. */ -export type VirtualClustersListNextResponse = VirtualClusterListResult & { +export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10623,14 +11882,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByAgent operation. */ -export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { +export type JobsListByAgentResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10643,14 +11902,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: JobListResult; }; }; /** * Contains response data for the get operation. */ -export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { +export type JobsGetResponse = Job & { /** * The underlying HTTP response. */ @@ -10663,14 +11922,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: Job; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { +export type JobsCreateOrUpdateResponse = Job & { /** * The underlying HTTP response. */ @@ -10683,14 +11942,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: Job; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByAgentNext operation. */ -export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { +export type JobsListByAgentNextResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -10703,14 +11962,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: JobListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { +export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10723,14 +11982,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { +export type JobStepExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10743,14 +12002,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10763,14 +12022,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByVersion operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type JobStepsListByVersionResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10783,14 +12042,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByVersion operation. */ -export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type JobStepsGetByVersionResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10803,14 +12062,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: JobStep; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type JobStepsListByJobResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10823,14 +12082,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type JobStepsGetResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10843,14 +12102,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: JobStep; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The underlying HTTP response. */ @@ -10863,14 +12122,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobStep; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByVersionNext operation. */ -export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10883,14 +12142,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByJobNext operation. */ -export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { +export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -10903,14 +12162,14 @@ export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingP /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10923,14 +12182,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByStep operation. */ -export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { +export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10943,14 +12202,14 @@ export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAudit /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: JobExecutionListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { +export type JobTargetExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -10963,14 +12222,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { +export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -10983,14 +12242,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByStepNext operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { +export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11003,14 +12262,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByAgent operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { +export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -11023,14 +12282,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: JobTargetGroupListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -11043,14 +12302,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobTargetGroup; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -11063,14 +12322,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -11083,14 +12342,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -11103,14 +12362,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobVersionsGetResponse = JobVersion & { /** * The underlying HTTP response. */ @@ -11123,14 +12382,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobVersion; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByJobNext operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -11143,14 +12402,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the getByResourceGroup operation. */ -export type JobAgentsListByServerResponse = JobAgentListResult & { +export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -11163,14 +12422,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type JobAgentsGetResponse = JobAgent & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11183,14 +12442,14 @@ export type JobAgentsGetResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type JobAgentsCreateOrUpdateResponse = JobAgent & { +export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11203,14 +12462,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroupServer operation. */ -export type JobAgentsUpdateResponse = JobAgent & { +export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11223,14 +12482,14 @@ export type JobAgentsUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { +export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -11243,14 +12502,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type JobAgentsBeginUpdateResponse = JobAgent & { +export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11263,14 +12522,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByLocation operation. */ -export type JobAgentsListByServerNextResponse = JobAgentListResult & { +export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11283,14 +12542,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByServer operation. */ -export type JobCredentialsListByAgentResponse = JobCredentialListResult & { +export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11303,14 +12562,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type JobCredentialsGetResponse = JobCredential & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11323,14 +12582,14 @@ export type JobCredentialsGetResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type JobCredentialsCreateOrUpdateResponse = JobCredential & { +export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11343,14 +12602,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByResourceGroupServerNext operation. */ -export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { +export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11363,14 +12622,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobExecutionsListByAgentResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11383,14 +12642,14 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByLocationNext operation. */ -export type JobExecutionsCreateResponse = JobExecution & { +export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11403,14 +12662,14 @@ export type JobExecutionsCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByServerNext operation. */ -export type JobExecutionsListByJobResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11423,14 +12682,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** * Contains response data for the get operation. */ -export type JobExecutionsGetResponse = JobExecution & { +export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11443,14 +12702,14 @@ export type JobExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type JobExecutionsCreateOrUpdateResponse = JobExecution & { +export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11463,14 +12722,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByDatabase operation. */ -export type JobExecutionsBeginCreateResponse = JobExecution & { +export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11483,14 +12742,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { +export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11503,14 +12762,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the get operation. */ -export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11523,14 +12782,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11543,14 +12802,14 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the update operation. */ -export type JobsListByAgentResponse = JobListResult & { +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11563,14 +12822,14 @@ export type JobsListByAgentResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type JobsGetResponse = Job & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11583,14 +12842,14 @@ export type JobsGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobsCreateOrUpdateResponse = Job & { +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11603,14 +12862,14 @@ export type JobsCreateOrUpdateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the beginUpdate operation. */ -export type JobsListByAgentNextResponse = JobListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11623,14 +12882,14 @@ export type JobsListByAgentNextResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11643,14 +12902,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type JobStepExecutionsGetResponse = JobExecution & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11663,14 +12922,14 @@ export type JobStepExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11683,14 +12942,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByVersion operation. + * Contains response data for the update operation. */ -export type JobStepsListByVersionResponse = JobStepListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11703,14 +12962,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the getByVersion operation. + * Contains response data for the listByRestorableDroppedDatabase operation. */ -export type JobStepsGetByVersionResponse = JobStep & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11723,14 +12982,14 @@ export type JobStepsGetByVersionResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobStepsListByJobResponse = JobStepListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11743,14 +13002,14 @@ export type JobStepsListByJobResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type JobStepsGetResponse = JobStep & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11763,14 +13022,14 @@ export type JobStepsGetResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByRestorableDroppedDatabaseNext operation. */ -export type JobStepsCreateOrUpdateResponse = JobStep & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11783,14 +13042,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByVersionNext operation. + * Contains response data for the get operation. */ -export type JobStepsListByVersionNextResponse = JobStepListResult & { +export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11803,14 +13062,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the update operation. */ -export type JobStepsListByJobNextResponse = JobStepListResult & { +export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -11823,14 +13082,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the get operation. */ -export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11843,14 +13102,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByStep operation. + * Contains response data for the createOrUpdate operation. */ -export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { +export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11863,14 +13122,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type JobTargetExecutionsGetResponse = JobExecution & { +export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11883,14 +13142,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -11903,14 +13162,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByStepNext operation. + * Contains response data for the listByServerNext operation. */ -export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { +export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -11923,14 +13182,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the get operation. */ -export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { +export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11943,14 +13202,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type JobTargetGroupsGetResponse = JobTargetGroup & { +export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -11963,14 +13222,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { +export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -11983,14 +13242,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { +export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12003,14 +13262,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByServerNext operation. */ -export type JobVersionsListByJobResponse = JobVersionListResult & { +export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12023,14 +13282,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstance operation. */ -export type JobVersionsGetResponse = JobVersion & { +export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12043,14 +13302,14 @@ export type JobVersionsGetResponse = JobVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersion; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the get operation. */ -export type JobVersionsListByJobNextResponse = JobVersionListResult & { +export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { /** * The underlying HTTP response. */ @@ -12063,14 +13322,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: RestorableDroppedManagedDatabase; }; }; /** - * Contains response data for the getByResourceGroup operation. + * Contains response data for the listByInstanceNext operation. */ -export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { +export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12083,14 +13342,14 @@ export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the listByResourceGroupDatabase operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { +export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The underlying HTTP response. */ @@ -12103,14 +13362,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: RestorePointListResult; }; }; /** - * Contains response data for the listByResourceGroupLocation operation. + * Contains response data for the create operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { +export type RestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12123,14 +13382,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByResourceGroupServer operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { +export type RestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12143,14 +13402,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { +export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12163,14 +13422,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12183,14 +13442,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12203,14 +13462,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12223,14 +13482,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByResourceGroupDatabaseNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12243,14 +13502,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByResourceGroupLocationNext operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { +export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12263,14 +13522,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByResourceGroupServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { +export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12283,14 +13542,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = Long /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12303,14 +13562,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { +export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12323,14 +13582,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByInstanceNext operation. */ -export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12343,14 +13602,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { +export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12363,14 +13622,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12383,14 +13642,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { +export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12403,14 +13662,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12423,14 +13682,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12443,14 +13702,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12463,14 +13722,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByInstance operation. */ -export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -12483,14 +13742,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -12503,14 +13762,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -12523,14 +13782,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -12543,14 +13802,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -12563,14 +13822,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -12583,14 +13842,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -12603,14 +13862,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByElasticPool operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12623,14 +13882,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the listByRestorableDroppedDatabase operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -12643,14 +13902,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12663,14 +13922,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12683,14 +13942,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the listByRestorableDroppedDatabaseNext operation. + * Contains response data for the exportMethod operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12703,14 +13962,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12723,14 +13982,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12743,14 +14002,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerDnsAliasesGetResponse = ServerDnsAlias & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -12763,14 +14022,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12783,14 +14042,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -12803,14 +14062,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the exportMethod operation. */ -export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { +export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -12823,14 +14082,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -12843,14 +14102,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12863,14 +14122,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12883,14 +14142,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabase operation. */ -export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12903,14 +14162,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12923,14 +14182,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { +export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12943,14 +14202,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { +export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -12963,14 +14222,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { +export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -12983,14 +14242,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabase; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the failover operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { +export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13003,14 +14262,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type RestorePointsListByDatabaseResponse = RestorePointListResult & { +export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13023,14 +14282,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the create operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type RestorePointsCreateResponse = RestorePoint & { +export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13043,14 +14302,14 @@ export type RestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginFailover operation. */ -export type RestorePointsGetResponse = RestorePoint & { +export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13063,14 +14322,14 @@ export type RestorePointsGetResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type RestorePointsBeginCreateResponse = RestorePoint & { +export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13083,14 +14342,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { +export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -13103,14 +14362,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { +export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13123,14 +14382,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13143,14 +14402,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13163,14 +14422,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { +export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13183,14 +14442,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13203,14 +14462,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { +export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13223,14 +14482,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13243,14 +14502,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByInstance operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { +export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13263,14 +14522,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13283,14 +14542,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13303,14 +14562,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SensitivityLabelsGetResponse = SensitivityLabel & { +export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13323,14 +14582,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13343,14 +14602,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -13363,14 +14622,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13383,14 +14642,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { +export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13403,14 +14662,14 @@ export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { +export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -13423,14 +14682,14 @@ export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministra /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -13443,14 +14702,14 @@ export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -13463,14 +14722,14 @@ export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedIn /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { +export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { /** * The underlying HTTP response. */ @@ -13483,14 +14742,14 @@ export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedIns /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: RecoverableManagedDatabase; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByInstanceNext operation. */ -export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { +export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -13503,14 +14762,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13523,14 +14782,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13543,14 +14802,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the listByInstance operation. */ -export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13563,14 +14822,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByInstanceNext operation. */ -export type CapabilitiesListByLocationResponse = LocationCapabilities & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13583,14 +14842,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The response body as parsed JSON or XML */ - parsedBody: LocationCapabilities; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13603,14 +14862,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13623,14 +14882,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listByServer operation. */ -export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13643,14 +14902,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByServerNext operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13663,14 +14922,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13683,14 +14942,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: SensitivityLabel; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13703,14 +14962,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13723,14 +14982,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13743,14 +15002,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13763,14 +15022,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13783,14 +15042,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SensitivityLabelListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type InstancePoolsGetResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13803,14 +15062,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: InstancePool; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13823,14 +15082,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type InstancePoolsUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13843,14 +15102,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13863,14 +15122,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { +export type InstancePoolsListResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13883,14 +15142,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { +export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13903,14 +15162,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the beginUpdate operation. */ -export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { +export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -13923,14 +15182,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { +export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13943,14 +15202,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listNext operation. */ -export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -13963,14 +15222,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstancePool operation. */ -export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { +export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -13983,14 +15242,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { +export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -14003,14 +15262,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the listByInstancePool operation. */ -export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14023,14 +15282,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { +export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14043,14 +15302,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedInstanceListResult; }; }; /** * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstancesGetResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14063,14 +15322,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstance; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14083,14 +15342,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstance; }; }; /** * Contains response data for the update operation. */ -export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14103,14 +15362,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the list operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14123,14 +15382,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14143,14 +15402,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstance; }; }; /** * Contains response data for the beginUpdate operation. */ -export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14163,14 +15422,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14183,14 +15442,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { +export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14203,14 +15462,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { +export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14223,14 +15482,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14243,14 +15502,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14263,14 +15522,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { +export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -14283,14 +15542,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -14303,14 +15562,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { +export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -14323,14 +15582,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -14343,14 +15602,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ @@ -14363,14 +15622,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: PrivateLinkResource; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { +export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -14383,14 +15642,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByResourceGroup operation. */ -export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { +export type ServersListByResourceGroupResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -14403,14 +15662,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: ServerListResult; }; }; /** * Contains response data for the get operation. */ -export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { +export type ServersGetResponse = Server & { /** * The underlying HTTP response. */ @@ -14423,14 +15682,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabase; + parsedBody: Server; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { +export type ServersCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -14443,14 +15702,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: Server; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { +export type ServersUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -14463,14 +15722,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: Server; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { +export type ServersListResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -14483,14 +15742,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the checkNameAvailability operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { /** * The underlying HTTP response. */ @@ -14503,14 +15762,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: CheckNameAvailabilityResponse; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ServersBeginCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -14523,14 +15782,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: Server; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type ServersBeginUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -14543,14 +15802,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: Server; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -14563,14 +15822,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { +export type ServersListNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -14583,14 +15842,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByLocation operation. */ -export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { +export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The underlying HTTP response. */ @@ -14603,14 +15862,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: LocationCapabilities; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { +export type LongTermRetentionManagedInstanceBackupsGetResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -14623,14 +15882,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14643,14 +15902,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14663,14 +15922,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the listByLocation operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type LongTermRetentionManagedInstanceBackupsListByLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14683,14 +15942,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the getByResourceGroup operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -14703,14 +15962,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14723,14 +15982,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupInstance operation. */ -export type InstancePoolsGetResponse = InstancePool & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14743,14 +16002,14 @@ export type InstancePoolsGetResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type InstancePoolsCreateOrUpdateResponse = InstancePool & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14763,14 +16022,14 @@ export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByDatabaseNext operation. */ -export type InstancePoolsUpdateResponse = InstancePool & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14783,14 +16042,14 @@ export type InstancePoolsUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByInstanceNext operation. */ -export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14803,14 +16062,14 @@ export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByLocationNext operation. */ -export type InstancePoolsListResponse = InstancePoolListResult & { +export type LongTermRetentionManagedInstanceBackupsListByLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14823,14 +16082,14 @@ export type InstancePoolsListResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14843,14 +16102,14 @@ export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByResourceGroupInstanceNext operation. */ -export type InstancePoolsBeginUpdateResponse = InstancePool & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14863,14 +16122,14 @@ export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14883,14 +16142,14 @@ export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResul /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type InstancePoolsListNextResponse = InstancePoolListResult & { +export type ManagedInstanceLongTermRetentionPoliciesGetResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -14903,14 +16162,14 @@ export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the createOrUpdate operation. */ -export type UsagesListByInstancePoolResponse = UsageListResult & { +export type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -14923,14 +16182,14 @@ export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the listByDatabase operation. */ -export type UsagesListByInstancePoolNextResponse = UsageListResult & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -14943,14 +16202,14 @@ export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { +export type ManagedInstanceLongTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -14963,14 +16222,14 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -14983,14 +16242,14 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedInstancesGetResponse = ManagedInstance & { +export type WorkloadGroupsGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15003,14 +16262,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: WorkloadGroup; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { +export type WorkloadGroupsCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15023,14 +16282,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedInstancesUpdateResponse = ManagedInstance & { +export type WorkloadGroupsListByDatabaseResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -15043,14 +16302,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListResponse = ManagedInstanceListResult & { +export type WorkloadGroupsBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15063,14 +16322,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { +export type WorkloadGroupsListByDatabaseNextResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -15083,14 +16342,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { +export type WorkloadClassifiersGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15103,14 +16362,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { +export type WorkloadClassifiersCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15123,14 +16382,14 @@ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByWorkloadGroup operation. */ -export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { +export type WorkloadClassifiersListByWorkloadGroupResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -15143,14 +16402,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { +export type WorkloadClassifiersBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15163,14 +16422,14 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkloadGroupNext operation. */ -export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & { +export type WorkloadClassifiersListByWorkloadGroupNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -15183,7 +16442,7 @@ export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDet /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseRestoreDetailsResult; + parsedBody: WorkloadClassifierListResult; }; }; @@ -15267,6 +16526,26 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & { }; }; +/** + * Contains response data for the listInaccessibleByInstance operation. + */ +export type ManagedDatabasesListInaccessibleByInstanceResponse = 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 beginCreateOrUpdate operation. */ @@ -15328,9 +16607,9 @@ export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResu }; /** - * Contains response data for the get operation. + * Contains response data for the listInaccessibleByInstanceNext operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type ManagedDatabasesListInaccessibleByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -15343,14 +16622,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { +export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15363,14 +16642,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { +export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15383,14 +16662,14 @@ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConn /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { +export type ServerAzureADAdministratorsListByServerResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -15403,14 +16682,14 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the disableAzureADOnlyAuthentication operation. */ -export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { +export type ServerAzureADAdministratorsDisableAzureADOnlyAuthenticationResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15423,14 +16702,14 @@ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpoint /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { +export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15443,14 +16722,14 @@ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListRe /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginDisableAzureADOnlyAuthentication operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type ServerAzureADAdministratorsBeginDisableAzureADOnlyAuthenticationResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15463,14 +16742,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: ServerAzureADAdministrator; }; }; /** * Contains response data for the listByServerNext operation. */ -export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { +export type ServerAzureADAdministratorsListByServerNextResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -15483,6 +16762,6 @@ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: AdministratorListResult; }; }; diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts index a31090e2d7d3..a6c98dd8cc97 100644 --- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..06d218a9f7d8 100644 --- a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts @@ -60,12 +60,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +74,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..6d6e198b1801 100644 --- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts @@ -60,12 +60,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +74,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..ae556f918829 100644 --- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..a650a9cb285b 100644 --- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..a650a9cb285b 100644 --- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..debba15b3c59 100644 --- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..a650a9cb285b 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..0ae9c50f6161 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..aeecbc570ac6 100644 --- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..f65953f7a794 100644 --- a/sdk/sql/arm-sql/src/models/jobsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..8700fec9a337 100644 --- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackupListResult, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..cbf119b3f506 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts @@ -0,0 +1,128 @@ +/* + * 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, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionBackupListResult, + ManagedInstanceLongTermRetentionPolicy, + 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, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + 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..1ba0c3127ff4 100644 --- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -59,12 +59,13 @@ export { ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPolicyListResult, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..c8679afdb45a 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts @@ -58,13 +58,14 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseSecurityAlertPolicyListResult, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..0be199e072bb 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..49cfe48f6ee7 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..ae8a85b4a14e 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..818b3f612186 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts @@ -60,13 +60,14 @@ export { ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseListResult, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseUpdate, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -74,6 +75,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -99,6 +101,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -121,5 +124,7 @@ export { 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..90b5fb6b73fd 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts @@ -58,13 +58,14 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceAdministratorListResult, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..5de714d0a9aa 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts @@ -58,13 +58,14 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceEncryptionProtectorListResult, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..296f6c464ca0 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts @@ -58,13 +58,14 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceKeyListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..ba97fe0caef0 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts @@ -0,0 +1,128 @@ +/* + * 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, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceLongTermRetentionPolicyListResult, + 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, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..bad62e057fdd 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessmentListResult, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..074c9ba6e16f 100644 --- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts @@ -58,13 +58,14 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceUpdate, ManagedInstanceVulnerabilityAssessment, @@ -73,6 +74,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..1ba0c3127ff4 100644 --- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts @@ -59,12 +59,13 @@ export { ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPolicyListResult, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..e9982bf5f445 100644 --- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..c841f87e7869 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,47 +1262,6 @@ export const ReplicationLink: msRest.CompositeMapper = { } }; -export const ServerAzureADAdministrator: msRest.CompositeMapper = { - serializedName: "ServerAzureADAdministrator", - type: { - name: "Composite", - className: "ServerAzureADAdministrator", - modelProperties: { - ...ProxyResource.type.modelProperties, - administratorType: { - required: true, - isConstant: true, - serializedName: "properties.administratorType", - defaultValue: 'ActiveDirectory', - type: { - name: "String" - } - }, - login: { - required: true, - serializedName: "properties.login", - type: { - name: "String" - } - }, - sid: { - required: true, - serializedName: "properties.sid", - type: { - name: "Uuid" - } - }, - tenantId: { - required: true, - serializedName: "properties.tenantId", - type: { - name: "Uuid" - } - } - } - } -}; - export const ServerCommunicationLink: msRest.CompositeMapper = { serializedName: "ServerCommunicationLink", type: { @@ -2779,146 +2670,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: { @@ -3691,6 +3442,12 @@ export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -3766,9 +3523,15 @@ export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } - } - } - } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } + } + } + } }; export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { @@ -3835,6 +3598,12 @@ export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -3911,6 +3680,12 @@ export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -5256,6 +5031,19 @@ export const SensitivityLabel: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + rank: { + serializedName: "properties.rank", + type: { + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + } } } } @@ -5519,645 +5307,1182 @@ export const ElasticPoolOperation: msRest.CompositeMapper = { } }; -export const MaxSizeCapability: msRest.CompositeMapper = { - serializedName: "MaxSizeCapability", +export const Database: msRest.CompositeMapper = { + serializedName: "Database", type: { name: "Composite", - className: "MaxSizeCapability", + className: "Database", modelProperties: { - limit: { - readOnly: true, - serializedName: "limit", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "Sku" } }, - unit: { + kind: { readOnly: true, - serializedName: "unit", + serializedName: "kind", type: { name: "String" } - } - } - } -}; - -export const LogSizeCapability: msRest.CompositeMapper = { - serializedName: "LogSizeCapability", - type: { - name: "Composite", - className: "LogSizeCapability", - modelProperties: { - limit: { - readOnly: true, - serializedName: "limit", - type: { - name: "Number" - } }, - unit: { + managedBy: { readOnly: true, - serializedName: "unit", + serializedName: "managedBy", type: { name: "String" } - } - } - } -}; - -export const MaxSizeRangeCapability: msRest.CompositeMapper = { - serializedName: "MaxSizeRangeCapability", - type: { - name: "Composite", - className: "MaxSizeRangeCapability", - modelProperties: { - minValue: { - readOnly: true, - serializedName: "minValue", - type: { - name: "Composite", - className: "MaxSizeCapability" - } }, - maxValue: { - readOnly: true, - serializedName: "maxValue", + createMode: { + serializedName: "properties.createMode", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - scaleSize: { - readOnly: true, - serializedName: "scaleSize", + collation: { + serializedName: "properties.collation", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - logSize: { - readOnly: true, - serializedName: "logSize", + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "Composite", - className: "LogSizeCapability" + name: "Number" } }, - status: { - readOnly: true, - serializedName: "status", + sampleName: { + serializedName: "properties.sampleName", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + elasticPoolId: { + serializedName: "properties.elasticPoolId", type: { name: "String" } - } - } - } -}; - -export const PerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "PerformanceLevelCapability", - type: { - name: "Composite", - className: "PerformanceLevelCapability", - modelProperties: { - value: { - readOnly: true, - serializedName: "value", + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { - name: "Number" + name: "String" } }, - unit: { + status: { readOnly: true, - serializedName: "unit", + serializedName: "properties.status", type: { name: "String" } - } - } - } -}; - -export const LicenseTypeCapability: msRest.CompositeMapper = { - serializedName: "LicenseTypeCapability", - type: { - name: "Composite", - className: "LicenseTypeCapability", - modelProperties: { - name: { + }, + databaseId: { readOnly: true, - serializedName: "name", + serializedName: "properties.databaseId", type: { - name: "String" + name: "Uuid" } }, - status: { + creationDate: { readOnly: true, - serializedName: "status", + serializedName: "properties.creationDate", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "DateTime" } }, - reason: { - serializedName: "reason", + currentServiceObjectiveName: { + readOnly: true, + serializedName: "properties.currentServiceObjectiveName", type: { name: "String" } - } - } - } -}; - -export const ServiceObjectiveCapability: msRest.CompositeMapper = { - serializedName: "ServiceObjectiveCapability", - type: { - name: "Composite", - className: "ServiceObjectiveCapability", - modelProperties: { - id: { + }, + requestedServiceObjectiveName: { readOnly: true, - serializedName: "id", + serializedName: "properties.requestedServiceObjectiveName", type: { - name: "Uuid" + name: "String" } }, - name: { + defaultSecondaryLocation: { readOnly: true, - serializedName: "name", + serializedName: "properties.defaultSecondaryLocation", type: { name: "String" } }, - supportedMaxSizes: { + failoverGroupId: { readOnly: true, - serializedName: "supportedMaxSizes", + serializedName: "properties.failoverGroupId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - performanceLevel: { - readOnly: true, - serializedName: "performanceLevel", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "Composite", - className: "PerformanceLevelCapability" + name: "DateTime" } }, - sku: { - readOnly: true, - serializedName: "sku", + sourceDatabaseDeletionDate: { + serializedName: "properties.sourceDatabaseDeletionDate", type: { - name: "Composite", - className: "Sku" + name: "DateTime" } }, - supportedLicenseTypes: { - readOnly: true, - serializedName: "supportedLicenseTypes", + recoveryServicesRecoveryPointId: { + serializedName: "properties.recoveryServicesRecoveryPointId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", type: { name: "String" } - } - } - } -}; - -export const EditionCapability: msRest.CompositeMapper = { - serializedName: "EditionCapability", - type: { - name: "Composite", - className: "EditionCapability", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", + }, + catalogCollation: { + serializedName: "properties.catalogCollation", type: { name: "String" } }, - supportedServiceLevelObjectives: { - readOnly: true, - serializedName: "supportedServiceLevelObjectives", + zoneRedundant: { + serializedName: "properties.zoneRedundant", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceObjectiveCapability" - } - } + name: "Boolean" } }, - zoneRedundant: { + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + maxLogSizeBytes: { readOnly: true, - serializedName: "zoneRedundant", + serializedName: "properties.maxLogSizeBytes", type: { - name: "Boolean" + name: "Number" } }, - status: { + earliestRestoreDate: { readOnly: true, - serializedName: "status", + serializedName: "properties.earliestRestoreDate", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "DateTime" } }, - reason: { - serializedName: "reason", + readScale: { + serializedName: "properties.readScale", type: { name: "String" } - } - } - } -}; - -export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", - modelProperties: { - limit: { - readOnly: true, - serializedName: "limit", + }, + readReplicaCount: { + serializedName: "properties.readReplicaCount", type: { name: "Number" } }, - unit: { + currentSku: { readOnly: true, - serializedName: "unit", + serializedName: "properties.currentSku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - status: { + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } + }, + pausedDate: { readOnly: true, - serializedName: "status", + serializedName: "properties.pausedDate", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "DateTime" } }, - reason: { - serializedName: "reason", + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", type: { - name: "String" + name: "DateTime" } } } } }; -export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", +export const DatabaseUpdate: msRest.CompositeMapper = { + serializedName: "DatabaseUpdate", type: { name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", + className: "DatabaseUpdate", modelProperties: { - limit: { - readOnly: true, - serializedName: "limit", + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "Sku" } }, - unit: { - readOnly: true, - serializedName: "unit", + createMode: { + serializedName: "properties.createMode", type: { name: "String" } }, - supportedPerDatabaseMinPerformanceLevels: { - readOnly: true, - serializedName: "supportedPerDatabaseMinPerformanceLevels", + collation: { + serializedName: "properties.collation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" - } - } + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "Number" } }, - reason: { - serializedName: "reason", + sampleName: { + serializedName: "properties.sampleName", type: { name: "String" } - } - } - } -}; - -export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerformanceLevelCapability", - type: { - name: "Composite", - className: "ElasticPoolPerformanceLevelCapability", - modelProperties: { - performanceLevel: { - readOnly: true, - serializedName: "performanceLevel", + }, + elasticPoolId: { + serializedName: "properties.elasticPoolId", type: { - name: "Composite", - className: "PerformanceLevelCapability" + name: "String" } }, - sku: { - readOnly: true, - serializedName: "sku", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - supportedLicenseTypes: { + status: { readOnly: true, - serializedName: "supportedLicenseTypes", + serializedName: "properties.status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - maxDatabaseCount: { + databaseId: { readOnly: true, - serializedName: "maxDatabaseCount", + serializedName: "properties.databaseId", type: { - name: "Number" + name: "Uuid" } }, - includedMaxSize: { + creationDate: { readOnly: true, - serializedName: "includedMaxSize", + serializedName: "properties.creationDate", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "DateTime" } }, - supportedMaxSizes: { + currentServiceObjectiveName: { readOnly: true, - serializedName: "supportedMaxSizes", + serializedName: "properties.currentServiceObjectiveName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - supportedPerDatabaseMaxSizes: { + requestedServiceObjectiveName: { readOnly: true, - serializedName: "supportedPerDatabaseMaxSizes", + serializedName: "properties.requestedServiceObjectiveName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - supportedPerDatabaseMaxPerformanceLevels: { + defaultSecondaryLocation: { readOnly: true, - serializedName: "supportedPerDatabaseMaxPerformanceLevels", + serializedName: "properties.defaultSecondaryLocation", type: { - name: "Sequence", - element: { - 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" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } + }, + pausedDate: { + readOnly: true, + serializedName: "properties.pausedDate", + type: { + name: "DateTime" + } + }, + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", + type: { + name: "DateTime" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ResourceMoveDefinition: msRest.CompositeMapper = { + serializedName: "ResourceMoveDefinition", + type: { + name: "Composite", + className: "ResourceMoveDefinition", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseSettings", + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseSettings", + modelProperties: { + minCapacity: { + serializedName: "minCapacity", + type: { + name: "Number" + } + }, + maxCapacity: { + serializedName: "maxCapacity", + type: { + name: "Number" + } + } + } + } +}; + +export const ElasticPool: msRest.CompositeMapper = { + serializedName: "ElasticPool", + type: { + name: "Composite", + className: "ElasticPool", + modelProperties: { + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", + type: { + name: "Number" + } + }, + perDatabaseSettings: { + serializedName: "properties.perDatabaseSettings", + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseSettings" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + } + } + } +}; + +export const ElasticPoolUpdate: msRest.CompositeMapper = { + serializedName: "ElasticPoolUpdate", + type: { + name: "Composite", + className: "ElasticPoolUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", + type: { + name: "Number" + } + }, + perDatabaseSettings: { + serializedName: "properties.perDatabaseSettings", + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseSettings" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanError", + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanError", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecord", + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanRecord", + modelProperties: { + ...ProxyResource.type.modelProperties, + scanId: { + readOnly: true, + serializedName: "properties.scanId", + type: { + name: "String" + } + }, + triggerType: { + readOnly: true, + serializedName: "properties.triggerType", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + errors: { + readOnly: true, + serializedName: "properties.errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanError" + } + } + } + }, + storageContainerPath: { + readOnly: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } + }, + numberOfFailedSecurityChecks: { + readOnly: true, + serializedName: "properties.numberOfFailedSecurityChecks", + type: { + name: "Number" + } + } + } + } +}; + +export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentScansExport", + type: { + name: "Composite", + className: "DatabaseVulnerabilityAssessmentScansExport", + modelProperties: { + ...ProxyResource.type.modelProperties, + exportedReportLocation: { + readOnly: true, + serializedName: "properties.exportedReportLocation", + type: { + name: "String" + } + } + } + } +}; + +export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupReadWriteEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadWriteEndpoint", + modelProperties: { + failoverPolicy: { + required: true, + serializedName: "failoverPolicy", + type: { + name: "String" + } + }, + failoverWithDataLossGracePeriodMinutes: { + serializedName: "failoverWithDataLossGracePeriodMinutes", + type: { + name: "Number" + } + } + } + } +}; + +export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupReadOnlyEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadOnlyEndpoint", + modelProperties: { + failoverPolicy: { + serializedName: "failoverPolicy", + type: { + name: "String" + } + } + } + } +}; + +export const PartnerRegionInfo: msRest.CompositeMapper = { + serializedName: "PartnerRegionInfo", + type: { + name: "Composite", + className: "PartnerRegionInfo", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + replicationRole: { + readOnly: true, + serializedName: "replicationRole", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstancePairInfo: msRest.CompositeMapper = { + serializedName: "ManagedInstancePairInfo", + type: { + name: "Composite", + className: "ManagedInstancePairInfo", + modelProperties: { + primaryManagedInstanceId: { + serializedName: "primaryManagedInstanceId", + type: { + name: "String" + } + }, + partnerManagedInstanceId: { + serializedName: "partnerManagedInstanceId", + 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", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadWriteEndpoint" + } + }, + readOnlyEndpoint: { + serializedName: "properties.readOnlyEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadOnlyEndpoint" + } + }, + replicationRole: { + readOnly: true, + serializedName: "properties.replicationRole", + type: { + name: "String" + } + }, + replicationState: { + readOnly: true, + serializedName: "properties.replicationState", + type: { + name: "String" + } + }, + partnerRegions: { + required: true, + serializedName: "properties.partnerRegions", + type: { + name: "Sequence", + element: { + type: { name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" + className: "PartnerRegionInfo" + } + } + } + }, + managedInstancePairs: { + required: true, + serializedName: "properties.managedInstancePairs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstancePairInfo" } } } + } + } + } +}; + +export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicy", + type: { + name: "Composite", + className: "BackupShortTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + } + } + } +}; + +export const TdeCertificate: msRest.CompositeMapper = { + serializedName: "TdeCertificate", + type: { + name: "Composite", + className: "TdeCertificate", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateBlob: { + required: true, + serializedName: "properties.privateBlob", + type: { + name: "String" + } + }, + certPassword: { + serializedName: "properties.certPassword", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceKey: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKey", + type: { + name: "Composite", + className: "ManagedInstanceKey", + modelProperties: { + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", + type: { + name: "String" + } + }, + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtector", + type: { + name: "Composite", + className: "ManagedInstanceEncryptionProtector", + modelProperties: { + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + serverKeyName: { + serializedName: "properties.serverKeyName", + type: { + name: "String" + } + }, + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", + type: { + name: "String" + } + }, + uri: { + readOnly: true, + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", + type: { + name: "String" + } + } + } + } +}; + +export const RecoverableManagedDatabase: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabase", + type: { + name: "Composite", + className: "RecoverableManagedDatabase", + modelProperties: { + ...ProxyResource.type.modelProperties, + lastAvailableBackupDate: { + readOnly: true, + serializedName: "properties.lastAvailableBackupDate", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", + type: { + name: "String" + } }, - status: { - readOnly: true, - serializedName: "status", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } + }, + recurringScans: { + serializedName: "properties.recurringScans", + type: { + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" + } } } } }; -export const ElasticPoolEditionCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolEditionCapability", +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", type: { name: "Composite", - className: "ElasticPoolEditionCapability", + className: "ServerVulnerabilityAssessment", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { name: "String" } }, - supportedElasticPoolPerformanceLevels: { - readOnly: true, - serializedName: "supportedElasticPoolPerformanceLevels", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerformanceLevelCapability" - } - } - } - }, - zoneRedundant: { - readOnly: true, - serializedName: "zoneRedundant", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Boolean" + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "String" + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } } } } }; -export const ServerVersionCapability: msRest.CompositeMapper = { - serializedName: "ServerVersionCapability", +export const InstancePool: msRest.CompositeMapper = { + serializedName: "InstancePool", type: { name: "Composite", - className: "ServerVersionCapability", + className: "InstancePool", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + subnetId: { + required: true, + serializedName: "properties.subnetId", type: { name: "String" } }, - supportedEditions: { - readOnly: true, - serializedName: "supportedEditions", + vCores: { + required: true, + serializedName: "properties.vCores", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EditionCapability" - } - } + name: "Number" } }, - supportedElasticPoolEditions: { - readOnly: true, - serializedName: "supportedElasticPoolEditions", + licenseType: { + required: true, + serializedName: "properties.licenseType", type: { - name: "Sequence", - element: { + name: "String" + } + } + } + } +}; + +export const InstancePoolUpdate: msRest.CompositeMapper = { + serializedName: "InstancePoolUpdate", + type: { + name: "Composite", + className: "InstancePoolUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "ElasticPoolEditionCapability" + name: "String" } } } - }, - status: { - readOnly: true, - serializedName: "status", + } + } + } +}; + +export const Name: msRest.CompositeMapper = { + serializedName: "Name", + type: { + name: "Composite", + className: "Name", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } @@ -6166,291 +6491,224 @@ export const ServerVersionCapability: msRest.CompositeMapper = { } }; -export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVcoresCapability", +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", type: { name: "Composite", - className: "ManagedInstanceVcoresCapability", + className: "Usage", modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, name: { readOnly: true, serializedName: "name", + type: { + name: "Composite", + className: "Name" + } + }, + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - value: { + unit: { readOnly: true, - serializedName: "value", + serializedName: "unit", + type: { + name: "String" + } + }, + currentValue: { + readOnly: true, + serializedName: "currentValue", type: { name: "Number" } }, - status: { + limit: { readOnly: true, - serializedName: "status", + serializedName: "limit", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "Number" + } + }, + requestedLimit: { + readOnly: true, + serializedName: "requestedLimit", + type: { + name: "Number" + } + } + } + } +}; + +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" } }, - reason: { - serializedName: "reason", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "String" + name: "Uuid" } } } } }; -export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceFamilyCapability", +export const ManagedInstance: msRest.CompositeMapper = { + serializedName: "ManagedInstance", type: { name: "Composite", - className: "ManagedInstanceFamilyCapability", + className: "ManagedInstance", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "ResourceIdentity" } }, sku: { - readOnly: true, serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - supportedLicenseTypes: { - readOnly: true, - serializedName: "supportedLicenseTypes", + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - supportedVcoresValues: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "supportedVcoresValues", + serializedName: "properties.fullyQualifiedDomainName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceVcoresCapability" - } - } + name: "String" } }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - supportedStorageSizes: { - readOnly: true, - serializedName: "supportedStorageSizes", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + subnetId: { + serializedName: "properties.subnetId", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } - } - } - } -}; - -export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEditionCapability", - type: { - name: "Composite", - className: "ManagedInstanceEditionCapability", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", + }, + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } }, - supportedFamilies: { - readOnly: true, - serializedName: "supportedFamilies", + vCores: { + serializedName: "properties.vCores", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceFamilyCapability" - } - } + name: "Number" } }, - status: { - readOnly: true, - serializedName: "status", + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "Number" } }, - reason: { - serializedName: "reason", + collation: { + serializedName: "properties.collation", type: { name: "String" } - } - } - } -}; - -export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVersionCapability", - type: { - name: "Composite", - className: "ManagedInstanceVersionCapability", - modelProperties: { - name: { + }, + dnsZone: { readOnly: true, - serializedName: "name", + serializedName: "properties.dnsZone", type: { name: "String" } }, - supportedEditions: { - readOnly: true, - serializedName: "supportedEditions", + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceEditionCapability" - } - } + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "Boolean" } }, - reason: { - serializedName: "reason", - type: { - name: "String" - } - } - } - } -}; - -export const LocationCapabilities: msRest.CompositeMapper = { - serializedName: "LocationCapabilities", - type: { - name: "Composite", - className: "LocationCapabilities", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", type: { name: "String" } }, - supportedServerVersions: { - readOnly: true, - serializedName: "supportedServerVersions", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerVersionCapability" - } - } + name: "DateTime" } }, - supportedManagedInstanceVersions: { - readOnly: true, - serializedName: "supportedManagedInstanceVersions", + proxyOverride: { + serializedName: "properties.proxyOverride", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceVersionCapability" - } - } + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + timezoneId: { + serializedName: "properties.timezoneId", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + instancePoolId: { + serializedName: "properties.instancePoolId", type: { name: "String" } @@ -6459,13 +6717,12 @@ export const LocationCapabilities: msRest.CompositeMapper = { } }; -export const Database: msRest.CompositeMapper = { - serializedName: "Database", +export const ManagedInstanceUpdate: msRest.CompositeMapper = { + serializedName: "ManagedInstanceUpdate", type: { name: "Composite", - className: "Database", + className: "ManagedInstanceUpdate", modelProperties: { - ...TrackedResource.type.modelProperties, sku: { serializedName: "sku", type: { @@ -6473,101 +6730,89 @@ export const Database: msRest.CompositeMapper = { className: "Sku" } }, - kind: { - readOnly: true, - serializedName: "kind", + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", type: { name: "String" } }, - managedBy: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "managedBy", + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - createMode: { - serializedName: "properties.createMode", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - collation: { - serializedName: "properties.collation", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", - type: { - name: "Number" - } - }, - sampleName: { - serializedName: "properties.sampleName", + subnetId: { + serializedName: "properties.subnetId", type: { name: "String" } }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + licenseType: { + serializedName: "properties.licenseType", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + vCores: { + serializedName: "properties.vCores", type: { - name: "String" + name: "Number" } }, - databaseId: { - readOnly: true, - serializedName: "properties.databaseId", + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", type: { - name: "Uuid" + name: "Number" } }, - creationDate: { - readOnly: true, - serializedName: "properties.creationDate", + collation: { + serializedName: "properties.collation", type: { - name: "DateTime" + name: "String" } }, - currentServiceObjectiveName: { + dnsZone: { readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + serializedName: "properties.dnsZone", type: { name: "String" } }, - requestedServiceObjectiveName: { - readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", type: { name: "String" } }, - defaultSecondaryLocation: { - readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", type: { - name: "String" + name: "Boolean" } }, - failoverGroupId: { - readOnly: true, - serializedName: "properties.failoverGroupId", + sourceManagedInstanceId: { + serializedName: "properties.sourceManagedInstanceId", type: { name: "String" } @@ -6578,354 +6823,466 @@ export const Database: msRest.CompositeMapper = { name: "DateTime" } }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + proxyOverride: { + serializedName: "properties.proxyOverride", type: { - name: "DateTime" + name: "String" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + timezoneId: { + serializedName: "properties.timezoneId", type: { name: "String" } }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + instancePoolId: { + serializedName: "properties.instancePoolId", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + } + } + } +}; + +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", + type: { + name: "Composite", + className: "PrivateEndpointProperty", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } - }, - catalogCollation: { - serializedName: "properties.catalogCollation", + } + } + } +}; + +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty", + modelProperties: { + status: { + required: true, + serializedName: "status", type: { name: "String" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + description: { + required: true, + serializedName: "description", type: { - name: "Boolean" + name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", type: { name: "String" } - }, - maxLogSizeBytes: { - readOnly: true, - serializedName: "properties.maxLogSizeBytes", + } + } + } +}; + +export const PrivateEndpointConnectionProperties: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionProperties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + modelProperties: { + privateEndpoint: { + serializedName: "privateEndpoint", type: { - name: "Number" + name: "Composite", + className: "PrivateEndpointProperty" } }, - earliestRestoreDate: { - readOnly: true, - serializedName: "properties.earliestRestoreDate", + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", type: { - name: "DateTime" + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" } }, - readScale: { - serializedName: "properties.readScale", + provisioningState: { + readOnly: true, + serializedName: "provisioningState", type: { name: "String" } - }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", + } + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "Number" + name: "Composite", + className: "PrivateEndpointProperty" } }, - currentSku: { - readOnly: true, - serializedName: "properties.currentSku", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { name: "Composite", - className: "Sku" + className: "PrivateLinkServiceConnectionStateProperty" } }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Number" + name: "String" } - }, - minCapacity: { - serializedName: "properties.minCapacity", + } + } + } +}; + +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + readOnly: true, + serializedName: "groupId", type: { - name: "Number" + name: "String" } }, - pausedDate: { + requiredMembers: { + readOnly: true, + serializedName: "requiredMembers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties" + } + } + } + } +}; + +export const ServerPrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "ServerPrivateEndpointConnection", + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection", + modelProperties: { + id: { readOnly: true, - serializedName: "properties.pausedDate", + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - resumedDate: { + properties: { readOnly: true, - serializedName: "properties.resumedDate", + serializedName: "properties", type: { - name: "DateTime" + name: "Composite", + className: "PrivateEndpointConnectionProperties" } } } } }; -export const DatabaseUpdate: msRest.CompositeMapper = { - serializedName: "DatabaseUpdate", +export const Server: msRest.CompositeMapper = { + serializedName: "Server", type: { name: "Composite", - className: "DatabaseUpdate", + className: "Server", modelProperties: { - sku: { - serializedName: "sku", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "Sku" - } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" + className: "ResourceIdentity" } }, - collation: { - serializedName: "properties.collation", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", - type: { - name: "Number" - } - }, - sampleName: { - serializedName: "properties.sampleName", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + version: { + serializedName: "properties.version", type: { name: "String" } }, - status: { + state: { readOnly: true, - serializedName: "properties.status", + serializedName: "properties.state", type: { name: "String" } }, - databaseId: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "properties.databaseId", + serializedName: "properties.fullyQualifiedDomainName", type: { - name: "Uuid" + name: "String" } }, - creationDate: { + privateEndpointConnections: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "properties.privateEndpointConnections", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection" + } + } } }, - currentServiceObjectiveName: { - readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } }, - requestedServiceObjectiveName: { - readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String" } - }, - defaultSecondaryLocation: { - readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + } + } + } +}; + +export const ServerUpdate: msRest.CompositeMapper = { + serializedName: "ServerUpdate", + type: { + name: "Composite", + className: "ServerUpdate", + modelProperties: { + administratorLogin: { + serializedName: "properties.administratorLogin", type: { name: "String" } }, - failoverGroupId: { - readOnly: true, - serializedName: "properties.failoverGroupId", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "DateTime" - } - }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + version: { + serializedName: "properties.version", type: { - name: "DateTime" + name: "String" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection" + } + } } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - licenseType: { - serializedName: "properties.licenseType", + } + } + } +}; + +export const CheckNameAvailabilityRequest: msRest.CompositeMapper = { + serializedName: "CheckNameAvailabilityRequest", + type: { + name: "Composite", + className: "CheckNameAvailabilityRequest", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - maxLogSizeBytes: { - readOnly: true, - serializedName: "properties.maxLogSizeBytes", + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'Microsoft.Sql/servers', type: { - name: "Number" + name: "String" } - }, - earliestRestoreDate: { + } + } + } +}; + +export const CheckNameAvailabilityResponse: msRest.CompositeMapper = { + serializedName: "CheckNameAvailabilityResponse", + type: { + name: "Composite", + className: "CheckNameAvailabilityResponse", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.earliestRestoreDate", - type: { - name: "DateTime" - } - }, - readScale: { - serializedName: "properties.readScale", + serializedName: "name", type: { name: "String" } }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", - type: { - name: "Number" - } - }, - currentSku: { + available: { readOnly: true, - serializedName: "properties.currentSku", - type: { - name: "Composite", - className: "Sku" - } - }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", - type: { - name: "Number" - } - }, - minCapacity: { - serializedName: "properties.minCapacity", + serializedName: "available", type: { - name: "Number" + name: "Boolean" } }, - pausedDate: { + reason: { readOnly: true, - serializedName: "properties.pausedDate", + serializedName: "reason", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Invalid", + "AlreadyExists" + ] } }, - resumedDate: { + message: { readOnly: true, - serializedName: "properties.resumedDate", - type: { - name: "DateTime" - } - }, - tags: { - serializedName: "tags", + serializedName: "message", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ResourceMoveDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMoveDefinition", +export const MaxSizeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeCapability", type: { name: "Composite", - className: "ResourceMoveDefinition", + className: "MaxSizeCapability", modelProperties: { - id: { - required: true, - serializedName: "id", + limit: { + readOnly: true, + serializedName: "limit", + type: { + name: "Number" + } + }, + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } @@ -6934,84 +7291,143 @@ export const ResourceMoveDefinition: msRest.CompositeMapper = { } }; -export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseSettings", +export const LogSizeCapability: msRest.CompositeMapper = { + serializedName: "LogSizeCapability", type: { name: "Composite", - className: "ElasticPoolPerDatabaseSettings", + className: "LogSizeCapability", modelProperties: { - minCapacity: { - serializedName: "minCapacity", + limit: { + readOnly: true, + serializedName: "limit", type: { name: "Number" } }, - maxCapacity: { - serializedName: "maxCapacity", + unit: { + readOnly: true, + serializedName: "unit", type: { - name: "Number" + name: "String" } } } } }; -export const ElasticPool: msRest.CompositeMapper = { - serializedName: "ElasticPool", +export const MaxSizeRangeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeRangeCapability", type: { name: "Composite", - className: "ElasticPool", + className: "MaxSizeRangeCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + minValue: { + readOnly: true, + serializedName: "minValue", type: { name: "Composite", - className: "Sku" + className: "MaxSizeCapability" } }, - kind: { + maxValue: { readOnly: true, - serializedName: "kind", + serializedName: "maxValue", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - state: { + scaleSize: { readOnly: true, - serializedName: "properties.state", + serializedName: "scaleSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - creationDate: { + logSize: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "logSize", type: { - name: "DateTime" + name: "Composite", + className: "LogSizeCapability" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const PerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "PerformanceLevelCapability", + type: { + name: "Composite", + className: "PerformanceLevelCapability", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", type: { name: "Number" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + unit: { + readOnly: true, + serializedName: "unit", type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + name: "String" + } + } + } + } +}; + +export const LicenseTypeCapability: msRest.CompositeMapper = { + serializedName: "LicenseTypeCapability", + type: { + name: "Composite", + className: "LicenseTypeCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7020,75 +7436,86 @@ export const ElasticPool: msRest.CompositeMapper = { } }; -export const ElasticPoolUpdate: msRest.CompositeMapper = { - serializedName: "ElasticPoolUpdate", +export const AutoPauseDelayTimeRange: msRest.CompositeMapper = { + serializedName: "AutoPauseDelayTimeRange", type: { name: "Composite", - className: "ElasticPoolUpdate", + className: "AutoPauseDelayTimeRange", modelProperties: { - sku: { - serializedName: "sku", + minValue: { + readOnly: true, + serializedName: "minValue", type: { - name: "Composite", - className: "Sku" + name: "Number" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + maxValue: { + readOnly: true, + serializedName: "maxValue", type: { name: "Number" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + stepSize: { + readOnly: true, + serializedName: "stepSize", type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + name: "Number" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + default: { + readOnly: true, + serializedName: "default", type: { - name: "Boolean" + name: "Number" } }, - licenseType: { - serializedName: "properties.licenseType", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } }, - tags: { - serializedName: "tags", + doNotPauseValue: { + readOnly: true, + serializedName: "doNotPauseValue", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanError", +export const MinCapacityCapability: msRest.CompositeMapper = { + serializedName: "MinCapacityCapability", type: { name: "Composite", - className: "VulnerabilityAssessmentScanError", + className: "MinCapacityCapability", modelProperties: { - code: { + value: { readOnly: true, - serializedName: "code", + serializedName: "value", type: { - name: "String" + name: "Number" } }, - message: { + status: { readOnly: true, - serializedName: "message", + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7097,89 +7524,126 @@ export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { } }; -export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecord", +export const ServiceObjectiveCapability: msRest.CompositeMapper = { + serializedName: "ServiceObjectiveCapability", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord", + className: "ServiceObjectiveCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - scanId: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "Uuid" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + supportedMaxSizes: { + readOnly: true, + serializedName: "supportedMaxSizes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } + } + }, + performanceLevel: { + readOnly: true, + serializedName: "performanceLevel", + type: { + name: "Composite", + className: "PerformanceLevelCapability" + } + }, + sku: { readOnly: true, - serializedName: "properties.scanId", + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - triggerType: { + supportedLicenseTypes: { readOnly: true, - serializedName: "properties.triggerType", + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - state: { + includedMaxSize: { readOnly: true, - serializedName: "properties.state", + serializedName: "includedMaxSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - startTime: { + zoneRedundant: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "zoneRedundant", type: { - name: "DateTime" + name: "Boolean" } }, - endTime: { + supportedAutoPauseDelay: { readOnly: true, - serializedName: "properties.endTime", + serializedName: "supportedAutoPauseDelay", type: { - name: "DateTime" + name: "Composite", + className: "AutoPauseDelayTimeRange" } }, - errors: { + supportedMinCapacities: { readOnly: true, - serializedName: "properties.errors", + serializedName: "supportedMinCapacities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VulnerabilityAssessmentScanError" + className: "MinCapacityCapability" } } } }, - storageContainerPath: { + computeModel: { readOnly: true, - serializedName: "properties.storageContainerPath", + serializedName: "computeModel", type: { name: "String" } }, - numberOfFailedSecurityChecks: { + status: { readOnly: true, - serializedName: "properties.numberOfFailedSecurityChecks", + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentScansExport", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentScansExport", - modelProperties: { - ...ProxyResource.type.modelProperties, - exportedReportLocation: { - readOnly: true, - serializedName: "properties.exportedReportLocation", + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7188,37 +7652,34 @@ export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper } }; -export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadWriteEndpoint", +export const ReadScaleCapability: msRest.CompositeMapper = { + serializedName: "ReadScaleCapability", type: { name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint", + className: "ReadScaleCapability", modelProperties: { - failoverPolicy: { - required: true, - serializedName: "failoverPolicy", + maxNumberOfReplicas: { + readOnly: true, + serializedName: "maxNumberOfReplicas", type: { - name: "String" + name: "Number" } }, - failoverWithDataLossGracePeriodMinutes: { - serializedName: "failoverWithDataLossGracePeriodMinutes", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } - } - } - } -}; - -export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadOnlyEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint", - modelProperties: { - failoverPolicy: { - serializedName: "failoverPolicy", + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7227,43 +7688,34 @@ export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { } }; -export const PartnerRegionInfo: msRest.CompositeMapper = { - serializedName: "PartnerRegionInfo", +export const StorageCapability: msRest.CompositeMapper = { + serializedName: "StorageCapability", type: { name: "Composite", - className: "PartnerRegionInfo", + className: "StorageCapability", modelProperties: { - location: { - serializedName: "location", + storageAccountType: { + readOnly: true, + serializedName: "storageAccountType", type: { name: "String" } }, - replicationRole: { + status: { readOnly: true, - serializedName: "replicationRole", - type: { - name: "String" - } - } - } - } -}; - -export const ManagedInstancePairInfo: msRest.CompositeMapper = { - serializedName: "ManagedInstancePairInfo", - type: { - name: "Composite", - className: "ManagedInstancePairInfo", - modelProperties: { - primaryManagedInstanceId: { - serializedName: "primaryManagedInstanceId", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - partnerManagedInstanceId: { - serializedName: "partnerManagedInstanceId", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7272,105 +7724,118 @@ export const ManagedInstancePairInfo: msRest.CompositeMapper = { } }; -export const InstanceFailoverGroup: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroup", +export const EditionCapability: msRest.CompositeMapper = { + serializedName: "EditionCapability", type: { name: "Composite", - className: "InstanceFailoverGroup", + className: "EditionCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - readWriteEndpoint: { - required: true, - serializedName: "properties.readWriteEndpoint", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint" + name: "String" } }, - readOnlyEndpoint: { - serializedName: "properties.readOnlyEndpoint", + supportedServiceLevelObjectives: { + readOnly: true, + serializedName: "supportedServiceLevelObjectives", type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceObjectiveCapability" + } + } } }, - replicationRole: { + zoneRedundant: { readOnly: true, - serializedName: "properties.replicationRole", + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - replicationState: { + readScale: { readOnly: true, - serializedName: "properties.replicationState", + serializedName: "readScale", type: { - name: "String" + name: "Composite", + className: "ReadScaleCapability" } }, - partnerRegions: { - required: true, - serializedName: "properties.partnerRegions", + supportedStorageCapabilities: { + readOnly: true, + serializedName: "supportedStorageCapabilities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PartnerRegionInfo" + className: "StorageCapability" } } } }, - managedInstancePairs: { - required: true, - serializedName: "properties.managedInstancePairs", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstancePairInfo" - } - } + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicy", +export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", type: { name: "Composite", - className: "BackupShortTermRetentionPolicy", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - retentionDays: { - serializedName: "properties.retentionDays", + limit: { + readOnly: true, + serializedName: "limit", type: { name: "Number" } - } - } - } -}; - -export const TdeCertificate: msRest.CompositeMapper = { - serializedName: "TdeCertificate", - type: { - name: "Composite", - className: "TdeCertificate", - modelProperties: { - ...ProxyResource.type.modelProperties, - privateBlob: { - required: true, - serializedName: "properties.privateBlob", + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - certPassword: { - serializedName: "properties.certPassword", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7379,219 +7844,291 @@ export const TdeCertificate: msRest.CompositeMapper = { } }; -export const ManagedInstanceKey: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKey", +export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", type: { name: "Composite", - className: "ManagedInstanceKey", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + limit: { readOnly: true, - serializedName: "kind", + serializedName: "limit", type: { - name: "String" + name: "Number" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } }, - uri: { - serializedName: "properties.uri", + supportedPerDatabaseMinPerformanceLevels: { + readOnly: true, + serializedName: "supportedPerDatabaseMinPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" + } + } } }, - thumbprint: { + status: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - creationDate: { - readOnly: true, - serializedName: "properties.creationDate", + reason: { + serializedName: "reason", type: { - name: "DateTime" + name: "String" } } } } }; -export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtector", +export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerformanceLevelCapability", type: { name: "Composite", - className: "ManagedInstanceEncryptionProtector", + className: "ElasticPoolPerformanceLevelCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + performanceLevel: { readOnly: true, - serializedName: "kind", + serializedName: "performanceLevel", type: { - name: "String" + name: "Composite", + className: "PerformanceLevelCapability" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + sku: { + readOnly: true, + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - uri: { + maxDatabaseCount: { readOnly: true, - serializedName: "properties.uri", + serializedName: "maxDatabaseCount", type: { - name: "String" + name: "Number" } }, - thumbprint: { + includedMaxSize: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "includedMaxSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } - } - } - } -}; - -export const RecoverableManagedDatabase: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabase", - type: { - name: "Composite", - className: "RecoverableManagedDatabase", - modelProperties: { - ...ProxyResource.type.modelProperties, - lastAvailableBackupDate: { + }, + supportedMaxSizes: { readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + serializedName: "supportedMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } - } - } - } -}; - -export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessment", - type: { - name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment", - modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + }, + supportedPerDatabaseMaxSizes: { + readOnly: true, + serializedName: "supportedPerDatabaseMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + supportedPerDatabaseMaxPerformanceLevels: { + readOnly: true, + serializedName: "supportedPerDatabaseMaxPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" + } + } } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - recurringScans: { - serializedName: "properties.recurringScans", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const ElasticPoolEditionCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolEditionCapability", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "ElasticPoolEditionCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + supportedElasticPoolPerformanceLevels: { + readOnly: true, + serializedName: "supportedElasticPoolPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerformanceLevelCapability" + } + } } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - recurringScans: { - serializedName: "properties.recurringScans", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const InstancePool: msRest.CompositeMapper = { - serializedName: "InstancePool", +export const ServerVersionCapability: msRest.CompositeMapper = { + serializedName: "ServerVersionCapability", type: { name: "Composite", - className: "InstancePool", + className: "ServerVersionCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - subnetId: { - required: true, - serializedName: "properties.subnetId", + supportedEditions: { + readOnly: true, + serializedName: "supportedEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EditionCapability" + } + } } }, - vCores: { - required: true, - serializedName: "properties.vCores", + supportedElasticPoolEditions: { + readOnly: true, + serializedName: "supportedElasticPoolEditions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolEditionCapability" + } + } } }, - licenseType: { - required: true, - serializedName: "properties.licenseType", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7600,41 +8137,76 @@ export const InstancePool: msRest.CompositeMapper = { } }; -export const InstancePoolUpdate: msRest.CompositeMapper = { - serializedName: "InstancePoolUpdate", +export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVcoresCapability", type: { name: "Composite", - className: "InstancePoolUpdate", + className: "ManagedInstanceVcoresCapability", modelProperties: { - tags: { - serializedName: "tags", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "Number" + } + }, + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", + type: { + name: "Composite", + className: "MaxSizeCapability" + } + }, + supportedStorageSizes: { + readOnly: true, + serializedName: "supportedStorageSizes", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "MaxSizeRangeCapability" } } } - } - } - } -}; - -export const Name: msRest.CompositeMapper = { - serializedName: "Name", - type: { - name: "Composite", - className: "Name", - modelProperties: { - value: { - serializedName: "value", + }, + instancePoolSupported: { + readOnly: true, + serializedName: "instancePoolSupported", type: { - name: "String" + name: "Boolean" } }, - localizedValue: { - serializedName: "localizedValue", + standaloneSupported: { + readOnly: true, + serializedName: "standaloneSupported", + type: { + name: "Boolean" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7643,194 +8215,340 @@ export const Name: msRest.CompositeMapper = { } }; -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", +export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceFamilyCapability", type: { name: "Composite", - className: "Usage", + className: "ManagedInstanceFamilyCapability", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, name: { readOnly: true, serializedName: "name", type: { - name: "Composite", - className: "Name" + name: "String" } }, - type: { + sku: { readOnly: true, - serializedName: "type", + serializedName: "sku", type: { name: "String" } }, - unit: { + supportedLicenseTypes: { readOnly: true, - serializedName: "unit", + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - currentValue: { + supportedVcoresValues: { readOnly: true, - serializedName: "currentValue", + serializedName: "supportedVcoresValues", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVcoresCapability" + } + } } }, - limit: { + status: { readOnly: true, - serializedName: "limit", + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - requestedLimit: { - readOnly: true, - serializedName: "requestedLimit", + reason: { + serializedName: "reason", type: { - name: "Number" + name: "String" } } } } }; -export const ManagedInstance: msRest.CompositeMapper = { - serializedName: "ManagedInstance", +export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEditionCapability", type: { name: "Composite", - className: "ManagedInstance", + className: "ManagedInstanceEditionCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "ResourceIdentity" + name: "String" } }, - sku: { - serializedName: "sku", + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", type: { - name: "Composite", - className: "Sku" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceFamilyCapability" + } + } } }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const InstancePoolVcoresCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolVcoresCapability", + type: { + name: "Composite", + className: "InstancePoolVcoresCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - fullyQualifiedDomainName: { + value: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "value", type: { - name: "String" + name: "Number" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + storageLimit: { + readOnly: true, + serializedName: "storageLimit", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - subnetId: { - serializedName: "properties.subnetId", + reason: { + serializedName: "reason", type: { name: "String" } - }, - state: { + } + } + } +}; + +export const InstancePoolFamilyCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolFamilyCapability", + type: { + name: "Composite", + className: "InstancePoolFamilyCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.state", + serializedName: "name", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - vCores: { - serializedName: "properties.vCores", + supportedVcoresValues: { + readOnly: true, + serializedName: "supportedVcoresValues", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolVcoresCapability" + } + } } }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - collation: { - serializedName: "properties.collation", + reason: { + serializedName: "reason", type: { name: "String" } - }, - dnsZone: { + } + } + } +}; + +export const InstancePoolEditionCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolEditionCapability", + type: { + name: "Composite", + className: "InstancePoolEditionCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.dnsZone", + serializedName: "name", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolFamilyCapability" + } + } } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVersionCapability", + type: { + name: "Composite", + className: "ManagedInstanceVersionCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + supportedEditions: { + readOnly: true, + serializedName: "supportedEditions", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceEditionCapability" + } + } } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + supportedInstancePoolEditions: { + readOnly: true, + serializedName: "supportedInstancePoolEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolEditionCapability" + } + } } }, - timezoneId: { - serializedName: "properties.timezoneId", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7839,223 +8557,246 @@ export const ManagedInstance: msRest.CompositeMapper = { } }; -export const ManagedInstanceUpdate: msRest.CompositeMapper = { - serializedName: "ManagedInstanceUpdate", +export const LocationCapabilities: msRest.CompositeMapper = { + serializedName: "LocationCapabilities", type: { name: "Composite", - className: "ManagedInstanceUpdate", + className: "LocationCapabilities", modelProperties: { - sku: { - serializedName: "sku", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + supportedServerVersions: { + readOnly: true, + serializedName: "supportedServerVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVersionCapability" + } + } } }, - fullyQualifiedDomainName: { + supportedManagedInstanceVersions: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "supportedManagedInstanceVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVersionCapability" + } + } } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceLongTermRetentionBackup: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackup", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionBackup", + modelProperties: { + ...ProxyResource.type.modelProperties, + managedInstanceName: { + readOnly: true, + serializedName: "properties.managedInstanceName", type: { name: "String" } }, - subnetId: { - serializedName: "properties.subnetId", + managedInstanceCreateTime: { + readOnly: true, + serializedName: "properties.managedInstanceCreateTime", type: { - name: "String" + name: "DateTime" } }, - state: { + databaseName: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.databaseName", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + databaseDeletionTime: { + readOnly: true, + serializedName: "properties.databaseDeletionTime", type: { - name: "String" + name: "DateTime" } }, - vCores: { - serializedName: "properties.vCores", + backupTime: { + readOnly: true, + serializedName: "properties.backupTime", type: { - name: "Number" + name: "DateTime" } }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + backupExpirationTime: { + readOnly: true, + serializedName: "properties.backupExpirationTime", type: { - name: "Number" + name: "DateTime" } - }, - collation: { - serializedName: "properties.collation", + } + } + } +}; + +export const ManagedInstanceLongTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicy", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + weeklyRetention: { + serializedName: "properties.weeklyRetention", type: { name: "String" } }, - dnsZone: { - readOnly: true, - serializedName: "properties.dnsZone", + monthlyRetention: { + serializedName: "properties.monthlyRetention", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + yearlyRetention: { + serializedName: "properties.yearlyRetention", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + weekOfYear: { + serializedName: "properties.weekOfYear", type: { - name: "Boolean" + name: "Number" } - }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + } + } + } +}; + +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", + type: { + name: "Composite", + className: "WorkloadGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + minResourcePercent: { + required: true, + serializedName: "properties.minResourcePercent", type: { - name: "String" + name: "Number" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", type: { - name: "DateTime" + name: "Number" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + minResourcePercentPerRequest: { + required: true, + serializedName: "properties.minResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - timezoneId: { - serializedName: "properties.timezoneId", + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + importance: { + serializedName: "properties.importance", type: { name: "String" } }, - tags: { - serializedName: "tags", + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseRestoreDetailsResult", +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", type: { name: "Composite", - className: "ManagedDatabaseRestoreDetailsResult", + className: "WorkloadClassifier", modelProperties: { ...ProxyResource.type.modelProperties, - status: { - readOnly: true, - serializedName: "properties.status", + memberName: { + required: true, + serializedName: "properties.memberName", type: { name: "String" } }, - currentRestoringFileName: { - readOnly: true, - serializedName: "properties.currentRestoringFileName", + label: { + serializedName: "properties.label", type: { name: "String" } }, - lastRestoredFileName: { - readOnly: true, - serializedName: "properties.lastRestoredFileName", + context: { + serializedName: "properties.context", type: { name: "String" } }, - lastRestoredFileTime: { - readOnly: true, - serializedName: "properties.lastRestoredFileTime", - type: { - name: "DateTime" - } - }, - percentCompleted: { - readOnly: true, - serializedName: "properties.percentCompleted", - type: { - name: "Number" - } - }, - unrestorableFiles: { - readOnly: true, - serializedName: "properties.unrestorableFiles", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - numberOfFilesDetected: { - readOnly: true, - serializedName: "properties.numberOfFilesDetected", - type: { - name: "Number" - } - }, - lastUploadedFileName: { - readOnly: true, - serializedName: "properties.lastUploadedFileName", + startTime: { + serializedName: "properties.startTime", type: { name: "String" } }, - lastUploadedFileTime: { - readOnly: true, - serializedName: "properties.lastUploadedFileTime", + endTime: { + serializedName: "properties.endTime", type: { - name: "DateTime" + name: "String" } }, - blockReason: { - readOnly: true, - serializedName: "properties.blockReason", + importance: { + serializedName: "properties.importance", type: { name: "String" } @@ -8159,6 +8900,12 @@ export const ManagedDatabase: msRest.CompositeMapper = { type: { name: "String" } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } } } } @@ -8259,6 +9006,12 @@ export const ManagedDatabaseUpdate: msRest.CompositeMapper = { name: "String" } }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -8291,127 +9044,46 @@ export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { } }; -export const PrivateEndpointProperty: msRest.CompositeMapper = { - serializedName: "PrivateEndpointProperty", - type: { - name: "Composite", - className: "PrivateEndpointProperty", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionStateProperty", +export const ServerAzureADAdministrator: msRest.CompositeMapper = { + serializedName: "ServerAzureADAdministrator", type: { name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty", + className: "ServerAzureADAdministrator", modelProperties: { - status: { + ...ProxyResource.type.modelProperties, + administratorType: { required: true, - serializedName: "status", + isConstant: true, + serializedName: "properties.administratorType", + defaultValue: 'ActiveDirectory', type: { name: "String" } }, - description: { + login: { required: true, - serializedName: "description", - type: { - name: "String" - } - }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + serializedName: "properties.login", type: { name: "String" } - } - } - } -}; - -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", - type: { - name: "Composite", - className: "PrivateEndpointConnection", - modelProperties: { - ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpointProperty" - } - }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty" - } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - } - } - } -}; - -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", - type: { - name: "Composite", - className: "PrivateLinkResourceProperties", - modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", + sid: { + required: true, + serializedName: "properties.sid", type: { - name: "String" + name: "Uuid" } }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + tenantId: { + serializedName: "properties.tenantId", + type: { + name: "Uuid" } - } - } - } -}; - -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - readOnly: true, - serializedName: "properties", + }, + azureADOnlyAuthentication: { + serializedName: "properties.azureADOnlyAuthentication", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "Boolean" } } } @@ -8464,36 +9136,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,28 +9376,6 @@ export const ReplicationLinkListResult: msRest.CompositeMapper = { } }; -export const ServerAdministratorListResult: msRest.CompositeMapper = { - serializedName: "ServerAdministratorListResult", - type: { - name: "Composite", - className: "ServerAdministratorListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerAzureADAdministrator" - } - } - } - } - } - } -}; - export const ServerCommunicationLinkListResult: msRest.CompositeMapper = { serializedName: "ServerCommunicationLinkListResult", type: { @@ -10342,11 +10962,11 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = { } }; -export const ManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseListResult", +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", type: { name: "Composite", - className: "ManagedDatabaseListResult", + className: "PrivateEndpointConnectionListResult", modelProperties: { value: { readOnly: true, @@ -10356,7 +10976,7 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedDatabase" + className: "PrivateEndpointConnection" } } } @@ -10372,11 +10992,11 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionListResult", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "PrivateLinkResourceListResult", modelProperties: { value: { readOnly: true, @@ -10386,7 +11006,7 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "PrivateLinkResource" } } } @@ -10402,11 +11022,11 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const ServerListResult: msRest.CompositeMapper = { + serializedName: "ServerListResult", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "ServerListResult", modelProperties: { value: { readOnly: true, @@ -10416,7 +11036,187 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "Server" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceLongTermRetentionBackupListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackupListResult", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionBackupListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionBackup" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceLongTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicyListResult", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionPolicyListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionPolicy" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadGroupListResult: msRest.CompositeMapper = { + serializedName: "WorkloadGroupListResult", + type: { + name: "Composite", + className: "WorkloadGroupListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadGroup" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadClassifierListResult: msRest.CompositeMapper = { + serializedName: "WorkloadClassifierListResult", + type: { + name: "Composite", + className: "WorkloadClassifierListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadClassifier" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseListResult", + type: { + name: "Composite", + className: "ManagedDatabaseListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedDatabase" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AdministratorListResult: msRest.CompositeMapper = { + serializedName: "AdministratorListResult", + type: { + name: "Composite", + className: "AdministratorListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerAzureADAdministrator" } } } diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts index 85f7ca30cdca..d767481ae0bc 100644 --- a/sdk/sql/arm-sql/src/models/parameters.ts +++ b/sdk/sql/arm-sql/src/models/parameters.ts @@ -20,19 +20,7 @@ export const acceptLanguage: msRest.OperationParameter = { } } }; -export const administratorName0: msRest.OperationURLParameter = { - parameterPath: "administratorName", - mapper: { - required: true, - isConstant: true, - serializedName: "administratorName", - defaultValue: 'activeDirectory', - type: { - name: "String" - } - } -}; -export const administratorName1: msRest.OperationURLParameter = { +export const administratorName: msRest.OperationURLParameter = { parameterPath: "administratorName", mapper: { required: true, @@ -62,7 +50,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2015-05-01-preview', + defaultValue: '2017-10-01-preview', type: { name: "String" } @@ -74,7 +62,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-10-01-preview', + defaultValue: '2018-06-01-preview', type: { name: "String" } @@ -86,7 +74,7 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-01-preview', + defaultValue: '2015-05-01-preview', type: { name: "String" } @@ -104,6 +92,18 @@ export const apiVersion4: msRest.OperationQueryParameter = { } } }; +export const apiVersion5: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-06-01-preview', + type: { + name: "String" + } + } +}; export const backupName: msRest.OperationURLParameter = { parameterPath: "backupName", mapper: { @@ -679,18 +679,6 @@ export const restorableDroppededDatabaseId: msRest.OperationURLParameter = { } } }; -export const restoreDetailsName: msRest.OperationURLParameter = { - parameterPath: "restoreDetailsName", - mapper: { - required: true, - isConstant: true, - serializedName: "restoreDetailsName", - defaultValue: 'Default', - type: { - name: "String" - } - } -}; export const restorePointName: msRest.OperationURLParameter = { parameterPath: "restorePointName", mapper: { @@ -1013,3 +1001,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..e56ad5c4cfb0 100644 --- a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerRegionInfo, PrivateEndpointConnection, PrivateEndpointConnectionListResult, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..f0bed856ddfd 100644 --- a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceListResult, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..b12d1fa4eb8b 100644 --- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..53768bef2692 100644 --- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..8ff1923dd04b 100644 --- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..357089c53ba2 100644 --- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..b40a40b0d78d 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..5728d901d8d3 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..eec3c40fc332 100644 --- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..0be199e072bb 100644 --- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..b3ba229bbcee 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, @@ -58,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -89,7 +92,6 @@ export { RestorePoint, SensitivityLabel, Server, - ServerAdministratorListResult, ServerAutomaticTuning, ServerAzureADAdministrator, ServerBlobAuditingPolicy, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..66a77c4ddc9e 100644 --- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..6c4cd4d3f460 100644 --- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..9166e105bcfc 100644 --- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -98,6 +100,7 @@ export { ServerDnsAliasAcquisition, ServerDnsAliasListResult, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..0dd3b6f85039 100644 --- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerDnsAlias, ServerKey, ServerKeyListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..79faeb0ab7b7 100644 --- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts @@ -59,12 +59,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -72,6 +73,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -97,6 +99,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..246117e185e1 100644 --- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentListResult, @@ -119,5 +122,7 @@ export { 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..055804e7b4a6 100644 --- a/sdk/sql/arm-sql/src/models/serversMappers.ts +++ b/sdk/sql/arm-sql/src/models/serversMappers.ts @@ -60,12 +60,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,6 +74,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -99,6 +101,7 @@ export { ServerDnsAlias, ServerKey, ServerListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerUpdate, ServerVulnerabilityAssessment, @@ -122,5 +125,7 @@ export { 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..2d368c2dc4f3 100644 --- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..641805f10c20 100644 --- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..729196209d01 100644 --- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..e0af85cf52f6 100644 --- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -121,5 +124,7 @@ export { 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..6bef8505d6f5 100644 --- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -127,5 +130,7 @@ export { 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..003d2417471c 100644 --- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -123,5 +126,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..a1b01bded806 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..593ac2599051 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,7 @@ export { 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..1fe1efd8a4b2 100644 --- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -120,5 +123,7 @@ export { 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..08bc862cb5eb 100644 --- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -119,5 +122,7 @@ export { 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..31b08796cfa1 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts @@ -0,0 +1,128 @@ +/* + * 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, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + 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, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDnsAlias, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadClassifierListResult, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts similarity index 92% rename from sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts rename to sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts index 7979989c60d3..43f9bf6cf4d1 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts +++ b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts @@ -58,12 +58,13 @@ export { LongTermRetentionBackup, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, - ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, ManagedInstancePairInfo, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -71,6 +72,7 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -96,6 +98,7 @@ export { ServerConnectionPolicy, ServerDnsAlias, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, ServerVulnerabilityAssessment, ServiceObjective, @@ -118,5 +121,8 @@ export { VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + WorkloadGroupListResult } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts index a91d73b39445..a8951f5a7c8a 100644 --- a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +249,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -276,7 +276,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts index c8538356092a..47b6aad399b3 100644 --- a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts @@ -121,7 +121,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -147,7 +147,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseOperations.ts b/sdk/sql/arm-sql/src/operations/databaseOperations.ts index 73da08119974..dc6ea347c335 100644 --- a/sdk/sql/arm-sql/src/operations/databaseOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseOperations.ts @@ -150,7 +150,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +174,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts index 20c44d8e1471..f13841354b13 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts @@ -232,7 +232,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +288,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -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/databases.ts b/sdk/sql/arm-sql/src/operations/databases.ts index 846dfc51b1bd..49196dd608c7 100644 --- a/sdk/sql/arm-sql/src/operations/databases.ts +++ b/sdk/sql/arm-sql/src/operations/databases.ts @@ -750,7 +750,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -776,7 +776,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -802,7 +802,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -828,7 +828,7 @@ const renameOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -961,7 +961,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -998,7 +998,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1024,7 +1024,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1058,7 +1058,7 @@ const beginPauseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1085,7 +1085,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1112,7 +1112,7 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -1138,7 +1138,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.replicaType, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts index 049f74e667db..a8ca80a063c5 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts @@ -150,7 +150,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +174,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { 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..63fd9ad309cd 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPools.ts @@ -423,7 +423,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.skip, - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -449,7 +449,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -475,7 +475,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -512,7 +512,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -538,7 +538,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -572,7 +572,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { 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..aa4f4109ab8f 100644 --- a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts @@ -204,7 +204,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +256,7 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +281,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/failoverGroups.ts b/sdk/sql/arm-sql/src/operations/failoverGroups.ts index 6d848d2f2018..d2ae2d4e8a75 100644 --- a/sdk/sql/arm-sql/src/operations/failoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/failoverGroups.ts @@ -325,7 +325,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -350,7 +350,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -376,7 +376,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +413,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +439,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -473,7 +473,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -500,7 +500,7 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/index.ts b/sdk/sql/arm-sql/src/operations/index.ts index d044e4c4439f..54913a2de47b 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"; @@ -72,7 +70,6 @@ export * from "./sensitivityLabels"; export * from "./managedInstanceAdministrators"; export * from "./databaseOperations"; export * from "./elasticPoolOperations"; -export * from "./capabilities"; export * from "./databaseVulnerabilityAssessmentScans"; export * from "./managedDatabaseVulnerabilityAssessmentRuleBaselines"; export * from "./managedDatabaseVulnerabilityAssessmentScans"; @@ -90,7 +87,13 @@ export * from "./managedDatabaseSensitivityLabels"; export * from "./instancePools"; export * from "./usages"; export * from "./managedInstances"; -export * from "./managedDatabaseRestoreDetails"; -export * from "./managedDatabases"; 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 "./managedDatabases"; +export * from "./serverAzureADAdministrators"; diff --git a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts index be0ae243f7f4..0b9b681f495c 100644 --- a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts @@ -287,7 +287,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -312,7 +312,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -338,7 +338,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -375,7 +375,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -401,7 +401,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -428,7 +428,7 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { 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..ccdc235032b6 100644 --- a/sdk/sql/arm-sql/src/operations/instancePools.ts +++ b/sdk/sql/arm-sql/src/operations/instancePools.ts @@ -287,7 +287,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { 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 @@ -359,7 +359,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -395,7 +395,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -420,7 +420,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts new file mode 100644 index 000000000000..fce317cc8793 --- /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.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + 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/managedDatabaseRestoreDetails.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts deleted file mode 100644 index 1ff1a97ed81b..000000000000 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/managedDatabaseRestoreDetailsMappers"; -import * as Parameters from "../models/parameters"; -import { SqlManagementClientContext } from "../sqlManagementClientContext"; - -/** Class representing a ManagedDatabaseRestoreDetails. */ -export class ManagedDatabaseRestoreDetails { - private readonly client: SqlManagementClientContext; - - /** - * Create a ManagedDatabaseRestoreDetails. - * @param {SqlManagementClientContext} client Reference to the service client. - */ - constructor(client: SqlManagementClientContext) { - this.client = client; - } - - /** - * 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 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; - } -} - -// 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}/restoreDetails/{restoreDetailsName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.managedInstanceName, - Parameters.databaseName, - Parameters.restoreDetailsName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion3 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ManagedDatabaseRestoreDetailsResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts index 78a062d17bb6..504c2b85b693 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts @@ -444,7 +444,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +474,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -514,7 +514,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -542,7 +542,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -570,7 +570,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -595,7 +595,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -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..470479a7e11d 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts @@ -215,7 +215,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -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..603f1cb15e61 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts @@ -232,7 +232,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +288,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -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..a0b2cd501e20 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts @@ -228,7 +228,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { 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..960d7ae99367 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabases.ts @@ -145,6 +145,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 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 + */ + listInaccessibleByInstance(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 + */ + listInaccessibleByInstance(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 + */ + 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 @@ -277,6 +312,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 @@ -290,7 +353,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +379,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -332,6 +395,31 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listInaccessibleByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedDatabaseListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}", @@ -342,7 +430,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -379,7 +467,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -405,7 +493,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +527,7 @@ const beginCompleteRestoreOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -481,3 +569,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..ee65a2e73215 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts @@ -226,7 +226,7 @@ const getOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ @@ -252,7 +252,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ @@ -289,7 +289,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, 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..e7f6e44ca7b1 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts @@ -204,7 +204,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +256,7 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +281,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 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..5050c2ebfb84 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts @@ -215,7 +215,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +241,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -267,7 +267,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -304,7 +304,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 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..912f5c3f64e8 --- /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.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedInstanceLongTermRetentionPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult + }, + 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..ab225828cf91 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts @@ -74,7 +74,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { 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..7cee1ab8f432 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +249,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -285,7 +285,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { 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..84c3dcc94eeb 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstances.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstances.ts @@ -350,7 +350,7 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -374,7 +374,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -399,7 +399,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -422,7 +422,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -447,7 +447,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -483,7 +483,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -508,7 +508,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/operations.ts b/sdk/sql/arm-sql/src/operations/operations.ts index 21acf86ad037..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..aa7ac64c81e9 100644 --- a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts +++ b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts @@ -215,7 +215,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -240,7 +240,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +266,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -300,7 +300,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 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..7337adc76b3f 100644 --- a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts +++ b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts @@ -140,7 +140,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +166,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts index a36cefea4644..8e1eb06963e3 100644 --- a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts @@ -140,7 +140,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +166,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts index f80129644663..048f82f54e80 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,35 @@ 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 required parameters for creating or updating an Active Directory + * Administrator. + * @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 +105,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 +113,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 +126,34 @@ export class ServerAzureADAdministrators { } /** - * Creates a new Server Active Directory Administrator or updates an existing server Active - * Directory Administrator. + * Disables Azure Active Directory only authentication on logical Server. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param properties The required parameters for creating or updating an Active Directory + * @param [options] The optional parameters + * @returns Promise + */ + disableAzureADOnlyAuthentication(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDisableAzureADOnlyAuthentication(resourceGroupName,serverName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 required parameters for creating or updating an Active Directory * Administrator. * @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 +161,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 +178,53 @@ export class ServerAzureADAdministrators { beginDeleteMethodOperationSpec, options); } + + /** + * Disables Azure Active Directory only authentication on logical Server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + beginDisableAzureADOnlyAuthentication(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + options + }, + beginDisableAzureADOnlyAuthenticationOperationSpec, + 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 @@ -178,10 +236,10 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -206,14 +264,14 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAdministratorListResult + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError @@ -229,16 +287,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, 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 +309,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ServerAzureADAdministrator }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -268,10 +324,35 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDisableAzureADOnlyAuthenticationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/disableAzureADOnlyAuthentication", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.serverName + ], + queryParameters: [ + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -280,11 +361,27 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.ServerAzureADAdministrator }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, - 204: { - bodyMapper: Mappers.ServerAzureADAdministrator + 202: {}, + 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.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/sql/arm-sql/src/operations/serverKeys.ts b/sdk/sql/arm-sql/src/operations/serverKeys.ts index b53497dcea66..d1d509d0e76a 100644 --- a/sdk/sql/arm-sql/src/operations/serverKeys.ts +++ b/sdk/sql/arm-sql/src/operations/serverKeys.ts @@ -222,7 +222,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +248,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -274,7 +274,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts index 09f92258465f..3eb75e047423 100644 --- a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts @@ -211,7 +211,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -237,7 +237,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -273,7 +273,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -296,7 +296,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { 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..bde22e64ced5 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.resourceGroupName, 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.resourceGroupName, + 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 @@ -417,7 +417,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -453,7 +453,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -478,7 +478,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 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/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..1e5cc10dc21b 100644 --- a/sdk/sql/arm-sql/src/operations/syncAgents.ts +++ b/sdk/sql/arm-sql/src/operations/syncAgents.ts @@ -321,7 +321,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -346,7 +346,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -372,7 +372,7 @@ const generateKeyOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -398,7 +398,7 @@ const listLinkedDatabasesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -424,7 +424,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -461,7 +461,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 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..7bd0b27c8320 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.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -632,7 +632,7 @@ const listHubSchemasOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -663,7 +663,7 @@ const listLogsOperationSpec: msRest.OperationSpec = { Parameters.endTime, Parameters.type, Parameters.continuationToken, - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -690,7 +690,7 @@ const cancelSyncOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -715,7 +715,7 @@ const triggerSyncOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -740,7 +740,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -766,7 +766,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -793,7 +793,7 @@ const beginRefreshHubSchemaOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -819,7 +819,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -857,7 +857,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -884,7 +884,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..78c2368478d9 100644 --- a/sdk/sql/arm-sql/src/operations/syncMembers.ts +++ b/sdk/sql/arm-sql/src/operations/syncMembers.ts @@ -405,7 +405,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +432,7 @@ const listBySyncGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -460,7 +460,7 @@ const listMemberSchemasOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -488,7 +488,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -527,7 +527,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -555,7 +555,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -591,7 +591,7 @@ const beginRefreshMemberSchemaOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], 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..42dd77458ab5 100644 --- a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts @@ -74,7 +74,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/usages.ts b/sdk/sql/arm-sql/src/operations/usages.ts index fc08d9576ea3..2a9026260d23 100644 --- a/sdk/sql/arm-sql/src/operations/usages.ts +++ b/sdk/sql/arm-sql/src/operations/usages.ts @@ -102,7 +102,7 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { ], 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..129dc2b57c23 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 @@ -274,7 +274,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -324,7 +324,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -349,7 +349,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 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..4ee3b9f1dacb 100644 --- a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts +++ b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts @@ -215,7 +215,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -240,7 +240,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +266,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -303,7 +303,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 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..90f2dbea74d3 --- /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.resourceGroupName, + 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.resourceGroupName, + 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.resourceGroupName, + 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.resourceGroupName, + 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..11f382a487c0 --- /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.resourceGroupName, + 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.resourceGroupName, + 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.resourceGroupName, + 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.resourceGroupName, + 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..7d365bba3df3 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; @@ -81,7 +79,6 @@ 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; @@ -99,10 +96,16 @@ class SqlManagementClient extends SqlManagementClientContext { instancePools: operations.InstancePools; usages: operations.Usages; managedInstances: operations.ManagedInstances; - managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails; - managedDatabases: operations.ManagedDatabases; privateEndpointConnections: operations.PrivateEndpointConnections; privateLinkResources: operations.PrivateLinkResources; + servers: operations.Servers; + capabilities: operations.Capabilities; + longTermRetentionManagedInstanceBackups: operations.LongTermRetentionManagedInstanceBackups; + managedInstanceLongTermRetentionPolicies: operations.ManagedInstanceLongTermRetentionPolicies; + workloadGroups: operations.WorkloadGroups; + workloadClassifiers: operations.WorkloadClassifiers; + managedDatabases: operations.ManagedDatabases; + serverAzureADAdministrators: operations.ServerAzureADAdministrators; /** * Initializes a new instance of the SqlManagementClient class. @@ -114,7 +117,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 +127,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); @@ -176,7 +177,6 @@ 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); @@ -194,10 +194,16 @@ class SqlManagementClient extends SqlManagementClientContext { this.instancePools = new operations.InstancePools(this); this.usages = new operations.Usages(this); this.managedInstances = new operations.ManagedInstances(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.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.managedDatabases = new operations.ManagedDatabases(this); + this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this); } }