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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts @@ -118,5 +118,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..7054be2b00ca 100644 --- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts @@ -118,5 +118,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..656d81cfd799 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts @@ -118,5 +118,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..c78eb90917ab 100644 --- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts @@ -119,5 +119,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..cf24673e87d5 100644 --- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts @@ -118,5 +118,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -118,5 +118,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..db23dc62a3fb 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -119,5 +119,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..3027683d25ed 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts @@ -119,5 +119,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..3f733fdb2a25 100644 --- a/sdk/sql/arm-sql/src/models/databasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts @@ -131,5 +131,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..86211829d164 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts @@ -119,5 +119,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..9a0d0e63ae8d 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts @@ -119,5 +119,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..110a51436f4d 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts @@ -119,5 +119,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..876073a9eed4 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts @@ -127,5 +127,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..80b662199e6a 100644 --- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -118,5 +118,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -118,5 +118,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..827889bc75c5 100644 --- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts @@ -120,5 +120,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..4d7e63d31fd2 100644 --- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts @@ -119,5 +119,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..d7fa901bdec9 100644 --- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts @@ -119,5 +119,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..32b1fd8a63a2 100644 --- a/sdk/sql/arm-sql/src/models/index.ts +++ b/sdk/sql/arm-sql/src/models/index.ts @@ -849,24 +849,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. */ @@ -2308,7 +2290,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 +2400,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 +2423,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 +2533,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 +2552,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 +2662,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 +2686,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 +2796,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 +3609,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,1973 +3787,2289 @@ export interface ElasticPoolOperation extends ProxyResource { } /** - * The maximum size capability. + * A database resource. */ -export interface MaxSizeCapability { - /** - * The maximum size limit (see 'unit' for the units). - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly limit?: number; +export interface Database extends TrackedResource { /** - * 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.** + * 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 unit?: MaxSizeUnit; -} - -/** - * The log size capability. - */ -export interface LogSizeCapability { + sku?: Sku; /** - * The log size limit (see 'unit' for the units). + * 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 limit?: number; + readonly kind?: string; /** - * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', - * 'Terabytes', 'Petabytes', 'Percent' + * Resource that manages the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: LogSizeUnit; -} - -/** - * The maximum size range capability. - */ -export interface MaxSizeRangeCapability { + readonly managedBy?: string; /** - * Minimum value. - * **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 minValue?: MaxSizeCapability; + createMode?: CreateMode; /** - * Maximum value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The collation of the database. */ - readonly maxValue?: MaxSizeCapability; + collation?: string; /** - * 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 max size of the database expressed in bytes. */ - readonly scaleSize?: MaxSizeCapability; + maxSizeBytes?: number; /** - * Size of transaction log. - * **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 logSize?: LogSizeCapability; + sampleName?: SampleName; /** - * 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 elastic pool containing this database. */ - readonly status?: CapabilityStatus; + elasticPoolId?: string; /** - * The reason for the capability not being available. + * The resource identifier of the source database associated with create operation of this + * database. */ - reason?: string; -} - -/** - * The performance level capability. - */ -export interface PerformanceLevelCapability { + sourceDatabaseId?: string; /** - * 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. - */ - reason?: string; -} - -/** - * The minimum per-database performance level capability. - */ -export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { + * If enabled, connections that have application intent set to readonly in their connection + * string may be routed to a readonly secondary replica. This property is only settable for + * Premium and Business Critical databases. Possible values include: 'Enabled', 'Disabled' + */ + readScale?: DatabaseReadScale; /** - * The 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. - * **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 zoneRedundant?: boolean; + longTermRetentionBackupResourceId?: 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 recoverable database associated with create operation of this + * database. */ - readonly status?: CapabilityStatus; + recoverableDatabaseId?: string; /** - * The reason for the capability not being available. + * The resource identifier of the restorable dropped database associated with create operation of + * this database. */ - reason?: string; -} - -/** - * The server capability - */ -export interface ServerVersionCapability { + restorableDroppedDatabaseId?: string; /** - * The server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - readonly name?: string; + catalogCollation?: CatalogCollationType; /** - * The list of supported database editions. - * **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 supportedEditions?: EditionCapability[]; + zoneRedundant?: boolean; /** - * The list of supported elastic pool editions. - * **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 supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; + licenseType?: DatabaseLicenseType; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The max log size for this database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly maxLogSizeBytes?: number; /** - * The reason for the capability not being available. + * 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.** */ - reason?: string; -} - -/** - * The managed instance virtual cores capability. - */ -export interface ManagedInstanceVcoresCapability { + readonly earliestRestoreDate?: Date; /** - * The virtual cores identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If enabled, connections that have application intent set to readonly in their connection + * string may be routed to a readonly secondary replica. This property is only settable for + * Premium and Business Critical databases. Possible values include: 'Enabled', 'Disabled' */ - readonly name?: string; + readScale?: DatabaseReadScale; /** - * The virtual cores value. - * **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 value?: number; + readReplicaCount?: number; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The name and tier of the SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly currentSku?: Sku; /** - * The reason for the capability not being available. + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled */ - reason?: string; -} - -/** - * The managed server family capability. - */ -export interface ManagedInstanceFamilyCapability { - /** - * Family name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; + autoPauseDelay?: number; /** - * SKU name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Minimal capacity that database will always have allocated, if not paused */ - readonly sku?: string; + minCapacity?: number; /** - * List of supported license types. + * 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 supportedLicenseTypes?: LicenseTypeCapability[]; + readonly pausedDate?: Date; /** - * List of supported virtual cores values. + * 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 supportedVcoresValues?: ManagedInstanceVcoresCapability[]; + readonly resumedDate?: Date; /** - * Included size. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags. */ - readonly includedMaxSize?: MaxSizeCapability; + tags?: { [propertyName: string]: string }; +} + +/** + * Contains the information necessary to perform a resource move (rename). + */ +export interface ResourceMoveDefinition { /** - * Storage size ranges. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The target ID for the resource */ - readonly supportedStorageSizes?: MaxSizeRangeCapability[]; + 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 capability + * An elastic pool. */ -export interface ManagedInstanceEditionCapability { +export interface ElasticPool extends TrackedResource { /** - * The managed server version 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; /** - * The supported families. + * 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 supportedFamilies?: ManagedInstanceFamilyCapability[]; + readonly kind?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly state?: ElasticPoolState; /** - * The reason for the capability not being available. + * The creation date of the elastic pool (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; -} - -/** - * The managed instance capability - */ -export interface ManagedInstanceVersionCapability { + readonly creationDate?: Date; /** - * The 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 list of supported managed instance editions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The per database settings for the elastic pool. */ - readonly supportedEditions?: ManagedInstanceEditionCapability[]; + 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 location capability. + * An elastic pool update. */ -export interface LocationCapabilities { +export interface ElasticPoolUpdate { + sku?: Sku; /** - * The location 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 list of supported server versions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The per database settings for the elastic pool. */ - readonly supportedServerVersions?: ServerVersionCapability[]; + perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** - * The list of supported managed instance versions. - * **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 supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; + zoneRedundant?: boolean; /** - * 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 license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - readonly status?: CapabilityStatus; + licenseType?: ElasticPoolLicenseType; /** - * The reason for the capability not being available. + * Resource tags. */ - reason?: string; + tags?: { [propertyName: string]: string }; } /** - * A database resource. + * Properties of a vulnerability assessment scan error. */ -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 VulnerabilityAssessmentScanError { /** - * Kind of database. This is metadata used for the Azure portal experience. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly code?: string; /** - * Resource that manages the database. + * The error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly managedBy?: string; + readonly message?: string; +} + +/** + * A vulnerability assessment scan record. + */ +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** - * Specifies the mode of database creation. - * - * Default: regular database creation. - * - * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified - * as the resource ID of the source database. - * - * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId - * must be specified as the resource ID of the existing primary database. - * - * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing - * database. sourceDatabaseId must be specified as the resource ID of the existing database, and - * restorePointInTime must be specified. - * - * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be - * specified as the recoverable database resource ID to restore. - * - * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must - * be specified. If sourceDatabaseId is the database's original resource ID, then - * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the - * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. - * restorePointInTime may also be specified to restore from an earlier point in time. - * - * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention - * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point - * resource ID. - * - * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse - * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', - * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', - * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * The scan ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: CreateMode; + readonly scanId?: string; /** - * The collation of the database. + * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** - * The max size of the database expressed in bytes. + * 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.** */ - maxSizeBytes?: number; + readonly state?: VulnerabilityAssessmentScanState; /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * The scan start time (UTC). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sampleName?: SampleName; + readonly startTime?: Date; /** - * The resource identifier of the elastic pool containing this database. + * The scan end time (UTC). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - elasticPoolId?: string; + readonly endTime?: Date; /** - * The resource identifier of the source database associated with create operation of this - * database. + * The scan errors. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceDatabaseId?: string; + readonly errors?: VulnerabilityAssessmentScanError[]; /** - * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', - * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', - * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', - * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' + * The scan results storage container path. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: DatabaseStatus; + readonly storageContainerPath?: string; /** - * The ID of the database. + * The number of failed security checks. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly databaseId?: string; + readonly numberOfFailedSecurityChecks?: number; +} + +/** + * A database Vulnerability Assessment scan export resource. + */ +export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { /** - * The creation date of the database (ISO8601 format). + * 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 exportedReportLocation?: string; +} + +/** + * Read-write endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadWriteEndpoint { + /** + * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is + * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: + * 'Manual', 'Automatic' + */ + failoverPolicy: ReadWriteEndpointFailoverPolicy; + /** + * Grace period before failover with data loss is attempted for the read-write endpoint. If + * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. + */ + failoverWithDataLossGracePeriodMinutes?: number; +} + +/** + * Read-only endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadOnlyEndpoint { + /** + * Failover policy of the read-only endpoint for the failover group. Possible values include: + * 'Disabled', 'Enabled' + */ + failoverPolicy?: ReadOnlyEndpointFailoverPolicy; +} + +/** + * Partner region information for the failover group. + */ +export interface PartnerRegionInfo { + /** + * Geo location of the partner managed instances. + */ + location?: string; + /** + * Replication role of the partner managed instances. Possible values include: 'Primary', + * 'Secondary' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly replicationRole?: InstanceFailoverGroupReplicationRole; +} + +/** + * Pairs of Managed Instances in the failover group. + */ +export interface ManagedInstancePairInfo { + /** + * Id of Primary Managed Instance in pair. + */ + primaryManagedInstanceId?: string; + /** + * Id of Partner Managed Instance in pair. + */ + partnerManagedInstanceId?: string; +} + +/** + * An instance failover group. + */ +export interface InstanceFailoverGroup extends ProxyResource { + /** + * Read-write endpoint of the failover group instance. + */ + readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; + /** + * Read-only endpoint of the failover group instance. + */ + readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; + /** + * 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 replicationRole?: InstanceFailoverGroupReplicationRole; + /** + * Replication state of the failover group instance. + * **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[]; + /** + * List of managed instance pairs in the failover group. + */ + managedInstancePairs: ManagedInstancePairInfo[]; +} + +/** + * A short term retention policy. + */ +export interface BackupShortTermRetentionPolicy extends ProxyResource { + /** + * The backup retention period in days. This is how many days Point-in-Time Restore will be + * supported. + */ + retentionDays?: number; +} + +/** + * A TDE certificate that can be uploaded into a server. + */ +export interface TdeCertificate extends ProxyResource { + /** + * The base64 encoded certificate private blob. + */ + privateBlob: string; + /** + * The certificate password. + */ + certPassword?: string; +} + +/** + * A managed instance key. + */ +export interface ManagedInstanceKey extends ProxyResource { + /** + * Kind of encryption protector. This is metadata used for the Azure portal experience. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; + /** + * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' + */ + serverKeyType: ServerKeyType; + /** + * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. + */ + uri?: string; + /** + * Thumbprint of the key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly thumbprint?: string; + /** + * The key creation date. * **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 { /** - * The current service level objective name of the 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.** */ - readonly currentServiceObjectiveName?: string; + readonly kind?: string; /** - * The requested service level objective name of the database. + * The name of the managed instance key. + */ + serverKeyName?: string; + /** + * 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 requestedServiceObjectiveName?: string; + readonly uri?: string; /** - * The default secondary region for this database. + * Thumbprint of the server key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly thumbprint?: string; +} + +/** + * A recoverable managed database resource. + */ +export interface RecoverableManagedDatabase extends ProxyResource { /** - * Failover Group resource identifier that this database belongs to. + * The last available backup date. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly lastAvailableBackupDate?: string; +} + +/** + * A managed instance vulnerability assessment. + */ +export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - restorePointInTime?: Date; + storageContainerPath: string; /** - * Specifies the time that the database was deleted. + * 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. */ - sourceDatabaseDeletionDate?: Date; + storageContainerSasKey?: string; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - recoveryServicesRecoveryPointId?: string; + storageAccountAccessKey?: string; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * A server vulnerability assessment. + */ +export interface ServerVulnerabilityAssessment extends ProxyResource { + /** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). + */ + storageContainerPath: string; + /** + * A shared access signature (SAS Key) that has read and write access to the blob container + * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. + */ + storageContainerSasKey?: string; + /** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + */ + storageAccountAccessKey?: string; + /** + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * An Azure SQL instance pool. + */ +export interface InstancePool extends TrackedResource { + /** + * The name and tier of the SKU. + */ + sku?: Sku; + /** + * Resource ID of the subnet to place this instance pool in. + */ + subnetId: string; + /** + * Count of vCores belonging to this instance pool. + */ + vCores: number; + /** + * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) + * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', + * 'BasePrice' + */ + licenseType: InstancePoolLicenseType; +} + +/** + * An update to an Instance pool. + */ +export interface InstancePoolUpdate { + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * ARM Usage Name + */ +export interface Name { + /** + * Usage name value + */ + value?: string; + /** + * Usage name localized value. + */ + localizedValue?: string; +} + +/** + * ARM usage. + */ +export interface Usage { + /** + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: Name; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Usage unit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unit?: string; + /** + * Usage current value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentValue?: number; + /** + * Usage limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly limit?: number; + /** + * Usage requested limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requestedLimit?: number; +} + +/** + * An Azure SQL managed instance. + */ +export interface ManagedInstance extends TrackedResource { + /** + * The Azure Active Directory identity of the managed instance. + */ + identity?: ResourceIdentity; + /** + * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 + */ + sku?: Sku; + /** + * Specifies the mode of database creation. + * + * Default: Regular instance creation. + * + * Restore: Creates an instance by restoring a set of backups to specific point in time. + * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: + * 'Default', 'PointInTimeRestore' + */ + managedInstanceCreateMode?: ManagedServerCreateMode; + /** + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fullyQualifiedDomainName?: string; + /** + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). + */ + administratorLogin?: string; + /** + * The administrator login password (required for managed instance creation). */ - longTermRetentionBackupResourceId?: string; + administratorLoginPassword?: string; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * Subnet resource ID for the managed instance. */ - recoverableDatabaseId?: string; + subnetId?: string; /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * The state of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly state?: string; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * 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' */ - catalogCollation?: CatalogCollationType; + licenseType?: ManagedInstanceLicenseType; /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. */ - zoneRedundant?: boolean; + vCores?: number; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. */ - licenseType?: DatabaseLicenseType; + storageSizeInGB?: number; /** - * The max log size for this database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Collation of the managed instance. */ - readonly maxLogSizeBytes?: number; + collation?: string; /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * The Dns Zone that the managed instance is in. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestoreDate?: Date; + readonly dnsZone?: 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 resource id of another managed instance whose DNS zone this managed instance will share + * after creation. */ - readScale?: DatabaseReadScale; + dnsZonePartner?: string; /** - * The number of readonly secondary replicas associated with the database to which readonly - * application intent connections may be routed. This property is only settable for Hyperscale - * edition databases. + * Whether or not the public data endpoint is enabled. */ - readReplicaCount?: number; + publicDataEndpointEnabled?: boolean; /** - * The name and tier of the SKU. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the source managed instance associated with create operation of + * this instance. */ - readonly currentSku?: Sku; + sourceManagedInstanceId?: string; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - autoPauseDelay?: number; + restorePointInTime?: Date; /** - * Minimal capacity that database will always have allocated, if not paused + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' */ - minCapacity?: number; + proxyOverride?: ManagedInstanceProxyOverride; /** - * 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.** + * 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". */ - readonly pausedDate?: Date; + timezoneId?: 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.** + * The Id of the instance pool this managed server belongs to. */ - readonly resumedDate?: Date; + instancePoolId?: string; } /** - * A database resource. + * An update request for an Azure SQL Database managed instance. */ -export interface DatabaseUpdate { +export interface ManagedInstanceUpdate { /** - * The name and tier of the SKU. + * Managed instance 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. + * Default: Regular instance creation. * - * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse - * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', - * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', - * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' - */ - createMode?: CreateMode; - /** - * The collation of the database. - */ - collation?: string; - /** - * The max size of the database expressed in bytes. - */ - maxSizeBytes?: number; - /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' - */ - sampleName?: SampleName; - /** - * The resource identifier of the elastic pool containing this database. - */ - elasticPoolId?: string; - /** - * The resource identifier of the source database associated with create operation of this - * database. - */ - sourceDatabaseId?: string; - /** - * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', - * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', - * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', - * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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' */ - readonly status?: DatabaseStatus; + managedInstanceCreateMode?: ManagedServerCreateMode; /** - * The ID of the database. + * 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 databaseId?: string; + readonly fullyQualifiedDomainName?: string; /** - * The creation date of the database (ISO8601 format). - * **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 creationDate?: Date; + administratorLogin?: string; /** - * The current service level objective name of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The administrator login password (required for managed instance creation). */ - readonly currentServiceObjectiveName?: string; + administratorLoginPassword?: 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.** + * Subnet resource ID for the managed instance. */ - readonly requestedServiceObjectiveName?: string; + subnetId?: string; /** - * The default secondary region for this database. + * The state of the managed instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly state?: string; /** - * Failover Group resource identifier that this database belongs to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The 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' */ - readonly failoverGroupId?: string; + licenseType?: ManagedInstanceLicenseType; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. */ - restorePointInTime?: Date; + vCores?: number; /** - * Specifies the time that the database was deleted. + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. */ - sourceDatabaseDeletionDate?: Date; + storageSizeInGB?: number; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * Collation of the managed instance. */ - recoveryServicesRecoveryPointId?: string; + collation?: string; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - longTermRetentionBackupResourceId?: string; + readonly dnsZone?: string; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. */ - recoverableDatabaseId?: string; + dnsZonePartner?: string; /** - * The resource identifier of the restorable dropped database associated with create operation of - * this database. + * Whether or not the public data endpoint is enabled. */ - restorableDroppedDatabaseId?: string; + publicDataEndpointEnabled?: boolean; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The resource identifier of the source managed instance associated with create operation of + * this instance. */ - catalogCollation?: CatalogCollationType; + sourceManagedInstanceId?: string; /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. */ - zoneRedundant?: boolean; + restorePointInTime?: Date; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' */ - licenseType?: DatabaseLicenseType; + proxyOverride?: ManagedInstanceProxyOverride; /** - * The max log size for this database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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". */ - readonly maxLogSizeBytes?: number; - /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + timezoneId?: string; + /** + * The Id of the instance pool this managed server belongs to. */ - readonly earliestRestoreDate?: Date; + instancePoolId?: 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' + * Resource tags. */ - readScale?: DatabaseReadScale; + tags?: { [propertyName: string]: string }; +} + +/** + * A managed database restore details. + */ +export interface ManagedDatabaseRestoreDetailsResult 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. + * Restore status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readReplicaCount?: number; + readonly status?: string; /** - * The name and tier of the SKU. + * Current restoring file name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentSku?: Sku; + readonly currentRestoringFileName?: string; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * Last restored file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - autoPauseDelay?: number; + readonly lastRestoredFileName?: string; /** - * Minimal capacity that database will always have allocated, if not paused + * Last restored file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly lastRestoredFileTime?: Date; /** - * The date when database was paused by user configuration or action (ISO8601 format). Null if - * the database is ready. + * Percent completed. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly pausedDate?: Date; + readonly percentCompleted?: number; /** - * The date when database was resumed by user action or database login (ISO8601 format). Null if - * the database is paused. + * List of unrestorable files. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resumedDate?: Date; + readonly unrestorableFiles?: string[]; /** - * Resource tags. + * Number of files detected. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; -} - -/** - * Contains the information necessary to perform a resource move (rename). - */ -export interface ResourceMoveDefinition { + readonly numberOfFilesDetected?: number; /** - * The target ID for the resource + * Last uploaded file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id: string; -} - -/** - * Per database settings of an elastic pool. - */ -export interface ElasticPoolPerDatabaseSettings { + readonly lastUploadedFileName?: string; /** - * The minimum capacity all databases are guaranteed. + * Last uploaded file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly lastUploadedFileTime?: Date; /** - * The maximum capacity any one database can consume. + * The reason why restore is in Blocked state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxCapacity?: number; + readonly blockReason?: string; } /** - * An elastic pool. + * A managed database resource. */ -export interface ElasticPool extends TrackedResource { +export interface ManagedDatabase extends TrackedResource { /** - * The elastic pool SKU. - * - * The list of SKUs may vary by region and support offer. To determine the SKUs (including the - * SKU name, tier/edition, family, and capacity) that are available to your subscription in an - * Azure region, use the `Capabilities_ListByLocation` REST API or the following command: - * - * ```azurecli - * az sql elastic-pool list-editions -l -o table - * ```` + * Collation of the managed database. */ - sku?: Sku; + collation?: string; /** - * Kind of elastic pool. This is metadata used for the Azure portal experience. + * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', + * 'Inaccessible', 'Restoring', 'Updating' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly status?: ManagedDatabaseStatus; /** - * The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled' + * Creation date of the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: ElasticPoolState; + readonly creationDate?: Date; /** - * The creation date of the elastic pool (ISO8601 format). + * Earliest restore point in time for point in time restore. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly earliestRestorePoint?: Date; /** - * The storage limit for the database elastic pool in bytes. + * 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. */ - maxSizeBytes?: number; + restorePointInTime?: Date; /** - * The per database settings for the elastic pool. + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + readonly defaultSecondaryLocation?: 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. + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - zoneRedundant?: boolean; + catalogCollation?: CatalogCollationType; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * 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' */ - licenseType?: ElasticPoolLicenseType; -} - -/** - * An elastic pool update. - */ -export interface ElasticPoolUpdate { - sku?: Sku; + createMode?: ManagedDatabaseCreateMode; /** - * The storage limit for the database elastic pool in bytes. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. */ - maxSizeBytes?: number; + storageContainerUri?: string; /** - * The per database settings for the elastic pool. + * The resource identifier of the source database associated with create operation of this + * database. */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + sourceDatabaseId?: string; /** - * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic - * pool will be spread across multiple availability zones. + * The restorable dropped database resource id to restore when creating this database. */ - zoneRedundant?: boolean; + restorableDroppedDatabaseId?: string; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. */ - licenseType?: ElasticPoolLicenseType; + storageContainerSasToken?: string; /** - * Resource tags. + * 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.** */ - tags?: { [propertyName: string]: string }; + readonly failoverGroupId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; } /** - * Properties of a vulnerability assessment scan error. + * An managed database update. */ -export interface VulnerabilityAssessmentScanError { +export interface ManagedDatabaseUpdate { /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Collation of the managed database. */ - readonly code?: string; + collation?: string; /** - * The error message. + * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', + * 'Inaccessible', 'Restoring', 'Updating' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly message?: string; -} - -/** - * A vulnerability assessment scan record. - */ -export interface VulnerabilityAssessmentScanRecord extends ProxyResource { + readonly status?: ManagedDatabaseStatus; /** - * The scan ID. + * Creation date of the database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly scanId?: string; + readonly creationDate?: Date; /** - * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' + * Earliest restore point in time for point in time restore. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly triggerType?: VulnerabilityAssessmentScanTriggerType; + readonly earliestRestorePoint?: Date; /** - * 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.** + * 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. */ - readonly state?: VulnerabilityAssessmentScanState; + restorePointInTime?: Date; /** - * The scan start time (UTC). + * Geo paired region. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTime?: Date; + readonly defaultSecondaryLocation?: string; /** - * The scan end time (UTC). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - readonly endTime?: Date; + catalogCollation?: CatalogCollationType; /** - * The scan errors. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Managed database create mode. PointInTimeRestore: Create a database by restoring a point in + * time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and + * PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from + * external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be + * specified. Recovery: Creates a database by restoring a geo-replicated backup. + * RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. + * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' */ - readonly errors?: VulnerabilityAssessmentScanError[]; + createMode?: ManagedDatabaseCreateMode; /** - * The scan results storage container path. + * 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 storageContainerPath?: string; + readonly failoverGroupId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; /** - * The number of failed security checks. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags. */ - readonly numberOfFailedSecurityChecks?: number; + tags?: { [propertyName: string]: string }; } /** - * A database Vulnerability Assessment scan export resource. + * Contains the information necessary to perform a complete database restore operation. */ -export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { +export interface CompleteDatabaseRestoreDefinition { /** - * 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.** + * The last backup name to apply */ - readonly exportedReportLocation?: string; + lastBackupName: string; } /** - * Read-write endpoint of the failover group instance. + * An interface representing PrivateEndpointProperty. */ -export interface InstanceFailoverGroupReadWriteEndpoint { - /** - * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is - * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: - * 'Manual', 'Automatic' - */ - failoverPolicy: ReadWriteEndpointFailoverPolicy; +export interface PrivateEndpointProperty extends BaseResource { /** - * Grace period before failover with data loss is attempted for the read-write endpoint. If - * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. + * Resource id of the private endpoint. */ - failoverWithDataLossGracePeriodMinutes?: number; + id?: string; } /** - * Read-only endpoint of the failover group instance. + * An interface representing PrivateLinkServiceConnectionStateProperty. */ -export interface InstanceFailoverGroupReadOnlyEndpoint { +export interface PrivateLinkServiceConnectionStateProperty { /** - * Failover policy of the read-only endpoint for the failover group. Possible values include: - * 'Disabled', 'Enabled' + * The private link service connection status. */ - failoverPolicy?: ReadOnlyEndpointFailoverPolicy; -} - -/** - * Partner region information for the failover group. - */ -export interface PartnerRegionInfo { + status: string; /** - * Geo location of the partner managed instances. + * The private link service connection description. */ - location?: string; + description: string; /** - * Replication role of the partner managed instances. Possible values include: 'Primary', - * 'Secondary' + * The actions required for private link service connection. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + readonly actionsRequired?: string; } /** - * Pairs of Managed Instances in the failover group. + * A private endpoint connection */ -export interface ManagedInstancePairInfo { +export interface PrivateEndpointConnection extends ProxyResource { /** - * Id of Primary Managed Instance in pair. + * Private endpoint which the connection belongs to. */ - primaryManagedInstanceId?: string; + privateEndpoint?: PrivateEndpointProperty; /** - * Id of Partner Managed Instance in pair. + * Connection state of the private endpoint connection. */ - partnerManagedInstanceId?: string; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + /** + * State of the private endpoint connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; } /** - * An instance failover group. + * Properties of a private link resource. */ -export interface InstanceFailoverGroup extends ProxyResource { - /** - * Read-write endpoint of the failover group instance. - */ - readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; - /** - * Read-only endpoint of the failover group instance. - */ - readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; +export interface PrivateLinkResourceProperties { /** - * Local replication role of the failover group instance. Possible values include: 'Primary', - * 'Secondary' + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + readonly groupId?: string; /** - * Replication state of the failover group instance. + * The private link resource required member names. * **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[]; - /** - * List of managed instance pairs in the failover group. - */ - managedInstancePairs: ManagedInstancePairInfo[]; + readonly requiredMembers?: string[]; } /** - * A short term retention policy. + * A private link resource */ -export interface BackupShortTermRetentionPolicy extends ProxyResource { +export interface PrivateLinkResource extends ProxyResource { /** - * The backup retention period in days. This is how many days Point-in-Time Restore will be - * supported. + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDays?: number; + readonly properties?: PrivateLinkResourceProperties; } /** - * A TDE certificate that can be uploaded into a server. + * Azure Active Directory administrator. */ -export interface TdeCertificate extends ProxyResource { +export interface ServerAzureADAdministrator extends ProxyResource { /** - * The base64 encoded certificate private blob. + * Login name of the server administrator. */ - privateBlob: string; + login: string; /** - * The certificate password. + * SID (object ID) of the server administrator. */ - certPassword?: string; + sid: string; + /** + * Tenant ID of the administrator. + */ + tenantId?: string; } /** - * A managed instance key. + * The maximum size capability. */ -export interface ManagedInstanceKey extends ProxyResource { +export interface MaxSizeCapability { /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * The maximum size limit (see 'unit' for the units). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; - /** - * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' - */ - serverKeyType: ServerKeyType; + readonly limit?: number; /** - * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI 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.** */ - uri?: string; + readonly unit?: MaxSizeUnit; +} + +/** + * The log size capability. + */ +export interface LogSizeCapability { /** - * Thumbprint of the key. + * The log size limit (see 'unit' for the units). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly limit?: number; /** - * The key creation date. + * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', + * 'Terabytes', 'Petabytes', 'Percent' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly unit?: LogSizeUnit; } /** - * The managed instance encryption protector. + * The maximum size range capability. */ -export interface ManagedInstanceEncryptionProtector extends ProxyResource { +export interface MaxSizeRangeCapability { /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * Minimum value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly minValue?: MaxSizeCapability; /** - * The name of the managed instance key. + * Maximum value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyName?: string; + readonly maxValue?: MaxSizeCapability; /** - * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * 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.** */ - serverKeyType: ServerKeyType; + readonly scaleSize?: MaxSizeCapability; /** - * The URI of the server key. + * Size of transaction log. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly uri?: string; + readonly logSize?: LogSizeCapability; /** - * Thumbprint of the server key. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; -} - -/** - * A recoverable managed database resource. - */ -export interface RecoverableManagedDatabase extends ProxyResource { + readonly status?: CapabilityStatus; /** - * The last available backup date. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly lastAvailableBackupDate?: string; + reason?: string; } /** - * A managed instance vulnerability assessment. + * The performance level capability. */ -export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { - /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). - */ - storageContainerPath: string; - /** - * A shared access signature (SAS Key) that has read and write access to the blob container - * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, - * StorageContainerSasKey is required. - */ - storageContainerSasKey?: string; +export interface PerformanceLevelCapability { /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * Performance level value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly value?: number; /** - * The recurring scans settings + * 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.** */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + readonly unit?: PerformanceLevelUnit; } /** - * A server vulnerability assessment. + * The license type capability */ -export interface ServerVulnerabilityAssessment extends ProxyResource { - /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). - */ - storageContainerPath: string; +export interface LicenseTypeCapability { /** - * 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. + * License type identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; + readonly name?: string; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly status?: CapabilityStatus; /** - * The recurring scans settings + * The reason for the capability not being available. */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + reason?: string; } /** - * An Azure SQL instance pool. + * Supported auto pause delay time range */ -export interface InstancePool extends TrackedResource { +export interface AutoPauseDelayTimeRange { + /** + * Minimum value + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly minValue?: number; /** - * The name and tier of the SKU. + * Maximum value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly maxValue?: number; /** - * Resource ID of the subnet to place this instance pool in. + * 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.** */ - subnetId: string; + readonly stepSize?: number; /** - * Count of vCores belonging to this instance pool. + * Default value is no value is provided + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores: number; + readonly default?: number; /** - * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) - * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', - * 'BasePrice' + * 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.** */ - licenseType: InstancePoolLicenseType; -} - -/** - * An update to an Instance pool. - */ -export interface InstancePoolUpdate { + readonly unit?: PauseDelayTimeUnit; /** - * Resource tags. + * 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.** */ - tags?: { [propertyName: string]: string }; + readonly doNotPauseValue?: number; } /** - * ARM Usage Name + * The min capacity capability */ -export interface Name { +export interface MinCapacityCapability { /** - * Usage name value + * Min capacity value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; + readonly value?: number; /** - * Usage name localized value. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - localizedValue?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * ARM usage. + * The service objectives capability. */ -export interface Usage { +export interface ServiceObjectiveCapability { /** - * Resource ID. + * The unique ID of the service objective. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * Resource name. + * The service objective name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: Name; + readonly name?: string; /** - * Resource type. + * The list of supported maximum database sizes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly type?: string; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * Usage unit. + * The performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; + readonly performanceLevel?: PerformanceLevelCapability; /** - * Usage current value. + * The sku. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentValue?: number; + readonly sku?: Sku; /** - * Usage limit. + * List of supported license types. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Usage requested limit. + * The included (free) max size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requestedLimit?: number; + readonly includedMaxSize?: MaxSizeCapability; + /** + * Whether or not zone redundancy is supported for the service objective. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneRedundant?: boolean; + /** + * Supported time range for auto pause delay + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; + /** + * List of supported min capacities + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedMinCapacities?: MinCapacityCapability[]; + /** + * The compute model + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly computeModel?: string; + /** + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An Azure SQL managed instance. + * The read scale capability. */ -export interface ManagedInstance extends TrackedResource { +export interface ReadScaleCapability { /** - * The Azure Active Directory identity of the managed instance. + * The maximum number of read scale replicas. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identity?: ResourceIdentity; + readonly maxNumberOfReplicas?: 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 storage account type capability. + */ +export interface StorageCapability { /** - * The fully qualified domain name of the managed instance. + * The storage account type for the database's backups. Possible values include: 'GRS', 'LRS', + * 'ZRS' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fullyQualifiedDomainName?: string; + readonly storageAccountType?: StorageAccountType; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * 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.** */ - administratorLogin?: string; + readonly status?: CapabilityStatus; /** - * The administrator login password (required for managed instance creation). + * The reason for the capability not being available. */ - administratorLoginPassword?: string; + reason?: string; +} + +/** + * The edition capability. + */ +export interface EditionCapability { /** - * Subnet resource ID for the managed instance. + * The database edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly name?: string; /** - * The state of 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.** */ - readonly state?: string; + readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; /** - * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL - * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible - * values include: 'LicenseIncluded', 'BasePrice' + * Whether or not zone redundancy is supported for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ManagedInstanceLicenseType; + readonly zoneRedundant?: boolean; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * The read scale capability for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly readScale?: ReadScaleCapability; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * The list of supported storage capabilities for this edition + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageSizeInGB?: number; + readonly supportedStorageCapabilities?: StorageCapability[]; /** - * Collation 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.** */ - collation?: string; + readonly status?: CapabilityStatus; /** - * The Dns Zone that the managed instance is in. + * The reason for the capability not being available. + */ + reason?: string; +} + +/** + * The minimum per-database performance level capability. + */ +export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { + /** + * 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; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An update request for an Azure SQL Database managed instance. + * The Elastic Pool performance level capability. */ -export interface ManagedInstanceUpdate { +export interface ElasticPoolPerformanceLevelCapability { /** - * Managed instance sku + * The performance level for the pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly performanceLevel?: PerformanceLevelCapability; /** - * 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 sku. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sku?: Sku; + /** + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedInstanceCreateMode?: ManagedServerCreateMode; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * The fully qualified domain name of the managed instance. + * The maximum number of databases supported. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fullyQualifiedDomainName?: string; + readonly maxDatabaseCount?: number; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * The included (free) max size for this performance level. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLogin?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * The administrator login password (required for managed instance creation). + * The list of supported max sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLoginPassword?: string; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * Subnet resource ID for the managed instance. + * The list of supported per database max sizes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; /** - * The state of the managed instance. + * The list of supported per database max performance levels. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: string; + readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; /** - * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL - * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible - * values include: 'LicenseIncluded', 'BasePrice' + * Whether or not zone redundancy is supported for the performance level. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ManagedInstanceLicenseType; + readonly zoneRedundant?: boolean; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly status?: CapabilityStatus; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * The reason for the capability not being available. */ - storageSizeInGB?: number; + reason?: string; +} + +/** + * The elastic pool edition capability. + */ +export interface ElasticPoolEditionCapability { /** - * Collation of the managed instance. + * The elastic pool edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly name?: string; /** - * The Dns Zone that the managed instance is in. + * The list of supported elastic pool DTU levels for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * Whether or not zone redundancy is supported for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsZonePartner?: string; + readonly zoneRedundant?: boolean; /** - * Whether or not the public data endpoint is enabled. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicDataEndpointEnabled?: boolean; + readonly status?: CapabilityStatus; /** - * The resource identifier of the source managed instance associated with create operation of - * this instance. + * The reason for the capability not being available. */ - sourceManagedInstanceId?: string; + reason?: string; +} + +/** + * The server capability + */ +export interface ServerVersionCapability { /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly name?: string; /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The list of supported database editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly supportedEditions?: EditionCapability[]; /** - * Id of the timezone. Allowed values are timezones supported by Windows. - * Windows keeps details on supported timezones, including the id, in registry under - * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. - * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM - * sys.time_zone_info. - * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in - * PowerShell. - * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". + * The list of supported elastic pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; /** - * The Id of the instance pool this managed server belongs to. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instancePoolId?: string; + readonly status?: CapabilityStatus; /** - * Resource tags. + * The reason for the capability not being available. */ - tags?: { [propertyName: string]: string }; + reason?: string; } /** - * A managed database restore details. + * The managed instance virtual cores capability. */ -export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { +export interface ManagedInstanceVcoresCapability { /** - * Restore status. + * The virtual cores identifier. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: string; + readonly name?: string; /** - * Current restoring file name. + * The virtual cores value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentRestoringFileName?: string; + readonly value?: number; /** - * Last restored file name. + * Included size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileName?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * Last restored file time. + * Storage size ranges. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileTime?: Date; + readonly supportedStorageSizes?: MaxSizeRangeCapability[]; /** - * Percent completed. + * True if this service objective is supported for managed instances in an instance pool. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly percentCompleted?: number; + readonly instancePoolSupported?: boolean; /** - * List of unrestorable files. + * 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 unrestorableFiles?: string[]; + readonly standaloneSupported?: boolean; /** - * Number of files detected. + * 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 numberOfFilesDetected?: number; + readonly status?: CapabilityStatus; /** - * Last uploaded file name. + * The reason for the capability not being available. + */ + reason?: string; +} + +/** + * The managed server family capability. + */ +export interface ManagedInstanceFamilyCapability { + /** + * Family name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileName?: string; + readonly name?: string; /** - * Last uploaded file time. + * SKU name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileTime?: Date; + readonly sku?: string; /** - * The reason why restore is in Blocked state. + * List of supported license types. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly blockReason?: string; + 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?: ManagedInstanceVcoresCapability[]; + /** + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * A managed database resource. + * The managed server capability */ -export interface ManagedDatabase extends TrackedResource { +export interface ManagedInstanceEditionCapability { /** - * Collation of the managed database. + * The managed server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly name?: string; /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * The supported families. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; /** - * Creation date of the database. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly status?: CapabilityStatus; /** - * Earliest restore point in time for point in time restore. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly earliestRestorePoint?: Date; + reason?: string; +} + +/** + * The managed instance virtual cores capability. + */ +export interface InstancePoolVcoresCapability { /** - * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point - * in time (ISO8601 format) of the source database that will be restored to create the new - * database. + * The virtual cores identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly name?: string; /** - * Geo paired region. + * The virtual cores value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly value?: number; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * Storage limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly storageLimit?: MaxSizeCapability; /** - * Managed database create mode. PointInTimeRestore: Create a database by restoring a point in - * time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and - * PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from - * external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be - * specified. Recovery: Creates a database by restoring a geo-replicated backup. - * RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. - * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: ManagedDatabaseCreateMode; + readonly status?: CapabilityStatus; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri - * of the storage container where backups for this restore are stored. + * The reason for the capability not being available. */ - storageContainerUri?: string; + reason?: string; +} + +/** + * The instance pool family capability. + */ +export interface InstancePoolFamilyCapability { /** - * 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. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * List of supported virtual cores values. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly supportedVcoresValues?: InstancePoolVcoresCapability[]; /** - * 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 instance pool capability */ -export interface ManagedDatabaseUpdate { - /** - * Collation of the managed database. - */ - collation?: string; +export interface InstancePoolEditionCapability { /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * The instance pool version 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 supported families. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly supportedFamilies?: InstancePoolFamilyCapability[]; /** - * Earliest restore point in time for point in time restore. + * 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 earliestRestorePoint?: Date; + readonly status?: CapabilityStatus; /** - * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point - * in time (ISO8601 format) of the source database that will be restored to create the new - * database. + * The reason for the capability not being available. */ - restorePointInTime?: Date; + reason?: string; +} + +/** + * The managed instance capability + */ +export interface ManagedInstanceVersionCapability { /** - * Geo paired region. + * The server version name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly name?: string; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The list of supported managed instance editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly supportedEditions?: ManagedInstanceEditionCapability[]; /** - * 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 list of supported instance pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: ManagedDatabaseCreateMode; + readonly supportedInstancePoolEditions?: InstancePoolEditionCapability[]; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri - * of the storage container where backups for this restore are stored. + * 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.** */ - storageContainerUri?: string; + readonly status?: CapabilityStatus; /** - * The resource identifier of the source database associated with create operation of this - * database. + * The reason for the capability not being available. */ - sourceDatabaseId?: string; + reason?: string; +} + +/** + * The location capability. + */ +export interface LocationCapabilities { /** - * The restorable dropped database resource id to restore when creating this database. + * The location name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly name?: string; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * The list of supported server versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly supportedServerVersions?: ServerVersionCapability[]; /** - * Instance Failover Group resource identifier that this managed database belongs to. + * The list of supported managed instance versions. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; /** - * 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. + * Workload group operations for a data warehouse */ -export interface CompleteDatabaseRestoreDefinition { +export interface WorkloadGroup extends ProxyResource { /** - * The last backup name to apply + * The workload group minimum percentage resource. */ - lastBackupName: string; -} - -/** - * An interface representing PrivateEndpointProperty. - */ -export interface PrivateEndpointProperty extends BaseResource { + minResourcePercent: number; /** - * Resource id of the private endpoint. + * The workload group cap percentage resource. */ - id?: string; -} - -/** - * An interface representing PrivateLinkServiceConnectionStateProperty. - */ -export interface PrivateLinkServiceConnectionStateProperty { + maxResourcePercent: number; /** - * The private link service connection status. + * The workload group request minimum grant percentage. */ - status: string; + minResourcePercentPerRequest: number; /** - * The private link service connection description. + * The workload group request maximum grant percentage. */ - description: string; + maxResourcePercentPerRequest?: number; /** - * The actions required for private link service connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload group importance level. */ - readonly actionsRequired?: string; + importance?: string; + /** + * The workload group query execution timeout. + */ + queryExecutionTimeout?: number; } /** - * A private endpoint connection + * Workload classifier operations for a data warehouse */ -export interface PrivateEndpointConnection extends ProxyResource { +export interface WorkloadClassifier extends ProxyResource { /** - * Private endpoint which the connection belongs to. + * The workload classifier member name. */ - privateEndpoint?: PrivateEndpointProperty; + memberName: string; /** - * Connection state of the private endpoint connection. + * The workload classifier label. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + label?: string; /** - * State of the private endpoint connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier context. */ - readonly provisioningState?: string; -} - -/** - * Properties of a private link resource. - */ -export interface PrivateLinkResourceProperties { + context?: string; /** - * The private link resource group id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier start time for classification. */ - readonly groupId?: string; + startTime?: string; /** - * The private link resource required member names. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier end time for classification. */ - readonly requiredMembers?: string[]; -} - -/** - * A private link resource - */ -export interface PrivateLinkResource extends ProxyResource { + endTime?: string; /** - * The private link resource group id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier importance. */ - readonly properties?: PrivateLinkResourceProperties; + importance?: string; } /** @@ -6071,18 +6397,6 @@ export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extend filter?: string; } -/** - * Optional Parameters. - */ -export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { - /** - * If specified, restricts the response to only include the selected item. Possible values - * include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' - */ - include?: CapabilityGroup; -} - /** * Optional Parameters. */ @@ -6128,6 +6442,19 @@ export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOp expandChildren?: boolean; } +/** + * Optional Parameters. + */ +export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, restricts the response to only include the selected item. Possible values + * include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' + */ + include?: CapabilityGroup; +} + /** * An interface representing SqlManagementClientOptions. */ @@ -6254,14 +6581,6 @@ export interface RecommendedElasticPoolListMetricsResult extends Array { } -/** - * @interface - * The response to a list Active Directory Administrators request. - * @extends Array - */ -export interface ServerAdministratorListResult extends Array { -} - /** * @interface * A list of server communication links. @@ -6976,6 +7295,45 @@ export interface PrivateLinkResourceListResult extends Array + */ +export interface AdministratorListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of workload groups. + * @extends Array + */ +export interface WorkloadGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of workload classifiers for a workload group. + * @extends Array + */ +export interface WorkloadClassifierListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * Defines values for CheckNameAvailabilityReason. * Possible values include: 'Invalid', 'AlreadyExists' @@ -7410,71 +7768,47 @@ export type JobStepOutputType = 'SqlDatabase'; * @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 ManagementOperationState. - * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', - * 'Cancelled' + +/** + * Defines values for AutomaticTuningServerMode. + * Possible values include: 'Custom', 'Auto', 'Unspecified' * @readonly * @enum {string} */ -export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; +export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; /** - * Defines values for MaxSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' + * Defines values for AutomaticTuningServerReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured' * @readonly * @enum {string} */ -export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; +export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; /** - * Defines values for LogSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' + * Defines values for RestorePointType. + * Possible values include: 'CONTINUOUS', 'DISCRETE' * @readonly * @enum {string} */ -export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; +export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; /** - * Defines values for CapabilityStatus. - * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' + * Defines values for SensitivityLabelRank. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' * @readonly * @enum {string} */ -export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; +export type SensitivityLabelRank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; /** - * Defines values for PerformanceLevelUnit. - * Possible values include: 'DTU', 'VCores' + * Defines values for ManagementOperationState. + * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', + * 'Cancelled' * @readonly * @enum {string} */ -export type PerformanceLevelUnit = 'DTU' | 'VCores'; +export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; /** * Defines values for CreateMode. @@ -7618,6 +7952,46 @@ export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creatin */ export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery'; +/** + * 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 LongTermRetentionDatabaseState. * Possible values include: 'All', 'Live', 'Deleted' @@ -7642,22 +8016,31 @@ export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; */ 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' + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' * @readonly * @enum {string} */ -export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions'; +export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions' | 'supportedInstancePoolEditions' | 'supportedManagedInstanceEditions'; /** - * Defines values for ReplicaType. - * Possible values include: 'Primary', 'ReadableSecondary' + * Defines values for StorageAccountType. + * Possible values include: 'GRS', 'LRS', 'ZRS' * @readonly * @enum {string} */ -export type ReplicaType = 'Primary' | 'ReadableSecondary'; +export type StorageAccountType = 'GRS' | 'LRS' | 'ZRS'; /** * Defines values for Type. @@ -8370,7 +8753,187 @@ export type DatabasesGetResponse = Database & { /** * Contains response data for the createOrUpdate operation. */ -export type DatabasesCreateOrUpdateResponse = Database & { +export type DatabasesCreateOrUpdateResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DatabasesUpdateResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; + +/** + * Contains response data for the listByElasticPool operation. + */ +export type DatabasesListByElasticPoolResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; + +/** + * Contains response data for the pause operation. + */ +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 resume operation. + */ +export type DatabasesResumeResponse = 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 beginImportMethod operation. + */ +export type DatabasesBeginImportMethodResponse = 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 beginCreateImportOperation operation. + */ +export type DatabasesBeginCreateImportOperationResponse = 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 beginExportMethod operation. + */ +export type DatabasesBeginExportMethodResponse = 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 beginCreateOrUpdate operation. + */ +export type DatabasesBeginCreateOrUpdateResponse = 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 beginUpdate operation. + */ +export type DatabasesBeginUpdateResponse = Database & { /** * The underlying HTTP response. */ @@ -8388,9 +8951,9 @@ export type DatabasesCreateOrUpdateResponse = Database & { }; /** - * Contains response data for the update operation. + * Contains response data for the beginPause operation. */ -export type DatabasesUpdateResponse = Database & { +export type DatabasesBeginPauseResponse = Database & { /** * The underlying HTTP response. */ @@ -8408,9 +8971,9 @@ export type DatabasesUpdateResponse = Database & { }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the beginResume operation. */ -export type DatabasesListByElasticPoolResponse = DatabaseListResult & { +export type DatabasesBeginResumeResponse = Database & { /** * The underlying HTTP response. */ @@ -8423,14 +8986,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: Database; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesPauseResponse = Database & { +export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -8443,14 +9006,14 @@ export type DatabasesPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type DatabasesResumeResponse = Database & { +export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -8463,14 +9026,14 @@ export type DatabasesResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the beginImportMethod operation. + * Contains response data for the listMetrics operation. */ -export type DatabasesBeginImportMethodResponse = ImportExportResponse & { +export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The underlying HTTP response. */ @@ -8483,14 +9046,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: MetricListResult; }; }; /** - * Contains response data for the beginCreateImportOperation operation. + * Contains response data for the listMetricDefinitions operation. */ -export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { +export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { /** * The underlying HTTP response. */ @@ -8503,14 +9066,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: MetricDefinitionListResult; }; }; /** - * Contains response data for the beginExportMethod operation. + * Contains response data for the listByServer operation. */ -export type DatabasesBeginExportMethodResponse = ImportExportResponse & { +export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -8523,14 +9086,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ElasticPoolListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type DatabasesBeginCreateOrUpdateResponse = Database & { +export type ElasticPoolsGetResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8543,14 +9106,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesBeginUpdateResponse = Database & { +export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8563,14 +9126,14 @@ export type DatabasesBeginUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the update operation. */ -export type DatabasesBeginPauseResponse = Database & { +export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8583,14 +9146,14 @@ export type DatabasesBeginPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesBeginResumeResponse = Database & { +export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8603,14 +9166,14 @@ export type DatabasesBeginResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginUpdate operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The underlying HTTP response. */ @@ -8623,14 +9186,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ElasticPool; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { +export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -8643,14 +9206,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ElasticPoolListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the get operation. */ -export type ElasticPoolsListMetricsResponse = MetricListResult & { +export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The underlying HTTP response. */ @@ -8663,14 +9226,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: RecommendedElasticPool; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { /** * The underlying HTTP response. */ @@ -8683,14 +9246,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: RecommendedElasticPoolListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listMetrics operation. */ -export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { +export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { /** * The underlying HTTP response. */ @@ -8703,14 +9266,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: RecommendedElasticPoolListMetricsResult; }; }; /** * Contains response data for the get operation. */ -export type ElasticPoolsGetResponse = ElasticPool & { +export type ReplicationLinksGetResponse = ReplicationLink & { /** * The underlying HTTP response. */ @@ -8723,14 +9286,14 @@ export type ElasticPoolsGetResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ReplicationLink; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { +export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ @@ -8743,14 +9306,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ReplicationLinkListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ElasticPoolsUpdateResponse = ElasticPool & { +export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8763,14 +9326,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { +export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8783,14 +9346,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerCommunicationLink; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsBeginUpdateResponse = ElasticPool & { +export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { /** * The underlying HTTP response. */ @@ -8803,14 +9366,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerCommunicationLinkListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { +export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { /** * The underlying HTTP response. */ @@ -8823,14 +9386,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: ServerCommunicationLink; }; }; /** * Contains response data for the get operation. */ -export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { +export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The underlying HTTP response. */ @@ -8843,14 +9406,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPool; + parsedBody: ServiceObjective; }; }; /** * Contains response data for the listByServer operation. */ -export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { +export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { /** * The underlying HTTP response. */ @@ -8863,14 +9426,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListResult; + parsedBody: ServiceObjectiveListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByElasticPool operation. */ -export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { +export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { /** * The underlying HTTP response. */ @@ -8883,14 +9446,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListMetricsResult; + parsedBody: ElasticPoolActivityListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByElasticPool operation. */ -export type ReplicationLinksGetResponse = ReplicationLink & { +export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { /** * The underlying HTTP response. */ @@ -8903,14 +9466,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLink; + parsedBody: ElasticPoolDatabaseActivityListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { +export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The underlying HTTP response. */ @@ -8923,14 +9486,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: ServiceTierAdvisor; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { /** * The underlying HTTP response. */ @@ -8943,14 +9506,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: ServiceTierAdvisorListResult; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { +export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8963,14 +9526,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: TransparentDataEncryption; }; }; /** * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { +export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ @@ -8983,14 +9546,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: TransparentDataEncryption; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByConfiguration operation. */ -export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { +export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { /** * The underlying HTTP response. */ @@ -9003,14 +9566,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato /** * The response body as parsed JSON or XML */ - parsedBody: ServerAdministratorListResult; + parsedBody: TransparentDataEncryptionActivityListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -9023,14 +9586,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the listByDatabase operation. */ -export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { +export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The underlying HTTP response. */ @@ -9043,14 +9606,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: DatabaseUsageListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { +export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -9063,14 +9626,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: DatabaseAutomaticTuning; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { +export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The underlying HTTP response. */ @@ -9083,14 +9646,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: DatabaseAutomaticTuning; }; }; /** * Contains response data for the listByServer operation. */ -export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { +export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -9103,14 +9666,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLinkListResult; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { +export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -9123,14 +9686,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServiceObjectivesGetResponse = ServiceObjective & { +export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -9143,14 +9706,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjective; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { +export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -9163,14 +9726,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjectiveListResult; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { +export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -9183,14 +9746,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolActivityListResult; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the get operation. */ -export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { +export type FailoverGroupsGetResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9203,14 +9766,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolDatabaseActivityListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { +export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9223,14 +9786,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisor; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the update operation. */ -export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { +export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9243,14 +9806,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisorListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -9263,14 +9826,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the failover operation. */ -export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9283,14 +9846,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByConfiguration operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { +export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9303,14 +9866,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryptionActivityListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerUsagesListByServerResponse = ServerUsageListResult & { +export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9323,14 +9886,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerUsageListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { +export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9343,14 +9906,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseUsageListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginFailover operation. */ -export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { +export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9363,14 +9926,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { +export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -9383,14 +9946,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByServerNext operation. */ -export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { +export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -9403,14 +9966,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type EncryptionProtectorsGetResponse = EncryptionProtector & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -9423,14 +9986,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { +export type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -9443,14 +10006,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { +export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -9463,14 +10026,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { +export type ServerKeysGetResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -9483,14 +10046,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: ServerKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsGetResponse = FailoverGroup & { +export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -9503,14 +10066,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: ServerKey; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { +export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -9523,14 +10086,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: ServerKey; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByServerNext operation. */ -export type FailoverGroupsUpdateResponse = FailoverGroup & { +export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -9543,14 +10106,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: ServerKeyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { +export type SyncAgentsGetResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -9563,14 +10126,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsFailoverResponse = FailoverGroup & { +export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -9583,14 +10146,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByServer operation. */ -export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { +export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -9603,14 +10166,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the generateKey operation. */ -export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { +export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The underlying HTTP response. */ @@ -9623,14 +10186,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgentKeyProperties; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listLinkedDatabases operation. */ -export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { +export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -9643,14 +10206,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { +export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -9663,14 +10226,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the listByServerNext operation. */ -export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { +export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -9683,14 +10246,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listLinkedDatabasesNext operation. */ -export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { +export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -9703,14 +10266,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listSyncDatabaseIds operation. */ -export type OperationsListResponse = OperationListResult & { +export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -9723,14 +10286,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listHubSchemas operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9743,14 +10306,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listLogs operation. */ -export type ServerKeysListByServerResponse = ServerKeyListResult & { +export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -9763,14 +10326,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: SyncGroupLogListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerKeysGetResponse = ServerKey & { +export type SyncGroupsGetResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9783,14 +10346,14 @@ export type ServerKeysGetResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SyncGroup; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerKeysCreateOrUpdateResponse = ServerKey & { +export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9803,14 +10366,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { +export type SyncGroupsUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9823,14 +10386,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByDatabase operation. */ -export type ServerKeysListByServerNextResponse = ServerKeyListResult & { +export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9843,14 +10406,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncAgentsGetResponse = SyncAgent & { +export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9863,14 +10426,14 @@ export type SyncAgentsGetResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { +export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -9883,14 +10446,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listSyncDatabaseIdsNext operation. */ -export type SyncAgentsListByServerResponse = SyncAgentListResult & { +export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -9903,14 +10466,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the generateKey operation. + * Contains response data for the listHubSchemasNext operation. */ -export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { +export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -9923,14 +10486,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentKeyProperties; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listLinkedDatabases operation. + * Contains response data for the listLogsNext operation. */ -export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { +export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -9943,14 +10506,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { +export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -9963,14 +10526,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { +export type SyncMembersGetResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -9983,14 +10546,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listLinkedDatabasesNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { +export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -10003,14 +10566,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listSyncDatabaseIds operation. + * Contains response data for the update operation. */ -export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { +export type SyncMembersUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -10023,14 +10586,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listHubSchemas operation. + * Contains response data for the listBySyncGroup operation. */ -export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -10043,14 +10606,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listLogs operation. + * Contains response data for the listMemberSchemas operation. */ -export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { +export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -10063,14 +10626,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncGroupsGetResponse = SyncGroup & { +export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -10083,14 +10646,14 @@ export type SyncGroupsGetResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: SyncMember; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { +export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -10103,14 +10666,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: SyncMember; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listBySyncGroupNext operation. */ -export type SyncGroupsUpdateResponse = SyncGroup & { +export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -10123,14 +10686,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listMemberSchemasNext operation. */ -export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { +export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -10143,14 +10706,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByLocation operation. */ -export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { +export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -10163,14 +10726,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type SyncGroupsBeginUpdateResponse = SyncGroup & { +export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The underlying HTTP response. */ @@ -10183,14 +10746,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: SubscriptionUsage; }; }; /** - * Contains response data for the listSyncDatabaseIdsNext operation. + * Contains response data for the listByLocationNext operation. */ -export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { +export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -10203,14 +10766,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the listHubSchemasNext operation. + * Contains response data for the list operation. */ -export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -10223,14 +10786,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listLogsNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { +export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -10243,14 +10806,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { +export type VirtualClustersGetResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -10263,14 +10826,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SyncMembersGetResponse = SyncMember & { +export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -10283,14 +10846,14 @@ export type SyncMembersGetResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type SyncMembersCreateOrUpdateResponse = SyncMember & { +export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -10303,14 +10866,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type SyncMembersUpdateResponse = SyncMember & { +export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -10323,14 +10886,14 @@ export type SyncMembersUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listBySyncGroup operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { +export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -10343,14 +10906,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listMemberSchemas operation. + * Contains response data for the get operation. */ -export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -10363,14 +10926,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { +export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -10383,14 +10946,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type SyncMembersBeginUpdateResponse = SyncMember & { +export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -10403,14 +10966,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the listBySyncGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { +export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -10423,14 +10986,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the listMemberSchemasNext operation. + * Contains response data for the listByServerNext operation. */ -export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -10443,14 +11006,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the get operation. */ -export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { +export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10463,14 +11026,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type SubscriptionUsagesGetResponse = SubscriptionUsage & { +export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10483,14 +11046,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsage; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the get operation. */ -export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { +export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10503,14 +11066,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualClustersListResponse = VirtualClusterListResult & { +export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10523,14 +11086,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { +export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10543,14 +11106,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** * Contains response data for the get operation. */ -export type VirtualClustersGetResponse = VirtualCluster & { +export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10563,14 +11126,14 @@ export type VirtualClustersGetResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualClustersUpdateResponse = VirtualCluster & { +export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10583,14 +11146,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type VirtualClustersBeginUpdateResponse = VirtualCluster & { +export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10603,14 +11166,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type VirtualClustersListNextResponse = VirtualClusterListResult & { +export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10623,14 +11186,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByServerNext operation. */ -export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { +export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10643,14 +11206,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { +export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10663,14 +11226,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { +export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -10683,14 +11246,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabase operation. */ -export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { +export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10703,14 +11266,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { +export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -10723,14 +11286,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -10743,14 +11306,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -10763,14 +11326,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -10783,14 +11346,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -10803,14 +11366,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -10823,14 +11386,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -10843,14 +11406,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -10863,14 +11426,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobAgentsGetResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10883,14 +11446,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { +export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10903,14 +11466,14 @@ export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingP /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type JobAgentsUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10923,14 +11486,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { +export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10943,14 +11506,14 @@ export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAudit /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { +export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -10963,14 +11526,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobAgent; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { +export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -10983,14 +11546,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByAgent operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { +export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -11003,14 +11566,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { +export type JobCredentialsGetResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -11023,14 +11586,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: JobCredential; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -11043,14 +11606,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobCredential; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAgentNext operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -11063,14 +11626,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgent operation. */ -export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11083,14 +11646,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the create operation. */ -export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type JobExecutionsCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11103,14 +11666,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByJob operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11123,14 +11686,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type JobExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11143,14 +11706,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type JobAgentsListByServerResponse = JobAgentListResult & { +export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11163,14 +11726,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type JobAgentsGetResponse = JobAgent & { +export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11183,14 +11746,14 @@ export type JobAgentsGetResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobAgentsCreateOrUpdateResponse = JobAgent & { +export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11203,14 +11766,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecution; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAgentNext operation. */ -export type JobAgentsUpdateResponse = JobAgent & { +export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11223,14 +11786,14 @@ export type JobAgentsUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByJobNext operation. */ -export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { +export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11243,14 +11806,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByAgent operation. */ -export type JobAgentsBeginUpdateResponse = JobAgent & { +export type JobsListByAgentResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -11263,14 +11826,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: JobListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the get operation. */ -export type JobAgentsListByServerNextResponse = JobAgentListResult & { +export type JobsGetResponse = Job & { /** * The underlying HTTP response. */ @@ -11283,14 +11846,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: Job; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the createOrUpdate operation. */ -export type JobCredentialsListByAgentResponse = JobCredentialListResult & { +export type JobsCreateOrUpdateResponse = Job & { /** * The underlying HTTP response. */ @@ -11303,14 +11866,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: Job; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type JobCredentialsGetResponse = JobCredential & { +export type JobsListByAgentNextResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -11323,14 +11886,14 @@ export type JobCredentialsGetResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: JobListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecution operation. */ -export type JobCredentialsCreateOrUpdateResponse = JobCredential & { +export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11343,14 +11906,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the get operation. */ -export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { +export type JobStepExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11363,14 +11926,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type JobExecutionsListByAgentResponse = JobExecutionListResult & { +export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11388,9 +11951,9 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & { }; /** - * Contains response data for the create operation. + * Contains response data for the listByVersion operation. */ -export type JobExecutionsCreateResponse = JobExecution & { +export type JobStepsListByVersionResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -11403,14 +11966,14 @@ export type JobExecutionsCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the getByVersion operation. */ -export type JobExecutionsListByJobResponse = JobExecutionListResult & { +export type JobStepsGetByVersionResponse = JobStep & { /** * The underlying HTTP response. */ @@ -11423,14 +11986,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: JobStep; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJob operation. */ -export type JobExecutionsGetResponse = JobExecution & { +export type JobStepsListByJobResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -11443,14 +12006,14 @@ export type JobExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobExecutionsCreateOrUpdateResponse = JobExecution & { +export type JobStepsGetResponse = JobStep & { /** * The underlying HTTP response. */ @@ -11463,14 +12026,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobStep; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the createOrUpdate operation. */ -export type JobExecutionsBeginCreateResponse = JobExecution & { +export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The underlying HTTP response. */ @@ -11483,14 +12046,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobStep; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByVersionNext operation. */ -export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { +export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -11503,14 +12066,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByJobNext operation. */ -export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { +export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -11523,14 +12086,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByJobExecution operation. */ -export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { +export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11548,9 +12111,9 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByStep operation. */ -export type JobsListByAgentResponse = JobListResult & { +export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11563,14 +12126,14 @@ export type JobsListByAgentResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: JobExecutionListResult; }; }; /** * Contains response data for the get operation. */ -export type JobsGetResponse = Job & { +export type JobTargetExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -11583,14 +12146,14 @@ export type JobsGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type JobsCreateOrUpdateResponse = Job & { +export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11603,14 +12166,14 @@ export type JobsCreateOrUpdateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByStepNext operation. */ -export type JobsListByAgentNextResponse = JobListResult & { +export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -11623,14 +12186,14 @@ export type JobsListByAgentNextResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listByAgent operation. */ -export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -11643,14 +12206,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: JobTargetGroupListResult; }; }; /** * Contains response data for the get operation. */ -export type JobStepExecutionsGetResponse = JobExecution & { +export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -11663,14 +12226,14 @@ export type JobStepExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -11683,14 +12246,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listByVersion operation. + * Contains response data for the listByAgentNext operation. */ -export type JobStepsListByVersionResponse = JobStepListResult & { +export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -11703,14 +12266,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the getByVersion operation. + * Contains response data for the listByJob operation. */ -export type JobStepsGetByVersionResponse = JobStep & { +export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -11723,14 +12286,14 @@ export type JobStepsGetByVersionResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the get operation. */ -export type JobStepsListByJobResponse = JobStepListResult & { +export type JobVersionsGetResponse = JobVersion & { /** * The underlying HTTP response. */ @@ -11743,14 +12306,14 @@ export type JobStepsListByJobResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: JobVersion; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJobNext operation. */ -export type JobStepsGetResponse = JobStep & { +export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -11763,14 +12326,14 @@ export type JobStepsGetResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getByResourceGroup operation. */ -export type JobStepsCreateOrUpdateResponse = JobStep & { +export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -11783,14 +12346,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the listByVersionNext operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type JobStepsListByVersionNextResponse = JobStepListResult & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11803,14 +12366,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type JobStepsListByJobNextResponse = JobStepListResult & { +export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11823,14 +12386,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listByResourceGroupServer operation. */ -export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11843,14 +12406,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByStep operation. + * Contains response data for the get operation. */ -export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -11863,14 +12426,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type JobTargetExecutionsGetResponse = JobExecution & { +export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11883,14 +12446,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the listByLocation operation. */ -export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11903,14 +12466,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByStepNext operation. + * Contains response data for the listByServer operation. */ -export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { +export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11923,14 +12486,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11943,14 +12506,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type JobTargetGroupsGetResponse = JobTargetGroup & { +export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11963,14 +12526,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupServerNext operation. */ -export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { +export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -11983,14 +12546,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { +export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12003,14 +12566,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByLocationNext operation. */ -export type JobVersionsListByJobResponse = JobVersionListResult & { +export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12023,14 +12586,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type JobVersionsGetResponse = JobVersion & { +export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12043,14 +12606,14 @@ export type JobVersionsGetResponse = JobVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersion; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the get operation. */ -export type JobVersionsListByJobNextResponse = JobVersionListResult & { +export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12063,14 +12626,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the getByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { +export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12083,14 +12646,14 @@ export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupDatabase operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { +export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12103,14 +12666,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupLocation operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { +export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12123,14 +12686,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: BackupLongTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupServer operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12143,14 +12706,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12163,14 +12726,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the update operation. */ -export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12183,14 +12746,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the listByDatabase operation. */ -export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -12203,14 +12766,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12223,14 +12786,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupDatabaseNext operation. + * Contains response data for the beginUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12243,14 +12806,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByResourceGroupLocationNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -12263,14 +12826,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByResourceGroupServerNext operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12283,14 +12846,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = Long /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12303,14 +12866,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the update operation. */ -export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12323,14 +12886,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByRestorableDroppedDatabase operation. */ -export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -12343,14 +12906,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12363,14 +12926,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -12383,14 +12946,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByRestorableDroppedDatabaseNext operation. */ -export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -12403,14 +12966,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -12423,14 +12986,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -12443,14 +13006,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -12463,14 +13026,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -12483,14 +13046,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -12503,14 +13066,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ServerDnsAliasListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -12523,14 +13086,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -12543,14 +13106,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12563,14 +13126,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12583,14 +13146,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12603,14 +13166,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12623,14 +13186,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByRestorableDroppedDatabase operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12643,14 +13206,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12663,14 +13226,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { /** * The underlying HTTP response. */ @@ -12683,14 +13246,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: RestorableDroppedManagedDatabase; }; }; /** - * Contains response data for the listByRestorableDroppedDatabaseNext operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -12703,14 +13266,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { +export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The underlying HTTP response. */ @@ -12723,14 +13286,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: RestorePointListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the create operation. */ -export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { +export type RestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12743,14 +13306,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: RestorePoint; }; }; /** * Contains response data for the get operation. */ -export type ServerDnsAliasesGetResponse = ServerDnsAlias & { +export type RestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12763,14 +13326,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreate operation. */ -export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { +export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -12783,14 +13346,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { +export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12803,14 +13366,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { +export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12823,14 +13386,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByDatabase operation. */ -export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12843,14 +13406,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12863,14 +13426,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12883,14 +13446,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12903,14 +13466,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12923,14 +13486,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { +export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -12943,14 +13506,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByInstanceNext operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -12963,14 +13526,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { +export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12983,14 +13546,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabase; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { +export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13003,14 +13566,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type RestorePointsListByDatabaseResponse = RestorePointListResult & { +export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13023,14 +13586,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorePointsCreateResponse = RestorePoint & { +export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -13043,14 +13606,14 @@ export type RestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type RestorePointsGetResponse = RestorePoint & { +export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13063,14 +13626,14 @@ export type RestorePointsGetResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type RestorePointsBeginCreateResponse = RestorePoint & { +export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -13083,14 +13646,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { +export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -13103,14 +13666,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { +export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -13123,14 +13686,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -13143,14 +13706,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -13163,14 +13726,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { +export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -13183,14 +13746,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -13203,14 +13766,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { +export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -13223,14 +13786,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByElasticPool operation. */ -export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -13243,14 +13806,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { +export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -13263,14 +13826,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the listByDatabase operation. */ -export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -13283,14 +13846,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -13303,14 +13866,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the get operation. + * Contains response data for the exportMethod operation. */ -export type SensitivityLabelsGetResponse = SensitivityLabel & { +export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -13323,14 +13886,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -13343,14 +13906,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -13363,14 +13926,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -13383,14 +13946,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -13403,14 +13966,14 @@ export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { +export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -13423,14 +13986,14 @@ export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministra /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the exportMethod operation. */ -export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -13443,14 +14006,14 @@ export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -13463,14 +14026,14 @@ export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedIn /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13483,14 +14046,14 @@ export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedIns /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -13503,14 +14066,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByDatabase operation. */ -export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13523,14 +14086,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -13543,14 +14106,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the get operation. */ -export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { +export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13563,14 +14126,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the createOrUpdate operation. */ -export type CapabilitiesListByLocationResponse = LocationCapabilities & { +export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13583,14 +14146,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The response body as parsed JSON or XML */ - parsedBody: LocationCapabilities; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByLocation operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -13603,14 +14166,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the failover operation. */ -export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13623,14 +14186,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13643,14 +14206,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13663,14 +14226,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginFailover operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13683,14 +14246,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -13703,14 +14266,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -13723,14 +14286,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: InstanceFailoverGroupListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13743,14 +14306,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13763,14 +14326,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13783,14 +14346,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13803,14 +14366,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13823,14 +14386,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13843,14 +14406,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13863,14 +14426,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstance operation. */ -export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { +export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13883,14 +14446,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { +export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13903,14 +14466,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { +export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13923,14 +14486,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { +export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -13943,14 +14506,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByInstanceNext operation. */ -export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -13963,14 +14526,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { +export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -13983,14 +14546,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { +export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -14003,14 +14566,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -14023,14 +14586,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { +export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -14043,14 +14606,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -14063,14 +14626,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14083,14 +14646,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { +export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { /** * The underlying HTTP response. */ @@ -14103,14 +14666,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: RecoverableManagedDatabase; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByInstanceNext operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { +export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14123,14 +14686,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -14143,14 +14706,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -14163,14 +14726,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByInstance operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -14183,14 +14746,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -14203,14 +14766,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -14223,14 +14786,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ServerVulnerabilityAssessment; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -14243,14 +14806,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -14263,14 +14826,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -14283,14 +14846,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the get operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { +export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -14303,14 +14866,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { +export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -14323,14 +14886,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -14343,14 +14906,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -14363,14 +14926,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -14383,14 +14946,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -14403,14 +14966,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: SensitivityLabelListResult; }; }; /** * Contains response data for the get operation. */ -export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { +export type InstancePoolsGetResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -14423,14 +14986,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabase; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { +export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -14443,14 +15006,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { +export type InstancePoolsUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -14463,14 +15026,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: InstancePool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { +export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -14483,14 +15046,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the list operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type InstancePoolsListResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -14503,14 +15066,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -14523,14 +15086,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -14543,14 +15106,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: InstancePool; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -14563,14 +15126,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { +export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -14583,14 +15146,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByInstancePool operation. */ -export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { +export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -14603,14 +15166,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { +export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -14623,14 +15186,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstancePool operation. */ -export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14643,14 +15206,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14663,14 +15226,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type ManagedInstancesGetResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14683,14 +15246,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14703,14 +15266,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14723,14 +15286,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type InstancePoolsGetResponse = InstancePool & { +export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14743,14 +15306,14 @@ export type InstancePoolsGetResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstancePoolsCreateOrUpdateResponse = InstancePool & { +export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14763,14 +15326,14 @@ export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginUpdate operation. */ -export type InstancePoolsUpdateResponse = InstancePool & { +export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14783,14 +15346,14 @@ export type InstancePoolsUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { +export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14803,14 +15366,14 @@ export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type InstancePoolsListResponse = InstancePoolListResult & { +export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14823,14 +15386,14 @@ export type InstancePoolsListResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { +export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14843,14 +15406,14 @@ export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type InstancePoolsBeginUpdateResponse = InstancePool & { +export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & { /** * The underlying HTTP response. */ @@ -14863,14 +15426,14 @@ export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ManagedDatabaseRestoreDetailsResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByInstance operation. */ -export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { +export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14883,14 +15446,14 @@ export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResul /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type InstancePoolsListNextResponse = InstancePoolListResult & { +export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14903,14 +15466,14 @@ export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the createOrUpdate operation. */ -export type UsagesListByInstancePoolResponse = UsageListResult & { +export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14923,14 +15486,14 @@ export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the update operation. */ -export type UsagesListByInstancePoolNextResponse = UsageListResult & { +export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14943,14 +15506,14 @@ export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { +export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14963,14 +15526,14 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { +export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14983,14 +15546,14 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type ManagedInstancesGetResponse = ManagedInstance & { +export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -15003,14 +15566,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15023,14 +15586,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstancesUpdateResponse = ManagedInstance & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15043,14 +15606,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstancesListResponse = ManagedInstanceListResult & { +export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -15063,14 +15626,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15083,14 +15646,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { +export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -15103,14 +15666,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { +export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -15123,14 +15686,14 @@ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ @@ -15143,14 +15706,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: PrivateLinkResource; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { +export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -15163,14 +15726,14 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & { +export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15183,14 +15746,14 @@ export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDet /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseRestoreDetailsResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { +export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15203,14 +15766,14 @@ export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ManagedDatabasesGetResponse = ManagedDatabase & { +export type ServerAzureADAdministratorsListByServerResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -15223,14 +15786,14 @@ export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { +export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -15243,14 +15806,14 @@ export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedDatabasesUpdateResponse = ManagedDatabase & { +export type ServerAzureADAdministratorsListByServerNextResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -15263,14 +15826,14 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByLocation operation. */ -export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { +export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The underlying HTTP response. */ @@ -15283,14 +15846,14 @@ export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LocationCapabilities; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { +export type WorkloadGroupsGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15303,14 +15866,14 @@ export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { +export type WorkloadGroupsCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15323,14 +15886,14 @@ export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type WorkloadGroupsListByDatabaseResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -15343,14 +15906,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { +export type WorkloadGroupsBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -15363,14 +15926,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabaseNext operation. */ -export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { +export type WorkloadGroupsListByDatabaseNextResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -15383,14 +15946,14 @@ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConn /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { +export type WorkloadClassifiersGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15403,14 +15966,14 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { +export type WorkloadClassifiersCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15423,14 +15986,14 @@ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpoint /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByWorkloadGroup operation. */ -export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { +export type WorkloadClassifiersListByWorkloadGroupResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -15443,14 +16006,14 @@ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListRe /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type WorkloadClassifiersBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -15463,14 +16026,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByWorkloadGroupNext operation. */ -export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { +export type WorkloadClassifiersListByWorkloadGroupNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -15483,6 +16046,6 @@ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: WorkloadClassifierListResult; }; }; diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts index a31090e2d7d3..232a775b3939 100644 --- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts @@ -119,5 +119,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..9235f9f76217 100644 --- a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts @@ -120,5 +120,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..e5fbe23d33b0 100644 --- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts @@ -120,5 +120,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..c5d4cbd7cf08 100644 --- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts @@ -119,5 +119,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..5e63c59af298 100644 --- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts @@ -119,5 +119,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..5e63c59af298 100644 --- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts @@ -119,5 +119,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..a3982bdfd99b 100644 --- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts @@ -119,5 +119,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..5e63c59af298 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts @@ -119,5 +119,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..2aaf53dd38ce 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts @@ -119,5 +119,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..424725ed0a39 100644 --- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts @@ -119,5 +119,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..ceca610b2996 100644 --- a/sdk/sql/arm-sql/src/models/jobsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts @@ -119,5 +119,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..66423047eee5 100644 --- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts @@ -119,5 +119,7 @@ export { VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts index 03c4d1f05ca5..12b6e18ba545 100644 --- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -119,5 +119,7 @@ export { VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts index 7979989c60d3..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts @@ -118,5 +118,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..0775eb19247a 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts @@ -119,5 +119,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..7f5bb14c1ac5 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -118,5 +118,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..db23dc62a3fb 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -119,5 +119,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..3027683d25ed 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -119,5 +119,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..8ce5727362bf 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts @@ -121,5 +121,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..2779f129cb3b 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts @@ -119,5 +119,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..d81781f1c467 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts @@ -119,5 +119,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..161d0f5e6213 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts @@ -119,5 +119,7 @@ export { VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + 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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts @@ -118,5 +118,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..4cf81035f77b 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -119,5 +119,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..3be9d9c6923d 100644 --- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts @@ -120,5 +120,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..12b6e18ba545 100644 --- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts @@ -119,5 +119,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..4d7138a70537 100644 --- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts @@ -119,5 +119,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..e2e0766b10c0 100644 --- a/sdk/sql/arm-sql/src/models/mappers.ts +++ b/sdk/sql/arm-sql/src/models/mappers.ts @@ -1330,47 +1330,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: { @@ -3691,6 +3650,12 @@ export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -3766,6 +3731,12 @@ export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -3835,6 +3806,12 @@ export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -3911,6 +3888,12 @@ export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } @@ -5256,6 +5239,19 @@ export const SensitivityLabel: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + rank: { + serializedName: "properties.rank", + type: { + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + } } } } @@ -5519,260 +5515,766 @@ 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: "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" + } + } + } + } +}; + +export const DatabaseUpdate: msRest.CompositeMapper = { + serializedName: "DatabaseUpdate", + type: { + name: "Composite", + className: "DatabaseUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", + type: { + name: "Number" + } + }, + sampleName: { + serializedName: "properties.sampleName", + type: { + name: "String" + } + }, + elasticPoolId: { + serializedName: "properties.elasticPoolId", + type: { + name: "String" + } + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + databaseId: { + readOnly: true, + serializedName: "properties.databaseId", + type: { + name: "Uuid" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + currentServiceObjectiveName: { + readOnly: true, + serializedName: "properties.currentServiceObjectiveName", + type: { + name: "String" + } + }, + requestedServiceObjectiveName: { + readOnly: true, + serializedName: "properties.requestedServiceObjectiveName", + type: { + name: "String" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", + type: { + name: "String" + } + }, + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", + type: { + name: "String" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + sourceDatabaseDeletionDate: { + serializedName: "properties.sourceDatabaseDeletionDate", + type: { + name: "DateTime" + } + }, + recoveryServicesRecoveryPointId: { + serializedName: "properties.recoveryServicesRecoveryPointId", + type: { + name: "String" + } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" + } + }, + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", + type: { + name: "String" + } + }, + catalogCollation: { + serializedName: "properties.catalogCollation", + type: { + name: "String" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + maxLogSizeBytes: { + readOnly: true, + serializedName: "properties.maxLogSizeBytes", + type: { + name: "Number" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" + } + }, + readScale: { + serializedName: "properties.readScale", + type: { + name: "String" + } + }, + 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: "Composite", - className: "PerformanceLevelCapability" + name: "DateTime" } }, - sku: { + endTime: { readOnly: true, - serializedName: "sku", + serializedName: "properties.endTime", type: { - name: "Composite", - className: "Sku" + name: "DateTime" } }, - supportedLicenseTypes: { + errors: { readOnly: true, - serializedName: "supportedLicenseTypes", + serializedName: "properties.errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "LicenseTypeCapability" + className: "VulnerabilityAssessmentScanError" } } } }, - includedMaxSize: { + storageContainerPath: { readOnly: true, - serializedName: "includedMaxSize", + serializedName: "properties.storageContainerPath", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - status: { + numberOfFailedSecurityChecks: { readOnly: true, - serializedName: "status", + serializedName: "properties.numberOfFailedSecurityChecks", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + 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" } }, - reason: { - serializedName: "reason", + 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" } @@ -5781,54 +6283,150 @@ export const ServiceObjectiveCapability: msRest.CompositeMapper = { } }; -export const EditionCapability: msRest.CompositeMapper = { - serializedName: "EditionCapability", +export const PartnerRegionInfo: msRest.CompositeMapper = { + serializedName: "PartnerRegionInfo", type: { name: "Composite", - className: "EditionCapability", + className: "PartnerRegionInfo", modelProperties: { - name: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + replicationRole: { readOnly: true, - serializedName: "name", + serializedName: "replicationRole", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstancePairInfo: msRest.CompositeMapper = { + serializedName: "ManagedInstancePairInfo", + type: { + name: "Composite", + className: "ManagedInstancePairInfo", + modelProperties: { + primaryManagedInstanceId: { + serializedName: "primaryManagedInstanceId", type: { name: "String" } }, - supportedServiceLevelObjectives: { + 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: "supportedServiceLevelObjectives", + 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: "ServiceObjectiveCapability" + className: "PartnerRegionInfo" } } } }, - zoneRedundant: { - readOnly: true, - serializedName: "zoneRedundant", + managedInstancePairs: { + required: true, + serializedName: "properties.managedInstancePairs", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstancePairInfo" + } + } } - }, - status: { - readOnly: true, - serializedName: "status", + } + } + } +}; + +export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicy", + type: { + name: "Composite", + className: "BackupShortTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + 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" } }, - reason: { - serializedName: "reason", + certPassword: { + serializedName: "properties.certPassword", type: { name: "String" } @@ -5837,97 +6435,88 @@ export const EditionCapability: msRest.CompositeMapper = { } }; -export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", +export const ManagedInstanceKey: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKey", type: { name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", + className: "ManagedInstanceKey", modelProperties: { - limit: { + ...ProxyResource.type.modelProperties, + kind: { readOnly: true, - serializedName: "limit", + serializedName: "kind", + type: { + name: "String" + } + }, + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { - name: "Number" + name: "String" } }, - unit: { - readOnly: true, - serializedName: "unit", + uri: { + serializedName: "properties.uri", type: { name: "String" } }, - status: { + thumbprint: { readOnly: true, - serializedName: "status", + serializedName: "properties.thumbprint", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", type: { - name: "String" + name: "DateTime" } } } } }; -export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", +export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtector", type: { name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", + className: "ManagedInstanceEncryptionProtector", modelProperties: { - limit: { + ...ProxyResource.type.modelProperties, + kind: { readOnly: true, - serializedName: "limit", + serializedName: "kind", type: { - name: "Number" + name: "String" } }, - unit: { - readOnly: true, - serializedName: "unit", + serverKeyName: { + serializedName: "properties.serverKeyName", type: { name: "String" } }, - supportedPerDatabaseMinPerformanceLevels: { - readOnly: true, - serializedName: "supportedPerDatabaseMinPerformanceLevels", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" - } - } + name: "String" } }, - status: { + uri: { readOnly: true, - serializedName: "status", + serializedName: "properties.uri", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { name: "String" } @@ -5936,166 +6525,129 @@ export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.Composi } }; -export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerformanceLevelCapability", +export const RecoverableManagedDatabase: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabase", type: { name: "Composite", - className: "ElasticPoolPerformanceLevelCapability", + className: "RecoverableManagedDatabase", modelProperties: { - performanceLevel: { + ...ProxyResource.type.modelProperties, + lastAvailableBackupDate: { readOnly: true, - serializedName: "performanceLevel", + serializedName: "properties.lastAvailableBackupDate", type: { - name: "Composite", - className: "PerformanceLevelCapability" + name: "String" } - }, - sku: { - readOnly: true, - serializedName: "sku", + } + } + } +}; + +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - supportedLicenseTypes: { - readOnly: true, - serializedName: "supportedLicenseTypes", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - maxDatabaseCount: { - readOnly: true, - serializedName: "maxDatabaseCount", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Number" + name: "String" } }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + recurringScans: { + serializedName: "properties.recurringScans", type: { name: "Composite", - className: "MaxSizeCapability" - } - }, - supportedMaxSizes: { - readOnly: true, - serializedName: "supportedMaxSizes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + className: "VulnerabilityAssessmentRecurringScansProperties" } - }, - supportedPerDatabaseMaxSizes: { - readOnly: true, - serializedName: "supportedPerDatabaseMaxSizes", + } + } + } +}; + +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - supportedPerDatabaseMaxPerformanceLevels: { - readOnly: true, - serializedName: "supportedPerDatabaseMaxPerformanceLevels", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" - } - } + 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 ElasticPoolEditionCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolEditionCapability", +export const InstancePool: msRest.CompositeMapper = { + serializedName: "InstancePool", type: { name: "Composite", - className: "ElasticPoolEditionCapability", + className: "InstancePool", modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - supportedElasticPoolPerformanceLevels: { - readOnly: true, - serializedName: "supportedElasticPoolPerformanceLevels", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerformanceLevelCapability" - } - } + name: "Composite", + className: "Sku" } }, - zoneRedundant: { - readOnly: true, - serializedName: "zoneRedundant", + subnetId: { + required: true, + serializedName: "properties.subnetId", type: { - name: "Boolean" + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + vCores: { + required: true, + serializedName: "properties.vCores", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "Number" } }, - reason: { - serializedName: "reason", + licenseType: { + required: true, + serializedName: "properties.licenseType", type: { name: "String" } @@ -6104,60 +6656,41 @@ export const ElasticPoolEditionCapability: msRest.CompositeMapper = { } }; -export const ServerVersionCapability: msRest.CompositeMapper = { - serializedName: "ServerVersionCapability", +export const InstancePoolUpdate: msRest.CompositeMapper = { + serializedName: "InstancePoolUpdate", type: { name: "Composite", - className: "ServerVersionCapability", + className: "InstancePoolUpdate", modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - supportedEditions: { - readOnly: true, - serializedName: "supportedEditions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EditionCapability" - } - } - } - }, - supportedElasticPoolEditions: { - readOnly: true, - serializedName: "supportedElasticPoolEditions", + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { + 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 +6699,194 @@ 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" } }, - reason: { - serializedName: "reason", + requestedLimit: { + readOnly: true, + serializedName: "requestedLimit", type: { - name: "String" + name: "Number" } } } } }; -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", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", + type: { + 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 +6895,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 +6908,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,167 +7001,138 @@ export const Database: msRest.CompositeMapper = { 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", + proxyOverride: { + serializedName: "properties.proxyOverride", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + timezoneId: { + serializedName: "properties.timezoneId", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + instancePoolId: { + serializedName: "properties.instancePoolId", 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 ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseRestoreDetailsResult", + type: { + name: "Composite", + className: "ManagedDatabaseRestoreDetailsResult", + modelProperties: { + ...ProxyResource.type.modelProperties, + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - maxLogSizeBytes: { + currentRestoringFileName: { readOnly: true, - serializedName: "properties.maxLogSizeBytes", + serializedName: "properties.currentRestoringFileName", type: { - name: "Number" + name: "String" } }, - earliestRestoreDate: { + lastRestoredFileName: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "properties.lastRestoredFileName", type: { - name: "DateTime" + name: "String" } }, - readScale: { - serializedName: "properties.readScale", + lastRestoredFileTime: { + readOnly: true, + serializedName: "properties.lastRestoredFileTime", type: { - name: "String" + name: "DateTime" } }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", + percentCompleted: { + readOnly: true, + serializedName: "properties.percentCompleted", type: { name: "Number" } }, - currentSku: { + unrestorableFiles: { readOnly: true, - serializedName: "properties.currentSku", + serializedName: "properties.unrestorableFiles", type: { - name: "Composite", - className: "Sku" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + numberOfFilesDetected: { + readOnly: true, + serializedName: "properties.numberOfFilesDetected", type: { name: "Number" } }, - minCapacity: { - serializedName: "properties.minCapacity", + lastUploadedFileName: { + readOnly: true, + serializedName: "properties.lastUploadedFileName", type: { - name: "Number" + name: "String" } }, - pausedDate: { + lastUploadedFileTime: { readOnly: true, - serializedName: "properties.pausedDate", + serializedName: "properties.lastUploadedFileTime", type: { name: "DateTime" } }, - resumedDate: { + blockReason: { readOnly: true, - serializedName: "properties.resumedDate", + serializedName: "properties.blockReason", type: { - name: "DateTime" + name: "String" } } } } }; -export const DatabaseUpdate: msRest.CompositeMapper = { - serializedName: "DatabaseUpdate", +export const ManagedDatabase: msRest.CompositeMapper = { + serializedName: "ManagedDatabase", type: { name: "Composite", - className: "DatabaseUpdate", + className: "ManagedDatabase", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" - } - }, + ...TrackedResource.type.modelProperties, collation: { serializedName: "properties.collation", type: { name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", - type: { - name: "Number" - } - }, - sampleName: { - serializedName: "properties.sampleName", - type: { - name: "String" - } - }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", - type: { - name: "String" - } - }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", - type: { - name: "String" - } - }, status: { readOnly: true, serializedName: "properties.status", @@ -6746,13 +7140,6 @@ export const DatabaseUpdate: msRest.CompositeMapper = { name: "String" } }, - databaseId: { - readOnly: true, - serializedName: "properties.databaseId", - type: { - name: "Uuid" - } - }, creationDate: { readOnly: true, serializedName: "properties.creationDate", @@ -6760,18 +7147,17 @@ export const DatabaseUpdate: msRest.CompositeMapper = { name: "DateTime" } }, - currentServiceObjectiveName: { + earliestRestorePoint: { readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + serializedName: "properties.earliestRestorePoint", type: { - name: "String" + name: "DateTime" } }, - requestedServiceObjectiveName: { - readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, defaultSecondaryLocation: { @@ -6781,125 +7167,152 @@ export const DatabaseUpdate: msRest.CompositeMapper = { name: "String" } }, - failoverGroupId: { - readOnly: true, - serializedName: "properties.failoverGroupId", + catalogCollation: { + serializedName: "properties.catalogCollation", type: { name: "String" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + createMode: { + serializedName: "properties.createMode", type: { - name: "DateTime" + name: "String" } }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + storageContainerUri: { + serializedName: "properties.storageContainerUri", type: { - name: "DateTime" + name: "String" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { name: "String" } - }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + } + } + } +}; + +export const ManagedDatabaseUpdate: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseUpdate", + type: { + name: "Composite", + className: "ManagedDatabaseUpdate", + modelProperties: { + collation: { + serializedName: "properties.collation", type: { - name: "Boolean" + name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - maxLogSizeBytes: { + creationDate: { readOnly: true, - serializedName: "properties.maxLogSizeBytes", + serializedName: "properties.creationDate", type: { - name: "Number" + name: "DateTime" } }, - earliestRestoreDate: { + earliestRestorePoint: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "properties.earliestRestorePoint", type: { name: "DateTime" } }, - readScale: { - serializedName: "properties.readScale", + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", type: { name: "String" } }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", + catalogCollation: { + serializedName: "properties.catalogCollation", type: { - name: "Number" + name: "String" } }, - currentSku: { - readOnly: true, - serializedName: "properties.currentSku", + createMode: { + serializedName: "properties.createMode", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + storageContainerUri: { + serializedName: "properties.storageContainerUri", type: { - name: "Number" + name: "String" } }, - minCapacity: { - serializedName: "properties.minCapacity", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { - name: "Number" + name: "String" } }, - pausedDate: { - readOnly: true, - serializedName: "properties.pausedDate", + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", type: { - name: "DateTime" + name: "String" } }, - resumedDate: { + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", + type: { + name: "String" + } + }, + failoverGroupId: { readOnly: true, - serializedName: "properties.resumedDate", + serializedName: "properties.failoverGroupId", type: { - name: "DateTime" + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" } }, tags: { @@ -6917,15 +7330,15 @@ export const DatabaseUpdate: msRest.CompositeMapper = { } }; -export const ResourceMoveDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMoveDefinition", +export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { + serializedName: "CompleteDatabaseRestoreDefinition", type: { name: "Composite", - className: "ResourceMoveDefinition", + className: "CompleteDatabaseRestoreDefinition", modelProperties: { - id: { + lastBackupName: { required: true, - serializedName: "id", + serializedName: "lastBackupName", type: { name: "String" } @@ -6934,84 +7347,45 @@ export const ResourceMoveDefinition: msRest.CompositeMapper = { } }; -export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseSettings", +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", type: { name: "Composite", - className: "ElasticPoolPerDatabaseSettings", + className: "PrivateEndpointProperty", modelProperties: { - minCapacity: { - serializedName: "minCapacity", - type: { - name: "Number" - } - }, - maxCapacity: { - serializedName: "maxCapacity", + id: { + serializedName: "id", type: { - name: "Number" + name: "String" } } } } }; -export const ElasticPool: msRest.CompositeMapper = { - serializedName: "ElasticPool", +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", type: { name: "Composite", - className: "ElasticPool", + className: "PrivateLinkServiceConnectionStateProperty", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - kind: { - readOnly: true, - serializedName: "kind", + status: { + required: true, + serializedName: "status", type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + description: { + required: true, + serializedName: "description", type: { name: "String" } }, - creationDate: { + actionsRequired: { 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", + serializedName: "actionsRequired", type: { name: "String" } @@ -7020,49 +7394,57 @@ export const ElasticPool: msRest.CompositeMapper = { } }; -export const ElasticPoolUpdate: msRest.CompositeMapper = { - serializedName: "ElasticPoolUpdate", +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", type: { name: "Composite", - className: "ElasticPoolUpdate", + className: "PrivateEndpointConnection", modelProperties: { - sku: { - serializedName: "sku", + ...ProxyResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { name: "Composite", - className: "Sku" - } - }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", - type: { - name: "Number" + className: "PrivateEndpointProperty" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + className: "PrivateLinkServiceConnectionStateProperty" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Boolean" + name: "String" } - }, - licenseType: { - serializedName: "properties.licenseType", + } + } + } +}; + +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + readOnly: true, + serializedName: "groupId", type: { name: "String" } }, - tags: { - serializedName: "tags", + requiredMembers: { + readOnly: true, + serializedName: "requiredMembers", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } @@ -7073,113 +7455,105 @@ export const ElasticPoolUpdate: msRest.CompositeMapper = { } }; -export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanError", +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", type: { name: "Composite", - className: "VulnerabilityAssessmentScanError", + className: "PrivateLinkResource", modelProperties: { - code: { - readOnly: true, - serializedName: "code", - type: { - name: "String" - } - }, - message: { + ...ProxyResource.type.modelProperties, + properties: { readOnly: true, - serializedName: "message", + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PrivateLinkResourceProperties" } } } } }; -export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecord", +export const ServerAzureADAdministrator: msRest.CompositeMapper = { + serializedName: "ServerAzureADAdministrator", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord", + className: "ServerAzureADAdministrator", modelProperties: { ...ProxyResource.type.modelProperties, - scanId: { - readOnly: true, - serializedName: "properties.scanId", - type: { - name: "String" - } - }, - triggerType: { - readOnly: true, - serializedName: "properties.triggerType", + administratorType: { + required: true, + isConstant: true, + serializedName: "properties.administratorType", + defaultValue: 'ActiveDirectory', type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + login: { + required: true, + serializedName: "properties.login", type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "properties.startTime", + sid: { + required: true, + serializedName: "properties.sid", type: { - name: "DateTime" + name: "Uuid" } }, - endTime: { - readOnly: true, - serializedName: "properties.endTime", + tenantId: { + serializedName: "properties.tenantId", type: { - name: "DateTime" + name: "Uuid" } - }, - errors: { + } + } + } +}; + +export const MaxSizeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeCapability", + type: { + name: "Composite", + className: "MaxSizeCapability", + modelProperties: { + limit: { readOnly: true, - serializedName: "properties.errors", + serializedName: "limit", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanError" - } - } + name: "Number" } }, - storageContainerPath: { + unit: { readOnly: true, - serializedName: "properties.storageContainerPath", + serializedName: "unit", type: { name: "String" } - }, - numberOfFailedSecurityChecks: { - readOnly: true, - serializedName: "properties.numberOfFailedSecurityChecks", - type: { - name: "Number" - } } } } }; -export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentScansExport", +export const LogSizeCapability: msRest.CompositeMapper = { + serializedName: "LogSizeCapability", type: { name: "Composite", - className: "DatabaseVulnerabilityAssessmentScansExport", + className: "LogSizeCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - exportedReportLocation: { + limit: { readOnly: true, - serializedName: "properties.exportedReportLocation", + serializedName: "limit", + type: { + name: "Number" + } + }, + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } @@ -7188,37 +7562,59 @@ export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper } }; -export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadWriteEndpoint", +export const MaxSizeRangeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeRangeCapability", type: { name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint", + className: "MaxSizeRangeCapability", modelProperties: { - failoverPolicy: { - required: true, - serializedName: "failoverPolicy", + minValue: { + readOnly: true, + serializedName: "minValue", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - failoverWithDataLossGracePeriodMinutes: { - serializedName: "failoverWithDataLossGracePeriodMinutes", + maxValue: { + readOnly: true, + serializedName: "maxValue", type: { - name: "Number" + name: "Composite", + className: "MaxSizeCapability" } - } - } - } -}; - -export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadOnlyEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint", - modelProperties: { - failoverPolicy: { - serializedName: "failoverPolicy", + }, + scaleSize: { + readOnly: true, + serializedName: "scaleSize", + type: { + name: "Composite", + className: "MaxSizeCapability" + } + }, + logSize: { + readOnly: true, + serializedName: "logSize", + type: { + name: "Composite", + className: "LogSizeCapability" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7227,21 +7623,22 @@ export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { } }; -export const PartnerRegionInfo: msRest.CompositeMapper = { - serializedName: "PartnerRegionInfo", +export const PerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "PerformanceLevelCapability", type: { name: "Composite", - className: "PartnerRegionInfo", + className: "PerformanceLevelCapability", modelProperties: { - location: { - serializedName: "location", + value: { + readOnly: true, + serializedName: "value", type: { - name: "String" + name: "Number" } }, - replicationRole: { + unit: { readOnly: true, - serializedName: "replicationRole", + serializedName: "unit", type: { name: "String" } @@ -7250,20 +7647,34 @@ export const PartnerRegionInfo: msRest.CompositeMapper = { } }; -export const ManagedInstancePairInfo: msRest.CompositeMapper = { - serializedName: "ManagedInstancePairInfo", +export const LicenseTypeCapability: msRest.CompositeMapper = { + serializedName: "LicenseTypeCapability", type: { name: "Composite", - className: "ManagedInstancePairInfo", + className: "LicenseTypeCapability", modelProperties: { - primaryManagedInstanceId: { - serializedName: "primaryManagedInstanceId", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - partnerManagedInstanceId: { - serializedName: "partnerManagedInstanceId", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7272,105 +7683,86 @@ export const ManagedInstancePairInfo: msRest.CompositeMapper = { } }; -export const InstanceFailoverGroup: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroup", +export const AutoPauseDelayTimeRange: msRest.CompositeMapper = { + serializedName: "AutoPauseDelayTimeRange", type: { name: "Composite", - className: "InstanceFailoverGroup", + className: "AutoPauseDelayTimeRange", modelProperties: { - ...ProxyResource.type.modelProperties, - readWriteEndpoint: { - required: true, - serializedName: "properties.readWriteEndpoint", + minValue: { + readOnly: true, + serializedName: "minValue", type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint" + name: "Number" } }, - readOnlyEndpoint: { - serializedName: "properties.readOnlyEndpoint", + maxValue: { + readOnly: true, + serializedName: "maxValue", type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint" + name: "Number" } }, - replicationRole: { + stepSize: { readOnly: true, - serializedName: "properties.replicationRole", + serializedName: "stepSize", type: { - name: "String" + name: "Number" } }, - replicationState: { + default: { readOnly: true, - serializedName: "properties.replicationState", + serializedName: "default", type: { - name: "String" + name: "Number" } }, - partnerRegions: { - required: true, - serializedName: "properties.partnerRegions", + unit: { + readOnly: true, + serializedName: "unit", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PartnerRegionInfo" - } - } + name: "String" } }, - managedInstancePairs: { - required: true, - serializedName: "properties.managedInstancePairs", + doNotPauseValue: { + readOnly: true, + serializedName: "doNotPauseValue", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstancePairInfo" - } - } + name: "Number" } } } } }; -export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicy", +export const MinCapacityCapability: msRest.CompositeMapper = { + serializedName: "MinCapacityCapability", type: { name: "Composite", - className: "BackupShortTermRetentionPolicy", + className: "MinCapacityCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - retentionDays: { - serializedName: "properties.retentionDays", + value: { + readOnly: true, + serializedName: "value", 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", + }, + 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,88 +7771,126 @@ export const TdeCertificate: msRest.CompositeMapper = { } }; -export const ManagedInstanceKey: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKey", +export const ServiceObjectiveCapability: msRest.CompositeMapper = { + serializedName: "ServiceObjectiveCapability", type: { name: "Composite", - className: "ManagedInstanceKey", + className: "ServiceObjectiveCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + id: { readOnly: true, - serializedName: "kind", + serializedName: "id", type: { - name: "String" + name: "Uuid" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - uri: { - serializedName: "properties.uri", + 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: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - thumbprint: { + includedMaxSize: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "includedMaxSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - creationDate: { + zoneRedundant: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "zoneRedundant", type: { - name: "DateTime" + name: "Boolean" } - } - } - } -}; - -export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtector", - type: { - name: "Composite", - className: "ManagedInstanceEncryptionProtector", - modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + }, + supportedAutoPauseDelay: { readOnly: true, - serializedName: "kind", + serializedName: "supportedAutoPauseDelay", type: { - name: "String" + name: "Composite", + className: "AutoPauseDelayTimeRange" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + supportedMinCapacities: { + readOnly: true, + serializedName: "supportedMinCapacities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MinCapacityCapability" + } + } } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + computeModel: { + readOnly: true, + serializedName: "computeModel", type: { name: "String" } }, - uri: { + status: { readOnly: true, - serializedName: "properties.uri", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - thumbprint: { - readOnly: true, - serializedName: "properties.thumbprint", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7469,16 +7899,34 @@ export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { } }; -export const RecoverableManagedDatabase: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabase", +export const ReadScaleCapability: msRest.CompositeMapper = { + serializedName: "ReadScaleCapability", type: { name: "Composite", - className: "RecoverableManagedDatabase", + className: "ReadScaleCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - lastAvailableBackupDate: { + maxNumberOfReplicas: { readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + serializedName: "maxNumberOfReplicas", + type: { + name: "Number" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7487,111 +7935,111 @@ export const RecoverableManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessment", +export const StorageCapability: msRest.CompositeMapper = { + serializedName: "StorageCapability", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment", + className: "StorageCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + storageAccountType: { + readOnly: true, + serializedName: "storageAccountType", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + reason: { + serializedName: "reason", type: { name: "String" } - }, - recurringScans: { - serializedName: "properties.recurringScans", - type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" - } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const EditionCapability: msRest.CompositeMapper = { + serializedName: "EditionCapability", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "EditionCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + supportedServiceLevelObjectives: { + readOnly: true, + serializedName: "supportedServiceLevelObjectives", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceObjectiveCapability" + } + } } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - recurringScans: { - serializedName: "properties.recurringScans", - type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" - } - } - } - } -}; - -export const InstancePool: msRest.CompositeMapper = { - serializedName: "InstancePool", - type: { - name: "Composite", - className: "InstancePool", - modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + readScale: { + readOnly: true, + serializedName: "readScale", type: { name: "Composite", - className: "Sku" + className: "ReadScaleCapability" } }, - subnetId: { - required: true, - serializedName: "properties.subnetId", + supportedStorageCapabilities: { + readOnly: true, + serializedName: "supportedStorageCapabilities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageCapability" + } + } } }, - vCores: { - required: true, - serializedName: "properties.vCores", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - required: true, - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7600,41 +8048,41 @@ export const InstancePool: msRest.CompositeMapper = { } }; -export const InstancePoolUpdate: msRest.CompositeMapper = { - serializedName: "InstancePoolUpdate", +export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", type: { name: "Composite", - className: "InstancePoolUpdate", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", modelProperties: { - tags: { - serializedName: "tags", + limit: { + readOnly: true, + serializedName: "limit", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Number" } - } - } - } -}; - -export const Name: msRest.CompositeMapper = { - serializedName: "Name", - type: { - name: "Composite", - className: "Name", - modelProperties: { - value: { - serializedName: "value", + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - localizedValue: { - serializedName: "localizedValue", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7643,32 +8091,17 @@ export const Name: msRest.CompositeMapper = { } }; -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", +export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", type: { name: "Composite", - className: "Usage", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "Composite", - className: "Name" - } - }, - type: { + limit: { readOnly: true, - serializedName: "type", + serializedName: "limit", type: { - name: "String" + name: "Number" } }, unit: { @@ -7678,159 +8111,153 @@ export const Usage: msRest.CompositeMapper = { name: "String" } }, - currentValue: { + supportedPerDatabaseMinPerformanceLevels: { readOnly: true, - serializedName: "currentValue", + serializedName: "supportedPerDatabaseMinPerformanceLevels", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" + } + } } }, - 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 ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerformanceLevelCapability", type: { name: "Composite", - className: "ManagedInstance", + className: "ElasticPoolPerformanceLevelCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + performanceLevel: { + readOnly: true, + serializedName: "performanceLevel", type: { name: "Composite", - className: "ResourceIdentity" + className: "PerformanceLevelCapability" } }, sku: { + readOnly: true, serializedName: "sku", type: { name: "Composite", className: "Sku" } }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", - type: { - name: "String" - } - }, - fullyQualifiedDomainName: { + supportedLicenseTypes: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", - type: { - name: "String" - } - }, - administratorLogin: { - serializedName: "properties.administratorLogin", - type: { - name: "String" - } - }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", - type: { - name: "String" - } - }, - subnetId: { - serializedName: "properties.subnetId", + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - state: { + maxDatabaseCount: { readOnly: true, - serializedName: "properties.state", - type: { - name: "String" - } - }, - licenseType: { - serializedName: "properties.licenseType", - type: { - name: "String" - } - }, - vCores: { - serializedName: "properties.vCores", + serializedName: "maxDatabaseCount", type: { name: "Number" } }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", type: { - name: "Number" + name: "Composite", + className: "MaxSizeCapability" } }, - collation: { - serializedName: "properties.collation", + supportedMaxSizes: { + readOnly: true, + serializedName: "supportedMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - dnsZone: { + supportedPerDatabaseMaxSizes: { readOnly: true, - serializedName: "properties.dnsZone", + serializedName: "supportedPerDatabaseMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + supportedPerDatabaseMaxPerformanceLevels: { + readOnly: true, + serializedName: "supportedPerDatabaseMaxPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" + } + } } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { name: "Boolean" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", - type: { - name: "String" - } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "DateTime" - } - }, - proxyOverride: { - serializedName: "properties.proxyOverride", - type: { - name: "String" - } - }, - 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 +8266,312 @@ export const ManagedInstance: msRest.CompositeMapper = { } }; -export const ManagedInstanceUpdate: msRest.CompositeMapper = { - serializedName: "ManagedInstanceUpdate", +export const ElasticPoolEditionCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolEditionCapability", type: { name: "Composite", - className: "ManagedInstanceUpdate", + className: "ElasticPoolEditionCapability", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - fullyQualifiedDomainName: { + supportedElasticPoolPerformanceLevels: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "supportedElasticPoolPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerformanceLevelCapability" + } + } } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - 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 ServerVersionCapability: msRest.CompositeMapper = { + serializedName: "ServerVersionCapability", + type: { + name: "Composite", + className: "ServerVersionCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.state", + serializedName: "name", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + supportedEditions: { + readOnly: true, + serializedName: "supportedEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EditionCapability" + } + } } }, - vCores: { - serializedName: "properties.vCores", + supportedElasticPoolEditions: { + readOnly: true, + serializedName: "supportedElasticPoolEditions", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolEditionCapability" + } + } } }, - 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 ManagedInstanceVcoresCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVcoresCapability", + type: { + name: "Composite", + className: "ManagedInstanceVcoresCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.dnsZone", + serializedName: "name", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + value: { + readOnly: true, + serializedName: "value", type: { - name: "String" + name: "Number" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", type: { - name: "Boolean" + name: "Composite", + className: "MaxSizeCapability" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + supportedStorageSizes: { + readOnly: true, + serializedName: "supportedStorageSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + instancePoolSupported: { + readOnly: true, + serializedName: "instancePoolSupported", type: { - name: "DateTime" + name: "Boolean" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + standaloneSupported: { + readOnly: true, + serializedName: "standaloneSupported", type: { - name: "String" + name: "Boolean" } }, - 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" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseRestoreDetailsResult", +export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceFamilyCapability", type: { name: "Composite", - className: "ManagedDatabaseRestoreDetailsResult", + className: "ManagedInstanceFamilyCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - status: { - readOnly: true, - serializedName: "properties.status", - type: { - name: "String" - } - }, - currentRestoringFileName: { + name: { readOnly: true, - serializedName: "properties.currentRestoringFileName", + serializedName: "name", type: { name: "String" } }, - lastRestoredFileName: { + sku: { readOnly: true, - serializedName: "properties.lastRestoredFileName", + serializedName: "sku", type: { name: "String" } }, - lastRestoredFileTime: { - readOnly: true, - serializedName: "properties.lastRestoredFileTime", - type: { - name: "DateTime" - } - }, - percentCompleted: { + supportedLicenseTypes: { readOnly: true, - serializedName: "properties.percentCompleted", + serializedName: "supportedLicenseTypes", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - unrestorableFiles: { + supportedVcoresValues: { readOnly: true, - serializedName: "properties.unrestorableFiles", + serializedName: "supportedVcoresValues", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedInstanceVcoresCapability" } } } }, - numberOfFilesDetected: { + status: { readOnly: true, - serializedName: "properties.numberOfFilesDetected", + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - lastUploadedFileName: { + reason: { + serializedName: "reason", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEditionCapability", + type: { + name: "Composite", + className: "ManagedInstanceEditionCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.lastUploadedFileName", + serializedName: "name", type: { name: "String" } }, - lastUploadedFileTime: { + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceFamilyCapability" + } + } + } + }, + status: { readOnly: true, - serializedName: "properties.lastUploadedFileTime", + serializedName: "status", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - blockReason: { - readOnly: true, - serializedName: "properties.blockReason", + reason: { + serializedName: "reason", type: { name: "String" } @@ -8064,98 +8580,160 @@ export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { } }; -export const ManagedDatabase: msRest.CompositeMapper = { - serializedName: "ManagedDatabase", +export const InstancePoolVcoresCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolVcoresCapability", type: { name: "Composite", - className: "ManagedDatabase", + className: "InstancePoolVcoresCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - collation: { - serializedName: "properties.collation", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - status: { + value: { readOnly: true, - serializedName: "properties.status", + serializedName: "value", type: { - name: "String" + name: "Number" } }, - creationDate: { + storageLimit: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "storageLimit", type: { - name: "DateTime" + name: "Composite", + className: "MaxSizeCapability" } }, - earliestRestorePoint: { + status: { readOnly: true, - serializedName: "properties.earliestRestorePoint", + serializedName: "status", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + reason: { + serializedName: "reason", type: { - name: "DateTime" + name: "String" } - }, - defaultSecondaryLocation: { + } + } + } +}; + +export const InstancePoolFamilyCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolFamilyCapability", + type: { + name: "Composite", + className: "InstancePoolFamilyCapability", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "name", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - createMode: { - serializedName: "properties.createMode", + supportedVcoresValues: { + readOnly: true, + serializedName: "supportedVcoresValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolVcoresCapability" + } + } } }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + status: { + readOnly: true, + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + reason: { + serializedName: "reason", type: { name: "String" } - }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + } + } + } +}; + +export const InstancePoolEditionCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolEditionCapability", + type: { + name: "Composite", + className: "InstancePoolEditionCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolFamilyCapability" + } + } } }, - failoverGroupId: { + status: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + reason: { + serializedName: "reason", type: { name: "String" } @@ -8164,254 +8742,222 @@ export const ManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedDatabaseUpdate: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseUpdate", +export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVersionCapability", type: { name: "Composite", - className: "ManagedDatabaseUpdate", + className: "ManagedInstanceVersionCapability", modelProperties: { - collation: { - serializedName: "properties.collation", - type: { - name: "String" - } - }, - status: { + name: { readOnly: true, - serializedName: "properties.status", + serializedName: "name", type: { name: "String" } }, - creationDate: { + supportedEditions: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "supportedEditions", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceEditionCapability" + } + } } }, - earliestRestorePoint: { + supportedInstancePoolEditions: { readOnly: true, - serializedName: "properties.earliestRestorePoint", - type: { - name: "DateTime" - } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + serializedName: "supportedInstancePoolEditions", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolEditionCapability" + } + } } }, - defaultSecondaryLocation: { + status: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", - type: { - name: "String" - } - }, - catalogCollation: { - serializedName: "properties.catalogCollation", - type: { - name: "String" - } - }, - createMode: { - serializedName: "properties.createMode", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + reason: { + serializedName: "reason", type: { name: "String" } - }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + } + } + } +}; + +export const LocationCapabilities: msRest.CompositeMapper = { + serializedName: "LocationCapabilities", + type: { + name: "Composite", + className: "LocationCapabilities", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + supportedServerVersions: { + readOnly: true, + serializedName: "supportedServerVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVersionCapability" + } + } } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + supportedManagedInstanceVersions: { + readOnly: true, + serializedName: "supportedManagedInstanceVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVersionCapability" + } + } } }, - failoverGroupId: { + status: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + reason: { + serializedName: "reason", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { - serializedName: "CompleteDatabaseRestoreDefinition", +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", type: { name: "Composite", - className: "CompleteDatabaseRestoreDefinition", + className: "WorkloadGroup", modelProperties: { - lastBackupName: { + ...ProxyResource.type.modelProperties, + minResourcePercent: { required: true, - serializedName: "lastBackupName", + serializedName: "properties.minResourcePercent", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const PrivateEndpointProperty: msRest.CompositeMapper = { - serializedName: "PrivateEndpointProperty", - type: { - name: "Composite", - className: "PrivateEndpointProperty", - modelProperties: { - id: { - serializedName: "id", + }, + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionStateProperty", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty", - modelProperties: { - status: { + }, + minResourcePercentPerRequest: { required: true, - serializedName: "status", + serializedName: "properties.minResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - description: { - required: true, - serializedName: "description", + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + importance: { + serializedName: "properties.importance", type: { name: "String" } + }, + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", + type: { + name: "Number" + } } } } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "WorkloadClassifier", modelProperties: { ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + memberName: { + required: true, + serializedName: "properties.memberName", type: { - name: "Composite", - className: "PrivateEndpointProperty" + name: "String" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + label: { + serializedName: "properties.label", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + context: { + serializedName: "properties.context", type: { name: "String" } - } - } - } -}; - -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", - type: { - name: "Composite", - className: "PrivateLinkResourceProperties", - modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", + }, + startTime: { + serializedName: "properties.startTime", type: { name: "String" } }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", + endTime: { + serializedName: "properties.endTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - readOnly: true, - serializedName: "properties", + }, + importance: { + serializedName: "properties.importance", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "String" } } } @@ -8734,28 +9280,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: { @@ -10431,3 +10955,93 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { } } }; + +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" + } + } + } + }, + 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" + } + } + } + } +}; diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts index 85f7ca30cdca..41c7f5f71abb 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, @@ -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: { @@ -1013,3 +1013,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..9183c6fb0db1 100644 --- a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts @@ -119,5 +119,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..d5aedf23df89 100644 --- a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts @@ -119,5 +119,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..3621d2d169f7 100644 --- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts @@ -120,5 +120,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..56fe4df88e80 100644 --- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts @@ -119,5 +119,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..cf420761ff32 100644 --- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts @@ -119,5 +119,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..d166e9ef73b9 100644 --- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts @@ -119,5 +119,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..9144d0ac4616 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts @@ -119,5 +119,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..af39d61a850b 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts @@ -119,5 +119,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..8d354006e5a7 100644 --- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts @@ -120,5 +120,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..7f5bb14c1ac5 100644 --- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts @@ -118,5 +118,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..f86347af68ef 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, @@ -89,7 +90,6 @@ export { RestorePoint, SensitivityLabel, Server, - ServerAdministratorListResult, ServerAutomaticTuning, ServerAzureADAdministrator, ServerBlobAuditingPolicy, @@ -119,5 +119,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..3a89ff9674ca 100644 --- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts @@ -119,5 +119,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..5853e7b34b23 100644 --- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts @@ -118,5 +118,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..403b73dce247 100644 --- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts @@ -120,5 +120,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..c8c54a8d1dd3 100644 --- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts @@ -119,5 +119,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..36cdef87c1f3 100644 --- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts @@ -119,5 +119,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..bfd104b794ad 100644 --- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts @@ -119,5 +119,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..47127928e37a 100644 --- a/sdk/sql/arm-sql/src/models/serversMappers.ts +++ b/sdk/sql/arm-sql/src/models/serversMappers.ts @@ -122,5 +122,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..89ffb73296ad 100644 --- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts @@ -119,5 +119,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..3cf989f1cc72 100644 --- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts @@ -119,5 +119,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..394ecb9ef7de 100644 --- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts @@ -119,5 +119,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..8d16cd11b369 100644 --- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts @@ -121,5 +121,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..861ae35c37cd 100644 --- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts @@ -127,5 +127,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..24527a093787 100644 --- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts @@ -123,5 +123,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts @@ -118,5 +118,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..75c9caecf2ea 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts @@ -119,5 +119,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..d91cda76d92f 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts @@ -118,5 +118,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..eb978b2b7cab 100644 --- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts @@ -120,5 +120,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..69f02c932314 100644 --- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts @@ -119,5 +119,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..8702c3fd724f --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts @@ -0,0 +1,125 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + 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, + 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/workloadGroupsMappers.ts b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts new file mode 100644 index 000000000000..827c8bdddfb5 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts @@ -0,0 +1,125 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + BackupLongTermRetentionPolicy, + BackupShortTermRetentionPolicy, + BaseResource, + CloudError, + Database, + DatabaseAutomaticTuning, + DatabaseBlobAuditingPolicy, + DatabaseOperation, + DatabaseSecurityAlertPolicy, + DatabaseVulnerabilityAssessment, + DatabaseVulnerabilityAssessmentRuleBaseline, + DatabaseVulnerabilityAssessmentRuleBaselineItem, + DatabaseVulnerabilityAssessmentScansExport, + DataMaskingPolicy, + DataMaskingRule, + ElasticPool, + ElasticPoolActivity, + ElasticPoolDatabaseActivity, + ElasticPoolOperation, + ElasticPoolPerDatabaseSettings, + EncryptionProtector, + ExtendedDatabaseBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicy, + FailoverGroup, + FailoverGroupReadOnlyEndpoint, + FailoverGroupReadWriteEndpoint, + FirewallRule, + GeoBackupPolicy, + ImportExportResponse, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstancePairInfo, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + 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, + 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, + WorkloadGroupListResult +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/operations/capabilities.ts b/sdk/sql/arm-sql/src/operations/capabilities.ts index 56cbe7ea343b..352652e00c1f 100644 --- a/sdk/sql/arm-sql/src/operations/capabilities.ts +++ b/sdk/sql/arm-sql/src/operations/capabilities.ts @@ -66,7 +66,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.include, - Parameters.apiVersion2 + 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..df6a0f7d73aa 100644 --- a/sdk/sql/arm-sql/src/operations/index.ts +++ b/sdk/sql/arm-sql/src/operations/index.ts @@ -21,7 +21,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 +71,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"; @@ -94,3 +92,7 @@ export * from "./managedDatabaseRestoreDetails"; export * from "./managedDatabases"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; +export * from "./serverAzureADAdministrators"; +export * from "./capabilities"; +export * from "./workloadGroups"; +export * from "./workloadClassifiers"; 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/serverAzureADAdministrators.ts b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts index f80129644663..24c695557210 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 server 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,36 @@ export class ServerAzureADAdministrators { } /** - * Returns a list of server Administrators. + * 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 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 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()); + } + + /** + * Gets a list of server Administrators. * @param resourceGroupName The name of the resource group that 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 +106,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 +114,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, @@ -132,17 +132,17 @@ export class ServerAzureADAdministrators { * @param resourceGroupName The name of the resource group that contains 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 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, @@ -167,6 +167,34 @@ export class ServerAzureADAdministrators { beginDeleteMethodOperationSpec, options); } + + /** + * Gets a list of server Administrators. + * @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 +206,10 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -206,14 +234,14 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAdministratorListResult + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError @@ -229,16 +257,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage ], requestBody: { - parameterPath: "properties", + parameterPath: "parameters", mapper: { ...Mappers.ServerAzureADAdministrator, required: true @@ -251,9 +279,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ServerAzureADAdministrator }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -268,23 +294,38 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, - 204: { - bodyMapper: Mappers.ServerAzureADAdministrator + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/sql/arm-sql/src/operations/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..cd4a7afc94db 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClient.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts @@ -30,7 +30,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 +80,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; @@ -103,6 +101,10 @@ class SqlManagementClient extends SqlManagementClientContext { managedDatabases: operations.ManagedDatabases; privateEndpointConnections: operations.PrivateEndpointConnections; privateLinkResources: operations.PrivateLinkResources; + serverAzureADAdministrators: operations.ServerAzureADAdministrators; + capabilities: operations.Capabilities; + workloadGroups: operations.WorkloadGroups; + workloadClassifiers: operations.WorkloadClassifiers; /** * Initializes a new instance of the SqlManagementClient class. @@ -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); @@ -198,6 +198,10 @@ class SqlManagementClient extends SqlManagementClientContext { this.managedDatabases = new operations.ManagedDatabases(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); this.privateLinkResources = new operations.PrivateLinkResources(this); + this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this); + this.capabilities = new operations.Capabilities(this); + this.workloadGroups = new operations.WorkloadGroups(this); + this.workloadClassifiers = new operations.WorkloadClassifiers(this); } }