From 22b27ddbc7b08724bbd7b4f0fdf6a5022d72bba2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 29 Mar 2021 06:04:41 +0000 Subject: [PATCH] CodeGen from PR 13689 in Azure/azure-rest-api-specs Dev sql microsoft.sql 2020 11 01 preview minor change (#13689) * Adds base for updating Microsoft.Sql from version preview/2020-08-01-preview to version 2020-11-01-preview * Updates readme * Updates API version in new specs and examples * Add updated 2020-11-01-preview versions of LongTermRetenionBackups.json and Databases.json (#12146) * add updated databases.json swagger * update readme with new package * v4 -> v5 * add missing chunk in readme * add correct swaggeR * add examples * add correct examplese * remove unreferenced examples * update swagger and examples. add 2020-11 pure package * Fix reference to 2020-08-01 reference to ElasticPools.json * update Databases.json name * update examples * remove nonexistant swagger * fixed reference capitals in readme * update package composite and fix ref to ManagedInstances.jsON * make backupstorageredundancy settings consistent * add requestedBackupStorageRedundancy to properties object in example * add LTR swagger and examples * add LTR Policies swagger and examples * make v5 match v4 * add updated Databses.json * merge conflicts in LTR Policies swagger' * take out comments in readme * taking ImportExport.json out from 2020-11 package * remove duplicate 2020-11 tag in readme * modify Databases_legacy.json to exclude ImportExport-related APIs * add servers.json for IE APIS and remove unused databases examples * fix model & prettier errors; add missing server example * add missing servers examples * fix example to exclude property from server obj * change RecommendedActions definitoins * change tag to composite v4 * Add missing properties for api version 2020-02-02-preview of securityAlertPolicies (#13117) * Add missing properties for api version 2020-02-02-preview * fix checks * fix according to prettier check * Add the change to version 2020-08-01-preview and version 2020-11-01-preview * remove changes in package-lock * Add new line at the end of file * update version 2020-11-01-preview * Update the ref to system data in serverdevopsaudit * add missing point * fix the validation errors * Delete ServerDevOpsAudit.json * fix the validation errors * re add ServerDevOpsAudit.json * fix the validation errors (#13325) * fix the validation errors * Delete ServerDevOpsAudit.json * fix the validation errors * re add ServerDevOpsAudit.json * address PrivateEndpointConnections.json validation issues in v3, v2 and v1 * Address Private Endpoint validation issues in V3, V2 and V1 SDK tags (#13404) * fix the validation errors * Delete ServerDevOpsAudit.json * fix the validation errors * re add ServerDevOpsAudit.json * address PrivateEndpointConnections.json validation issues in v3, v2 and v1 * Identity/Key/external Admin API (#13411) * Add examples for sql mi remove maintenance configuration (#13390) * Add missing specs 2020 11 01 (#13488) * fix the validation errors * Delete ServerDevOpsAudit.json * fix the validation errors * re add ServerDevOpsAudit.json * address PrivateEndpointConnections.json validation issues in v3, v2 and v1 * add missing specs in 2020-11-01-preview * update the validation errors * update systemData and sync with global common/v1/types.json * update legacy to match the latest database specs * remove RestorableDroppedManagedInstances due to it should be internal * Updated database extensions (#13584) Co-authored-by: Geetha Athreya Co-authored-by: xaliciayang <59986952+xaliciayang@users.noreply.github.com> Co-authored-by: ayeletshpigelman Co-authored-by: strehan1993 <70013163+strehan1993@users.noreply.github.com> Co-authored-by: Ivan Kulezic <72797230+kukislav@users.noreply.github.com> Co-authored-by: Geetha Athreya <43223869+athreya-geetha@users.noreply.github.com> Co-authored-by: Geetha Athreya --- sdk/sql/arm-sql/LICENSE.txt | 2 +- sdk/sql/arm-sql/README.md | 9 +- sdk/sql/arm-sql/rollup.config.js | 4 +- ...backupShortTermRetentionPoliciesMappers.ts | 33 +- .../arm-sql/src/models/capabilitiesMappers.ts | 15 +- .../src/models/dataMaskingPoliciesMappers.ts | 33 +- .../src/models/dataMaskingRulesMappers.ts | 33 +- ...atabaseAutomaticTuningOperationsMappers.ts | 33 +- .../databaseBlobAuditingPoliciesMappers.ts | 33 +- .../src/models/databaseOperationsMappers.ts | 33 +- .../databaseThreatDetectionPoliciesMappers.ts | 33 +- .../src/models/databaseUsagesMappers.ts | 4 +- ...erabilityAssessmentRuleBaselinesMappers.ts | 33 +- ...baseVulnerabilityAssessmentScansMappers.ts | 33 +- ...databaseVulnerabilityAssessmentsMappers.ts | 33 +- .../arm-sql/src/models/databasesMappers.ts | 38 +- .../models/elasticPoolActivitiesMappers.ts | 33 +- .../elasticPoolDatabaseActivitiesMappers.ts | 33 +- .../models/elasticPoolOperationsMappers.ts | 33 +- .../arm-sql/src/models/elasticPoolsMappers.ts | 33 +- .../src/models/encryptionProtectorsMappers.ts | 33 +- ...ndedDatabaseBlobAuditingPoliciesMappers.ts | 34 +- ...tendedServerBlobAuditingPoliciesMappers.ts | 34 +- .../src/models/failoverGroupsMappers.ts | 33 +- .../src/models/firewallRulesMappers.ts | 33 +- .../src/models/geoBackupPoliciesMappers.ts | 33 +- .../arm-sql/src/models/importExportMappers.ts | 147 + sdk/sql/arm-sql/src/models/index.ts | 12575 ++++++++++------ .../models/instanceFailoverGroupsMappers.ts | 33 +- .../src/models/instancePoolsMappers.ts | 33 +- .../arm-sql/src/models/jobAgentsMappers.ts | 33 +- .../src/models/jobCredentialsMappers.ts | 33 +- .../src/models/jobExecutionsMappers.ts | 33 +- .../src/models/jobStepExecutionsMappers.ts | 33 +- sdk/sql/arm-sql/src/models/jobStepsMappers.ts | 33 +- .../src/models/jobTargetExecutionsMappers.ts | 33 +- .../src/models/jobTargetGroupsMappers.ts | 33 +- .../arm-sql/src/models/jobVersionsMappers.ts | 33 +- sdk/sql/arm-sql/src/models/jobsMappers.ts | 33 +- .../models/longTermRetentionBackupsMappers.ts | 35 +- ...mRetentionManagedInstanceBackupsMappers.ts | 146 + .../longTermRetentionPoliciesMappers.ts | 146 + ...BackupShortTermRetentionPoliciesMappers.ts | 33 +- .../managedDatabaseRestoreDetailsMappers.ts | 33 +- ...gedDatabaseSecurityAlertPoliciesMappers.ts | 33 +- ...managedDatabaseSensitivityLabelsMappers.ts | 33 +- ...erabilityAssessmentRuleBaselinesMappers.ts | 33 +- ...baseVulnerabilityAssessmentScansMappers.ts | 33 +- ...DatabaseVulnerabilityAssessmentsMappers.ts | 33 +- .../src/models/managedDatabasesMappers.ts | 33 +- .../managedInstanceAdministratorsMappers.ts | 33 +- ...stanceAzureADOnlyAuthenticationsMappers.ts | 146 + ...agedInstanceEncryptionProtectorsMappers.ts | 33 +- .../src/models/managedInstanceKeysMappers.ts | 33 +- ...nstanceLongTermRetentionPoliciesMappers.ts | 146 + .../managedInstanceOperationsMappers.ts | 146 + .../managedInstanceTdeCertificatesMappers.ts | 33 +- ...InstanceVulnerabilityAssessmentsMappers.ts | 33 +- .../src/models/managedInstancesMappers.ts | 38 +- ...BackupShortTermRetentionPoliciesMappers.ts | 33 +- ...nagedServerSecurityAlertPoliciesMappers.ts | 33 +- sdk/sql/arm-sql/src/models/mappers.ts | 8748 +++++++---- .../arm-sql/src/models/operationsMappers.ts | 4 +- sdk/sql/arm-sql/src/models/parameters.ts | 215 +- .../privateEndpointConnectionsMappers.ts | 33 +- .../src/models/privateLinkResourcesMappers.ts | 33 +- .../models/recommendedElasticPoolsMappers.ts | 33 +- .../src/models/recoverableDatabasesMappers.ts | 33 +- .../recoverableManagedDatabasesMappers.ts | 33 +- .../src/models/replicationLinksMappers.ts | 34 +- .../restorableDroppedDatabasesMappers.ts | 33 +- ...estorableDroppedManagedDatabasesMappers.ts | 33 +- .../src/models/restorePointsMappers.ts | 33 +- .../src/models/sensitivityLabelsMappers.ts | 33 +- .../serverAutomaticTuningOperationsMappers.ts | 33 +- .../serverAzureADAdministratorsMappers.ts | 35 +- ...serverAzureADOnlyAuthenticationsMappers.ts | 146 + .../serverBlobAuditingPoliciesMappers.ts | 33 +- .../models/serverCommunicationLinksMappers.ts | 33 +- .../models/serverConnectionPoliciesMappers.ts | 33 +- .../serverDevOpsAuditSettingsMappers.ts | 146 + .../src/models/serverDnsAliasesMappers.ts | 33 +- .../arm-sql/src/models/serverKeysMappers.ts | 33 +- .../serverSecurityAlertPoliciesMappers.ts | 33 +- .../src/models/serverTrustGroupsMappers.ts | 146 + .../arm-sql/src/models/serverUsagesMappers.ts | 4 +- .../serverVulnerabilityAssessmentsMappers.ts | 33 +- sdk/sql/arm-sql/src/models/serversMappers.ts | 35 +- .../src/models/serviceObjectivesMappers.ts | 33 +- .../src/models/serviceTierAdvisorsMappers.ts | 33 +- .../src/models/subscriptionUsagesMappers.ts | 33 +- .../arm-sql/src/models/syncAgentsMappers.ts | 33 +- .../arm-sql/src/models/syncGroupsMappers.ts | 33 +- .../arm-sql/src/models/syncMembersMappers.ts | 33 +- .../src/models/tdeCertificatesMappers.ts | 33 +- ...nsparentDataEncryptionActivitiesMappers.ts | 33 +- .../transparentDataEncryptionsMappers.ts | 33 +- sdk/sql/arm-sql/src/models/usagesMappers.ts | 4 +- .../src/models/virtualClustersMappers.ts | 33 +- .../src/models/virtualNetworkRulesMappers.ts | 33 +- .../src/models/workloadClassifiersMappers.ts | 146 + ...iesMappers.ts => workloadGroupsMappers.ts} | 34 +- .../backupShortTermRetentionPolicies.ts | 16 +- .../arm-sql/src/operations/capabilities.ts | 7 +- .../src/operations/dataMaskingPolicies.ts | 5 +- .../src/operations/dataMaskingRules.ts | 5 +- .../databaseAutomaticTuningOperations.ts | 9 +- .../databaseBlobAuditingPolicies.ts | 14 +- .../src/operations/databaseOperations.ts | 12 +- .../databaseThreatDetectionPolicies.ts | 5 +- .../arm-sql/src/operations/databaseUsages.ts | 5 +- ...aseVulnerabilityAssessmentRuleBaselines.ts | 11 +- .../databaseVulnerabilityAssessmentScans.ts | 16 +- .../databaseVulnerabilityAssessments.ts | 16 +- sdk/sql/arm-sql/src/operations/databases.ts | 322 +- .../src/operations/elasticPoolActivities.ts | 5 +- .../elasticPoolDatabaseActivities.ts | 5 +- .../src/operations/elasticPoolOperations.ts | 12 +- .../arm-sql/src/operations/elasticPools.ts | 25 +- .../src/operations/encryptionProtectors.ts | 16 +- .../extendedDatabaseBlobAuditingPolicies.ts | 126 +- .../extendedServerBlobAuditingPolicies.ts | 121 +- .../arm-sql/src/operations/failoverGroups.ts | 22 +- .../arm-sql/src/operations/firewallRules.ts | 5 +- .../src/operations/geoBackupPolicies.ts | 5 +- .../arm-sql/src/operations/importExport.ts | 102 + sdk/sql/arm-sql/src/operations/index.ts | 37 +- .../src/operations/instanceFailoverGroups.ts | 20 +- .../arm-sql/src/operations/instancePools.ts | 23 +- sdk/sql/arm-sql/src/operations/jobAgents.ts | 18 +- .../arm-sql/src/operations/jobCredentials.ts | 16 +- .../arm-sql/src/operations/jobExecutions.ts | 49 +- .../src/operations/jobStepExecutions.ts | 25 +- sdk/sql/arm-sql/src/operations/jobSteps.ts | 23 +- .../src/operations/jobTargetExecutions.ts | 43 +- .../arm-sql/src/operations/jobTargetGroups.ts | 16 +- sdk/sql/arm-sql/src/operations/jobVersions.ts | 12 +- sdk/sql/arm-sql/src/operations/jobs.ts | 16 +- .../operations/longTermRetentionBackups.ts | 701 +- ...longTermRetentionManagedInstanceBackups.ts | 1010 ++ ...licies.ts => longTermRetentionPolicies.ts} | 111 +- ...managedBackupShortTermRetentionPolicies.ts | 16 +- .../managedDatabaseRestoreDetails.ts | 7 +- .../managedDatabaseSecurityAlertPolicies.ts | 14 +- .../managedDatabaseSensitivityLabels.ts | 41 +- ...aseVulnerabilityAssessmentRuleBaselines.ts | 11 +- ...gedDatabaseVulnerabilityAssessmentScans.ts | 16 +- ...managedDatabaseVulnerabilityAssessments.ts | 16 +- .../src/operations/managedDatabases.ts | 132 +- .../managedInstanceAdministrators.ts | 22 +- ...nagedInstanceAzureADOnlyAuthentications.ts | 337 + .../managedInstanceEncryptionProtectors.ts | 16 +- .../src/operations/managedInstanceKeys.ts | 23 +- ...anagedInstanceLongTermRetentionPolicies.ts | 286 + .../operations/managedInstanceOperations.ts | 269 + .../managedInstanceTdeCertificates.ts | 7 +- ...managedInstanceVulnerabilityAssessments.ts | 16 +- .../src/operations/managedInstances.ts | 211 +- ...atabaseBackupShortTermRetentionPolicies.ts | 16 +- .../managedServerSecurityAlertPolicies.ts | 14 +- sdk/sql/arm-sql/src/operations/operations.ts | 10 +- .../operations/privateEndpointConnections.ts | 16 +- .../src/operations/privateLinkResources.ts | 12 +- .../src/operations/recommendedElasticPools.ts | 5 +- .../src/operations/recoverableDatabases.ts | 5 +- .../operations/recoverableManagedDatabases.ts | 12 +- .../src/operations/replicationLinks.ts | 79 +- .../operations/restorableDroppedDatabases.ts | 5 +- .../restorableDroppedManagedDatabases.ts | 12 +- .../arm-sql/src/operations/restorePoints.ts | 13 +- .../src/operations/sensitivityLabels.ts | 41 +- .../serverAutomaticTuningOperations.ts | 9 +- .../operations/serverAzureADAdministrators.ts | 165 +- .../serverAzureADOnlyAuthentications.ts | 337 + .../operations/serverBlobAuditingPolicies.ts | 14 +- .../operations/serverCommunicationLinks.ts | 5 +- .../operations/serverConnectionPolicies.ts | 5 +- .../operations/serverDevOpsAuditSettings.ts | 284 + .../src/operations/serverDnsAliases.ts | 18 +- sdk/sql/arm-sql/src/operations/serverKeys.ts | 16 +- .../operations/serverSecurityAlertPolicies.ts | 14 +- .../src/operations/serverTrustGroups.ts | 455 + .../arm-sql/src/operations/serverUsages.ts | 5 +- .../serverVulnerabilityAssessments.ts | 16 +- sdk/sql/arm-sql/src/operations/servers.ts | 279 +- .../src/operations/serviceObjectives.ts | 5 +- .../src/operations/serviceTierAdvisors.ts | 5 +- .../src/operations/subscriptionUsages.ts | 12 +- sdk/sql/arm-sql/src/operations/syncAgents.ts | 23 +- sdk/sql/arm-sql/src/operations/syncGroups.ts | 70 +- sdk/sql/arm-sql/src/operations/syncMembers.ts | 25 +- .../arm-sql/src/operations/tdeCertificates.ts | 7 +- .../transparentDataEncryptionActivities.ts | 5 +- .../operations/transparentDataEncryptions.ts | 5 +- sdk/sql/arm-sql/src/operations/usages.ts | 17 +- .../arm-sql/src/operations/virtualClusters.ts | 21 +- .../src/operations/virtualNetworkRules.ts | 16 +- .../src/operations/workloadClassifiers.ts | 389 + .../arm-sql/src/operations/workloadGroups.ts | 361 + sdk/sql/arm-sql/src/sqlManagementClient.ts | 69 +- .../arm-sql/src/sqlManagementClientContext.ts | 26 +- 201 files changed, 23971 insertions(+), 9132 deletions(-) create mode 100644 sdk/sql/arm-sql/src/models/importExportMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts create mode 100644 sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts rename sdk/sql/arm-sql/src/models/{backupLongTermRetentionPoliciesMappers.ts => workloadGroupsMappers.ts} (74%) create mode 100644 sdk/sql/arm-sql/src/operations/importExport.ts create mode 100644 sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts rename sdk/sql/arm-sql/src/operations/{backupLongTermRetentionPolicies.ts => longTermRetentionPolicies.ts} (64%) create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts create mode 100644 sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts create mode 100644 sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts create mode 100644 sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts create mode 100644 sdk/sql/arm-sql/src/operations/serverTrustGroups.ts create mode 100644 sdk/sql/arm-sql/src/operations/workloadClassifiers.ts create mode 100644 sdk/sql/arm-sql/src/operations/workloadGroups.ts diff --git a/sdk/sql/arm-sql/LICENSE.txt b/sdk/sql/arm-sql/LICENSE.txt index b73b4a1293c3..2d3163745319 100644 --- a/sdk/sql/arm-sql/LICENSE.txt +++ b/sdk/sql/arm-sql/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/sql/arm-sql/README.md b/sdk/sql/arm-sql/README.md index 0cb82aed7cd6..4df655221a2b 100644 --- a/sdk/sql/arm-sql/README.md +++ b/sdk/sql/arm-sql/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-sql ### How to use -#### nodejs - Authentication, client creation and get recoverableDatabases as an example written in TypeScript. +#### nodejs - client creation and get recoverableDatabases as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SqlManagementClient, SqlManagementModels, SqlManagementMappers } from "@azure/arm-sql"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { SqlManagementClient } = require("@azure/arm-sql"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/sql/arm-sql/rollup.config.js b/sdk/sql/arm-sql/rollup.config.js index 6615d95d1208..a044e7d33ee9 100644 --- a/sdk/sql/arm-sql/rollup.config.js +++ b/sdk/sql/arm-sql/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts index bf0add5c875c..c925c565e819 100644 --- a/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BackupShortTermRetentionPolicyListResult, BaseResource, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts b/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts index 95ade0ba7550..7e34dc5863e2 100644 --- a/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/capabilitiesMappers.ts @@ -1,29 +1,38 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AutoPauseDelayTimeRange, CloudError, EditionCapability, ElasticPoolEditionCapability, ElasticPoolPerDatabaseMaxPerformanceLevelCapability, ElasticPoolPerDatabaseMinPerformanceLevelCapability, ElasticPoolPerformanceLevelCapability, + InstancePoolEditionCapability, + InstancePoolFamilyCapability, + InstancePoolVcoresCapability, LicenseTypeCapability, LocationCapabilities, LogSizeCapability, + MaintenanceConfigurationCapability, ManagedInstanceEditionCapability, ManagedInstanceFamilyCapability, + ManagedInstanceMaintenanceConfigurationCapability, ManagedInstanceVcoresCapability, ManagedInstanceVersionCapability, MaxSizeCapability, MaxSizeRangeCapability, + MinCapacityCapability, PerformanceLevelCapability, + ReadScaleCapability, ServerVersionCapability, ServiceObjectiveCapability, - Sku + Sku, + StorageCapability } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts index 5f51959ea946..afb4f06a19a8 100644 --- a/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseAutomaticTuningOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts index 208528b42b1d..0b75a45f5ee8 100644 --- a/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseBlobAuditingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts index be1316bb2af4..127c86561db1 100644 --- a/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseThreatDetectionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts b/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts index e44bd416354e..dd73fdfadfee 100644 --- a/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseUsagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts index 8db2e4f353ef..5a072470e501 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentScansMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,14 +128,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, - VulnerabilityAssessmentScanRecordListResult + VulnerabilityAssessmentScanRecordListResult, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts index ddd16788a720..4e8400af157f 100644 --- a/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/databaseVulnerabilityAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/databasesMappers.ts b/sdk/sql/arm-sql/src/models/databasesMappers.ts index d42e76c423cd..7049603bfaed 100644 --- a/sdk/sql/arm-sql/src/models/databasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/databasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -32,7 +31,7 @@ export { ElasticPoolOperation, ElasticPoolPerDatabaseSettings, EncryptionProtector, - ExportRequest, + ExportDatabaseDefinition, ExtendedDatabaseBlobAuditingPolicy, ExtendedServerBlobAuditingPolicy, FailoverGroup, @@ -40,9 +39,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, - ImportExtensionRequest, - ImportRequest, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -61,15 +58,27 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, Metric, @@ -79,10 +88,13 @@ export { MetricListResult, MetricName, MetricValue, + NetworkIsolationSettings, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -104,12 +116,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -123,13 +140,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts index e208d357ba22..b072a399cd86 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolActivitiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts index 9ec09441bb5b..558fc05000b0 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolDatabaseActivitiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts index 42b902e5b44b..f096f2aa6ec8 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts index 0207ecc07c86..c5ef7d75baaf 100644 --- a/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/elasticPoolsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -39,7 +38,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -58,15 +57,27 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, Metric, @@ -80,6 +91,8 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -100,12 +113,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -119,13 +137,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts index dd2c39144b9d..d08a583d0575 100644 --- a/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/encryptionProtectorsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts index 7979989c60d3..8d8eb1327cee 100644 --- a/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedDatabaseBlobAuditingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -31,13 +30,14 @@ export { ElasticPoolPerDatabaseSettings, EncryptionProtector, ExtendedDatabaseBlobAuditingPolicy, + ExtendedDatabaseBlobAuditingPolicyListResult, ExtendedServerBlobAuditingPolicy, FailoverGroup, FailoverGroupReadOnlyEndpoint, FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts index 7979989c60d3..0e3b47ec55c8 100644 --- a/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/extendedServerBlobAuditingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -32,12 +31,13 @@ export { EncryptionProtector, ExtendedDatabaseBlobAuditingPolicy, ExtendedServerBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicyListResult, FailoverGroup, FailoverGroupReadOnlyEndpoint, FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts index 5b702951c0c0..5d94b1f37ce5 100644 --- a/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/failoverGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -39,7 +38,7 @@ export { FailoverGroupUpdate, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -58,21 +57,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts index c7b1cddbce7e..440e4d2d46da 100644 --- a/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/firewallRulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FirewallRule, FirewallRuleListResult, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts index 23569a186da1..2f9c576fd320 100644 --- a/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/geoBackupPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FirewallRule, GeoBackupPolicy, GeoBackupPolicyListResult, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/importExportMappers.ts b/sdk/sql/arm-sql/src/models/importExportMappers.ts new file mode 100644 index 000000000000..02e441e16246 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/importExportMappers.ts @@ -0,0 +1,147 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExistingDatabaseDefinition, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + NetworkIsolationSettings, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/index.ts b/sdk/sql/arm-sql/src/models/index.ts index 60b18ceff4a8..2c61cb69374c 100644 --- a/sdk/sql/arm-sql/src/models/index.ts +++ b/sdk/sql/arm-sql/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -129,43 +129,6 @@ export interface TrackedResource extends Resource { tags?: { [propertyName: string]: string }; } -/** - * A request to check whether the specified name for a resource is available. - */ -export interface CheckNameAvailabilityRequest { - /** - * The name whose availability is to be checked. - */ - name: string; -} - -/** - * A response indicating whether the specified name for a resource is available. - */ -export interface CheckNameAvailabilityResponse { - /** - * True if the name is available, otherwise false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly available?: boolean; - /** - * A message explaining why the name is unavailable. Will be null if the name is available. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly message?: string; - /** - * The name whose availability was checked. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The reason code explaining why the name is unavailable. Will be null if the name is available. - * Possible values include: 'Invalid', 'AlreadyExists' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly reason?: CheckNameAvailabilityReason; -} - /** * A server secure connection policy. */ @@ -402,173 +365,6 @@ export interface GeoBackupPolicy extends ProxyResource { readonly location?: string; } -/** - * Import database parameters. - */ -export interface ImportExtensionRequest { - /** - * The name of the extension. - */ - name?: string; - /** - * The type of the extension. - */ - type?: string; - /** - * The type of the storage key to use. Possible values include: 'StorageAccessKey', - * 'SharedAccessKey' - */ - storageKeyType: StorageKeyType; - /** - * The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a - * "?." - */ - storageKey: string; - /** - * The storage uri to use. - */ - storageUri: string; - /** - * The name of the SQL administrator. - */ - administratorLogin: string; - /** - * The password of the SQL administrator. - */ - administratorLoginPassword: string; - /** - * The authentication type. Possible values include: 'SQL', 'ADPassword'. Default value: 'SQL'. - */ - authenticationType?: AuthenticationType; -} - -/** - * Response for Import/Export Get operation. - */ -export interface ImportExportResponse extends ProxyResource { - /** - * The request type of the operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly requestType?: string; - /** - * The request type of the operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly requestId?: string; - /** - * The name of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serverName?: string; - /** - * The name of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly databaseName?: string; - /** - * The status message returned from the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: string; - /** - * The operation status last modified time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastModifiedTime?: string; - /** - * The operation queued time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly queuedTime?: string; - /** - * The blob uri. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly blobUri?: string; - /** - * The error message returned from the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly errorMessage?: string; -} - -/** - * Export database parameters. - */ -export interface ExportRequest { - /** - * The type of the storage key to use. Possible values include: 'StorageAccessKey', - * 'SharedAccessKey' - */ - storageKeyType: StorageKeyType; - /** - * The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a - * "?." - */ - storageKey: string; - /** - * The storage uri to use. - */ - storageUri: string; - /** - * The name of the SQL administrator. - */ - administratorLogin: string; - /** - * The password of the SQL administrator. - */ - administratorLoginPassword: string; - /** - * The authentication type. Possible values include: 'SQL', 'ADPassword'. Default value: 'SQL'. - */ - authenticationType?: AuthenticationType; -} - -/** - * Import database parameters. - */ -export interface ImportRequest extends ExportRequest { - /** - * The name of the database to import. - */ - databaseName: string; - /** - * The edition for the database being created. - * - * The list of SKUs may vary by region and support offer. To determine the SKUs (including the - * SKU name, tier/edition, family, and capacity) that are available to your subscription in an - * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: - * - * ```azurecli - * az sql db list-editions -l -o table - * ```` - * - * ```powershell - * Get-AzSqlServerServiceObjective -Location - * ```` - * . Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', - * 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - * 'Hyperscale' - */ - edition: DatabaseEdition; - /** - * The name of the service objective to assign to the database. Possible values include: - * 'System', 'System0', 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L', - * 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', - * 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', - * 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', - * 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', - * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', - * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool' - */ - serviceObjectiveName: ServiceObjectiveName; - /** - * The maximum size for the newly imported database. - */ - maxSizeBytes: string; -} - /** * Represents database metrics. */ @@ -850,21 +646,13 @@ export interface ReplicationLink extends ProxyResource { } /** - * An server Active Directory Administrator. + * Represents the parameters for Unlink Replication Link request. */ -export interface ServerAzureADAdministrator extends ProxyResource { - /** - * The server administrator login value. - */ - login: string; - /** - * The server administrator Sid (Secure ID). - */ - sid: string; +export interface UnlinkParameters { /** - * The server Active Directory Administrator tenant id. + * Determines whether link will be terminated in a forced or a friendly way. */ - tenantId: string; + forcedTermination?: boolean; } /** @@ -1752,96 +1540,6 @@ export interface ServerKey extends ProxyResource { creationDate?: Date; } -/** - * Azure Active Directory identity configuration for a resource. - */ -export interface ResourceIdentity { - /** - * The Azure Active Directory principal id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly principalId?: string; - /** - * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an - * Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned' - */ - type?: IdentityType; - /** - * The Azure Active Directory tenant id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly tenantId?: string; -} - -/** - * An Azure SQL Database server. - */ -export interface Server extends TrackedResource { - /** - * The Azure Active Directory identity of the server. - */ - identity?: ResourceIdentity; - /** - * Kind of sql server. This is metadata used for the Azure portal experience. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly kind?: string; - /** - * Administrator username for the server. Once created it cannot be changed. - */ - administratorLogin?: string; - /** - * The administrator login password (required for server creation). - */ - administratorLoginPassword?: string; - /** - * The version of the server. - */ - version?: string; - /** - * The state of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The fully qualified domain name of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly fullyQualifiedDomainName?: string; -} - -/** - * An update request for an Azure SQL Database server. - */ -export interface ServerUpdate { - /** - * Administrator username for the server. Once created it cannot be changed. - */ - administratorLogin?: string; - /** - * The administrator login password (required for server creation). - */ - administratorLoginPassword?: string; - /** - * The version of the server. - */ - version?: string; - /** - * The state of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The fully qualified domain name of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly fullyQualifiedDomainName?: string; - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - /** * An Azure SQL Database sync agent. */ @@ -1931,391 +1629,269 @@ export interface SyncAgentLinkedDatabase extends ProxyResource { } /** - * Properties of the sync database id. + * Usage Metric of a Subscription in a Location. */ -export interface SyncDatabaseIdProperties { +export interface SubscriptionUsage extends ProxyResource { /** - * ARM resource id of sync database. + * User-readable name of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; -} - -/** - * Properties of the column in the table of database full schema. - */ -export interface SyncFullSchemaTableColumn { + readonly displayName?: string; /** - * Data size of the column. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataSize?: string; - /** - * Data type of the column. + * Current value of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataType?: string; + readonly currentValue?: number; /** - * Error id of the column. + * Boundary value of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorId?: string; + readonly limit?: number; /** - * If there is error in the table. + * Unit of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hasError?: boolean; + readonly unit?: string; +} + +/** + * An Azure SQL virtual cluster. + */ +export interface VirtualCluster extends TrackedResource { /** - * If it is the primary key of the table. + * Subnet resource ID for the virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isPrimaryKey?: boolean; + readonly subnetId?: string; /** - * Name of the column. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. */ - readonly name?: string; + family?: string; /** - * Quoted name of the column. + * List of resources in this virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly quotedName?: string; + readonly childResources?: string[]; } /** - * Properties of the table in the database full schema. + * An update request for an Azure SQL Database virtual cluster. */ -export interface SyncFullSchemaTable { - /** - * List of columns in the table of database full schema. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly columns?: SyncFullSchemaTableColumn[]; +export interface VirtualClusterUpdate { /** - * Error id of the table. + * Subnet resource ID for the virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorId?: string; + readonly subnetId?: string; /** - * If there is error in the table. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If the service has different generations of hardware, for the same SKU, then that can be + * captured here. */ - readonly hasError?: boolean; + family?: string; /** - * Name of the table. + * List of resources in this virtual cluster. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly childResources?: string[]; /** - * Quoted name of the table. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags. */ - readonly quotedName?: string; + tags?: { [propertyName: string]: string }; } /** - * Properties of the database full schema. + * A virtual network rule. */ -export interface SyncFullSchemaProperties { +export interface VirtualNetworkRule extends ProxyResource { /** - * List of tables in the database full schema. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ARM resource id of the virtual network subnet. */ - readonly tables?: SyncFullSchemaTable[]; + virtualNetworkSubnetId: string; /** - * Last update time of the database schema. + * Create firewall rule before the virtual network has vnet service endpoint enabled. + */ + ignoreMissingVnetServiceEndpoint?: boolean; + /** + * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', + * 'Deleting', 'Unknown' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUpdateTime?: Date; + readonly state?: VirtualNetworkRuleState; } /** - * Properties of an Azure SQL Database sync group log. + * An extended database blob auditing policy. */ -export interface SyncGroupLogProperties { - /** - * Timestamp of the sync group log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly timestamp?: Date; +export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { /** - * Type of the sync group log. Possible values include: 'All', 'Error', 'Warning', 'Success' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies condition of where clause when creating an audit. */ - readonly type?: SyncGroupLogType; + predicateExpression?: string; /** - * Source of the sync group log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - readonly source?: string; + state: BlobAuditingPolicyState; /** - * Details of the sync group log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - readonly details?: string; + storageEndpoint?: string; /** - * TracingId of the sync group log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ - readonly tracingId?: string; + storageAccountAccessKey?: string; /** - * OperationStatus of the sync group log. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the number of days to keep in the audit logs in the storage account. */ - readonly operationStatus?: string; -} - -/** - * Properties of column in sync group table. - */ -export interface SyncGroupSchemaTableColumn { + retentionDays?: number; /** - * Quoted name of sync group table column. + * Specifies the Actions-Groups and Actions to audit. + * + * The recommended set of action groups to use is the following combination - this will audit all + * the queries and stored procedures executed against the database, as well as successful and + * failed logins: + * + * BATCH_COMPLETED_GROUP, + * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + * FAILED_DATABASE_AUTHENTICATION_GROUP. + * + * This above combination is also the set that is configured by default when enabling auditing + * from the Azure portal. + * + * The supported action groups to audit are (note: choose only specific groups that cover your + * auditing needs. Using unnecessary groups could lead to very large quantities of audit + * records): + * + * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + * BACKUP_RESTORE_GROUP + * DATABASE_LOGOUT_GROUP + * DATABASE_OBJECT_CHANGE_GROUP + * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + * DATABASE_OPERATION_GROUP + * DATABASE_PERMISSION_CHANGE_GROUP + * DATABASE_PRINCIPAL_CHANGE_GROUP + * DATABASE_PRINCIPAL_IMPERSONATION_GROUP + * DATABASE_ROLE_MEMBER_CHANGE_GROUP + * FAILED_DATABASE_AUTHENTICATION_GROUP + * SCHEMA_OBJECT_ACCESS_GROUP + * SCHEMA_OBJECT_CHANGE_GROUP + * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + * USER_CHANGE_PASSWORD_GROUP + * BATCH_STARTED_GROUP + * BATCH_COMPLETED_GROUP + * + * These are groups that cover all sql statements and stored procedures executed against the + * database, and should not be used in combination with other groups as this will result in + * duplicate audit logs. + * + * For more information, see [Database-Level Audit Action + * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + * + * For Database auditing policy, specific Actions can also be specified (note that Actions cannot + * be specified for Server auditing policy). The supported actions to audit are: + * SELECT + * UPDATE + * INSERT + * DELETE + * EXECUTE + * RECEIVE + * REFERENCES + * + * The general form for defining an action to be audited is: + * {action} ON {object} BY {principal} + * + * Note that in the above format can refer to an object like a table, view, or stored + * procedure, or an entire database or schema. For the latter cases, the forms + * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. + * + * For example: + * SELECT on dbo.myTable by public + * SELECT on DATABASE::myDatabase by public + * SELECT on SCHEMA::mySchema by public + * + * For more information, see [Database-Level Audit + * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ - quotedName?: string; + auditActionsAndGroups?: string[]; /** - * Data size of the column. + * Specifies the blob storage subscription Id. */ - dataSize?: string; + storageAccountSubscriptionId?: string; /** - * Data type of the column. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - dataType?: string; -} - -/** - * Properties of table in sync group schema. - */ -export interface SyncGroupSchemaTable { + isStorageSecondaryKeyInUse?: boolean; /** - * List of columns in sync group schema. + * Specifies whether audit events are sent to Azure Monitor. + * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and + * 'isAzureMonitorTargetEnabled' as true. + * + * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' + * diagnostic logs category on the database should be also created. + * Note that for server level audit you should use the 'master' database as {databaseName}. + * + * Diagnostic Settings URI format: + * PUT + * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + * + * For more information, see [Diagnostic Settings REST + * API](https://go.microsoft.com/fwlink/?linkid=2033207) + * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ - columns?: SyncGroupSchemaTableColumn[]; + isAzureMonitorTargetEnabled?: boolean; /** - * Quoted name of sync group schema table. + * Specifies the amount of time in milliseconds that can elapse before audit actions are forced + * to be processed. + * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ - quotedName?: string; + queueDelayMs?: number; } /** - * Properties of sync group schema. + * An extended server blob auditing policy. */ -export interface SyncGroupSchema { +export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { /** - * List of tables in sync group schema. + * Specifies condition of where clause when creating an audit. */ - tables?: SyncGroupSchemaTable[]; + predicateExpression?: string; /** - * Name of master sync member where the schema is from. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - masterSyncMemberName?: string; -} - -/** - * An Azure SQL Database sync group. - */ -export interface SyncGroup extends ProxyResource { + state: BlobAuditingPolicyState; /** - * Sync interval of the sync group. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - interval?: number; + storageEndpoint?: string; /** - * Last sync time of the sync group. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ - readonly lastSyncTime?: Date; - /** - * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' - */ - conflictResolutionPolicy?: SyncConflictResolutionPolicy; - /** - * ARM resource id of the sync database in the sync group. - */ - syncDatabaseId?: string; - /** - * User name for the sync group hub database credential. - */ - hubDatabaseUserName?: string; - /** - * Password for the sync group hub database credential. - */ - hubDatabasePassword?: string; - /** - * Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning', - * 'Progressing', 'Good' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly syncState?: SyncGroupState; - /** - * Sync schema of the sync group. - */ - schema?: SyncGroupSchema; -} - -/** - * An Azure SQL Database sync member. - */ -export interface SyncMember extends ProxyResource { - /** - * Database type of the sync member. Possible values include: 'AzureSqlDatabase', - * 'SqlServerDatabase' - */ - databaseType?: SyncMemberDbType; - /** - * ARM resource id of the sync agent in the sync member. - */ - syncAgentId?: string; - /** - * SQL Server database id of the sync member. - */ - sqlServerDatabaseId?: string; - /** - * Server name of the member database in the sync member - */ - serverName?: string; - /** - * Database name of the member database in the sync member. - */ - databaseName?: string; - /** - * User name of the member database in the sync member. - */ - userName?: string; - /** - * Password of the member database in the sync member. - */ - password?: string; - /** - * Sync direction of the sync member. Possible values include: 'Bidirectional', - * 'OneWayMemberToHub', 'OneWayHubToMember' - */ - syncDirection?: SyncDirection; - /** - * Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', - * 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', - * 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', - * 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', - * 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly syncState?: SyncMemberState; -} - -/** - * Usage Metric of a Subscription in a Location. - */ -export interface SubscriptionUsage extends ProxyResource { - /** - * User-readable name of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly displayName?: string; - /** - * Current value of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly currentValue?: number; - /** - * Boundary value of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly limit?: number; - /** - * Unit of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly unit?: string; -} - -/** - * An Azure SQL virtual cluster. - */ -export interface VirtualCluster extends TrackedResource { - /** - * Subnet resource ID for the virtual cluster. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly subnetId?: string; - /** - * If the service has different generations of hardware, for the same SKU, then that can be - * captured here. - */ - family?: string; - /** - * List of resources in this virtual cluster. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly childResources?: string[]; -} - -/** - * An update request for an Azure SQL Database virtual cluster. - */ -export interface VirtualClusterUpdate { - /** - * Subnet resource ID for the virtual cluster. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly subnetId?: string; - /** - * If the service has different generations of hardware, for the same SKU, then that can be - * captured here. - */ - family?: string; - /** - * List of resources in this virtual cluster. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly childResources?: string[]; - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; -} - -/** - * A virtual network rule. - */ -export interface VirtualNetworkRule extends ProxyResource { - /** - * The ARM resource id of the virtual network subnet. - */ - virtualNetworkSubnetId: string; - /** - * Create firewall rule before the virtual network has vnet service endpoint enabled. - */ - ignoreMissingVnetServiceEndpoint?: boolean; - /** - * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', - * 'Deleting', 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: VirtualNetworkRuleState; -} - -/** - * An extended database blob auditing policy. - */ -export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { - /** - * Specifies condition of where clause when creating an audit. - */ - predicateExpression?: string; - /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' - */ - state: BlobAuditingPolicyState; - /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. - */ - storageEndpoint?: string; - /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. - */ - storageAccountAccessKey?: string; + storageAccountAccessKey?: string; /** * Specifies the number of days to keep in the audit logs in the storage account. */ @@ -2418,16 +1994,18 @@ export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; + /** + * Specifies the amount of time in milliseconds that can elapse before audit actions are forced + * to be processed. + * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. + */ + queueDelayMs?: number; } /** - * An extended server blob auditing policy. + * A server blob auditing policy. */ -export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { - /** - * Specifies condition of where clause when creating an audit. - */ - predicateExpression?: string; +export interface ServerBlobAuditingPolicy extends ProxyResource { /** * Specifies the state of the policy. If state is Enabled, storageEndpoint or * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' @@ -2435,12 +2013,20 @@ export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { state: BlobAuditingPolicyState; /** * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** @@ -2545,12 +2131,23 @@ export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; + /** + * Specifies the amount of time in milliseconds that can elapse before audit actions are forced + * to be processed. + * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. + */ + queueDelayMs?: number; } /** - * A server blob auditing policy. + * A database blob auditing policy. */ -export interface ServerBlobAuditingPolicy extends ProxyResource { +export interface DatabaseBlobAuditingPolicy extends ProxyResource { + /** + * Resource kind. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; /** * Specifies the state of the policy. If state is Enabled, storageEndpoint or * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' @@ -2558,12 +2155,20 @@ 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; /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** @@ -2668,179 +2273,57 @@ 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; } /** - * A database blob auditing policy. + * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result. */ -export interface DatabaseBlobAuditingPolicy extends ProxyResource { +export interface DatabaseVulnerabilityAssessmentRuleBaselineItem { /** - * Resource kind. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The rule baseline result */ - readonly kind?: string; + result: string[]; +} + +/** + * A database vulnerability assessment rule baseline. + */ +export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource { /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * The rule baseline result */ - state: BlobAuditingPolicyState; + baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; +} + +/** + * Properties of a Vulnerability Assessment recurring scans. + */ +export interface VulnerabilityAssessmentRecurringScansProperties { /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * Recurring scans state. */ - storageEndpoint?: string; + isEnabled?: boolean; /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. + * Specifies that the schedule scan notification will be is sent to the subscription + * administrators. Default value: true. */ - storageAccountAccessKey?: string; + emailSubscriptionAdmins?: boolean; /** - * Specifies the number of days to keep in the audit logs in the storage account. + * Specifies an array of e-mail addresses to which the scan notification is sent. */ - retentionDays?: number; - /** - * Specifies the Actions-Groups and Actions to audit. - * - * The recommended set of action groups to use is the following combination - this will audit all - * the queries and stored procedures executed against the database, as well as successful and - * failed logins: - * - * BATCH_COMPLETED_GROUP, - * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, - * FAILED_DATABASE_AUTHENTICATION_GROUP. - * - * This above combination is also the set that is configured by default when enabling auditing - * from the Azure portal. - * - * The supported action groups to audit are (note: choose only specific groups that cover your - * auditing needs. Using unnecessary groups could lead to very large quantities of audit - * records): - * - * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP - * BACKUP_RESTORE_GROUP - * DATABASE_LOGOUT_GROUP - * DATABASE_OBJECT_CHANGE_GROUP - * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP - * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP - * DATABASE_OPERATION_GROUP - * DATABASE_PERMISSION_CHANGE_GROUP - * DATABASE_PRINCIPAL_CHANGE_GROUP - * DATABASE_PRINCIPAL_IMPERSONATION_GROUP - * DATABASE_ROLE_MEMBER_CHANGE_GROUP - * FAILED_DATABASE_AUTHENTICATION_GROUP - * SCHEMA_OBJECT_ACCESS_GROUP - * SCHEMA_OBJECT_CHANGE_GROUP - * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP - * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP - * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP - * USER_CHANGE_PASSWORD_GROUP - * BATCH_STARTED_GROUP - * BATCH_COMPLETED_GROUP - * - * These are groups that cover all sql statements and stored procedures executed against the - * database, and should not be used in combination with other groups as this will result in - * duplicate audit logs. - * - * For more information, see [Database-Level Audit Action - * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). - * - * For Database auditing policy, specific Actions can also be specified (note that Actions cannot - * be specified for Server auditing policy). The supported actions to audit are: - * SELECT - * UPDATE - * INSERT - * DELETE - * EXECUTE - * RECEIVE - * REFERENCES - * - * The general form for defining an action to be audited is: - * {action} ON {object} BY {principal} - * - * Note that in the above format can refer to an object like a table, view, or stored - * procedure, or an entire database or schema. For the latter cases, the forms - * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. - * - * For example: - * SELECT on dbo.myTable by public - * SELECT on DATABASE::myDatabase by public - * SELECT on SCHEMA::mySchema by public - * - * For more information, see [Database-Level Audit - * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) - */ - auditActionsAndGroups?: string[]; - /** - * Specifies the blob storage subscription Id. - */ - storageAccountSubscriptionId?: string; - /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. - */ - isStorageSecondaryKeyInUse?: boolean; - /** - * Specifies whether audit events are sent to Azure Monitor. - * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and - * 'isAzureMonitorTargetEnabled' as true. - * - * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' - * diagnostic logs category on the database should be also created. - * Note that for server level audit you should use the 'master' database as {databaseName}. - * - * Diagnostic Settings URI format: - * PUT - * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview - * - * For more information, see [Diagnostic Settings REST - * API](https://go.microsoft.com/fwlink/?linkid=2033207) - * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) - */ - isAzureMonitorTargetEnabled?: boolean; -} - -/** - * Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result. - */ -export interface DatabaseVulnerabilityAssessmentRuleBaselineItem { - /** - * The rule baseline result - */ - result: string[]; -} - -/** - * A database vulnerability assessment rule baseline. - */ -export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource { - /** - * The rule baseline result - */ - baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; -} - -/** - * Properties of a Vulnerability Assessment recurring scans. - */ -export interface VulnerabilityAssessmentRecurringScansProperties { - /** - * Recurring scans state. - */ - isEnabled?: boolean; - /** - * Specifies that the schedule scan notification will be is sent to the subscription - * administrators. Default value: true. - */ - emailSubscriptionAdmins?: boolean; - /** - * Specifies an array of e-mail addresses to which the scan notification is sent. - */ - emails?: string[]; -} - -/** - * A database vulnerability assessment. - */ -export interface DatabaseVulnerabilityAssessment extends ProxyResource { + emails?: string[]; +} + +/** + * A database vulnerability assessment. + */ +export interface DatabaseVulnerabilityAssessment extends ProxyResource { /** * A blob storage container path to hold the scan results (e.g. * https://myStorage.blob.core.windows.net/VaScans/). It is required if server level @@ -3248,64 +2731,6 @@ export interface JobTargetGroup extends ProxyResource { export interface JobVersion extends ProxyResource { } -/** - * A long term retention backup. - */ -export interface LongTermRetentionBackup extends ProxyResource { - /** - * The server name that the backup database belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serverName?: string; - /** - * The create time of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serverCreateTime?: Date; - /** - * The name of the database the backup belong to - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly databaseName?: string; - /** - * The delete time of the database - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly databaseDeletionTime?: Date; - /** - * The time the backup was taken - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly backupTime?: Date; - /** - * The time the long term retention backup will expire. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly backupExpirationTime?: Date; -} - -/** - * A long term retention policy. - */ -export interface BackupLongTermRetentionPolicy extends ProxyResource { - /** - * The weekly retention policy for an LTR backup in an ISO 8601 format. - */ - weeklyRetention?: string; - /** - * The monthly retention policy for an LTR backup in an ISO 8601 format. - */ - monthlyRetention?: string; - /** - * The yearly retention policy for an LTR backup in an ISO 8601 format. - */ - yearlyRetention?: string; - /** - * The week of year to take the yearly backup in an ISO 8601 format. - */ - weekOfYear?: number; -} - /** * A short term retention policy. */ @@ -3603,6 +3028,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,3900 +3206,8210 @@ export interface ElasticPoolOperation extends ProxyResource { } /** - * The maximum size capability. + * Properties of a vulnerability assessment scan error. */ -export interface MaxSizeCapability { +export interface VulnerabilityAssessmentScanError { /** - * The maximum size limit (see 'unit' for the units). + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly code?: string; /** - * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', - * 'Terabytes', 'Petabytes' + * The error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: MaxSizeUnit; + readonly message?: string; } /** - * The log size capability. + * A vulnerability assessment scan record. */ -export interface LogSizeCapability { +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** - * The log size limit (see 'unit' for the units). + * The scan ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly scanId?: string; /** - * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', - * 'Terabytes', 'Petabytes', 'Percent' + * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: LogSizeUnit; -} - -/** - * The maximum size range capability. - */ -export interface MaxSizeRangeCapability { + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** - * Minimum value. + * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly minValue?: MaxSizeCapability; + readonly state?: VulnerabilityAssessmentScanState; /** - * Maximum value. + * The scan start time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxValue?: MaxSizeCapability; + readonly startTime?: Date; /** - * Scale/step size for discrete values between the minimum value and the maximum value. + * The scan end time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly scaleSize?: MaxSizeCapability; + readonly endTime?: Date; /** - * Size of transaction log. + * The scan errors. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly logSize?: LogSizeCapability; + readonly errors?: VulnerabilityAssessmentScanError[]; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The scan results storage container path. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly storageContainerPath?: string; /** - * The reason for the capability not being available. + * The number of failed security checks. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly numberOfFailedSecurityChecks?: number; } /** - * The performance level capability. + * A database Vulnerability Assessment scan export resource. */ -export interface PerformanceLevelCapability { +export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { /** - * Performance level value. + * 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 value?: number; + readonly exportedReportLocation?: string; +} + +/** + * Read-write endpoint of the failover group instance. + */ +export interface InstanceFailoverGroupReadWriteEndpoint { /** - * 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.** + * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is + * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: + * 'Manual', 'Automatic' */ - readonly unit?: PerformanceLevelUnit; + 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; } /** - * The license type capability + * Read-only endpoint of the failover group instance. */ -export interface LicenseTypeCapability { +export interface InstanceFailoverGroupReadOnlyEndpoint { /** - * License type identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Failover policy of the read-only endpoint for the failover group. Possible values include: + * 'Disabled', 'Enabled' */ - readonly name?: string; + failoverPolicy?: ReadOnlyEndpointFailoverPolicy; +} + +/** + * Partner region information for the failover group. + */ +export interface PartnerRegionInfo { /** - * 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.** + * Geo location of the partner managed instances. */ - readonly status?: CapabilityStatus; + location?: string; /** - * The reason for the capability not being available. + * 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.** */ - reason?: string; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; } /** - * The service objectives capability. + * Pairs of Managed Instances in the failover group. */ -export interface ServiceObjectiveCapability { +export interface ManagedInstancePairInfo { /** - * The unique ID of the service objective. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Id of Primary Managed Instance in pair. */ - readonly id?: string; + primaryManagedInstanceId?: string; /** - * The service objective name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Id of Partner Managed Instance in pair. */ - readonly name?: string; + partnerManagedInstanceId?: string; +} + +/** + * An instance failover group. + */ +export interface InstanceFailoverGroup extends ProxyResource { /** - * The list of supported maximum database sizes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Read-write endpoint of the failover group instance. */ - readonly supportedMaxSizes?: MaxSizeRangeCapability[]; + readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; /** - * The performance level. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Read-only endpoint of the failover group instance. */ - readonly performanceLevel?: PerformanceLevelCapability; + readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; /** - * The sku. + * 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 sku?: Sku; + readonly replicationRole?: InstanceFailoverGroupReplicationRole; /** - * List of supported license types. + * Replication state of the failover group instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + readonly replicationState?: string; /** - * The included (free) max size. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Partner region information for the failover group. */ - readonly includedMaxSize?: MaxSizeCapability; + partnerRegions: PartnerRegionInfo[]; /** - * 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.** + * List of managed instance pairs in the failover group. */ - readonly status?: CapabilityStatus; + managedInstancePairs: ManagedInstancePairInfo[]; +} + +/** + * A TDE certificate that can be uploaded into a server. + */ +export interface TdeCertificate extends ProxyResource { /** - * The reason for the capability not being available. + * The base64 encoded certificate private blob. */ - reason?: string; + privateBlob: string; + /** + * The certificate password. + */ + certPassword?: string; } /** - * The edition capability. + * A managed instance key. */ -export interface EditionCapability { +export interface ManagedInstanceKey extends ProxyResource { /** - * The database edition name. + * 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 name?: string; + readonly kind?: string; /** - * 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 key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' */ - readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; + serverKeyType: ServerKeyType; /** - * 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 URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. */ - readonly zoneRedundant?: boolean; + uri?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * Thumbprint of the key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly thumbprint?: string; /** - * The reason for the capability not being available. + * The key creation date. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly creationDate?: Date; } /** - * The minimum per-database performance level capability. + * The managed instance encryption protector. */ -export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { +export interface ManagedInstanceEncryptionProtector extends ProxyResource { /** - * The minimum performance level per 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 limit?: number; + readonly kind?: string; /** - * 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.** + * The name of the managed instance key. */ - readonly unit?: PerformanceLevelUnit; + serverKeyName?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * 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 status?: CapabilityStatus; + readonly uri?: string; /** - * The reason for the capability not being available. + * Thumbprint of the server key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly thumbprint?: string; } /** - * The max per-database performance level capability. + * A recoverable managed database resource. */ -export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { +export interface RecoverableManagedDatabase extends ProxyResource { /** - * The maximum performance level per database. + * The last available backup date. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly lastAvailableBackupDate?: string; +} + +/** + * A short term retention policy. + */ +export interface BackupShortTermRetentionPolicy extends ProxyResource { /** - * 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.** + * The backup retention period in days. This is how many days Point-in-Time Restore will be + * supported. */ - readonly unit?: PerformanceLevelUnit; + retentionDays?: number; +} + +/** + * A managed instance vulnerability assessment. + */ +export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { /** - * The list of supported min database performance levels. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; + storageContainerPath: 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.** + * A shared access signature (SAS Key) that has read and write access to the blob container + * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. */ - readonly status?: CapabilityStatus; + storageContainerSasKey?: string; /** - * The reason for the capability not being available. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - reason?: string; + storageAccountAccessKey?: string; + /** + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } /** - * The Elastic Pool performance level capability. + * A server vulnerability assessment. */ -export interface ElasticPoolPerformanceLevelCapability { +export interface ServerVulnerabilityAssessment extends ProxyResource { /** - * The performance level for the pool. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - readonly performanceLevel?: PerformanceLevelCapability; + storageContainerPath: string; /** - * The sku. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A shared access signature (SAS Key) that has read and write access to the blob container + * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. */ - readonly sku?: Sku; + storageContainerSasKey?: string; /** - * List of supported license types. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + storageAccountAccessKey?: string; /** - * The maximum number of databases supported. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The recurring scans settings */ - readonly maxDatabaseCount?: number; - /** - * The included (free) max size for this performance level. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly includedMaxSize?: MaxSizeCapability; + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * An Azure SQL instance pool. + */ +export interface InstancePool extends TrackedResource { /** - * The list of supported max sizes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name and tier of the SKU. */ - readonly supportedMaxSizes?: MaxSizeRangeCapability[]; + sku?: Sku; /** - * The list of supported per database max sizes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource ID of the subnet to place this instance pool in. */ - readonly supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; + subnetId: string; /** - * The list of supported per database max performance levels. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Count of vCores belonging to this instance pool. */ - readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; + vCores: number; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) + * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', + * 'BasePrice' */ - readonly status?: CapabilityStatus; + licenseType: InstancePoolLicenseType; +} + +/** + * An update to an Instance pool. + */ +export interface InstancePoolUpdate { /** - * The reason for the capability not being available. + * Resource tags. */ - reason?: string; + tags?: { [propertyName: string]: string }; } /** - * The elastic pool edition capability. + * ARM Usage Name */ -export interface ElasticPoolEditionCapability { +export interface Name { /** - * The elastic pool edition name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Usage name value */ - readonly name?: string; + value?: string; /** - * 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.** + * Usage name localized value. */ - readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; + localizedValue?: string; +} + +/** + * ARM usage. + */ +export interface Usage { /** - * Whether or not zone redundancy is supported for the edition. + * Resource ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly zoneRedundant?: boolean; + readonly id?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * Resource name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; - /** - * The reason for the capability not being available. - */ - reason?: string; -} - -/** - * The server capability - */ -export interface ServerVersionCapability { + readonly name?: Name; /** - * The server version name. + * Resource type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly type?: string; /** - * The list of supported database editions. + * Usage unit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedEditions?: EditionCapability[]; + readonly unit?: string; /** - * The list of supported elastic pool editions. + * Usage current value. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; + readonly currentValue?: number; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * Usage limit. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly limit?: number; /** - * The reason for the capability not being available. + * Usage requested limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly requestedLimit?: number; } /** - * The managed instance virtual cores capability. + * Properties of a private link resource. */ -export interface ManagedInstanceVcoresCapability { +export interface PrivateLinkResourceProperties { /** - * The virtual cores identifier. + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly groupId?: string; /** - * The virtual cores value. + * The private link resource required member names. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly value?: number; + readonly requiredMembers?: string[]; +} + +/** + * A private link resource + */ +export interface PrivateLinkResource extends ProxyResource { /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; - /** - * The reason for the capability not being available. - */ - reason?: string; + readonly properties?: PrivateLinkResourceProperties; } /** - * The managed server family capability. + * Azure Active Directory identity configuration for a resource. */ -export interface ManagedInstanceFamilyCapability { +export interface ResourceIdentity { /** - * Family name. + * The Azure Active Directory principal id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly principalId?: string; /** - * SKU name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an + * Azure Active Directory principal for the resource. Possible values include: 'None', + * 'SystemAssigned', 'UserAssigned' */ - readonly sku?: string; + type?: IdentityType; /** - * List of supported license types. + * The Azure Active Directory tenant id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedLicenseTypes?: LicenseTypeCapability[]; + readonly tenantId?: string; +} + +/** + * An interface representing PrivateEndpointProperty. + */ +export interface PrivateEndpointProperty extends BaseResource { /** - * List of supported virtual cores values. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource id of the private endpoint. */ - readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; + id?: string; +} + +/** + * An interface representing PrivateLinkServiceConnectionStateProperty. + */ +export interface PrivateLinkServiceConnectionStateProperty { /** - * Included size. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The private link service connection status. Possible values include: 'Approved', 'Pending', + * 'Rejected', 'Disconnected' */ - readonly includedMaxSize?: MaxSizeCapability; + status: PrivateLinkServiceConnectionStateStatus; /** - * Storage size ranges. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The private link service connection description. */ - readonly supportedStorageSizes?: MaxSizeRangeCapability[]; + description: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * The actions required for private link service connection. Possible values include: 'None' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; - /** - * The reason for the capability not being available. - */ - reason?: string; + readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire; } /** - * The managed server capability + * Properties of a private endpoint connection. */ -export interface ManagedInstanceEditionCapability { +export interface PrivateEndpointConnectionProperties { /** - * The managed server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Private endpoint which the connection belongs to. */ - readonly name?: string; + privateEndpoint?: PrivateEndpointProperty; /** - * The supported families. + * Connection state of the private endpoint connection. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + /** + * State of the private endpoint connection. Possible values include: 'Approving', 'Ready', + * 'Dropping', 'Failed', 'Rejecting' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; + readonly provisioningState?: PrivateEndpointProvisioningState; +} + +/** + * A private endpoint connection under a server + */ +export interface ServerPrivateEndpointConnection { /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * Resource ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly id?: string; /** - * The reason for the capability not being available. + * Private endpoint connection properties + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reason?: string; + readonly properties?: PrivateEndpointConnectionProperties; } /** - * The managed instance capability + * An Azure SQL Database server. */ -export interface ManagedInstanceVersionCapability { +export interface Server extends TrackedResource { /** - * The server version name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The Azure Active Directory identity of the server. */ - readonly name?: string; + identity?: ResourceIdentity; /** - * The list of supported managed instance editions. + * Kind of sql server. This is metadata used for the Azure portal experience. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedEditions?: ManagedInstanceEditionCapability[]; + readonly kind?: 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.** + * Administrator username for the server. Once created it cannot be changed. */ - readonly status?: CapabilityStatus; + administratorLogin?: string; /** - * The reason for the capability not being available. + * The administrator login password (required for server creation). */ - reason?: string; -} - -/** - * The location capability. - */ -export interface LocationCapabilities { + administratorLoginPassword?: string; /** - * The location name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The version of the server. */ - readonly name?: string; + version?: string; /** - * The list of supported server versions. + * The state of the server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedServerVersions?: ServerVersionCapability[]; + readonly state?: string; /** - * The list of supported managed instance versions. + * The fully qualified domain name of the server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; + readonly fullyQualifiedDomainName?: string; /** - * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', - * 'Disabled' + * List of private endpoint connections on a server * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: CapabilityStatus; + readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** - * The reason for the capability not being available. + * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' */ - reason?: string; + minimalTlsVersion?: string; + /** + * Whether or not public endpoint access is allowed for this server. Value is optional but if + * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: ServerPublicNetworkAccess; } /** - * A database resource. + * An update request for an Azure SQL Database server. */ -export interface Database extends TrackedResource { +export interface ServerUpdate { /** - * 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 - * ```` + * Administrator username for the server. Once created it cannot be changed. */ - sku?: Sku; + administratorLogin?: string; /** - * 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.** + * The administrator login password (required for server creation). */ - readonly kind?: string; + administratorLoginPassword?: string; /** - * Resource that manages the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The version of the server. */ - readonly managedBy?: string; + version?: string; /** - * Specifies the mode of database creation. - * - * Default: regular database creation. - * - * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified - * as the resource ID of the source database. - * - * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId - * must be specified as the resource ID of the existing primary database. - * - * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing - * database. sourceDatabaseId must be specified as the resource ID of the existing database, and - * restorePointInTime must be specified. - * - * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be - * specified as the recoverable database resource ID to restore. - * - * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must - * be specified. If sourceDatabaseId is the database's original resource ID, then - * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the - * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. - * restorePointInTime may also be specified to restore from an earlier point in time. - * - * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention - * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point - * resource ID. - * - * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse - * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', - * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', - * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * The state of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: CreateMode; + readonly state?: string; /** - * The collation of the database. + * The fully qualified domain name of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly fullyQualifiedDomainName?: string; /** - * The max size of the database expressed in bytes. + * List of private endpoint connections on a server + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxSizeBytes?: number; + readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * Minimal TLS version. Allowed values: '1.0', '1.1', '1.2' */ - sampleName?: SampleName; + minimalTlsVersion?: string; /** - * The resource identifier of the elastic pool containing this database. + * Whether or not public endpoint access is allowed for this server. Value is optional but if + * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled' */ - elasticPoolId?: string; + publicNetworkAccess?: ServerPublicNetworkAccess; /** - * The resource identifier of the source database associated with create operation of this - * database. + * Resource tags. */ - sourceDatabaseId?: string; + tags?: { [propertyName: string]: string }; +} + +/** + * A request to check whether the specified name for a resource is available. + */ +export interface CheckNameAvailabilityRequest { + name: string; +} + +/** + * The result of a name availability check. + */ +export interface CheckNameAvailabilityResponse { /** - * The 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 name whose availability was checked. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: DatabaseStatus; + readonly name?: string; /** - * The ID of the database. + * True if the name is available, otherwise false. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly databaseId?: string; + readonly available?: boolean; /** - * The creation date of the database (ISO8601 format). + * The reason code explaining why the name is unavailable. Will be undefined if the name is + * available. Possible values include: 'Invalid', 'AlreadyExists' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly reason?: CheckNameAvailabilityReason; /** - * The current service level objective name of the database. + * A message explaining why the name is unavailable. Will be undefined if the name is available. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentServiceObjectiveName?: string; + readonly message?: string; +} + +/** + * The maximum size capability. + */ +export interface MaxSizeCapability { /** - * The requested service level objective name of the database. + * 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 requestedServiceObjectiveName?: string; + readonly limit?: number; /** - * The default secondary region for this database. + * The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', + * 'Terabytes', 'Petabytes' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly unit?: MaxSizeUnit; +} + +/** + * The log size capability. + */ +export interface LogSizeCapability { /** - * Failover Group resource identifier that this database belongs to. + * 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 failoverGroupId?: string; + readonly limit?: number; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * 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.** */ - restorePointInTime?: Date; + readonly unit?: LogSizeUnit; +} + +/** + * The maximum size range capability. + */ +export interface MaxSizeRangeCapability { /** - * Specifies the time that the database was deleted. + * Minimum value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceDatabaseDeletionDate?: Date; + readonly minValue?: MaxSizeCapability; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * Maximum value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesRecoveryPointId?: string; + readonly maxValue?: MaxSizeCapability; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * 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.** */ - longTermRetentionBackupResourceId?: string; + readonly scaleSize?: MaxSizeCapability; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * Size of transaction log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoverableDatabaseId?: string; + readonly logSize?: LogSizeCapability; /** - * The resource identifier of the restorable dropped 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.** */ - restorableDroppedDatabaseId?: string; + readonly status?: CapabilityStatus; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The reason for the capability not being available. */ - catalogCollation?: CatalogCollationType; + reason?: string; +} + +/** + * The performance level capability. + */ +export interface PerformanceLevelCapability { /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * Performance level value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - zoneRedundant?: boolean; + readonly value?: number; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * 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.** */ - licenseType?: DatabaseLicenseType; + readonly unit?: PerformanceLevelUnit; +} + +/** + * The license type capability + */ +export interface LicenseTypeCapability { /** - * The max log size for this database. + * License type identifier. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxLogSizeBytes?: number; + readonly name?: string; /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * 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 earliestRestoreDate?: Date; + readonly status?: CapabilityStatus; /** - * 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 reason for the capability not being available. */ - readScale?: DatabaseReadScale; + reason?: string; +} + +/** + * Supported auto pause delay time range + */ +export interface AutoPauseDelayTimeRange { /** - * 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. + * Minimum value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readReplicaCount?: number; + 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.** */ - readonly currentSku?: Sku; + readonly maxValue?: number; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * 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.** */ - autoPauseDelay?: number; + readonly stepSize?: number; /** - * Minimal capacity that database will always have allocated, if not paused + * Default value is no value is provided + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly default?: number; /** - * The date when database was paused by user configuration or action (ISO8601 format). Null if - * the database is ready. + * Unit of time that delay is expressed in. Possible values include: 'Minutes' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly pausedDate?: Date; + readonly unit?: PauseDelayTimeUnit; /** - * The date when database was resumed by user action or database login (ISO8601 format). Null if - * the database is paused. + * Value that is used to not pause (infinite delay before pause) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resumedDate?: Date; + readonly doNotPauseValue?: number; } /** - * A database resource. + * The min capacity capability */ -export interface DatabaseUpdate { +export interface MinCapacityCapability { /** - * The name and tier of the SKU. + * Min capacity value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly value?: number; /** - * 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 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?: CreateMode; + readonly status?: CapabilityStatus; /** - * The collation of the database. + * The reason for the capability not being available. */ - collation?: string; + reason?: string; +} + +/** + * The maintenance configuration capability + */ +export interface MaintenanceConfigurationCapability { /** - * The max size of the database expressed in bytes. + * Maintenance configuration name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxSizeBytes?: number; + readonly name?: string; /** - * The name of the sample schema to apply when creating this database. Possible values include: - * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * Whether or not zone redundancy is supported for the maintenance configuration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sampleName?: SampleName; + readonly zoneRedundant?: boolean; /** - * The resource identifier of the elastic pool containing this database. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - elasticPoolId?: string; + readonly status?: CapabilityStatus; /** - * The resource identifier of the source database associated with create operation of this - * database. + * The reason for the capability not being available. */ - sourceDatabaseId?: string; + reason?: string; +} + +/** + * The service objectives capability. + */ +export interface ServiceObjectiveCapability { /** - * 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 unique ID of the service objective. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: DatabaseStatus; + readonly id?: string; /** - * The ID of the database. + * The service objective name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly databaseId?: string; + readonly name?: string; /** - * The creation date of the database (ISO8601 format). + * The list of supported maximum database sizes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * The current service level objective name of the database. + * The performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentServiceObjectiveName?: string; + readonly performanceLevel?: PerformanceLevelCapability; /** - * The requested service level objective name of the database. + * The sku. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requestedServiceObjectiveName?: string; + readonly sku?: Sku; /** - * The default secondary region for this database. + * List of supported license types. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Failover Group resource identifier that this database belongs to. + * The included (free) max size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly includedMaxSize?: MaxSizeCapability; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * 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.** */ - restorePointInTime?: Date; + readonly zoneRedundant?: boolean; /** - * Specifies the time that the database was deleted. + * Supported time range for auto pause delay + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceDatabaseDeletionDate?: Date; + readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; /** - * The resource identifier of the recovery point associated with create operation of this - * database. + * List of supported min capacities + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoveryServicesRecoveryPointId?: string; + readonly supportedMinCapacities?: MinCapacityCapability[]; /** - * The resource identifier of the long term retention backup associated with create operation of - * this database. + * The compute model + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - longTermRetentionBackupResourceId?: string; + readonly computeModel?: string; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * List of supported maintenance configurations + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoverableDatabaseId?: string; + readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[]; /** - * The resource identifier of the restorable dropped 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.** */ - restorableDroppedDatabaseId?: string; + readonly status?: CapabilityStatus; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * The reason for the capability not being available. */ - catalogCollation?: CatalogCollationType; + reason?: string; +} + +/** + * The read scale capability. + */ +export interface ReadScaleCapability { /** - * Whether or not this database is zone redundant, which means the replicas of this database will - * be spread across multiple availability zones. + * The maximum number of read scale replicas. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - zoneRedundant?: boolean; + readonly maxNumberOfReplicas?: number; /** - * The license type to apply for this database. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * 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.** */ - licenseType?: DatabaseLicenseType; + readonly status?: CapabilityStatus; /** - * The max log size for this database. + * The reason for the capability not being available. + */ + reason?: string; +} + +/** + * The storage account type capability. + */ +export interface StorageCapability { + /** + * 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 maxLogSizeBytes?: number; + readonly storageAccountType?: StorageAccountType1; /** - * This records the earliest start date and time that restore is available for this database - * (ISO8601 format). + * 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 earliestRestoreDate?: Date; + readonly status?: CapabilityStatus; /** - * 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 reason for the capability not being available. */ - readScale?: DatabaseReadScale; + reason?: string; +} + +/** + * The edition capability. + */ +export interface EditionCapability { /** - * The number of readonly secondary replicas associated with the database to which readonly - * application intent connections may be routed. This property is only settable for Hyperscale - * edition databases. + * The database edition name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readReplicaCount?: number; + readonly name?: string; /** - * The name and tier of the SKU. + * 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 currentSku?: Sku; + readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; /** - * Time in minutes after which database is automatically paused. A value of -1 means that - * automatic pause is disabled + * 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.** */ - autoPauseDelay?: number; + readonly zoneRedundant?: boolean; /** - * Minimal capacity that database will always have allocated, if not paused + * The read scale capability for the edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCapacity?: number; + readonly readScale?: ReadScaleCapability; /** - * The date when database was paused by user configuration or action (ISO8601 format). Null if - * the database is ready. + * The list of supported storage capabilities for this edition * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly pausedDate?: Date; + readonly supportedStorageCapabilities?: StorageCapability[]; /** - * The date when database was resumed by user action or database login (ISO8601 format). Null if - * the database is paused. + * 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 resumedDate?: Date; + 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 resource move (rename). + * The minimum per-database performance level capability. */ -export interface ResourceMoveDefinition { +export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { /** - * The target ID for the resource + * The minimum performance level per database. + * **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 limit?: number; /** - * The minimum capacity all databases are guaranteed. + * 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.** */ - minCapacity?: number; + readonly unit?: PerformanceLevelUnit; /** - * The maximum capacity any one database can consume. + * 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.** */ - maxCapacity?: number; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An elastic pool. + * The max per-database performance level capability. */ -export interface ElasticPool 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 - * ```` - */ - sku?: Sku; +export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { /** - * Kind of elastic pool. This is metadata used for the Azure portal experience. + * The maximum performance level per database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly limit?: number; /** - * The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled' + * Unit type used to measure performance level. Possible values include: 'DTU', 'VCores' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: ElasticPoolState; + readonly unit?: PerformanceLevelUnit; /** - * The creation date of the elastic pool (ISO8601 format). + * The list of supported min database performance levels. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; /** - * The storage limit for the database elastic pool in bytes. + * 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.** */ - maxSizeBytes?: number; + readonly status?: CapabilityStatus; /** - * The per database settings for the elastic pool. + * The reason for the capability not being available. */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; - /** - * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic - * pool will be spread across multiple availability zones. - */ - zoneRedundant?: boolean; - /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' - */ - licenseType?: ElasticPoolLicenseType; + reason?: string; } /** - * An elastic pool update. + * The Elastic Pool performance level capability. */ -export interface ElasticPoolUpdate { - sku?: Sku; +export interface ElasticPoolPerformanceLevelCapability { /** - * The storage limit for the database elastic pool in bytes. + * The performance level for the pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxSizeBytes?: number; + readonly performanceLevel?: PerformanceLevelCapability; /** - * The per database settings for the elastic pool. + * The sku. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + readonly sku?: Sku; /** - * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic - * pool will be spread across multiple availability zones. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - zoneRedundant?: boolean; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The maximum number of databases supported. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ElasticPoolLicenseType; + readonly maxDatabaseCount?: number; /** - * Resource tags. + * The included (free) max size for this performance level. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; -} - -/** - * Properties of a vulnerability assessment scan error. - */ -export interface VulnerabilityAssessmentScanError { + readonly includedMaxSize?: MaxSizeCapability; /** - * The error code. + * The list of supported max sizes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly code?: string; + readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** - * The error message. + * The list of supported per database max sizes. * **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 supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; /** - * The scan ID. + * 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 scanId?: string; + readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; /** - * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' + * Whether or not zone redundancy is supported for the performance level. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly triggerType?: VulnerabilityAssessmentScanTriggerType; + readonly zoneRedundant?: boolean; /** - * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * List of supported maintenance configurations * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: VulnerabilityAssessmentScanState; + readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[]; /** - * The scan start time (UTC). + * 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 startTime?: Date; + readonly status?: CapabilityStatus; /** - * The scan end time (UTC). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The reason for the capability not being available. */ - readonly endTime?: Date; + reason?: string; +} + +/** + * The elastic pool edition capability. + */ +export interface ElasticPoolEditionCapability { /** - * The scan errors. + * The elastic pool edition name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errors?: VulnerabilityAssessmentScanError[]; + readonly name?: string; /** - * The scan results storage container path. + * 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 storageContainerPath?: string; + readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; /** - * The number of failed security checks. + * Whether or not zone redundancy is supported for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly numberOfFailedSecurityChecks?: number; -} - -/** - * A database Vulnerability Assessment scan export resource. - */ -export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { + readonly zoneRedundant?: boolean; /** - * Location of the exported report (e.g. - * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). + * 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 exportedReportLocation?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * Read-write endpoint of the failover group instance. + * The server capability */ -export interface InstanceFailoverGroupReadWriteEndpoint { +export interface ServerVersionCapability { /** - * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is - * Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: - * 'Manual', 'Automatic' + * The server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverPolicy: ReadWriteEndpointFailoverPolicy; + readonly name?: string; /** - * Grace period before failover with data loss is attempted for the read-write endpoint. If - * failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. + * The list of supported database editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverWithDataLossGracePeriodMinutes?: number; -} - -/** - * Read-only endpoint of the failover group instance. - */ -export interface InstanceFailoverGroupReadOnlyEndpoint { + readonly supportedEditions?: EditionCapability[]; /** - * Failover policy of the read-only endpoint for the failover group. Possible values include: - * 'Disabled', 'Enabled' + * The list of supported elastic pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - failoverPolicy?: ReadOnlyEndpointFailoverPolicy; -} - -/** - * Partner region information for the failover group. - */ -export interface PartnerRegionInfo { + readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; /** - * Geo location of the partner managed instances. + * 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.** */ - location?: string; + readonly status?: CapabilityStatus; /** - * 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.** + * The reason for the capability not being available. */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + reason?: string; } /** - * Pairs of Managed Instances in the failover group. + * The maintenance configuration capability */ -export interface ManagedInstancePairInfo { +export interface ManagedInstanceMaintenanceConfigurationCapability { /** - * Id of Primary Managed Instance in pair. + * Maintenance configuration name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - primaryManagedInstanceId?: string; + readonly name?: string; /** - * Id of Partner Managed Instance in pair. + * 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.** */ - partnerManagedInstanceId?: string; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An instance failover group. + * The managed instance virtual cores capability. */ -export interface InstanceFailoverGroup extends ProxyResource { +export interface ManagedInstanceVcoresCapability { /** - * Read-write endpoint of the failover group instance. + * The virtual cores identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; + readonly name?: string; /** - * Read-only endpoint of the failover group instance. + * The virtual cores value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; + readonly value?: number; /** - * Local replication role of the failover group instance. Possible values include: 'Primary', - * 'Secondary' + * Included size. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationRole?: InstanceFailoverGroupReplicationRole; + readonly includedMaxSize?: MaxSizeCapability; /** - * Replication state of the failover group instance. + * Storage size ranges. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationState?: string; + readonly supportedStorageSizes?: MaxSizeRangeCapability[]; /** - * Partner region information for the failover group. + * 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.** */ - partnerRegions: PartnerRegionInfo[]; + readonly instancePoolSupported?: boolean; /** - * List of managed instance pairs in the failover group. + * 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.** */ - managedInstancePairs: ManagedInstancePairInfo[]; -} - -/** - * A short term retention policy. - */ -export interface BackupShortTermRetentionPolicy extends ProxyResource { + readonly standaloneSupported?: boolean; /** - * The backup retention period in days. This is how many days Point-in-Time Restore will be - * supported. + * List of supported maintenance configurations + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDays?: number; -} - -/** - * A TDE certificate that can be uploaded into a server. - */ -export interface TdeCertificate extends ProxyResource { + readonly supportedMaintenanceConfigurations?: ManagedInstanceMaintenanceConfigurationCapability[]; /** - * The base64 encoded certificate private blob. + * 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.** */ - privateBlob: string; + readonly status?: CapabilityStatus; /** - * The certificate password. + * The reason for the capability not being available. */ - certPassword?: string; + reason?: string; } /** - * A managed instance key. + * The managed server family capability. */ -export interface ManagedInstanceKey extends ProxyResource { +export interface ManagedInstanceFamilyCapability { /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * Family name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly name?: string; /** - * The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * SKU name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyType: ServerKeyType; + readonly sku?: string; /** - * The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - uri?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Thumbprint of the key. + * List of supported virtual cores values. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; /** - * The key creation date. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * The managed instance encryption protector. + * The managed server capability */ -export interface ManagedInstanceEncryptionProtector extends ProxyResource { +export interface ManagedInstanceEditionCapability { /** - * Kind of encryption protector. This is metadata used for the Azure portal experience. + * The managed server version name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly name?: string; /** - * The name of the managed instance key. + * The supported families. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyName?: string; + readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; /** - * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * The list of supported storage capabilities for this edition + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - serverKeyType: ServerKeyType; + readonly supportedStorageCapabilities?: StorageCapability[]; /** - * The URI of the server key. + * Whether or not zone redundancy is supported for the edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly uri?: string; + readonly zoneRedundant?: boolean; /** - * 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; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * A recoverable managed database resource. + * The managed instance virtual cores capability. */ -export interface RecoverableManagedDatabase extends ProxyResource { +export interface InstancePoolVcoresCapability { /** - * The last available backup date. + * The virtual cores identifier. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastAvailableBackupDate?: string; -} - -/** - * A managed instance vulnerability assessment. - */ -export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { + readonly name?: string; /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * The virtual cores value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerPath: string; + readonly value?: number; /** - * A shared access signature (SAS Key) that has read and write access to the blob container - * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, - * StorageContainerSasKey is required. + * Storage limit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; + readonly storageLimit?: MaxSizeCapability; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly status?: CapabilityStatus; /** - * The recurring scans settings + * The reason for the capability not being available. */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + reason?: string; } /** - * A server vulnerability assessment. + * The instance pool family capability. */ -export interface ServerVulnerabilityAssessment extends ProxyResource { +export interface InstancePoolFamilyCapability { /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * Family name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerPath: string; + readonly name?: string; /** - * A shared access signature (SAS Key) that has read and write access to the blob container - * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, - * StorageContainerSasKey is required. + * List of supported license types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasKey?: string; + readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * List of supported virtual cores values. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly supportedVcoresValues?: InstancePoolVcoresCapability[]; /** - * The recurring scans settings + * 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.** */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + readonly status?: CapabilityStatus; + /** + * The reason for the capability not being available. + */ + reason?: string; } /** - * An Azure SQL instance pool. + * The instance pool capability */ -export interface InstancePool extends TrackedResource { +export interface InstancePoolEditionCapability { /** - * The name and tier of the SKU. + * The instance pool version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku?: Sku; + readonly name?: string; /** - * Resource ID of the subnet to place this instance pool in. + * The supported families. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId: string; + readonly supportedFamilies?: InstancePoolFamilyCapability[]; /** - * Count of vCores belonging to this instance pool. + * The status of the capability. Possible values include: 'Visible', 'Available', 'Default', + * 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores: number; + readonly status?: CapabilityStatus; /** - * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) - * and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', - * 'BasePrice' + * The reason for the capability not being available. */ - licenseType: InstancePoolLicenseType; + reason?: string; } /** - * An update to an Instance pool. + * The managed instance capability */ -export interface InstancePoolUpdate { +export interface ManagedInstanceVersionCapability { /** - * Resource tags. + * The server version name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; + readonly name?: string; + /** + * The list of supported managed instance editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedEditions?: ManagedInstanceEditionCapability[]; + /** + * The list of supported instance pool editions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedInstancePoolEditions?: InstancePoolEditionCapability[]; + /** + * 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; } /** - * ARM Usage Name + * The location capability. */ -export interface Name { +export interface LocationCapabilities { /** - * Usage name value + * The location name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; + readonly name?: string; /** - * Usage name localized value. + * The list of supported server versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - localizedValue?: string; + readonly supportedServerVersions?: ServerVersionCapability[]; + /** + * The list of supported managed instance versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; + /** + * 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; } /** - * ARM usage. + * A long term retention backup for a managed database. */ -export interface Usage { +export interface ManagedInstanceLongTermRetentionBackup extends ProxyResource { /** - * Resource ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name. + * The managed instance that the backup database belongs to. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: Name; + readonly managedInstanceName?: string; /** - * Resource type. + * The create time of the instance. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly type?: string; + readonly managedInstanceCreateTime?: Date; /** - * Usage unit. + * The name of the database the backup belong to * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; + readonly databaseName?: string; /** - * Usage current value. + * The delete time of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentValue?: number; + readonly databaseDeletionTime?: Date; /** - * Usage limit. + * The time the backup was taken * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly backupTime?: Date; /** - * Usage requested limit. + * The time the long term retention backup will expire. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requestedLimit?: number; + readonly backupExpirationTime?: Date; } /** - * An Azure SQL managed instance. + * A long term retention policy. */ -export interface ManagedInstance extends TrackedResource { +export interface ManagedInstanceLongTermRetentionPolicy extends ProxyResource { /** - * The Azure Active Directory identity of the managed instance. + * The weekly retention policy for an LTR backup in an ISO 8601 format. */ - identity?: ResourceIdentity; + weeklyRetention?: string; /** - * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 + * The monthly retention policy for an LTR backup in an ISO 8601 format. */ - sku?: Sku; + monthlyRetention?: string; /** - * Specifies the mode of database creation. - * - * Default: Regular instance creation. - * - * Restore: Creates an instance by restoring a set of backups to specific point in time. - * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: - * 'Default', 'PointInTimeRestore' + * The yearly retention policy for an LTR backup in an ISO 8601 format. */ - managedInstanceCreateMode?: ManagedServerCreateMode; + yearlyRetention?: string; /** - * The fully qualified domain name of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The week of year to take the yearly backup in an ISO 8601 format. */ - readonly fullyQualifiedDomainName?: string; + weekOfYear?: number; +} + +/** + * Workload group operations for a data warehouse + */ +export interface WorkloadGroup extends ProxyResource { /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * The workload group minimum percentage resource. */ - administratorLogin?: string; + minResourcePercent: number; /** - * The administrator login password (required for managed instance creation). + * The workload group cap percentage resource. */ - administratorLoginPassword?: string; + maxResourcePercent: number; /** - * Subnet resource ID for the managed instance. + * The workload group request minimum grant percentage. */ - subnetId?: string; + minResourcePercentPerRequest: number; /** - * The state of the managed instance. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload group request maximum grant percentage. */ - readonly state?: string; + maxResourcePercentPerRequest?: number; /** - * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL - * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible - * values include: 'LicenseIncluded', 'BasePrice' + * The workload group importance level. */ - licenseType?: ManagedInstanceLicenseType; + importance?: string; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * The workload group query execution timeout. */ - vCores?: number; - /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. - */ - storageSizeInGB?: number; - /** - * Collation of the managed instance. - */ - collation?: string; + queryExecutionTimeout?: number; +} + +/** + * Workload classifier operations for a data warehouse + */ +export interface WorkloadClassifier extends ProxyResource { /** - * The Dns Zone that the managed instance is in. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier member name. */ - readonly dnsZone?: string; + memberName: string; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * The workload classifier label. */ - dnsZonePartner?: string; + label?: string; /** - * Whether or not the public data endpoint is enabled. + * The workload classifier context. */ - publicDataEndpointEnabled?: boolean; + context?: string; /** - * The resource identifier of the source managed instance associated with create operation of - * this instance. + * The workload classifier start time for classification. */ - sourceManagedInstanceId?: string; + startTime?: string; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The workload classifier end time for classification. */ - restorePointInTime?: Date; + endTime?: string; /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The workload classifier importance. */ - proxyOverride?: ManagedInstanceProxyOverride; + importance?: string; +} + +/** + * An interface representing UpsertManagedServerOperationParameters. + */ +export interface UpsertManagedServerOperationParameters { + family?: string; + tier?: string; + vCores?: number; + storageSizeInGB?: number; +} + +/** + * The parameters of a managed instance operation. + */ +export interface ManagedInstanceOperationParametersPair { /** - * 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 current parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly currentParameters?: UpsertManagedServerOperationParameters; /** - * The Id of the instance pool this managed server belongs to. + * The requested parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instancePoolId?: string; + readonly requestedParameters?: UpsertManagedServerOperationParameters; } /** - * An update request for an Azure SQL Database managed instance. + * An interface representing UpsertManagedServerOperationStep. */ -export interface ManagedInstanceUpdate { - /** - * Managed instance sku - */ - sku?: Sku; +export interface UpsertManagedServerOperationStep { + order?: number; + name?: string; /** - * Specifies the mode of database creation. - * - * Default: Regular instance creation. - * - * Restore: Creates an instance by restoring a set of backups to specific point in time. - * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: - * 'Default', 'PointInTimeRestore' + * Possible values include: 'NotStarted', 'InProgress', 'SlowedDown', 'Completed', 'Failed', + * 'Canceled' */ - managedInstanceCreateMode?: ManagedServerCreateMode; + status?: Status; +} + +/** + * The steps of a managed instance operation. + */ +export interface ManagedInstanceOperationSteps { /** - * The fully qualified domain name of the managed instance. + * The total number of operation steps. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fullyQualifiedDomainName?: string; + readonly totalSteps?: string; /** - * Administrator username for the managed instance. Can only be specified when the managed - * instance is being created (and is required for creation). + * The number of current operation steps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLogin?: string; + readonly currentStep?: number; /** - * The administrator login password (required for managed instance creation). + * The operation steps list. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - administratorLoginPassword?: string; + readonly stepsList?: UpsertManagedServerOperationStep[]; +} + +/** + * A managed instance operation. + */ +export interface ManagedInstanceOperation extends ProxyResource { /** - * Subnet resource ID for the managed instance. + * The name of the managed instance the operation is being performed on. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnetId?: string; + readonly managedInstanceName?: string; /** - * The state of the managed instance. + * The name of operation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: string; + readonly operation?: string; /** - * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL - * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible - * values include: 'LicenseIncluded', 'BasePrice' + * The friendly name of operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - licenseType?: ManagedInstanceLicenseType; + readonly operationFriendlyName?: string; /** - * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + * The percentage of the operation completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vCores?: number; + readonly percentComplete?: number; /** - * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + * The operation start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageSizeInGB?: number; + readonly startTime?: Date; /** - * Collation of the managed instance. + * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', + * 'CancelInProgress', 'Cancelled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - collation?: string; + readonly state?: ManagementOperationState; /** - * The Dns Zone that the managed instance is in. + * The operation error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dnsZone?: string; + readonly errorCode?: number; /** - * The resource id of another managed instance whose DNS zone this managed instance will share - * after creation. + * The operation error description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dnsZonePartner?: string; + readonly errorDescription?: string; /** - * Whether or not the public data endpoint is enabled. + * The operation error severity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicDataEndpointEnabled?: boolean; + readonly errorSeverity?: number; /** - * The resource identifier of the source managed instance associated with create operation of - * this instance. + * Whether or not the error is a user error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceManagedInstanceId?: string; + readonly isUserError?: boolean; /** - * Specifies the point in time (ISO8601 format) of the source database that will be restored to - * create the new database. + * The estimated completion time of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly estimatedCompletionTime?: Date; /** - * Connection type used for connecting to the instance. Possible values include: 'Proxy', - * 'Redirect', 'Default' + * The operation description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - proxyOverride?: ManagedInstanceProxyOverride; + readonly description?: string; /** - * Id of the timezone. Allowed values are timezones supported by Windows. - * Windows keeps details on supported timezones, including the id, in registry under - * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. - * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM - * sys.time_zone_info. - * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in - * PowerShell. - * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". + * Whether the operation can be cancelled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timezoneId?: string; + readonly isCancellable?: boolean; /** - * The Id of the instance pool this managed server belongs to. + * The operation parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - instancePoolId?: string; + readonly operationParameters?: ManagedInstanceOperationParametersPair; /** - * Resource tags. + * The operation steps. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; + readonly operationSteps?: ManagedInstanceOperationSteps; } /** - * A managed database restore details. + * Azure Active Directory administrator. */ -export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { +export interface ServerAzureADAdministrator extends ProxyResource { /** - * Restore status. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Login name of the server administrator. */ - readonly status?: string; + login: string; /** - * Current restoring file name. + * SID (object ID) of the server administrator. + */ + sid: string; + /** + * Tenant ID of the administrator. + */ + tenantId?: string; + /** + * Azure Active Directory only Authentication enabled. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentRestoringFileName?: string; + readonly azureADOnlyAuthentication?: boolean; +} + +/** + * Properties of the sync database id. + */ +export interface SyncDatabaseIdProperties { /** - * Last restored file name. + * ARM resource id of sync database. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileName?: string; + readonly id?: string; +} + +/** + * Properties of the column in the table of database full schema. + */ +export interface SyncFullSchemaTableColumn { /** - * Last restored file time. + * Data size of the column. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastRestoredFileTime?: Date; + readonly dataSize?: string; /** - * Percent completed. + * Data type of the column. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly percentCompleted?: number; + readonly dataType?: string; /** - * List of unrestorable files. + * Error id of the column. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unrestorableFiles?: string[]; + readonly errorId?: string; /** - * Number of files detected. + * If there is error in the table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly numberOfFilesDetected?: number; + readonly hasError?: boolean; /** - * Last uploaded file name. + * If it is the primary key of the table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileName?: string; + readonly isPrimaryKey?: boolean; /** - * Last uploaded file time. + * Name of the column. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUploadedFileTime?: Date; + readonly name?: string; /** - * The reason why restore is in Blocked state. + * Quoted name of the column. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly blockReason?: string; + readonly quotedName?: string; } /** - * A managed database resource. + * Properties of the table in the database full schema. */ -export interface ManagedDatabase extends TrackedResource { - /** - * Collation of the managed database. - */ - collation?: string; +export interface SyncFullSchemaTable { /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' + * List of columns in the table of database full schema. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedDatabaseStatus; + readonly columns?: SyncFullSchemaTableColumn[]; /** - * Creation date of the database. + * Error id of the table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly errorId?: string; /** - * Earliest restore point in time for point in time restore. + * If there is error in the table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestorePoint?: Date; + readonly hasError?: boolean; /** - * 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. + * Name of the table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorePointInTime?: Date; + readonly name?: string; /** - * Geo paired region. + * Quoted name of the table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly defaultSecondaryLocation?: string; + readonly quotedName?: string; +} + +/** + * Properties of the database full schema. + */ +export interface SyncFullSchemaProperties { /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * List of tables in the database full schema. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - catalogCollation?: CatalogCollationType; + readonly tables?: SyncFullSchemaTable[]; /** - * 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' + * Last update time of the database schema. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createMode?: ManagedDatabaseCreateMode; + readonly lastUpdateTime?: Date; +} + +/** + * Properties of an Azure SQL Database sync group log. + */ +export interface SyncGroupLogProperties { /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri - * of the storage container where backups for this restore are stored. + * Timestamp of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerUri?: string; + readonly timestamp?: Date; /** - * The resource identifier of the source database associated with create operation of this - * database. + * Type of the sync group log. Possible values include: 'All', 'Error', 'Warning', 'Success' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceDatabaseId?: string; + readonly type?: SyncGroupLogType; /** - * The restorable dropped database resource id to restore when creating this database. + * Source of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - restorableDroppedDatabaseId?: string; + readonly source?: string; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * Details of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerSasToken?: string; + readonly details?: string; /** - * Instance Failover Group resource identifier that this managed database belongs to. + * TracingId of the sync group log. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly tracingId?: string; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * OperationStatus of the sync group log. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recoverableDatabaseId?: string; + readonly operationStatus?: string; } /** - * An managed database update. + * Properties of column in sync group table. */ -export interface ManagedDatabaseUpdate { +export interface SyncGroupSchemaTableColumn { /** - * Collation of the managed database. + * Quoted name of sync group table column. */ - collation?: string; + quotedName?: string; /** - * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', - * 'Inaccessible', 'Restoring', 'Updating' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Data size of the column. */ - readonly status?: ManagedDatabaseStatus; + dataSize?: string; /** - * Creation date of the database. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Data type of the column. */ - readonly creationDate?: Date; + dataType?: string; +} + +/** + * Properties of table in sync group schema. + */ +export interface SyncGroupSchemaTable { /** - * 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.** + * List of columns in sync group schema. */ - readonly earliestRestorePoint?: Date; + columns?: SyncGroupSchemaTableColumn[]; /** - * 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. + * Quoted name of sync group schema table. */ - restorePointInTime?: Date; + quotedName?: string; +} + +/** + * Properties of sync group schema. + */ +export interface SyncGroupSchema { /** - * Geo paired region. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of tables in sync group schema. */ - readonly defaultSecondaryLocation?: string; + tables?: SyncGroupSchemaTable[]; /** - * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', - * 'SQL_Latin1_General_CP1_CI_AS' + * Name of master sync member where the schema is from. */ - catalogCollation?: CatalogCollationType; + masterSyncMemberName?: string; +} + +/** + * An Azure SQL Database sync group. + */ +export interface SyncGroup extends ProxyResource { /** - * 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' + * Sync interval of the sync group. */ - createMode?: ManagedDatabaseCreateMode; + interval?: number; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri - * of the storage container where backups for this restore are stored. + * Last sync time of the sync group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageContainerUri?: string; + readonly lastSyncTime?: Date; /** - * The resource identifier of the source database associated with create operation of this - * database. + * Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin' */ - sourceDatabaseId?: string; + conflictResolutionPolicy?: SyncConflictResolutionPolicy; /** - * The restorable dropped database resource id to restore when creating this database. + * ARM resource id of the sync database in the sync group. */ - restorableDroppedDatabaseId?: string; + syncDatabaseId?: string; /** - * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the - * storage container sas token. + * User name for the sync group hub database credential. */ - storageContainerSasToken?: string; + hubDatabaseUserName?: string; /** - * Instance Failover Group resource identifier that this managed database belongs to. + * Password for the sync group hub database credential. + */ + hubDatabasePassword?: string; + /** + * Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning', + * 'Progressing', 'Good' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly failoverGroupId?: string; + readonly syncState?: SyncGroupState; /** - * The resource identifier of the recoverable database associated with create operation of this - * database. + * Sync schema of the sync group. */ - recoverableDatabaseId?: string; + schema?: SyncGroupSchema; /** - * Resource tags. + * If use private link connection is enabled. */ - tags?: { [propertyName: string]: string }; -} - -/** - * Contains the information necessary to perform a complete database restore operation. - */ -export interface CompleteDatabaseRestoreDefinition { + usePrivateLinkConnection?: boolean; /** - * The last backup name to apply + * Private endpoint name of the sync group if use private link connection is enabled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastBackupName: string; + readonly privateEndpointName?: string; } /** - * An interface representing PrivateEndpointProperty. + * An Azure SQL Database sync member. */ -export interface PrivateEndpointProperty extends BaseResource { +export interface SyncMember extends ProxyResource { /** - * Resource id of the private endpoint. + * Database type of the sync member. Possible values include: 'AzureSqlDatabase', + * 'SqlServerDatabase' */ - id?: string; -} - -/** - * An interface representing PrivateLinkServiceConnectionStateProperty. - */ -export interface PrivateLinkServiceConnectionStateProperty { + databaseType?: SyncMemberDbType; /** - * The private link service connection status. + * ARM resource id of the sync agent in the sync member. */ - status: string; + syncAgentId?: string; /** - * The private link service connection description. + * SQL Server database id of the sync member. */ - description: string; + sqlServerDatabaseId?: string; + /** + * ARM resource id of the sync member logical database, for sync members in Azure. + */ + syncMemberAzureDatabaseResourceId?: string; + /** + * Whether to use private link connection. + */ + usePrivateLinkConnection?: boolean; /** - * The actions required for private link service connection. + * Private endpoint name of the sync member if use private link connection is enabled, for sync + * members in Azure. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly actionsRequired?: string; -} - -/** - * A private endpoint connection - */ -export interface PrivateEndpointConnection extends ProxyResource { + readonly privateEndpointName?: string; /** - * Private endpoint which the connection belongs to. + * Server name of the member database in the sync member */ - privateEndpoint?: PrivateEndpointProperty; + serverName?: string; /** - * Connection state of the private endpoint connection. + * Database name of the member database in the sync member. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + databaseName?: string; /** - * State of the private endpoint connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * User name of the member database in the sync member. */ - readonly provisioningState?: string; -} - -/** - * Properties of a private link resource. - */ -export interface PrivateLinkResourceProperties { + userName?: string; /** - * The private link resource group id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Password of the member database in the sync member. */ - readonly groupId?: string; + password?: string; /** - * The private link resource required member names. + * Sync direction of the sync member. Possible values include: 'Bidirectional', + * 'OneWayMemberToHub', 'OneWayHubToMember' + */ + syncDirection?: SyncDirection; + /** + * Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', + * 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', + * 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', + * 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', + * 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; + readonly syncState?: SyncMemberState; } /** - * A private link resource + * Contains the ARM resources for which to create private endpoint connection. */ -export interface PrivateLinkResource extends ProxyResource { +export interface NetworkIsolationSettings { /** - * The private link resource group id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource id for the storage account used to store BACPAC file. If set, private endpoint + * connection will be created for the storage account. Must match storage account used for + * StorageUri parameter. */ - readonly properties?: PrivateLinkResourceProperties; + storageAccountResourceId?: string; + /** + * The resource id for the SQL server which is the target of this request. If set, private + * endpoint connection will be created for the SQL server. Must match server which is target of + * the operation. + */ + sqlServerResourceId?: string; } /** - * Optional Parameters. + * Contains the information necessary to perform export database operation. */ -export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase { +export interface ExportDatabaseDefinition { /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey' */ - replicaType?: ReplicaType; -} - -/** - * Optional Parameters. - */ -export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { + storageKeyType: StorageKeyType; /** - * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + * Storage key. */ - replicaType?: ReplicaType; -} - -/** - * Optional Parameters. - */ -export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { + storageKey: string; /** - * The number of elements in the collection to skip. + * Storage Uri. */ - skip?: number; + storageUri: string; + /** + * Administrator login name. + */ + administratorLogin: string; + /** + * Administrator login password. + */ + administratorLoginPassword: string; + /** + * Authentication type. + */ + authenticationType?: string; + /** + * Optional resource information to enable network isolation for request. + */ + networkIsolation?: NetworkIsolationSettings; } /** - * Optional Parameters. + * Contains the private endpoint connection requests status. */ -export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { +export interface PrivateEndpointConnectionRequestStatus { /** - * The continuation token for this operation. + * Resource id for which the private endpoint is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - continuationToken?: string; + readonly privateLinkServiceId?: string; + /** + * The connection name for the private endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnectionName?: string; + /** + * Status of this private endpoint connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** - * Optional Parameters. + * An ImportExport operation result resource. */ -export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { +export interface ImportExportOperationResult extends ProxyResource { /** - * If specified, only job executions created at or after the specified time are included. + * Request Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMin?: Date; + readonly requestId?: string; /** - * If specified, only job executions created before the specified time are included. + * Request type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - createTimeMax?: Date; + readonly requestType?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * Queued time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly queuedTime?: string; /** - * If specified, only job executions completed before the specified time are included. + * Last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMax?: Date; + readonly lastModifiedTime?: string; /** - * If specified, only active or only completed job executions are included. + * Blob Uri. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActive?: boolean; + readonly blobUri?: string; /** - * The number of elements in the collection to skip. + * Server name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly serverName?: string; /** - * The number of elements to return from the collection. + * Database name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - top?: number; + readonly databaseName?: string; + /** + * Operation status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; + /** + * Error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errorMessage?: string; + /** + * Gets the status of private endpoints associated with this request. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[]; } /** - * Optional Parameters. + * Contains the information necessary to perform import operation for existing database. */ -export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { +export interface ImportExistingDatabaseDefinition { /** - * If specified, only job executions created at or after the specified time are included. + * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey' */ - createTimeMin?: Date; + storageKeyType: StorageKeyType; /** - * If specified, only job executions created before the specified time are included. + * Storage key. */ - createTimeMax?: Date; + storageKey: string; /** - * If specified, only job executions completed at or after the specified time are included. + * Storage Uri. */ - endTimeMin?: Date; + storageUri: string; /** - * If specified, only job executions completed before the specified time are included. + * Administrator login name. */ - endTimeMax?: Date; + administratorLogin: string; /** - * If specified, only active or only completed job executions are included. + * Administrator login password. */ - isActive?: boolean; + administratorLoginPassword: string; /** - * The number of elements in the collection to skip. + * Authentication type. */ - skip?: number; + authenticationType?: string; /** - * The number of elements to return from the collection. + * Optional resource information to enable network isolation for request. */ - top?: number; + networkIsolation?: NetworkIsolationSettings; } /** - * Optional Parameters. + * Contains the information necessary to perform import operation for new database. */ -export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { +export interface ImportNewDatabaseDefinition { /** - * If specified, only job executions created at or after the specified time are included. + * Name of the import database. */ - createTimeMin?: Date; + databaseName?: string; /** - * If specified, only job executions created before the specified time are included. + * Edition of the import database. */ - createTimeMax?: Date; + edition?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * Service level objective name of the import database. */ - endTimeMin?: Date; + serviceObjectiveName?: string; /** - * If specified, only job executions completed before the specified time are included. + * Max size in bytes for the import database. */ - endTimeMax?: Date; + maxSizeBytes?: string; /** - * If specified, only active or only completed job executions are included. + * Storage key type. Possible values include: 'SharedAccessKey', 'StorageAccessKey' */ - isActive?: boolean; + storageKeyType: StorageKeyType; /** - * The number of elements in the collection to skip. + * Storage key. */ - skip?: number; + storageKey: string; /** - * The number of elements to return from the collection. + * Storage Uri. */ - top?: number; + storageUri: string; + /** + * Administrator login name. + */ + administratorLogin: string; + /** + * Administrator login password. + */ + administratorLoginPassword: string; + /** + * Authentication type. + */ + authenticationType?: string; + /** + * Optional resource information to enable network isolation for request. + */ + networkIsolation?: NetworkIsolationSettings; } /** - * Optional Parameters. + * A managed database resource. */ -export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedDatabase extends TrackedResource { /** - * If specified, only job executions created at or after the specified time are included. + * Collation of the managed database. */ - createTimeMin?: Date; + collation?: string; /** - * If specified, only job executions created before the specified time are included. + * 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.** */ - createTimeMax?: Date; + readonly status?: ManagedDatabaseStatus; /** - * If specified, only job executions completed at or after the specified time are included. + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeMin?: Date; + readonly creationDate?: Date; /** - * If specified, only job executions completed before the specified time are included. + * 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.** */ - endTimeMax?: Date; + readonly earliestRestorePoint?: Date; /** - * If specified, only active or only completed job executions are included. + * 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. */ - isActive?: boolean; + restorePointInTime?: Date; /** - * The number of elements in the collection to skip. + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - skip?: number; + readonly defaultSecondaryLocation?: string; /** - * The number of elements to return from the collection. + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - top?: number; -} - -/** - * Optional Parameters. - */ -export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase { + catalogCollation?: CatalogCollationType; /** - * If specified, only job executions created at or after the specified time are included. + * Managed database create mode. PointInTimeRestore: Create a database by restoring a point in + * time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and + * PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from + * external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be + * specified. Recovery: Creates a database by restoring a geo-replicated backup. + * RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. + * RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention + * backup (longTermRetentionBackupResourceId required). Possible values include: 'Default', + * 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', 'RestoreLongTermRetentionBackup' */ - createTimeMin?: Date; + createMode?: ManagedDatabaseCreateMode; /** - * If specified, only job executions created before the specified time are included. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. */ - createTimeMax?: Date; + storageContainerUri?: string; /** - * If specified, only job executions completed at or after the specified time are included. + * The resource identifier of the source database associated with create operation of this + * database. */ - endTimeMin?: Date; + sourceDatabaseId?: string; /** - * If specified, only job executions completed before the specified time are included. + * The restorable dropped database resource id to restore when creating this database. */ - endTimeMax?: Date; + restorableDroppedDatabaseId?: string; /** - * If specified, only active or only completed job executions are included. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. */ - isActive?: boolean; + storageContainerSasToken?: string; /** - * The number of elements in the collection to skip. + * 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.** */ - skip?: number; + readonly failoverGroupId?: string; /** - * The number of elements to return from the collection. + * The resource identifier of the recoverable database associated with create operation of this + * database. */ - top?: number; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { + recoverableDatabaseId?: string; /** - * Whether or not to only get the latest backup for each database. + * The name of the Long Term Retention backup to be used for restore of this managed database. */ - onlyLatestPerDatabase?: boolean; + longTermRetentionBackupResourceId?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Whether to auto complete restore of this managed database. + */ + autoCompleteRestore?: boolean; + /** + * Last backup file name for restore of this managed database. */ - databaseState?: LongTermRetentionDatabaseState; + lastBackupName?: string; } /** - * Optional Parameters. + * An managed database update. */ -export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { +export interface ManagedDatabaseUpdate { /** - * Whether or not to only get the latest backup for each database. + * Collation of the managed database. */ - onlyLatestPerDatabase?: boolean; + collation?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', + * 'Inaccessible', 'Restoring', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase { + readonly status?: ManagedDatabaseStatus; /** - * Whether or not to only get the latest backup for each database. + * Creation date of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - onlyLatestPerDatabase?: boolean; + readonly creationDate?: Date; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Earliest restore point in time for point in time restore. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { + readonly earliestRestorePoint?: Date; /** - * Whether or not to only get the latest backup for each database. + * Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point + * in time (ISO8601 format) of the source database that will be restored to create the new + * database. */ - onlyLatestPerDatabase?: boolean; + restorePointInTime?: Date; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Geo paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { + readonly defaultSecondaryLocation?: string; /** - * Whether or not to only get the latest backup for each database. + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' */ - onlyLatestPerDatabase?: boolean; + catalogCollation?: CatalogCollationType; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * Managed database create mode. PointInTimeRestore: Create a database by restoring a point in + * time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and + * PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from + * external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be + * specified. Recovery: Creates a database by restoring a geo-replicated backup. + * RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. + * RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention + * backup (longTermRetentionBackupResourceId required). Possible values include: 'Default', + * 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', 'RestoreLongTermRetentionBackup' */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { + createMode?: ManagedDatabaseCreateMode; /** - * Whether or not to only get the latest backup for each database. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri + * of the storage container where backups for this restore are stored. */ - onlyLatestPerDatabase?: boolean; + storageContainerUri?: string; /** - * Whether to query against just live databases, just deleted databases, or all databases. - * Possible values include: 'All', 'Live', 'Deleted' + * The resource identifier of the source database associated with create operation of this + * database. */ - databaseState?: LongTermRetentionDatabaseState; -} - -/** - * Optional Parameters. - */ -export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + sourceDatabaseId?: string; /** - * An OData filter expression that filters elements in the collection. + * The restorable dropped database resource id to restore when creating this database. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + restorableDroppedDatabaseId?: string; /** - * Specifies whether to include disabled recommendations or not. + * Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the + * storage container sas token. */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + storageContainerSasToken?: string; /** - * An OData filter expression that filters elements in the collection. + * Instance Failover Group resource identifier that this managed database belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { + readonly failoverGroupId?: string; /** - * If specified, restricts the response to only include the selected item. Possible values - * include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' + * The resource identifier of the recoverable database associated with create operation of this + * database. */ - include?: CapabilityGroup; -} - -/** - * Optional Parameters. - */ -export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { + recoverableDatabaseId?: string; /** - * An OData filter expression that filters elements in the collection. + * The name of the Long Term Retention backup to be used for restore of this managed database. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + longTermRetentionBackupResourceId?: string; /** - * An OData filter expression that filters elements in the collection. + * Whether to auto complete restore of this managed database. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + autoCompleteRestore?: boolean; /** - * Specifies whether to include disabled recommendations or not. + * Last backup file name for restore of this managed database. */ - includeDisabledRecommendations?: boolean; - skipToken?: string; + lastBackupName?: string; /** - * An OData filter expression that filters elements in the collection. + * Resource tags. */ - filter?: string; + tags?: { [propertyName: string]: string }; } /** - * Optional Parameters. + * Contains the information necessary to perform a complete database restore operation. */ -export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { +export interface CompleteDatabaseRestoreDefinition { /** - * Optional request parameter to include managed instance usages within the instance pool. + * The last backup name to apply */ - expandChildren?: boolean; + lastBackupName: string; } /** - * An interface representing SqlManagementClientOptions. + * A managed database restore details. */ -export interface SqlManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { + /** + * Restore status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; + /** + * Current restoring file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentRestoringFileName?: string; + /** + * Last restored file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRestoredFileName?: string; + /** + * Last restored file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastRestoredFileTime?: Date; + /** + * Percent completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly percentCompleted?: number; + /** + * List of unrestorable files. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unrestorableFiles?: string[]; + /** + * Number of files detected. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly numberOfFilesDetected?: number; + /** + * Last uploaded file name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUploadedFileName?: string; + /** + * Last uploaded file time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUploadedFileTime?: Date; + /** + * The reason why restore is in Blocked state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly blockReason?: string; } /** - * @interface - * The response to a list recoverable databases request - * @extends Array + * Azure Active Directory only authentication. */ -export interface RecoverableDatabaseListResult extends Array { +export interface ServerAzureADOnlyAuthentication extends ProxyResource { + /** + * Azure Active Directory only Authentication enabled. + */ + azureADOnlyAuthentication: boolean; } /** - * @interface - * The response to a list restorable dropped databases request - * @extends Array + * An interface representing ManagedInstancePrivateEndpointProperty. */ -export interface RestorableDroppedDatabaseListResult extends Array { +export interface ManagedInstancePrivateEndpointProperty { + /** + * Resource id of the private endpoint. + */ + id?: string; } /** - * @interface - * A list of servers. - * @extends Array + * An interface representing ManagedInstancePrivateLinkServiceConnectionStateProperty. */ -export interface ServerListResult extends Array { +export interface ManagedInstancePrivateLinkServiceConnectionStateProperty { /** - * Link to retrieve next page of results. + * The private link service connection status. + */ + status: string; + /** + * The private link service connection description. + */ + description: string; + /** + * The private link service connection description. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * The response to a list data masking rules request. - * @extends Array - */ -export interface DataMaskingRuleListResult extends Array { + readonly actionsRequired?: string; } /** - * @interface - * Represents the response to a List Firewall Rules request. - * @extends Array + * Properties of a private endpoint connection. */ -export interface FirewallRuleListResult extends Array { +export interface ManagedInstancePrivateEndpointConnectionProperties { + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: ManagedInstancePrivateEndpointProperty; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: ManagedInstancePrivateLinkServiceConnectionStateProperty; + /** + * State of the Private Endpoint Connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; } /** - * @interface - * The response to a list geo backup policies request. - * @extends Array + * A private endpoint connection under a managed instance */ -export interface GeoBackupPolicyListResult extends Array { +export interface ManagedInstancePecProperty { + /** + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Private endpoint connection properties + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly properties?: ManagedInstancePrivateEndpointConnectionProperties; } /** - * @interface - * The response to a list database metrics request. - * @extends Array + * An Azure SQL managed instance. */ -export interface MetricListResult extends Array { +export interface ManagedInstance extends TrackedResource { + /** + * The Azure Active Directory identity of the managed instance. + */ + identity?: ResourceIdentity; + /** + * Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5 + */ + sku?: Sku; + /** + * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState1; + /** + * Specifies the mode of database creation. + * + * Default: Regular instance creation. + * + * Restore: Creates an instance by restoring a set of backups to specific point in time. + * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: + * 'Default', 'PointInTimeRestore' + */ + managedInstanceCreateMode?: ManagedServerCreateMode; + /** + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fullyQualifiedDomainName?: string; + /** + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). + */ + administratorLogin?: string; + /** + * The administrator login password (required for managed instance creation). + */ + administratorLoginPassword?: string; + /** + * Subnet resource ID for the managed instance. + */ + subnetId?: string; + /** + * The state of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: string; + /** + * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL + * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible + * values include: 'LicenseIncluded', 'BasePrice' + */ + licenseType?: ManagedInstanceLicenseType; + /** + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + */ + vCores?: number; + /** + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + */ + storageSizeInGB?: number; + /** + * Collation of the managed instance. + */ + collation?: string; + /** + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dnsZone?: string; + /** + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. + */ + dnsZonePartner?: string; + /** + * Whether or not the public data endpoint is enabled. + */ + publicDataEndpointEnabled?: boolean; + /** + * The resource identifier of the source managed instance associated with create operation of + * this instance. + */ + sourceManagedInstanceId?: string; + /** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. + */ + restorePointInTime?: Date; + /** + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' + */ + proxyOverride?: ManagedInstanceProxyOverride; + /** + * Id of the timezone. Allowed values are timezones supported by Windows. + * Windows keeps details on supported timezones, including the id, in registry under + * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM + * sys.time_zone_info. + * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in + * PowerShell. + * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". + */ + timezoneId?: string; + /** + * The Id of the instance pool this managed server belongs to. + */ + instancePoolId?: string; + /** + * Specifies maintenance configuration id to apply to this managed instance. + */ + maintenanceConfigurationId?: string; + /** + * List of private endpoint connections on a managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: ManagedInstancePecProperty[]; + /** + * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' + */ + minimalTlsVersion?: string; + /** + * The storage account type used to store backups for this instance. The options are LRS + * (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage). Possible + * values include: 'GRS', 'LRS', 'ZRS' + */ + storageAccountType?: StorageAccountType; + /** + * Whether or not the multi-az is enabled. + */ + zoneRedundant?: boolean; +} + +/** + * An update request for an Azure SQL Database managed instance. + */ +export interface ManagedInstanceUpdate { + /** + * Managed instance sku + */ + sku?: Sku; + /** + * Managed instance identity + */ + identity?: ResourceIdentity; + /** + * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState1; + /** + * Specifies the mode of database creation. + * + * Default: Regular instance creation. + * + * Restore: Creates an instance by restoring a set of backups to specific point in time. + * RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: + * 'Default', 'PointInTimeRestore' + */ + managedInstanceCreateMode?: ManagedServerCreateMode; + /** + * The fully qualified domain name of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fullyQualifiedDomainName?: string; + /** + * Administrator username for the managed instance. Can only be specified when the managed + * instance is being created (and is required for creation). + */ + administratorLogin?: string; + /** + * The administrator login password (required for managed instance creation). + */ + administratorLoginPassword?: string; + /** + * Subnet resource ID for the managed instance. + */ + subnetId?: string; + /** + * The state of the managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: string; + /** + * The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL + * license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). Possible + * values include: 'LicenseIncluded', 'BasePrice' + */ + licenseType?: ManagedInstanceLicenseType; + /** + * The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + */ + vCores?: number; + /** + * Storage size in GB. Minimum value: 32. Maximum value: 8192. Increments of 32 GB allowed only. + */ + storageSizeInGB?: number; + /** + * Collation of the managed instance. + */ + collation?: string; + /** + * The Dns Zone that the managed instance is in. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dnsZone?: string; + /** + * The resource id of another managed instance whose DNS zone this managed instance will share + * after creation. + */ + dnsZonePartner?: string; + /** + * Whether or not the public data endpoint is enabled. + */ + publicDataEndpointEnabled?: boolean; + /** + * The resource identifier of the source managed instance associated with create operation of + * this instance. + */ + sourceManagedInstanceId?: string; + /** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. + */ + restorePointInTime?: Date; + /** + * Connection type used for connecting to the instance. Possible values include: 'Proxy', + * 'Redirect', 'Default' + */ + proxyOverride?: ManagedInstanceProxyOverride; + /** + * Id of the timezone. Allowed values are timezones supported by Windows. + * Windows keeps details on supported timezones, including the id, in registry under + * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM + * sys.time_zone_info. + * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in + * PowerShell. + * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". + */ + timezoneId?: string; + /** + * The Id of the instance pool this managed server belongs to. + */ + instancePoolId?: string; + /** + * Specifies maintenance configuration id to apply to this managed instance. + */ + maintenanceConfigurationId?: string; + /** + * List of private endpoint connections on a managed instance. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: ManagedInstancePecProperty[]; + /** + * Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' + */ + minimalTlsVersion?: string; + /** + * The storage account type used to store backups for this instance. The options are LRS + * (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage). Possible + * values include: 'GRS', 'LRS', 'ZRS' + */ + storageAccountType?: StorageAccountType; + /** + * Whether or not the multi-az is enabled. + */ + zoneRedundant?: boolean; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; } /** - * @interface - * The response to a list database metric definitions request. - * @extends Array + * Properties of a topquery metric in one interval. + */ +export interface QueryMetricProperties { + /** + * The name information for the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The UI appropriate name for the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayName?: string; + /** + * The unit of the metric. Possible values include: 'percentage', 'KB', 'microseconds', 'count' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unit?: QueryMetricUnitType; + /** + * The value of the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: number; + /** + * Metric value when min() aggregate function is used over the interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly min?: number; + /** + * Metric value when max() aggregate function is used over the interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly max?: number; + /** + * Metric value when avg() aggregate function is used over the interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly avg?: number; + /** + * Metric value when sum() aggregate function is used over the interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sum?: number; + /** + * Metric value when stdev aggregate function is used over the interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly stdev?: number; +} + +/** + * Properties of a query metrics interval. + */ +export interface QueryMetricInterval { + /** + * The start time for the metric interval (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intervalStartTime?: string; + /** + * Interval type (length). Possible values include: 'PT1H', 'P1D' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intervalType?: QueryTimeGrainType; + /** + * Execution count of a query in this interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly executionCount?: number; + /** + * List of metric objects for this interval + */ + metrics?: QueryMetricProperties[]; +} + +/** + * Properties of a query execution statistics. + */ +export interface QueryStatisticsProperties { + /** + * Database name of the database in which this query was executed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseName?: string; + /** + * Unique query id (unique within one database). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly queryId?: string; + /** + * The start time for the metric (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: string; + /** + * The end time for the metric (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTime?: string; + /** + * List of intervals with appropriate metric data + */ + intervals?: QueryMetricInterval[]; +} + +/** + * An interface representing TopQueries. + */ +export interface TopQueries { + /** + * Requested number of top queries. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly numberOfQueries?: number; + /** + * Aggregation function used to calculate query metrics. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly aggregationFunction?: string; + /** + * Metric used to rank queries. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly observationMetric?: string; + /** + * Interval type (length). Possible values include: 'PT1H', 'P1D' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intervalType?: QueryTimeGrainType; + /** + * The start time for the metric (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: string; + /** + * The end time for the metric (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTime?: string; + /** + * List of top resource consuming queries with appropriate metric data + */ + queries?: QueryStatisticsProperties[]; +} + +/** + * Azure Active Directory only authentication. + */ +export interface ManagedInstanceAzureADOnlyAuthentication extends ProxyResource { + /** + * Azure Active Directory only Authentication enabled. + */ + azureADOnlyAuthentication: boolean; +} + +/** + * Server info for the server trust group. + */ +export interface ServerInfo { + /** + * Server Id. + */ + serverId: string; +} + +/** + * A server trust group. + */ +export interface ServerTrustGroup extends ProxyResource { + /** + * Group members information for the server trust group. + */ + groupMembers: ServerInfo[]; + /** + * Trust scope of the server trust group. + */ + trustScopes: string[]; +} + +/** + * Per database settings of an elastic pool. + */ +export interface ElasticPoolPerDatabaseSettings { + /** + * The minimum capacity all databases are guaranteed. + */ + minCapacity?: number; + /** + * The maximum capacity any one database can consume. + */ + maxCapacity?: number; +} + +/** + * An elastic pool. + */ +export interface ElasticPool 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 + * ```` + */ + sku?: Sku; + /** + * Kind of elastic pool. This is metadata used for the Azure portal experience. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; + /** + * 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 state?: ElasticPoolState; + /** + * The creation date of the elastic pool (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * The storage limit for the database elastic pool in bytes. + */ + maxSizeBytes?: number; + /** + * The per database settings for the elastic pool. + */ + perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + /** + * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic + * pool will be spread across multiple availability zones. + */ + zoneRedundant?: boolean; + /** + * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', + * 'BasePrice' + */ + licenseType?: ElasticPoolLicenseType; + /** + * Maintenance configuration id assigned to the elastic pool. This configuration defines the + * period when the maintenance updates will will occur. + */ + maintenanceConfigurationId?: string; +} + +/** + * An elastic pool update. + */ +export interface ElasticPoolUpdate { + sku?: Sku; + /** + * The storage limit for the database elastic pool in bytes. + */ + maxSizeBytes?: number; + /** + * The per database settings for the elastic pool. + */ + perDatabaseSettings?: ElasticPoolPerDatabaseSettings; + /** + * Whether or not this elastic pool is zone redundant, which means the replicas of this elastic + * pool will be spread across multiple availability zones. + */ + zoneRedundant?: boolean; + /** + * The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', + * 'BasePrice' + */ + licenseType?: ElasticPoolLicenseType; + /** + * Maintenance configuration id assigned to the elastic pool. This configuration defines the + * period when the maintenance updates will will occur. + */ + maintenanceConfigurationId?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + +/** + * A server DevOps auditing settings. + */ +export interface ServerDevOpsAuditingSettings extends ProxyResource { + /** + * SystemData of ServerDevOpsAuditSettingsResource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; + /** + * Specifies whether DevOps audit events are sent to Azure Monitor. + * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and + * 'IsAzureMonitorTargetEnabled' as true. + * + * When using REST API to configure DevOps audit, Diagnostic Settings with + * 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also + * created. + * + * Diagnostic Settings URI format: + * PUT + * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + * + * For more information, see [Diagnostic Settings REST + * API](https://go.microsoft.com/fwlink/?linkid=2033207) + * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + */ + isAzureMonitorTargetEnabled?: boolean; + /** + * Specifies the state of the audit. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + */ + state: BlobAuditingPolicyState; + /** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. + */ + storageEndpoint?: string; + /** + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) + */ + storageAccountAccessKey?: string; + /** + * Specifies the blob storage subscription Id. + */ + storageAccountSubscriptionId?: string; +} + +/** + * A database resource. + */ +export interface Database extends TrackedResource { + /** + * The database SKU. + * + * The list of SKUs may vary by region and support offer. To determine the SKUs (including the + * SKU name, tier/edition, family, and capacity) that are available to your subscription in an + * Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: + * + * ```azurecli + * az sql db list-editions -l -o table + * ```` + * + * ```powershell + * Get-AzSqlServerServiceObjective -Location + * ```` + */ + sku?: Sku; + /** + * Kind of database. This is metadata used for the Azure portal experience. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; + /** + * Resource that manages the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly managedBy?: string; + /** + * Specifies the mode of database creation. + * + * Default: regular database creation. + * + * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified + * as the resource ID of the source database. + * + * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId + * must be specified as the resource ID of the existing primary database. + * + * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing + * database. sourceDatabaseId must be specified as the resource ID of the existing database, and + * restorePointInTime must be specified. + * + * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be + * specified as the recoverable database resource ID to restore. + * + * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must + * be specified. If sourceDatabaseId is the database's original resource ID, then + * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the + * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. + * restorePointInTime may also be specified to restore from an earlier point in time. + * + * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention + * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point + * resource ID. + * + * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse + * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', + * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + */ + createMode?: CreateMode; + /** + * The collation of the database. + */ + collation?: string; + /** + * The max size of the database expressed in bytes. + */ + maxSizeBytes?: number; + /** + * The name of the sample schema to apply when creating this database. Possible values include: + * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + */ + sampleName?: SampleName; + /** + * The resource identifier of the elastic pool containing this database. + */ + elasticPoolId?: string; + /** + * The resource identifier of the source database associated with create operation of this + * database. + */ + sourceDatabaseId?: string; + /** + * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', + * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', + * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', + * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: DatabaseStatus; + /** + * The ID of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseId?: string; + /** + * The creation date of the database (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * The current service level objective name of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentServiceObjectiveName?: string; + /** + * The requested service level objective name of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requestedServiceObjectiveName?: string; + /** + * The default secondary region for this database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly defaultSecondaryLocation?: string; + /** + * Failover Group resource identifier that this database belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly failoverGroupId?: string; + /** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. + */ + restorePointInTime?: Date; + /** + * Specifies the time that the database was deleted. + */ + sourceDatabaseDeletionDate?: Date; + /** + * The resource identifier of the recovery point associated with create operation of this + * database. + */ + recoveryServicesRecoveryPointId?: string; + /** + * The resource identifier of the long term retention backup associated with create operation of + * this database. + */ + longTermRetentionBackupResourceId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; + /** + * The resource identifier of the restorable dropped database associated with create operation of + * this database. + */ + restorableDroppedDatabaseId?: string; + /** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' + */ + catalogCollation?: CatalogCollationType; + /** + * Whether or not this database is zone redundant, which means the replicas of this database will + * be spread across multiple availability zones. + */ + zoneRedundant?: boolean; + /** + * The license type to apply for this database. `LicenseIncluded` if you need a license, or + * `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. Possible + * values include: 'LicenseIncluded', 'BasePrice' + */ + licenseType?: DatabaseLicenseType; + /** + * The max log size for this database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maxLogSizeBytes?: number; + /** + * This records the earliest start date and time that restore is available for this database + * (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly earliestRestoreDate?: Date; + /** + * The state of read-only routing. If enabled, connections that have application intent set to + * readonly in their connection string may be routed to a readonly secondary replica in the same + * region. Possible values include: 'Enabled', 'Disabled' + */ + readScale?: DatabaseReadScale; + /** + * The number of secondary replicas associated with the database that are used to provide high + * availability. + */ + highAvailabilityReplicaCount?: number; + /** + * The secondary type of the database if it is a secondary. Valid values are Geo and Named. + * Possible values include: 'Geo', 'Named' + */ + secondaryType?: SecondaryType; + /** + * The name and tier of the SKU. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentSku?: Sku; + /** + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled + */ + autoPauseDelay?: number; + /** + * The storage account type used to store backups for this database. Possible values include: + * 'Geo', 'Local', 'Zone' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentBackupStorageRedundancy?: CurrentBackupStorageRedundancy; + /** + * The storage account type to be used to store backups for this database. Possible values + * include: 'Geo', 'Local', 'Zone' + */ + requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy; + /** + * Minimal capacity that database will always have allocated, if not paused + */ + minCapacity?: number; + /** + * The date when database was paused by user configuration or action(ISO8601 format). Null if the + * database is ready. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly pausedDate?: Date; + /** + * The date when database was resumed by user action or database login (ISO8601 format). Null if + * the database is paused. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resumedDate?: Date; + /** + * Maintenance configuration id assigned to the database. This configuration defines the period + * when the maintenance updates will occur. + */ + maintenanceConfigurationId?: string; +} + +/** + * A database resource. + */ +export interface DatabaseUpdate { + /** + * The name and tier of the SKU. + */ + sku?: Sku; + /** + * Specifies the mode of database creation. + * + * Default: regular database creation. + * + * Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified + * as the resource ID of the source database. + * + * Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId + * must be specified as the resource ID of the existing primary database. + * + * PointInTimeRestore: Creates a database by restoring a point in time backup of an existing + * database. sourceDatabaseId must be specified as the resource ID of the existing database, and + * restorePointInTime must be specified. + * + * Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be + * specified as the recoverable database resource ID to restore. + * + * Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must + * be specified. If sourceDatabaseId is the database's original resource ID, then + * sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the + * restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. + * restorePointInTime may also be specified to restore from an earlier point in time. + * + * RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention + * vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point + * resource ID. + * + * Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse + * edition. Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', + * 'Restore', 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + */ + createMode?: CreateMode; + /** + * The collation of the database. + */ + collation?: string; + /** + * The max size of the database expressed in bytes. + */ + maxSizeBytes?: number; + /** + * The name of the sample schema to apply when creating this database. Possible values include: + * 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + */ + sampleName?: SampleName; + /** + * The resource identifier of the elastic pool containing this database. + */ + elasticPoolId?: string; + /** + * The resource identifier of the source database associated with create operation of this + * database. + */ + sourceDatabaseId?: string; + /** + * The status of the database. Possible values include: 'Online', 'Restoring', 'RecoveryPending', + * 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', + * 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', + * 'Scaling', 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: DatabaseStatus; + /** + * The ID of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseId?: string; + /** + * The creation date of the database (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * The current service level objective name of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentServiceObjectiveName?: string; + /** + * The requested service level objective name of the database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requestedServiceObjectiveName?: string; + /** + * The default secondary region for this database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly defaultSecondaryLocation?: string; + /** + * Failover Group resource identifier that this database belongs to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly failoverGroupId?: string; + /** + * Specifies the point in time (ISO8601 format) of the source database that will be restored to + * create the new database. + */ + restorePointInTime?: Date; + /** + * Specifies the time that the database was deleted. + */ + sourceDatabaseDeletionDate?: Date; + /** + * The resource identifier of the recovery point associated with create operation of this + * database. + */ + recoveryServicesRecoveryPointId?: string; + /** + * The resource identifier of the long term retention backup associated with create operation of + * this database. + */ + longTermRetentionBackupResourceId?: string; + /** + * The resource identifier of the recoverable database associated with create operation of this + * database. + */ + recoverableDatabaseId?: string; + /** + * The resource identifier of the restorable dropped database associated with create operation of + * this database. + */ + restorableDroppedDatabaseId?: string; + /** + * Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', + * 'SQL_Latin1_General_CP1_CI_AS' + */ + catalogCollation?: CatalogCollationType; + /** + * Whether or not this database is zone redundant, which means the replicas of this database will + * be spread across multiple availability zones. + */ + zoneRedundant?: boolean; + /** + * The license type to apply for this database. `LicenseIncluded` if you need a license, or + * `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. Possible + * values include: 'LicenseIncluded', 'BasePrice' + */ + licenseType?: DatabaseLicenseType; + /** + * The max log size for this database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maxLogSizeBytes?: number; + /** + * This records the earliest start date and time that restore is available for this database + * (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly earliestRestoreDate?: Date; + /** + * The state of read-only routing. If enabled, connections that have application intent set to + * readonly in their connection string may be routed to a readonly secondary replica in the same + * region. Possible values include: 'Enabled', 'Disabled' + */ + readScale?: DatabaseReadScale; + /** + * The number of secondary replicas associated with the database that are used to provide high + * availability. + */ + highAvailabilityReplicaCount?: number; + /** + * The secondary type of the database if it is a secondary. Valid values are Geo and Named. + * Possible values include: 'Geo', 'Named' + */ + secondaryType?: SecondaryType; + /** + * The name and tier of the SKU. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentSku?: Sku; + /** + * Time in minutes after which database is automatically paused. A value of -1 means that + * automatic pause is disabled + */ + autoPauseDelay?: number; + /** + * The storage account type used to store backups for this database. Possible values include: + * 'Geo', 'Local', 'Zone' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentBackupStorageRedundancy?: CurrentBackupStorageRedundancy; + /** + * The storage account type to be used to store backups for this database. Possible values + * include: 'Geo', 'Local', 'Zone' + */ + requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy; + /** + * Minimal capacity that database will always have allocated, if not paused + */ + minCapacity?: number; + /** + * The date when database was paused by user configuration or action(ISO8601 format). Null if the + * database is ready. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly pausedDate?: Date; + /** + * The date when database was resumed by user action or database login (ISO8601 format). Null if + * the database is paused. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resumedDate?: Date; + /** + * Maintenance configuration id assigned to the database. This configuration defines the period + * when the maintenance updates will occur. + */ + maintenanceConfigurationId?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * Contains the information necessary to perform a resource move (rename). + */ +export interface ResourceMoveDefinition { + /** + * The target ID for the resource + */ + id: string; +} + +/** + * Contains the information necessary to perform long term retention backup copy operation. + */ +export interface CopyLongTermRetentionBackupParameters { + /** + * The subscription that owns the target server + */ + targetSubscriptionId?: string; + /** + * The resource group that owns the target server + */ + targetResourceGroup?: string; + /** + * The resource Id of the target server that owns the database + */ + targetServerResourceId?: string; + /** + * The fully qualified domain name of the target server + */ + targetServerFullyQualifiedDomainName?: string; + /** + * The name of the database owns the copied backup. + */ + targetDatabaseName?: string; + /** + * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local', + * 'Zone' + */ + targetBackupStorageRedundancy?: TargetBackupStorageRedundancy; +} + +/** + * A LongTermRetentionBackup operation result resource. + */ +export interface LongTermRetentionBackupOperationResult extends ProxyResource { + /** + * Request Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requestId?: string; + /** + * Operation type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly operationType?: string; + /** + * Source backup resource id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fromBackupResourceId?: string; + /** + * Target backup resource id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly toBackupResourceId?: string; + /** + * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local', + * 'Zone' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly targetBackupStorageRedundancy?: BackupStorageRedundancy; + /** + * Operation status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; + /** + * Progress message + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly message?: string; +} + +/** + * Contains the information necessary to perform long term retention backup update operation. + */ +export interface UpdateLongTermRetentionBackupParameters { + /** + * The storage redundancy type of the copied backup. Possible values include: 'Geo', 'Local', + * 'Zone' + */ + requestedBackupStorageRedundancy?: RequestedBackupStorageRedundancy; +} + +/** + * A long term retention backup. + */ +export interface LongTermRetentionBackup extends ProxyResource { + /** + * The server name that the backup database belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serverName?: string; + /** + * The create time of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serverCreateTime?: Date; + /** + * The name of the database the backup belong to + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseName?: string; + /** + * The delete time of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseDeletionTime?: Date; + /** + * The time the backup was taken + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly backupTime?: Date; + /** + * The time the long term retention backup will expire. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly backupExpirationTime?: Date; + /** + * The storage redundancy type of the backup. Possible values include: 'Geo', 'Local', 'Zone' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly backupStorageRedundancy?: BackupStorageRedundancy; + /** + * The storage redundancy type of the backup. Possible values include: 'Geo', 'Local', 'Zone' + */ + requestedBackupStorageRedundancy?: BackupStorageRedundancy; +} + +/** + * A long term retention policy. + */ +export interface LongTermRetentionPolicy extends ProxyResource { + /** + * The weekly retention policy for an LTR backup in an ISO 8601 format. + */ + weeklyRetention?: string; + /** + * The monthly retention policy for an LTR backup in an ISO 8601 format. + */ + monthlyRetention?: string; + /** + * The yearly retention policy for an LTR backup in an ISO 8601 format. + */ + yearlyRetention?: string; + /** + * The week of year to take the yearly backup in an ISO 8601 format. + */ + weekOfYear?: number; +} + +/** + * A private endpoint connection + */ +export interface PrivateEndpointConnection extends ProxyResource { + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: PrivateEndpointProperty; + /** + * Connection state of the private endpoint connection. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; + /** + * State of the private endpoint connection. Possible values include: 'Approving', 'Ready', + * 'Dropping', 'Failed', 'Rejecting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: PrivateEndpointProvisioningState; +} + +/** + * Optional Parameters. + */ +export interface DatabasesFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; +} + +/** + * Optional Parameters. + */ +export interface DatabasesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; +} + +/** + * Optional Parameters. + */ +export interface ElasticPoolsListByServerOptionalParams extends msRest.RequestOptionsBase { + /** + * The number of elements in the collection to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ElasticPoolsListByServerNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The number of elements in the collection to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface JobExecutionsListByAgentOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobExecutionsListByJobOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobExecutionsListByAgentNextOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobExecutionsListByJobNextOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobStepExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobStepExecutionsListByJobExecutionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobTargetExecutionsListByJobExecutionOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobTargetExecutionsListByStepOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobTargetExecutionsListByJobExecutionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface JobTargetExecutionsListByStepNextOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, only job executions created at or after the specified time are included. + */ + createTimeMin?: Date; + /** + * If specified, only job executions created before the specified time are included. + */ + createTimeMax?: Date; + /** + * If specified, only job executions completed at or after the specified time are included. + */ + endTimeMin?: Date; + /** + * If specified, only job executions completed before the specified time are included. + */ + endTimeMax?: Date; + /** + * If specified, only active or only completed job executions are included. + */ + isActive?: boolean; + /** + * The number of elements in the collection to skip. + */ + skip?: number; + /** + * The number of elements to return from the collection. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListCurrentByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstanceKeysListByInstanceOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstanceKeysListByInstanceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface UsagesListByInstancePoolOptionalParams extends msRest.RequestOptionsBase { + /** + * Optional request parameter to include managed instance usages within the instance pool. + */ + expandChildren?: boolean; +} + +/** + * Optional Parameters. + */ +export interface UsagesListByInstancePoolNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Optional request parameter to include managed instance usages within the instance pool. + */ + expandChildren?: boolean; +} + +/** + * Optional Parameters. + */ +export interface CapabilitiesListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * If specified, restricts the response to only include the selected item. Possible values + * include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' + */ + include?: CapabilityGroup; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface SyncGroupsListLogsOptionalParams extends msRest.RequestOptionsBase { + /** + * The continuation token for this operation. + */ + continuationToken?: string; +} + +/** + * Optional Parameters. + */ +export interface SyncGroupsListLogsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The continuation token for this operation. + */ + continuationToken?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstancesListByManagedInstanceOptionalParams extends msRest.RequestOptionsBase { + /** + * How many 'top queries' to return. Default is 5. + */ + numberOfQueries?: number; + /** + * Comma separated list of databases to be included into search. All DB's are included if this + * parameter is not specified. + */ + databases?: string; + /** + * Start time for observed period. + */ + startTime?: string; + /** + * End time for observed period. + */ + endTime?: string; + /** + * The time step to be used to summarize the metric values. Default value is PT1H. Possible + * values include: 'PT1H', 'P1D' + */ + interval?: QueryTimeGrainType; + /** + * Aggregation function to be used, default value is 'sum'. Possible values include: 'avg', + * 'min', 'max', 'stdev', 'sum' + */ + aggregationFunction?: AggregationFunctionType; + /** + * Metric to be used for ranking top queries. Default is 'cpu'. Possible values include: 'cpu', + * 'io', 'logIo', 'duration', 'dtu' + */ + observationMetric?: MetricType; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstancesFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstancesBeginFailoverOptionalParams extends msRest.RequestOptionsBase { + /** + * The type of replica to be failed over. Possible values include: 'Primary', 'ReadableSecondary' + */ + replicaType?: ReplicaType; +} + +/** + * Optional Parameters. + */ +export interface ManagedInstancesListByManagedInstanceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * How many 'top queries' to return. Default is 5. + */ + numberOfQueries?: number; + /** + * Comma separated list of databases to be included into search. All DB's are included if this + * parameter is not specified. + */ + databases?: string; + /** + * Start time for observed period. + */ + startTime?: string; + /** + * End time for observed period. + */ + endTime?: string; + /** + * The time step to be used to summarize the metric values. Default value is PT1H. Possible + * values include: 'PT1H', 'P1D' + */ + interval?: QueryTimeGrainType; + /** + * Aggregation function to be used, default value is 'sum'. Possible values include: 'avg', + * 'min', 'max', 'stdev', 'sum' + */ + aggregationFunction?: AggregationFunctionType; + /** + * Metric to be used for ranking top queries. Default is 'cpu'. Possible values include: 'cpu', + * 'io', 'logIo', 'duration', 'dtu' + */ + observationMetric?: MetricType; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByServerOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupLocationOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupServerOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByServerNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * Optional Parameters. + */ +export interface LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether or not to only get the latest backup for each database. + */ + onlyLatestPerDatabase?: boolean; + /** + * Whether to query against just live databases, just deleted databases, or all databases. + * Possible values include: 'All', 'Live', 'Deleted' + */ + databaseState?: DatabaseState; +} + +/** + * An interface representing SqlManagementClientOptions. + */ +export interface SqlManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * The response to a list recoverable databases request + * @extends Array + */ +export interface RecoverableDatabaseListResult extends Array { +} + +/** + * @interface + * The response to a list restorable dropped databases request + * @extends Array + */ +export interface RestorableDroppedDatabaseListResult extends Array { +} + +/** + * @interface + * The response to a list data masking rules request. + * @extends Array + */ +export interface DataMaskingRuleListResult extends Array { +} + +/** + * @interface + * Represents the response to a List Firewall Rules request. + * @extends Array + */ +export interface FirewallRuleListResult extends Array { +} + +/** + * @interface + * The response to a list geo backup policies request. + * @extends Array + */ +export interface GeoBackupPolicyListResult extends Array { +} + +/** + * @interface + * The response to a list database metrics request. + * @extends Array + */ +export interface MetricListResult extends Array { +} + +/** + * @interface + * The response to a list database metric definitions request. + * @extends Array + */ +export interface MetricDefinitionListResult extends Array { +} + +/** + * @interface + * A list of databases. + * @extends Array + */ +export interface DatabaseListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The result of an elastic pool list request. + * @extends Array + */ +export interface ElasticPoolListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Represents the response to a list recommended elastic pool request. + * @extends Array + */ +export interface RecommendedElasticPoolListResult extends Array { +} + +/** + * @interface + * Represents the response to a list recommended elastic pool metrics request. + * @extends Array + */ +export interface RecommendedElasticPoolListMetricsResult extends Array { +} + +/** + * @interface + * Represents the response to a List database replication link request. + * @extends Array + */ +export interface ReplicationLinkListResult extends Array { +} + +/** + * @interface + * A list of server communication links. + * @extends Array + */ +export interface ServerCommunicationLinkListResult extends Array { +} + +/** + * @interface + * Represents the response to a get database service objectives request. + * @extends Array + */ +export interface ServiceObjectiveListResult extends Array { +} + +/** + * @interface + * Represents the response to a list elastic pool activity request. + * @extends Array + */ +export interface ElasticPoolActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list elastic pool database activity request. + * @extends Array + */ +export interface ElasticPoolDatabaseActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list service tier advisor request. + * @extends Array + */ +export interface ServiceTierAdvisorListResult extends Array { +} + +/** + * @interface + * Represents the response to a list database transparent data encryption activity request. + * @extends Array + */ +export interface TransparentDataEncryptionActivityListResult extends Array { +} + +/** + * @interface + * Represents the response to a list server metrics request. + * @extends Array + */ +export interface ServerUsageListResult extends Array { +} + +/** + * @interface + * The response to a list database metrics request. + * @extends Array + */ +export interface DatabaseUsageListResult extends Array { +} + +/** + * @interface + * A list of server encryption protectors. + * @extends Array + */ +export interface EncryptionProtectorListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of failover groups. + * @extends Array + */ +export interface FailoverGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Result of the request to list SQL operations. + * @extends Array + */ +export interface OperationListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server keys. + * @extends Array + */ +export interface ServerKeyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync agents. + * @extends Array + */ +export interface SyncAgentListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync agent linked databases. + * @extends Array + */ +export interface SyncAgentLinkedDatabaseListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of subscription usage metrics in a location. + * @extends Array + */ +export interface SubscriptionUsageListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of virtual clusters. + * @extends Array + */ +export interface VirtualClusterListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of virtual network rules. + * @extends Array + */ +export interface VirtualNetworkRuleListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of database extended auditing settings. + * @extends Array + */ +export interface ExtendedDatabaseBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server extended auditing settings. + * @extends Array + */ +export interface ExtendedServerBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server auditing settings. + * @extends Array + */ +export interface ServerBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of database auditing settings. + * @extends Array + */ +export interface DatabaseBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the database's vulnerability assessments. + * @extends Array + */ +export interface DatabaseVulnerabilityAssessmentListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of Azure SQL job agents. + * @extends Array + */ +export interface JobAgentListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of job credentials. + * @extends Array + */ +export interface JobCredentialListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of job executions. + * @extends Array + */ +export interface JobExecutionListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of jobs. + * @extends Array + */ +export interface JobListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of job steps. + * @extends Array + */ +export interface JobStepListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of target groups. + * @extends Array + */ +export interface JobTargetGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of job versions. + * @extends Array + */ +export interface JobVersionListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of short term retention policies. + * @extends Array + */ +export interface ManagedBackupShortTermRetentionPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server DNS aliases. + * @extends Array + */ +export interface ServerDnsAliasListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the server's security alert policies. + * @extends Array + */ +export interface LogicalServerSecurityAlertPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of restorable dropped managed databases. + * @extends Array + */ +export interface RestorableDroppedManagedDatabaseListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of long term retention backups. + * @extends Array + */ +export interface RestorePointListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the managed database's security alert policies. + * @extends Array + */ +export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the managed Server's security alert policies. + * @extends Array + */ +export interface ManagedServerSecurityAlertPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sensitivity labels. + * @extends Array + */ +export interface SensitivityLabelListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed instance administrators. + * @extends Array + */ +export interface ManagedInstanceAdministratorListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list database operations request + * @extends Array + */ +export interface DatabaseOperationListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list elastic pool operations request + * @extends Array + */ +export interface ElasticPoolOperationListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of vulnerability assessment scan records. + * @extends Array + */ +export interface VulnerabilityAssessmentScanRecordListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of instance failover groups. + * @extends Array + */ +export interface InstanceFailoverGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed instance keys. + * @extends Array + */ +export interface ManagedInstanceKeyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed instance encryption protectors. + * @extends Array + */ +export interface ManagedInstanceEncryptionProtectorListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of recoverable managed databases. + * @extends Array + */ +export interface RecoverableManagedDatabaseListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of short term retention policies. + * @extends Array + */ +export interface BackupShortTermRetentionPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the ManagedInstance's vulnerability assessments. + * @extends Array + */ +export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the server's vulnerability assessments. + * @extends Array + */ +export interface ServerVulnerabilityAssessmentListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of Azure SQL instance pools. + * @extends Array + */ +export interface InstancePoolListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of usages. + * @extends Array + */ +export interface UsageListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of private link resources + * @extends Array + */ +export interface PrivateLinkResourceListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of servers. + * @extends Array + */ +export interface ServerListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of long term retention backups for managed database(s). + * @extends Array + */ +export interface ManagedInstanceLongTermRetentionBackupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of long term retention policies. + * @extends Array + */ +export interface ManagedInstanceLongTermRetentionPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of workload groups. + * @extends Array + */ +export interface WorkloadGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of workload classifiers for a workload group. + * @extends Array + */ +export interface WorkloadClassifierListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list managed instance operations request + * @extends Array + */ +export interface ManagedInstanceOperationListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of active directory administrators. + * @extends Array + */ +export interface AdministratorListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync database ID properties. + * @extends Array + */ +export interface SyncDatabaseIdListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync schema properties. + * @extends Array + */ +export interface SyncFullSchemaPropertiesListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync group log properties. + * @extends Array + */ +export interface SyncGroupLogListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of sync groups. + * @extends Array + */ +export interface SyncGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of Azure SQL Database sync members. + * @extends Array + */ +export interface SyncMemberListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed databases. + * @extends Array + */ +export interface ManagedDatabaseListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of active directory only authentications. + * @extends Array + */ +export interface AzureADOnlyAuthListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of managed instances. + * @extends Array + */ +export interface ManagedInstanceListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of top resource consuming queries on managed instance + * @extends Array + */ +export interface TopQueriesListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of active directory only authentications. + * @extends Array + */ +export interface ManagedInstanceAzureADOnlyAuthListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server trust groups. + * @extends Array + */ +export interface ServerTrustGroupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of server DevOps audit settings. + * @extends Array + */ +export interface ServerDevOpsAuditSettingsListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of long term retention backups. + * @extends Array + */ +export interface LongTermRetentionBackupListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of long term retention policies. + * @extends Array + */ +export interface LongTermRetentionPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of private endpoint connections. + * @extends Array + */ +export interface PrivateEndpointConnectionListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * Defines values for ServerConnectionType. + * Possible values include: 'Default', 'Proxy', 'Redirect' + * @readonly + * @enum {string} + */ +export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; + +/** + * Defines values for SecurityAlertPolicyState. + * Possible values include: 'New', 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; + +/** + * Defines values for SecurityAlertPolicyEmailAccountAdmins. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; + +/** + * Defines values for SecurityAlertPolicyUseServerDefault. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; + +/** + * Defines values for DataMaskingState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type DataMaskingState = 'Disabled' | 'Enabled'; + +/** + * Defines values for DataMaskingRuleState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type DataMaskingRuleState = 'Disabled' | 'Enabled'; + +/** + * Defines values for DataMaskingFunction. + * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + * @readonly + * @enum {string} + */ +export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; + +/** + * Defines values for GeoBackupPolicyState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; + +/** + * Defines values for UnitType. + * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', + * 'bytesPerSecond' + * @readonly + * @enum {string} + */ +export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; + +/** + * Defines values for PrimaryAggregationType. + * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' + * @readonly + * @enum {string} + */ +export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; + +/** + * Defines values for UnitDefinitionType. + * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', + * 'BytesPerSecond' + * @readonly + * @enum {string} + */ +export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; + +/** + * Defines values for ElasticPoolEdition. + * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' + * @readonly + * @enum {string} + */ +export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; + +/** + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * @readonly + * @enum {string} + */ +export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; + +/** + * Defines values for ReplicationState. + * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' + * @readonly + * @enum {string} + */ +export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; + +/** + * Defines values for RecommendedIndexAction. + * Possible values include: 'Create', 'Drop', 'Rebuild' + * @readonly + * @enum {string} + */ +export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; + +/** + * Defines values for RecommendedIndexState. + * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', + * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success' + * @readonly + * @enum {string} + */ +export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success'; + +/** + * Defines values for RecommendedIndexType. + * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' + * @readonly + * @enum {string} + */ +export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; + +/** + * Defines values for TransparentDataEncryptionStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for ServiceObjectiveName. + * Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', + * 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', + * 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', + * 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', + * 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', + * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', + * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool' + * @readonly + * @enum {string} + */ +export type ServiceObjectiveName = 'System' | 'System0' | 'System1' | 'System2' | 'System3' | 'System4' | 'System2L' | 'System3L' | 'System4L' | 'Free' | 'Basic' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S6' | 'S7' | 'S9' | 'S12' | 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P11' | 'P15' | 'PRS1' | 'PRS2' | 'PRS4' | 'PRS6' | 'DW100' | 'DW200' | 'DW300' | 'DW400' | 'DW500' | 'DW600' | 'DW1000' | 'DW1200' | 'DW1000c' | 'DW1500' | 'DW1500c' | 'DW2000' | 'DW2000c' | 'DW3000' | 'DW2500c' | 'DW3000c' | 'DW6000' | 'DW5000c' | 'DW6000c' | 'DW7500c' | 'DW10000c' | 'DW15000c' | 'DW30000c' | 'DS100' | 'DS200' | 'DS300' | 'DS400' | 'DS500' | 'DS600' | 'DS1000' | 'DS1200' | 'DS1500' | 'DS2000' | 'ElasticPool'; + +/** + * Defines values for TransparentDataEncryptionActivityStatus. + * Possible values include: 'Encrypting', 'Decrypting' + * @readonly + * @enum {string} + */ +export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; + +/** + * Defines values for AutomaticTuningMode. + * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' + * @readonly + * @enum {string} + */ +export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; + +/** + * Defines values for AutomaticTuningOptionModeDesired. + * Possible values include: 'Off', 'On', 'Default' + * @readonly + * @enum {string} + */ +export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; + +/** + * Defines values for AutomaticTuningOptionModeActual. + * Possible values include: 'Off', 'On' + * @readonly + * @enum {string} + */ +export type AutomaticTuningOptionModeActual = 'Off' | 'On'; + +/** + * Defines values for AutomaticTuningDisabledReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', + * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' + * @readonly + * @enum {string} + */ +export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; + +/** + * Defines values for ServerKeyType. + * Possible values include: 'ServiceManaged', 'AzureKeyVault' + * @readonly + * @enum {string} + */ +export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; + +/** + * Defines values for ReadWriteEndpointFailoverPolicy. + * Possible values include: 'Manual', 'Automatic' + * @readonly + * @enum {string} + */ +export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; + +/** + * Defines values for ReadOnlyEndpointFailoverPolicy. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; + +/** + * Defines values for FailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; + +/** + * Defines values for OperationOrigin. + * Possible values include: 'user', 'system' + * @readonly + * @enum {string} + */ +export type OperationOrigin = 'user' | 'system'; + +/** + * Defines values for SyncAgentState. + * Possible values include: 'Online', 'Offline', 'NeverConnected' + * @readonly + * @enum {string} + */ +export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; + +/** + * Defines values for SyncMemberDbType. + * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' + * @readonly + * @enum {string} + */ +export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; + +/** + * Defines values for VirtualNetworkRuleState. + * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' + * @readonly + * @enum {string} + */ +export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; + +/** + * Defines values for BlobAuditingPolicyState. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; + +/** + * Defines values for JobAgentState. + * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' + * @readonly + * @enum {string} + */ +export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; + +/** + * Defines values for JobExecutionLifecycle. + * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', + * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', + * 'Skipped' + * @readonly + * @enum {string} + */ +export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * @readonly + * @enum {string} */ -export interface MetricDefinitionListResult extends Array { -} +export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; /** - * @interface - * A list of databases. - * @extends Array + * Defines values for JobTargetType. + * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', + * 'SqlServer' + * @readonly + * @enum {string} */ -export interface DatabaseListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer'; /** - * @interface - * The result of an elastic pool list request. - * @extends Array + * Defines values for JobScheduleType. + * Possible values include: 'Once', 'Recurring' + * @readonly + * @enum {string} */ -export interface ElasticPoolListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type JobScheduleType = 'Once' | 'Recurring'; /** - * @interface - * Represents the response to a list recommended elastic pool request. - * @extends Array + * Defines values for JobStepActionType. + * Possible values include: 'TSql' + * @readonly + * @enum {string} */ -export interface RecommendedElasticPoolListResult extends Array { -} +export type JobStepActionType = 'TSql'; /** - * @interface - * Represents the response to a list recommended elastic pool metrics request. - * @extends Array + * Defines values for JobStepActionSource. + * Possible values include: 'Inline' + * @readonly + * @enum {string} */ -export interface RecommendedElasticPoolListMetricsResult extends Array { -} +export type JobStepActionSource = 'Inline'; /** - * @interface - * Represents the response to a List database replication link request. - * @extends Array + * Defines values for JobStepOutputType. + * Possible values include: 'SqlDatabase' + * @readonly + * @enum {string} */ -export interface ReplicationLinkListResult extends Array { -} +export type JobStepOutputType = 'SqlDatabase'; /** - * @interface - * The response to a list Active Directory Administrators request. - * @extends Array + * Defines values for JobTargetGroupMembershipType. + * Possible values include: 'Include', 'Exclude' + * @readonly + * @enum {string} */ -export interface ServerAdministratorListResult extends Array { -} +export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; /** - * @interface - * A list of server communication links. - * @extends Array + * Defines values for AutomaticTuningServerMode. + * Possible values include: 'Custom', 'Auto', 'Unspecified' + * @readonly + * @enum {string} */ -export interface ServerCommunicationLinkListResult extends Array { -} +export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; + +/** + * Defines values for AutomaticTuningServerReason. + * Possible values include: 'Default', 'Disabled', 'AutoConfigured' + * @readonly + * @enum {string} + */ +export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; + +/** + * Defines values for RestorePointType. + * Possible values include: 'CONTINUOUS', 'DISCRETE' + * @readonly + * @enum {string} + */ +export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; + +/** + * Defines values for SensitivityLabelRank. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + * @readonly + * @enum {string} + */ +export type SensitivityLabelRank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; + +/** + * Defines values for ManagementOperationState. + * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', + * 'Cancelled' + * @readonly + * @enum {string} + */ +export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; + +/** + * Defines values for VulnerabilityAssessmentScanTriggerType. + * Possible values include: 'OnDemand', 'Recurring' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; + +/** + * Defines values for VulnerabilityAssessmentScanState. + * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; + +/** + * Defines values for InstanceFailoverGroupReplicationRole. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; + +/** + * Defines values for InstancePoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} + */ +export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; + +/** + * Defines values for IdentityType. + * Possible values include: 'None', 'SystemAssigned', 'UserAssigned' + * @readonly + * @enum {string} + */ +export type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned'; + +/** + * Defines values for PrivateLinkServiceConnectionStateStatus. + * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type PrivateLinkServiceConnectionStateStatus = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected'; + +/** + * Defines values for PrivateLinkServiceConnectionStateActionsRequire. + * Possible values include: 'None' + * @readonly + * @enum {string} + */ +export type PrivateLinkServiceConnectionStateActionsRequire = 'None'; + +/** + * Defines values for PrivateEndpointProvisioningState. + * Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting' + * @readonly + * @enum {string} + */ +export type PrivateEndpointProvisioningState = 'Approving' | 'Ready' | 'Dropping' | 'Failed' | 'Rejecting'; + +/** + * Defines values for ServerPublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type ServerPublicNetworkAccess = 'Enabled' | 'Disabled'; + +/** + * Defines values for CheckNameAvailabilityReason. + * Possible values include: 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} + */ +export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; + +/** + * Defines values for MaxSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' + * @readonly + * @enum {string} + */ +export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; + +/** + * Defines values for LogSizeUnit. + * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' + * @readonly + * @enum {string} + */ +export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; + +/** + * Defines values for CapabilityStatus. + * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' + * @readonly + * @enum {string} + */ +export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; + +/** + * Defines values for PerformanceLevelUnit. + * Possible values include: 'DTU', 'VCores' + * @readonly + * @enum {string} + */ +export type PerformanceLevelUnit = 'DTU' | 'VCores'; + +/** + * Defines values for PauseDelayTimeUnit. + * Possible values include: 'Minutes' + * @readonly + * @enum {string} + */ +export type PauseDelayTimeUnit = 'Minutes'; + +/** + * Defines values for SyncGroupLogType. + * Possible values include: 'All', 'Error', 'Warning', 'Success' + * @readonly + * @enum {string} + */ +export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; + +/** + * Defines values for SyncConflictResolutionPolicy. + * Possible values include: 'HubWin', 'MemberWin' + * @readonly + * @enum {string} + */ +export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; + +/** + * Defines values for SyncGroupState. + * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' + * @readonly + * @enum {string} + */ +export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; + +/** + * Defines values for SyncDirection. + * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' + * @readonly + * @enum {string} + */ +export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; /** - * @interface - * Represents the response to a get database service objectives request. - * @extends Array + * Defines values for SyncMemberState. + * Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', + * 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', + * 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', + * 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', + * 'ReprovisionFailed', 'UnReprovisioned' + * @readonly + * @enum {string} */ -export interface ServiceObjectiveListResult extends Array { -} +export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; /** - * @interface - * Represents the response to a list elastic pool activity request. - * @extends Array + * Defines values for StorageKeyType. + * Possible values include: 'SharedAccessKey', 'StorageAccessKey' + * @readonly + * @enum {string} */ -export interface ElasticPoolActivityListResult extends Array { -} +export type StorageKeyType = 'SharedAccessKey' | 'StorageAccessKey'; /** - * @interface - * Represents the response to a list elastic pool database activity request. - * @extends Array + * Defines values for ManagedDatabaseStatus. + * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', + * 'Restoring', 'Updating' + * @readonly + * @enum {string} */ -export interface ElasticPoolDatabaseActivityListResult extends Array { -} +export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating'; /** - * @interface - * Represents the response to a list service tier advisor request. - * @extends Array + * Defines values for CatalogCollationType. + * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS' + * @readonly + * @enum {string} */ -export interface ServiceTierAdvisorListResult extends Array { -} +export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS'; /** - * @interface - * Represents the response to a list database transparent data encryption activity request. - * @extends Array + * Defines values for ManagedDatabaseCreateMode. + * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', + * 'RestoreLongTermRetentionBackup' + * @readonly + * @enum {string} */ -export interface TransparentDataEncryptionActivityListResult extends Array { -} +export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery' | 'RestoreLongTermRetentionBackup'; /** - * @interface - * Represents the response to a list server metrics request. - * @extends Array + * Defines values for ManagedServerCreateMode. + * Possible values include: 'Default', 'PointInTimeRestore' + * @readonly + * @enum {string} */ -export interface ServerUsageListResult extends Array { -} +export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; /** - * @interface - * The response to a list database metrics request. - * @extends Array + * Defines values for ManagedInstanceLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} */ -export interface DatabaseUsageListResult extends Array { -} +export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * @interface - * A list of server encryption protectors. - * @extends Array + * Defines values for ManagedInstanceProxyOverride. + * Possible values include: 'Proxy', 'Redirect', 'Default' + * @readonly + * @enum {string} */ -export interface EncryptionProtectorListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; /** - * @interface - * A list of failover groups. - * @extends Array + * Defines values for StorageAccountType. + * Possible values include: 'GRS', 'LRS', 'ZRS' + * @readonly + * @enum {string} */ -export interface FailoverGroupListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type StorageAccountType = 'GRS' | 'LRS' | 'ZRS'; /** - * @interface - * Result of the request to list SQL operations. - * @extends Array + * Defines values for QueryTimeGrainType. + * Possible values include: 'PT1H', 'P1D' + * @readonly + * @enum {string} */ -export interface OperationListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type QueryTimeGrainType = 'PT1H' | 'P1D'; /** - * @interface - * A list of server keys. - * @extends Array + * Defines values for QueryMetricUnitType. + * Possible values include: 'percentage', 'KB', 'microseconds', 'count' + * @readonly + * @enum {string} */ -export interface ServerKeyListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type QueryMetricUnitType = 'percentage' | 'KB' | 'microseconds' | 'count'; /** - * @interface - * A list of sync agents. - * @extends Array + * Defines values for ElasticPoolState. + * Possible values include: 'Creating', 'Ready', 'Disabled' + * @readonly + * @enum {string} */ -export interface SyncAgentListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; /** - * @interface - * A list of sync agent linked databases. - * @extends Array + * Defines values for ElasticPoolLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} */ -export interface SyncAgentLinkedDatabaseListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * @interface - * A list of sync database ID properties. - * @extends Array + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} */ -export interface SyncDatabaseIdListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; /** - * @interface - * A list of sync schema properties. - * @extends Array + * Defines values for CreateMode. + * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore', + * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', + * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' + * @readonly + * @enum {string} */ -export interface SyncFullSchemaPropertiesListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; /** - * @interface - * A list of sync group log properties. - * @extends Array + * Defines values for SampleName. + * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' + * @readonly + * @enum {string} */ -export interface SyncGroupLogListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; /** - * @interface - * A list of sync groups. - * @extends Array + * Defines values for DatabaseStatus. + * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', + * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', + * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling', + * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' + * @readonly + * @enum {string} */ -export interface SyncGroupListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled'; /** - * @interface - * A list of Azure SQL Database sync members. - * @extends Array + * Defines values for DatabaseLicenseType. + * Possible values include: 'LicenseIncluded', 'BasePrice' + * @readonly + * @enum {string} */ -export interface SyncMemberListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; /** - * @interface - * A list of subscription usage metrics in a location. - * @extends Array + * Defines values for DatabaseReadScale. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} */ -export interface SubscriptionUsageListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type DatabaseReadScale = 'Enabled' | 'Disabled'; /** - * @interface - * A list of virtual clusters. - * @extends Array + * Defines values for SecondaryType. + * Possible values include: 'Geo', 'Named' + * @readonly + * @enum {string} */ -export interface VirtualClusterListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type SecondaryType = 'Geo' | 'Named'; /** - * @interface - * A list of virtual network rules. - * @extends Array + * Defines values for CurrentBackupStorageRedundancy. + * Possible values include: 'Geo', 'Local', 'Zone' + * @readonly + * @enum {string} */ -export interface VirtualNetworkRuleListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type CurrentBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone'; /** - * @interface - * A list of server auditing settings. - * @extends Array + * Defines values for RequestedBackupStorageRedundancy. + * Possible values include: 'Geo', 'Local', 'Zone' + * @readonly + * @enum {string} */ -export interface ServerBlobAuditingPolicyListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type RequestedBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone'; /** - * @interface - * A list of database auditing settings. - * @extends Array + * Defines values for TargetBackupStorageRedundancy. + * Possible values include: 'Geo', 'Local', 'Zone' + * @readonly + * @enum {string} */ -export interface DatabaseBlobAuditingPolicyListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type TargetBackupStorageRedundancy = 'Geo' | 'Local' | 'Zone'; /** - * @interface - * A list of the database's vulnerability assessments. - * @extends Array + * Defines values for BackupStorageRedundancy. + * Possible values include: 'Geo', 'Local', 'Zone' + * @readonly + * @enum {string} */ -export interface DatabaseVulnerabilityAssessmentListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type BackupStorageRedundancy = 'Geo' | 'Local' | 'Zone'; /** - * @interface - * A list of Azure SQL job agents. - * @extends Array + * Defines values for VulnerabilityAssessmentPolicyBaselineName. + * Possible values include: 'master', 'default' + * @readonly + * @enum {string} */ -export interface JobAgentListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; /** - * @interface - * A list of job credentials. - * @extends Array + * Defines values for SensitivityLabelSource. + * Possible values include: 'current', 'recommended' + * @readonly + * @enum {string} */ -export interface JobCredentialListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type SensitivityLabelSource = 'current' | 'recommended'; /** - * @interface - * A list of job executions. - * @extends Array + * Defines values for CapabilityGroup. + * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', + * 'supportedManagedInstanceVersions', 'supportedInstancePoolEditions', + * 'supportedManagedInstanceEditions' + * @readonly + * @enum {string} */ -export interface JobExecutionListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions' | 'supportedInstancePoolEditions' | 'supportedManagedInstanceEditions'; /** - * @interface - * A list of jobs. - * @extends Array + * Defines values for DatabaseState. + * Possible values include: 'All', 'Live', 'Deleted' + * @readonly + * @enum {string} */ -export interface JobListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type DatabaseState = 'All' | 'Live' | 'Deleted'; /** - * @interface - * A list of job steps. - * @extends Array + * Defines values for AggregationFunctionType. + * Possible values include: 'avg', 'min', 'max', 'stdev', 'sum' + * @readonly + * @enum {string} */ -export interface JobStepListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type AggregationFunctionType = 'avg' | 'min' | 'max' | 'stdev' | 'sum'; /** - * @interface - * A list of target groups. - * @extends Array + * Defines values for MetricType. + * Possible values include: 'cpu', 'io', 'logIo', 'duration', 'dtu' + * @readonly + * @enum {string} */ -export interface JobTargetGroupListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type MetricType = 'cpu' | 'io' | 'logIo' | 'duration' | 'dtu'; /** - * @interface - * A list of job versions. - * @extends Array + * Defines values for ReplicaType. + * Possible values include: 'Primary', 'ReadableSecondary' + * @readonly + * @enum {string} */ -export interface JobVersionListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type ReplicaType = 'Primary' | 'ReadableSecondary'; /** - * @interface - * A list of long term retention backups. - * @extends Array + * Defines values for StorageAccountType1. + * Possible values include: 'GRS', 'LRS', 'ZRS' + * @readonly + * @enum {string} */ -export interface LongTermRetentionBackupListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type StorageAccountType1 = 'GRS' | 'LRS' | 'ZRS'; /** - * @interface - * A list of short term retention policies. - * @extends Array + * Defines values for Status. + * Possible values include: 'NotStarted', 'InProgress', 'SlowedDown', 'Completed', 'Failed', + * 'Canceled' + * @readonly + * @enum {string} */ -export interface ManagedBackupShortTermRetentionPolicyListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type Status = 'NotStarted' | 'InProgress' | 'SlowedDown' | 'Completed' | 'Failed' | 'Canceled'; /** - * @interface - * A list of server DNS aliases. - * @extends Array + * Defines values for ProvisioningState1. + * Possible values include: 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', 'Failed' + * @readonly + * @enum {string} */ -export interface ServerDnsAliasListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type ProvisioningState1 = 'Creating' | 'Deleting' | 'Updating' | 'Unknown' | 'Succeeded' | 'Failed'; /** - * @interface - * A list of the server's security alert policies. - * @extends Array + * Defines values for Type. + * Possible values include: 'All', 'Error', 'Warning', 'Success' + * @readonly + * @enum {string} */ -export interface LogicalServerSecurityAlertPolicyListResult extends Array { - /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type Type = 'All' | 'Error' | 'Warning' | 'Success'; /** - * @interface - * A list of restorable dropped managed databases. - * @extends Array + * Contains response data for the get operation. */ -export interface RestorableDroppedManagedDatabaseListResult extends Array { +export type RecoverableDatabasesGetResponse = RecoverableDatabase & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabase; + }; +}; /** - * @interface - * A list of long term retention backups. - * @extends Array + * Contains response data for the listByServer operation. */ -export interface RestorePointListResult extends Array { +export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableDatabaseListResult; + }; +}; /** - * @interface - * A list of the managed database's security alert policies. - * @extends Array + * Contains response data for the get operation. */ -export interface ManagedDatabaseSecurityAlertPolicyListResult extends Array { +export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedDatabase; + }; +}; /** - * @interface - * A list of the managed Server's security alert policies. - * @extends Array + * Contains response data for the listByServer operation. */ -export interface ManagedServerSecurityAlertPolicyListResult extends Array { +export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedDatabaseListResult; + }; +}; /** - * @interface - * A list of sensitivity labels. - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface SensitivityLabelListResult extends Array { +export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; /** - * @interface - * A list of managed instance administrators. - * @extends Array + * Contains response data for the get operation. */ -export interface ManagedInstanceAdministratorListResult extends Array { +export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerConnectionPolicy; + }; +}; /** - * @interface - * The response to a list database operations request - * @extends Array + * Contains response data for the get operation. */ -export interface DatabaseOperationListResult extends Array { +export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseSecurityAlertPolicy; + }; +}; /** - * @interface - * The response to a list elastic pool operations request - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface ElasticPoolOperationListResult extends Array { +export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseSecurityAlertPolicy; + }; +}; /** - * @interface - * A list of vulnerability assessment scan records. - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface VulnerabilityAssessmentScanRecordListResult extends Array { +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; /** - * @interface - * A list of instance failover groups. - * @extends Array + * Contains response data for the get operation. */ -export interface InstanceFailoverGroupListResult extends Array { +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; +}; /** - * @interface - * A list of short term retention policies. - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface BackupShortTermRetentionPolicyListResult extends Array { +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; +}; /** - * @interface - * A list of managed instance keys. - * @extends Array + * Contains response data for the listByDatabase operation. */ -export interface ManagedInstanceKeyListResult extends Array { +export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRuleListResult; + }; +}; /** - * @interface - * A list of managed instance encryption protectors. - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface ManagedInstanceEncryptionProtectorListResult extends Array { +export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: FirewallRule; + }; +}; /** - * @interface - * A list of recoverable managed databases. - * @extends Array + * Contains response data for the get operation. */ -export interface RecoverableManagedDatabaseListResult extends Array { +export type FirewallRulesGetResponse = FirewallRule & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: FirewallRule; + }; +}; /** - * @interface - * A list of the ManagedInstance's vulnerability assessments. - * @extends Array + * Contains response data for the listByServer operation. */ -export interface ManagedInstanceVulnerabilityAssessmentListResult extends Array { +export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: FirewallRuleListResult; + }; +}; /** - * @interface - * A list of the server's vulnerability assessments. - * @extends Array + * Contains response data for the createOrUpdate operation. */ -export interface ServerVulnerabilityAssessmentListResult extends Array { +export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicy; + }; +}; /** - * @interface - * A list of Azure SQL instance pools. - * @extends Array + * Contains response data for the get operation. */ -export interface InstancePoolListResult extends Array { +export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicy; + }; +}; /** - * @interface - * A list of usages. - * @extends Array + * Contains response data for the listByDatabase operation. */ -export interface UsageListResult extends Array { +export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicyListResult; + }; +}; /** - * @interface - * A list of managed instances. - * @extends Array + * Contains response data for the listMetrics operation. */ -export interface ManagedInstanceListResult extends Array { +export type DatabasesListMetricsResponse = MetricListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetricListResult; + }; +}; /** - * @interface - * A list of managed databases. - * @extends Array + * Contains response data for the listMetricDefinitions operation. */ -export interface ManagedDatabaseListResult extends Array { +export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetricDefinitionListResult; + }; +}; /** - * @interface - * A list of private endpoint connections. - * @extends Array + * Contains response data for the exportMethod operation. */ -export interface PrivateEndpointConnectionListResult extends Array { +export type DatabasesExportMethodResponse = ImportExportOperationResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ImportExportOperationResult; + }; +}; /** - * @interface - * A list of private link resources - * @extends Array + * Contains response data for the listByServer operation. */ -export interface PrivateLinkResourceListResult extends Array { +export type DatabasesListByServerResponse = DatabaseListResult & { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} - -/** - * Defines values for CheckNameAvailabilityReason. - * Possible values include: 'Invalid', 'AlreadyExists' - * @readonly - * @enum {string} - */ -export type CheckNameAvailabilityReason = 'Invalid' | 'AlreadyExists'; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ServerConnectionType. - * Possible values include: 'Default', 'Proxy', 'Redirect' - * @readonly - * @enum {string} - */ -export type ServerConnectionType = 'Default' | 'Proxy' | 'Redirect'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for SecurityAlertPolicyState. - * Possible values include: 'New', 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; +export type DatabasesGetResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SecurityAlertPolicyEmailAccountAdmins. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} - */ -export type SecurityAlertPolicyEmailAccountAdmins = 'Enabled' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for SecurityAlertPolicyUseServerDefault. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type SecurityAlertPolicyUseServerDefault = 'Enabled' | 'Disabled'; +export type DatabasesCreateOrUpdateResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DataMaskingState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type DataMaskingState = 'Disabled' | 'Enabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for DataMaskingRuleState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type DataMaskingRuleState = 'Disabled' | 'Enabled'; +export type DatabasesUpdateResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DataMaskingFunction. - * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' - * @readonly - * @enum {string} - */ -export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for GeoBackupPolicyState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPool operation. */ -export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; +export type DatabasesListByElasticPoolResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DatabaseEdition. - * Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', - * 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - * 'Hyperscale' - * @readonly - * @enum {string} - */ -export type DatabaseEdition = 'Web' | 'Business' | 'Basic' | 'Standard' | 'Premium' | 'PremiumRS' | 'Free' | 'Stretch' | 'DataWarehouse' | 'System' | 'System2' | 'GeneralPurpose' | 'BusinessCritical' | 'Hyperscale'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for ServiceObjectiveName. - * Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', - * 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', - * 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', - * 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', - * 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', - * 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', - * 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool' - * @readonly - * @enum {string} + * Contains response data for the pause operation. */ -export type ServiceObjectiveName = 'System' | 'System0' | 'System1' | 'System2' | 'System3' | 'System4' | 'System2L' | 'System3L' | 'System4L' | 'Free' | 'Basic' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S6' | 'S7' | 'S9' | 'S12' | 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P11' | 'P15' | 'PRS1' | 'PRS2' | 'PRS4' | 'PRS6' | 'DW100' | 'DW200' | 'DW300' | 'DW400' | 'DW500' | 'DW600' | 'DW1000' | 'DW1200' | 'DW1000c' | 'DW1500' | 'DW1500c' | 'DW2000' | 'DW2000c' | 'DW3000' | 'DW2500c' | 'DW3000c' | 'DW6000' | 'DW5000c' | 'DW6000c' | 'DW7500c' | 'DW10000c' | 'DW15000c' | 'DW30000c' | 'DS100' | 'DS200' | 'DS300' | 'DS400' | 'DS500' | 'DS600' | 'DS1000' | 'DS1200' | 'DS1500' | 'DS2000' | 'ElasticPool'; +export type DatabasesPauseResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for StorageKeyType. - * Possible values include: 'StorageAccessKey', 'SharedAccessKey' - * @readonly - * @enum {string} - */ -export type StorageKeyType = 'StorageAccessKey' | 'SharedAccessKey'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for AuthenticationType. - * Possible values include: 'SQL', 'ADPassword' - * @readonly - * @enum {string} + * Contains response data for the resume operation. */ -export type AuthenticationType = 'SQL' | 'ADPassword'; +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; + }; +}; /** - * Defines values for UnitType. - * Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', - * 'bytesPerSecond' - * @readonly - * @enum {string} + * Contains response data for the listInaccessibleByServer operation. */ -export type UnitType = 'count' | 'bytes' | 'seconds' | 'percent' | 'countPerSecond' | 'bytesPerSecond'; +export type DatabasesListInaccessibleByServerResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for PrimaryAggregationType. - * Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' - * @readonly - * @enum {string} + * Contains response data for the beginExportMethod operation. */ -export type PrimaryAggregationType = 'None' | 'Average' | 'Count' | 'Minimum' | 'Maximum' | 'Total'; +export type DatabasesBeginExportMethodResponse = ImportExportOperationResult & { + /** + * 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: ImportExportOperationResult; + }; +}; /** - * Defines values for UnitDefinitionType. - * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', - * 'BytesPerSecond' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type UnitDefinitionType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond'; +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; + }; +}; /** - * Defines values for ElasticPoolEdition. - * Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical' - * @readonly - * @enum {string} + * Contains response data for the beginUpdate operation. */ -export type ElasticPoolEdition = 'Basic' | 'Standard' | 'Premium' | 'GeneralPurpose' | 'BusinessCritical'; +export type DatabasesBeginUpdateResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for ReplicationRole. - * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' - * @readonly - * @enum {string} + * Contains response data for the beginPause operation. */ -export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; +export type DatabasesBeginPauseResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for ReplicationState. - * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' - * @readonly - * @enum {string} + * Contains response data for the beginResume operation. */ -export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; +export type DatabasesBeginResumeResponse = Database & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Database; + }; +}; /** - * Defines values for RecommendedIndexAction. - * Possible values include: 'Create', 'Drop', 'Rebuild' - * @readonly - * @enum {string} + * Contains response data for the listByServerNext operation. */ -export type RecommendedIndexAction = 'Create' | 'Drop' | 'Rebuild'; +export type DatabasesListByServerNextResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for RecommendedIndexState. - * Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'Pending Revert', - * 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Blocked', 'Success' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPoolNext operation. */ -export type RecommendedIndexState = 'Active' | 'Pending' | 'Executing' | 'Verifying' | 'Pending Revert' | 'Reverting' | 'Reverted' | 'Ignored' | 'Expired' | 'Blocked' | 'Success'; +export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RecommendedIndexType. - * Possible values include: 'CLUSTERED', 'NONCLUSTERED', 'COLUMNSTORE', 'CLUSTERED COLUMNSTORE' - * @readonly - * @enum {string} - */ -export type RecommendedIndexType = 'CLUSTERED' | 'NONCLUSTERED' | 'COLUMNSTORE' | 'CLUSTERED COLUMNSTORE'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for TransparentDataEncryptionStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the listInaccessibleByServerNext operation. */ -export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; +export type DatabasesListInaccessibleByServerNextResponse = DatabaseListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for TransparentDataEncryptionActivityStatus. - * Possible values include: 'Encrypting', 'Decrypting' - * @readonly - * @enum {string} - */ -export type TransparentDataEncryptionActivityStatus = 'Encrypting' | 'Decrypting'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseListResult; + }; +}; /** - * Defines values for AutomaticTuningMode. - * Possible values include: 'Inherit', 'Custom', 'Auto', 'Unspecified' - * @readonly - * @enum {string} + * Contains response data for the listMetrics operation. */ -export type AutomaticTuningMode = 'Inherit' | 'Custom' | 'Auto' | 'Unspecified'; +export type ElasticPoolsListMetricsResponse = MetricListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for AutomaticTuningOptionModeDesired. - * Possible values include: 'Off', 'On', 'Default' - * @readonly - * @enum {string} - */ -export type AutomaticTuningOptionModeDesired = 'Off' | 'On' | 'Default'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetricListResult; + }; +}; /** - * Defines values for AutomaticTuningOptionModeActual. - * Possible values include: 'Off', 'On' - * @readonly - * @enum {string} + * Contains response data for the listMetricDefinitions operation. */ -export type AutomaticTuningOptionModeActual = 'Off' | 'On'; +export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetricDefinitionListResult; + }; +}; /** - * Defines values for AutomaticTuningDisabledReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', - * 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type AutomaticTuningDisabledReason = 'Default' | 'Disabled' | 'AutoConfigured' | 'InheritedFromServer' | 'QueryStoreOff' | 'QueryStoreReadOnly' | 'NotSupported'; +export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ElasticPoolListResult; + }; +}; /** - * Defines values for ServerKeyType. - * Possible values include: 'ServiceManaged', 'AzureKeyVault' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; +export type ElasticPoolsGetResponse = ElasticPool & { + /** + * 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: ElasticPool; + }; +}; /** - * Defines values for ReadWriteEndpointFailoverPolicy. - * Possible values include: 'Manual', 'Automatic' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ReadWriteEndpointFailoverPolicy = 'Manual' | 'Automatic'; +export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { + /** + * 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: ElasticPool; + }; +}; /** - * Defines values for ReadOnlyEndpointFailoverPolicy. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type ReadOnlyEndpointFailoverPolicy = 'Disabled' | 'Enabled'; +export type ElasticPoolsUpdateResponse = ElasticPool & { + /** + * 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: ElasticPool; + }; +}; /** - * Defines values for FailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type FailoverGroupReplicationRole = 'Primary' | 'Secondary'; +export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { + /** + * 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: ElasticPool; + }; +}; /** - * Defines values for OperationOrigin. - * Possible values include: 'user', 'system' - * @readonly - * @enum {string} + * Contains response data for the beginUpdate operation. */ -export type OperationOrigin = 'user' | 'system'; +export type ElasticPoolsBeginUpdateResponse = ElasticPool & { + /** + * 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: ElasticPool; + }; +}; /** - * Defines values for IdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} + * Contains response data for the listByServerNext operation. */ -export type IdentityType = 'SystemAssigned'; +export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ElasticPoolListResult; + }; +}; /** - * Defines values for SyncAgentState. - * Possible values include: 'Online', 'Offline', 'NeverConnected' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SyncAgentState = 'Online' | 'Offline' | 'NeverConnected'; +export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncMemberDbType. - * Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase' - * @readonly - * @enum {string} - */ -export type SyncMemberDbType = 'AzureSqlDatabase' | 'SqlServerDatabase'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecommendedElasticPool; + }; +}; /** - * Defines values for SyncGroupLogType. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type SyncGroupLogType = 'All' | 'Error' | 'Warning' | 'Success'; +export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncConflictResolutionPolicy. - * Possible values include: 'HubWin', 'MemberWin' - * @readonly - * @enum {string} - */ -export type SyncConflictResolutionPolicy = 'HubWin' | 'MemberWin'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecommendedElasticPoolListResult; + }; +}; /** - * Defines values for SyncGroupState. - * Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good' - * @readonly - * @enum {string} + * Contains response data for the listMetrics operation. */ -export type SyncGroupState = 'NotReady' | 'Error' | 'Warning' | 'Progressing' | 'Good'; +export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SyncDirection. - * Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember' - * @readonly - * @enum {string} - */ -export type SyncDirection = 'Bidirectional' | 'OneWayMemberToHub' | 'OneWayHubToMember'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecommendedElasticPoolListMetricsResult; + }; +}; /** - * Defines values for SyncMemberState. - * Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', - * 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', - * 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', - * 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', - * 'ReprovisionFailed', 'UnReprovisioned' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SyncMemberState = 'SyncInProgress' | 'SyncSucceeded' | 'SyncFailed' | 'DisabledTombstoneCleanup' | 'DisabledBackupRestore' | 'SyncSucceededWithWarnings' | 'SyncCancelling' | 'SyncCancelled' | 'UnProvisioned' | 'Provisioning' | 'Provisioned' | 'ProvisionFailed' | 'DeProvisioning' | 'DeProvisioned' | 'DeProvisionFailed' | 'Reprovisioning' | 'ReprovisionFailed' | 'UnReprovisioned'; +export type ReplicationLinksGetResponse = ReplicationLink & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for VirtualNetworkRuleState. - * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' - * @readonly - * @enum {string} - */ -export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationLink; + }; +}; /** - * Defines values for BlobAuditingPolicyState. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the listByDatabase operation. */ -export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; +export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for JobAgentState. - * Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' - * @readonly - * @enum {string} - */ -export type JobAgentState = 'Creating' | 'Ready' | 'Updating' | 'Deleting' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationLinkListResult; + }; +}; /** - * Defines values for JobExecutionLifecycle. - * Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', - * 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', - * 'Skipped' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type JobExecutionLifecycle = 'Created' | 'InProgress' | 'WaitingForChildJobExecutions' | 'WaitingForRetry' | 'Succeeded' | 'SucceededWithSkipped' | 'Failed' | 'TimedOut' | 'Canceled' | 'Skipped'; +export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ProvisioningState. - * Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled' - * @readonly - * @enum {string} - */ -export type ProvisioningState = 'Created' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerCommunicationLink; + }; +}; /** - * Defines values for JobTargetType. - * Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', - * 'SqlServer' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type JobTargetType = 'TargetGroup' | 'SqlDatabase' | 'SqlElasticPool' | 'SqlShardMap' | 'SqlServer'; +export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for JobScheduleType. - * Possible values include: 'Once', 'Recurring' - * @readonly - * @enum {string} - */ -export type JobScheduleType = 'Once' | 'Recurring'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerCommunicationLink; + }; +}; /** - * Defines values for JobStepActionType. - * Possible values include: 'TSql' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type JobStepActionType = 'TSql'; +export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for JobStepActionSource. - * Possible values include: 'Inline' - * @readonly - * @enum {string} - */ -export type JobStepActionSource = 'Inline'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerCommunicationLinkListResult; + }; +}; /** - * Defines values for JobStepOutputType. - * Possible values include: 'SqlDatabase' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobStepOutputType = 'SqlDatabase'; +export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { + /** + * 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: ServerCommunicationLink; + }; +}; /** - * Defines values for JobTargetGroupMembershipType. - * Possible values include: 'Include', 'Exclude' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type JobTargetGroupMembershipType = 'Include' | 'Exclude'; +export type ServiceObjectivesGetResponse = ServiceObjective & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for AutomaticTuningServerMode. - * Possible values include: 'Custom', 'Auto', 'Unspecified' - * @readonly - * @enum {string} - */ -export type AutomaticTuningServerMode = 'Custom' | 'Auto' | 'Unspecified'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServiceObjective; + }; +}; /** - * Defines values for AutomaticTuningServerReason. - * Possible values include: 'Default', 'Disabled', 'AutoConfigured' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type AutomaticTuningServerReason = 'Default' | 'Disabled' | 'AutoConfigured'; +export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RestorePointType. - * Possible values include: 'CONTINUOUS', 'DISCRETE' - * @readonly - * @enum {string} - */ -export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServiceObjectiveListResult; + }; +}; /** - * Defines values for ManagementOperationState. - * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', - * 'Cancelled' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPool operation. */ -export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; +export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for MaxSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes' - * @readonly - * @enum {string} - */ -export type MaxSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ElasticPoolActivityListResult; + }; +}; /** - * Defines values for LogSizeUnit. - * Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes', 'Percent' - * @readonly - * @enum {string} + * Contains response data for the listByElasticPool operation. */ -export type LogSizeUnit = 'Megabytes' | 'Gigabytes' | 'Terabytes' | 'Petabytes' | 'Percent'; +export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for CapabilityStatus. - * Possible values include: 'Visible', 'Available', 'Default', 'Disabled' - * @readonly - * @enum {string} - */ -export type CapabilityStatus = 'Visible' | 'Available' | 'Default' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ElasticPoolDatabaseActivityListResult; + }; +}; /** - * Defines values for PerformanceLevelUnit. - * Possible values include: 'DTU', 'VCores' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type PerformanceLevelUnit = 'DTU' | 'VCores'; +export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for CreateMode. - * Possible values include: 'Default', 'Copy', 'Secondary', 'PointInTimeRestore', 'Restore', - * 'Recovery', 'RestoreExternalBackup', 'RestoreExternalBackupSecondary', - * 'RestoreLongTermRetentionBackup', 'OnlineSecondary' - * @readonly - * @enum {string} - */ -export type CreateMode = 'Default' | 'Copy' | 'Secondary' | 'PointInTimeRestore' | 'Restore' | 'Recovery' | 'RestoreExternalBackup' | 'RestoreExternalBackupSecondary' | 'RestoreLongTermRetentionBackup' | 'OnlineSecondary'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServiceTierAdvisor; + }; +}; /** - * Defines values for SampleName. - * Possible values include: 'AdventureWorksLT', 'WideWorldImportersStd', 'WideWorldImportersFull' - * @readonly - * @enum {string} + * Contains response data for the listByDatabase operation. */ -export type SampleName = 'AdventureWorksLT' | 'WideWorldImportersStd' | 'WideWorldImportersFull'; +export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DatabaseStatus. - * Possible values include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', - * 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', - * 'Inaccessible', 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling', - * 'OfflineChangingDwPerformanceTiers', 'OnlineChangingDwPerformanceTiers', 'Disabled' - * @readonly - * @enum {string} - */ -export type DatabaseStatus = 'Online' | 'Restoring' | 'RecoveryPending' | 'Recovering' | 'Suspect' | 'Offline' | 'Standby' | 'Shutdown' | 'EmergencyMode' | 'AutoClosed' | 'Copying' | 'Creating' | 'Inaccessible' | 'OfflineSecondary' | 'Pausing' | 'Paused' | 'Resuming' | 'Scaling' | 'OfflineChangingDwPerformanceTiers' | 'OnlineChangingDwPerformanceTiers' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServiceTierAdvisorListResult; + }; +}; /** - * Defines values for CatalogCollationType. - * Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type CatalogCollationType = 'DATABASE_DEFAULT' | 'SQL_Latin1_General_CP1_CI_AS'; +export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for DatabaseLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} - */ -export type DatabaseLicenseType = 'LicenseIncluded' | 'BasePrice'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryption; + }; +}; /** - * Defines values for DatabaseReadScale. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type DatabaseReadScale = 'Enabled' | 'Disabled'; +export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ElasticPoolState. - * Possible values include: 'Creating', 'Ready', 'Disabled' - * @readonly - * @enum {string} - */ -export type ElasticPoolState = 'Creating' | 'Ready' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryption; + }; +}; /** - * Defines values for ElasticPoolLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} + * Contains response data for the listByConfiguration operation. */ -export type ElasticPoolLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for VulnerabilityAssessmentScanTriggerType. - * Possible values include: 'OnDemand', 'Recurring' - * @readonly - * @enum {string} - */ -export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryptionActivityListResult; + }; +}; /** - * Defines values for VulnerabilityAssessmentScanState. - * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; +export type ServerUsagesListByServerResponse = ServerUsageListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for InstanceFailoverGroupReplicationRole. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} - */ -export type InstanceFailoverGroupReplicationRole = 'Primary' | 'Secondary'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerUsageListResult; + }; +}; /** - * Defines values for InstancePoolLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} + * Contains response data for the listByDatabase operation. */ -export type InstancePoolLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ManagedServerCreateMode. - * Possible values include: 'Default', 'PointInTimeRestore' - * @readonly - * @enum {string} - */ -export type ManagedServerCreateMode = 'Default' | 'PointInTimeRestore'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseUsageListResult; + }; +}; /** - * Defines values for ManagedInstanceLicenseType. - * Possible values include: 'LicenseIncluded', 'BasePrice' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ManagedInstanceLicenseType = 'LicenseIncluded' | 'BasePrice'; +export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ManagedInstanceProxyOverride. - * Possible values include: 'Proxy', 'Redirect', 'Default' - * @readonly - * @enum {string} - */ -export type ManagedInstanceProxyOverride = 'Proxy' | 'Redirect' | 'Default'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseAutomaticTuning; + }; +}; /** - * Defines values for ManagedDatabaseStatus. - * Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', - * 'Restoring', 'Updating' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type ManagedDatabaseStatus = 'Online' | 'Offline' | 'Shutdown' | 'Creating' | 'Inaccessible' | 'Restoring' | 'Updating'; +export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ManagedDatabaseCreateMode. - * Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery' - * @readonly - * @enum {string} - */ -export type ManagedDatabaseCreateMode = 'Default' | 'RestoreExternalBackup' | 'PointInTimeRestore' | 'Recovery'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatabaseAutomaticTuning; + }; +}; /** - * Defines values for LongTermRetentionDatabaseState. - * Possible values include: 'All', 'Live', 'Deleted' - * @readonly - * @enum {string} + * Contains response data for the listByServer operation. */ -export type LongTermRetentionDatabaseState = 'All' | 'Live' | 'Deleted'; +export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for VulnerabilityAssessmentPolicyBaselineName. - * Possible values include: 'master', 'default' - * @readonly - * @enum {string} - */ -export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtectorListResult; + }; +}; /** - * Defines values for SensitivityLabelSource. - * Possible values include: 'current', 'recommended' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SensitivityLabelSource = 'current' | 'recommended'; +export type EncryptionProtectorsGetResponse = EncryptionProtector & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for CapabilityGroup. - * Possible values include: 'supportedEditions', 'supportedElasticPoolEditions', - * 'supportedManagedInstanceVersions' - * @readonly - * @enum {string} - */ -export type CapabilityGroup = 'supportedEditions' | 'supportedElasticPoolEditions' | 'supportedManagedInstanceVersions'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtector; + }; +}; /** - * Defines values for ReplicaType. - * Possible values include: 'Primary', 'ReadableSecondary' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ReplicaType = 'Primary' | 'ReadableSecondary'; +export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { + /** + * 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: EncryptionProtector; + }; +}; /** - * Defines values for Type. - * Possible values include: 'All', 'Error', 'Warning', 'Success' - * @readonly - * @enum {string} + * Contains response data for the beginCreateOrUpdate operation. */ -export type Type = 'All' | 'Error' | 'Warning' | 'Success'; +export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { + /** + * 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: EncryptionProtector; + }; +}; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type RecoverableDatabasesGetResponse = RecoverableDatabase & { +export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -7683,14 +11422,14 @@ export type RecoverableDatabasesGetResponse = RecoverableDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabase; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListResult & { +export type FailoverGroupsGetResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7703,14 +11442,14 @@ export type RecoverableDatabasesListByServerResponse = RecoverableDatabaseListRe /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableDatabaseListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & { +export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7723,14 +11462,14 @@ export type RestorableDroppedDatabasesGetResponse = RestorableDroppedDatabase & /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabase; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDatabaseListResult & { +export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7743,14 +11482,14 @@ export type RestorableDroppedDatabasesListByServerResponse = RestorableDroppedDa /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedDatabaseListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the listByServer operation. */ -export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { +export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -7763,14 +11502,14 @@ export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse /** * The response body as parsed JSON or XML */ - parsedBody: CheckNameAvailabilityResponse; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the failover operation. */ -export type ServersListResponse = ServerListResult & { +export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7783,14 +11522,14 @@ export type ServersListResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type ServersListByResourceGroupResponse = ServerListResult & { +export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7803,14 +11542,14 @@ export type ServersListByResourceGroupResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServersGetResponse = Server & { +export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7823,14 +11562,14 @@ export type ServersGetResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type ServersCreateOrUpdateResponse = Server & { +export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7843,14 +11582,14 @@ export type ServersCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginFailover operation. */ -export type ServersUpdateResponse = Server & { +export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7863,14 +11602,14 @@ export type ServersUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type ServersBeginCreateOrUpdateResponse = Server & { +export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The underlying HTTP response. */ @@ -7883,14 +11622,14 @@ export type ServersBeginCreateOrUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FailoverGroup; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ServersBeginUpdateResponse = Server & { +export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -7903,14 +11642,14 @@ export type ServersBeginUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FailoverGroupListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type ServersListNextResponse = ServerListResult & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -7923,14 +11662,14 @@ export type ServersListNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listNext operation. */ -export type ServersListByResourceGroupNextResponse = ServerListResult & { +export type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -7943,14 +11682,14 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPolicy & { +export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -7963,14 +11702,14 @@ export type ServerConnectionPoliciesCreateOrUpdateResponse = ServerConnectionPol /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ServerKeyListResult; }; }; /** * Contains response data for the get operation. */ -export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { +export type ServerKeysGetResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -7983,14 +11722,14 @@ export type ServerConnectionPoliciesGetResponse = ServerConnectionPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerConnectionPolicy; + parsedBody: ServerKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPolicy & { +export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8003,14 +11742,14 @@ export type DatabaseThreatDetectionPoliciesGetResponse = DatabaseSecurityAlertPo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ServerKey; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecurityAlertPolicy & { +export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The underlying HTTP response. */ @@ -8023,14 +11762,14 @@ export type DatabaseThreatDetectionPoliciesCreateOrUpdateResponse = DatabaseSecu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseSecurityAlertPolicy; + parsedBody: ServerKey; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { +export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The underlying HTTP response. */ @@ -8043,14 +11782,14 @@ export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: ServerKeyListResult; }; }; /** * Contains response data for the get operation. */ -export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { +export type SyncAgentsGetResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8063,14 +11802,14 @@ export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingPolicy; + parsedBody: SyncAgent; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { +export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8083,14 +11822,14 @@ export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRule; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByServer operation. */ -export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & { +export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8103,14 +11842,14 @@ export type DataMaskingRulesListByDatabaseResponse = DataMaskingRuleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: DataMaskingRuleListResult; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the generateKey operation. */ -export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { +export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The underlying HTTP response. */ @@ -8123,14 +11862,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: SyncAgentKeyProperties; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listLinkedDatabases operation. */ -export type FirewallRulesGetResponse = FirewallRule & { +export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8143,14 +11882,14 @@ export type FirewallRulesGetResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FirewallRulesListByServerResponse = FirewallRuleListResult & { +export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The underlying HTTP response. */ @@ -8163,14 +11902,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: SyncAgent; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { +export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The underlying HTTP response. */ @@ -8183,14 +11922,14 @@ export type GeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: SyncAgentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listLinkedDatabasesNext operation. */ -export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -8203,14 +11942,14 @@ export type GeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: SyncAgentLinkedDatabaseListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByLocation operation. */ -export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult & { +export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -8223,14 +11962,14 @@ export type GeoBackupPoliciesListByDatabaseResponse = GeoBackupPolicyListResult /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicyListResult; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the importMethod operation. + * Contains response data for the get operation. */ -export type DatabasesImportMethodResponse = ImportExportResponse & { +export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The underlying HTTP response. */ @@ -8243,14 +11982,14 @@ export type DatabasesImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: SubscriptionUsage; }; }; /** - * Contains response data for the createImportOperation operation. + * Contains response data for the listByLocationNext operation. */ -export type DatabasesCreateImportOperationResponse = ImportExportResponse & { +export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { /** * The underlying HTTP response. */ @@ -8263,14 +12002,14 @@ export type DatabasesCreateImportOperationResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: SubscriptionUsageListResult; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the list operation. */ -export type DatabasesExportMethodResponse = ImportExportResponse & { +export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8283,14 +12022,14 @@ export type DatabasesExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listByResourceGroup operation. */ -export type DatabasesListMetricsResponse = MetricListResult & { +export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8303,14 +12042,14 @@ export type DatabasesListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the get operation. */ -export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type VirtualClustersGetResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8323,14 +12062,14 @@ export type DatabasesListMetricDefinitionsResponse = MetricDefinitionListResult /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type DatabasesListByServerResponse = DatabaseListResult & { +export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8343,14 +12082,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type DatabasesGetResponse = Database & { +export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The underlying HTTP response. */ @@ -8363,14 +12102,14 @@ export type DatabasesGetResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: VirtualCluster; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type DatabasesCreateOrUpdateResponse = Database & { +export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8383,14 +12122,14 @@ export type DatabasesCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type DatabasesUpdateResponse = Database & { +export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { /** * The underlying HTTP response. */ @@ -8403,14 +12142,14 @@ export type DatabasesUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: VirtualClusterListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the get operation. */ -export type DatabasesListByElasticPoolResponse = DatabaseListResult & { +export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -8423,14 +12162,14 @@ export type DatabasesListByElasticPoolResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesPauseResponse = Database & { +export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -8443,14 +12182,14 @@ export type DatabasesPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the listByServer operation. */ -export type DatabasesResumeResponse = Database & { +export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -8463,14 +12202,14 @@ export type DatabasesResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the beginImportMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabasesBeginImportMethodResponse = ImportExportResponse & { +export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { /** * The underlying HTTP response. */ @@ -8483,14 +12222,14 @@ export type DatabasesBeginImportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: VirtualNetworkRule; }; }; /** - * Contains response data for the beginCreateImportOperation operation. + * Contains response data for the listByServerNext operation. */ -export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & { +export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { /** * The underlying HTTP response. */ @@ -8503,14 +12242,14 @@ export type DatabasesBeginCreateImportOperationResponse = ImportExportResponse & /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: VirtualNetworkRuleListResult; }; }; /** - * Contains response data for the beginExportMethod operation. + * Contains response data for the get operation. */ -export type DatabasesBeginExportMethodResponse = ImportExportResponse & { +export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8523,14 +12262,14 @@ export type DatabasesBeginExportMethodResponse = ImportExportResponse & { /** * The response body as parsed JSON or XML */ - parsedBody: ImportExportResponse; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesBeginCreateOrUpdateResponse = Database & { +export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8543,14 +12282,14 @@ export type DatabasesBeginCreateOrUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ExtendedDatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type DatabasesBeginUpdateResponse = Database & { +export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseResponse = ExtendedDatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8563,14 +12302,14 @@ export type DatabasesBeginUpdateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the listByDatabaseNext operation. */ -export type DatabasesBeginPauseResponse = Database & { +export type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseNextResponse = ExtendedDatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8583,14 +12322,14 @@ export type DatabasesBeginPauseResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ExtendedDatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the get operation. */ -export type DatabasesBeginResumeResponse = Database & { +export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8603,14 +12342,14 @@ export type DatabasesBeginResumeResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8623,14 +12362,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the listByServer operation. */ -export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { +export type ExtendedServerBlobAuditingPoliciesListByServerResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8643,14 +12382,14 @@ export type DatabasesListByElasticPoolNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolsListMetricsResponse = MetricListResult & { +export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8663,14 +12402,14 @@ export type ElasticPoolsListMetricsResponse = MetricListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: MetricListResult; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResult & { +export type ExtendedServerBlobAuditingPoliciesListByServerNextResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8683,14 +12422,14 @@ export type ElasticPoolsListMetricDefinitionsResponse = MetricDefinitionListResu /** * The response body as parsed JSON or XML */ - parsedBody: MetricDefinitionListResult; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { +export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8703,14 +12442,14 @@ export type ElasticPoolsListByServerResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolsGetResponse = ElasticPool & { +export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8723,14 +12462,14 @@ export type ElasticPoolsGetResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { +export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8743,14 +12482,14 @@ export type ElasticPoolsCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ElasticPoolsUpdateResponse = ElasticPool & { +export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8763,14 +12502,14 @@ export type ElasticPoolsUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { +export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8783,14 +12522,14 @@ export type ElasticPoolsBeginCreateOrUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ElasticPoolsBeginUpdateResponse = ElasticPool & { +export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8803,14 +12542,14 @@ export type ElasticPoolsBeginUpdateResponse = ElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPool; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { +export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -8823,14 +12562,14 @@ export type ElasticPoolsListByServerNextResponse = ElasticPoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolListResult; + parsedBody: DatabaseBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { +export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8843,14 +12582,14 @@ export type RecommendedElasticPoolsGetResponse = RecommendedElasticPool & { /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPool; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabaseNext operation. */ -export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPoolListResult & { +export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -8863,14 +12602,14 @@ export type RecommendedElasticPoolsListByServerResponse = RecommendedElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListResult; + parsedBody: DatabaseBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the get operation. */ -export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolListMetricsResult & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -8883,14 +12622,14 @@ export type RecommendedElasticPoolsListMetricsResponse = RecommendedElasticPoolL /** * The response body as parsed JSON or XML */ - parsedBody: RecommendedElasticPoolListMetricsResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ReplicationLinksGetResponse = ReplicationLink & { +export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -8903,14 +12642,14 @@ export type ReplicationLinksGetResponse = ReplicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLink; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & { +export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -8923,14 +12662,14 @@ export type ReplicationLinksListByDatabaseResponse = ReplicationLinkListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -8943,14 +12682,14 @@ export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdm /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the listByDatabase operation. */ -export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdministrator & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -8963,14 +12702,14 @@ export type ServerAzureADAdministratorsDeleteMethodResponse = ServerAzureADAdmin /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { +export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -8983,14 +12722,14 @@ export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** * Contains response data for the listByServer operation. */ -export type ServerAzureADAdministratorsListByServerResponse = ServerAdministratorListResult & { +export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -9003,14 +12742,14 @@ export type ServerAzureADAdministratorsListByServerResponse = ServerAdministrato /** * The response body as parsed JSON or XML */ - parsedBody: ServerAdministratorListResult; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { +export type JobAgentsGetResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9023,14 +12762,14 @@ export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzure /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: JobAgent; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureADAdministrator & { +export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9043,14 +12782,14 @@ export type ServerAzureADAdministratorsBeginDeleteMethodResponse = ServerAzureAD /** * The response body as parsed JSON or XML */ - parsedBody: ServerAzureADAdministrator; + parsedBody: JobAgent; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { +export type JobAgentsUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9063,14 +12802,14 @@ export type ServerCommunicationLinksGetResponse = ServerCommunicationLink & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: JobAgent; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunicationLink & { +export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9083,14 +12822,14 @@ export type ServerCommunicationLinksCreateOrUpdateResponse = ServerCommunication /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: JobAgent; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginUpdate operation. */ -export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLinkListResult & { +export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The underlying HTTP response. */ @@ -9103,14 +12842,14 @@ export type ServerCommunicationLinksListByServerResponse = ServerCommunicationLi /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLinkListResult; + parsedBody: JobAgent; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunicationLink & { +export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The underlying HTTP response. */ @@ -9123,14 +12862,14 @@ export type ServerCommunicationLinksBeginCreateOrUpdateResponse = ServerCommunic /** * The response body as parsed JSON or XML */ - parsedBody: ServerCommunicationLink; + parsedBody: JobAgentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgent operation. */ -export type ServiceObjectivesGetResponse = ServiceObjective & { +export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -9143,14 +12882,14 @@ export type ServiceObjectivesGetResponse = ServiceObjective & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjective; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & { +export type JobCredentialsGetResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -9163,14 +12902,14 @@ export type ServiceObjectivesListByServerResponse = ServiceObjectiveListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ServiceObjectiveListResult; + parsedBody: JobCredential; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivityListResult & { +export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The underlying HTTP response. */ @@ -9183,14 +12922,14 @@ export type ElasticPoolActivitiesListByElasticPoolResponse = ElasticPoolActivity /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolActivityListResult; + parsedBody: JobCredential; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the listByAgentNext operation. */ -export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPoolDatabaseActivityListResult & { +export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The underlying HTTP response. */ @@ -9203,14 +12942,14 @@ export type ElasticPoolDatabaseActivitiesListByElasticPoolResponse = ElasticPool /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolDatabaseActivityListResult; + parsedBody: JobCredentialListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgent operation. */ -export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { +export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9223,14 +12962,14 @@ export type ServiceTierAdvisorsGetResponse = ServiceTierAdvisor & { /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisor; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the create operation. */ -export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListResult & { +export type JobExecutionsCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9243,14 +12982,14 @@ export type ServiceTierAdvisorsListByDatabaseResponse = ServiceTierAdvisorListRe /** * The response body as parsed JSON or XML */ - parsedBody: ServiceTierAdvisorListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJob operation. */ -export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9263,14 +13002,14 @@ export type TransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEn /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: JobExecutionListResult; }; }; /** * Contains response data for the get operation. */ -export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type JobExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9283,14 +13022,14 @@ export type TransparentDataEncryptionsGetResponse = TransparentDataEncryption & /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByConfiguration operation. + * Contains response data for the createOrUpdate operation. */ -export type TransparentDataEncryptionActivitiesListByConfigurationResponse = TransparentDataEncryptionActivityListResult & { +export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9303,14 +13042,14 @@ export type TransparentDataEncryptionActivitiesListByConfigurationResponse = Tra /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryptionActivityListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreate operation. */ -export type ServerUsagesListByServerResponse = ServerUsageListResult & { +export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9323,14 +13062,14 @@ export type ServerUsagesListByServerResponse = ServerUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerUsageListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { +export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9343,14 +13082,14 @@ export type DatabaseUsagesListByDatabaseResponse = DatabaseUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseUsageListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgentNext operation. */ -export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { +export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9363,14 +13102,14 @@ export type DatabaseAutomaticTuningGetResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByJobNext operation. */ -export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { +export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9383,14 +13122,14 @@ export type DatabaseAutomaticTuningUpdateResponse = DatabaseAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseAutomaticTuning; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByAgent operation. */ -export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListResult & { +export type JobsListByAgentResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -9403,14 +13142,14 @@ export type EncryptionProtectorsListByServerResponse = EncryptionProtectorListRe /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: JobListResult; }; }; /** * Contains response data for the get operation. */ -export type EncryptionProtectorsGetResponse = EncryptionProtector & { +export type JobsGetResponse = Job & { /** * The underlying HTTP response. */ @@ -9423,14 +13162,14 @@ export type EncryptionProtectorsGetResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: Job; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { +export type JobsCreateOrUpdateResponse = Job & { /** * The underlying HTTP response. */ @@ -9443,14 +13182,14 @@ export type EncryptionProtectorsCreateOrUpdateResponse = EncryptionProtector & { /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: Job; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByAgentNext operation. */ -export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtector & { +export type JobsListByAgentNextResponse = JobListResult & { /** * The underlying HTTP response. */ @@ -9463,14 +13202,14 @@ export type EncryptionProtectorsBeginCreateOrUpdateResponse = EncryptionProtecto /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtector; + parsedBody: JobListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByJobExecution operation. */ -export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorListResult & { +export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9483,14 +13222,14 @@ export type EncryptionProtectorsListByServerNextResponse = EncryptionProtectorLi /** * The response body as parsed JSON or XML */ - parsedBody: EncryptionProtectorListResult; + parsedBody: JobExecutionListResult; }; }; /** * Contains response data for the get operation. */ -export type FailoverGroupsGetResponse = FailoverGroup & { +export type JobStepExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9503,14 +13242,14 @@ export type FailoverGroupsGetResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobExecution; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { +export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9523,14 +13262,14 @@ export type FailoverGroupsCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByVersion operation. */ -export type FailoverGroupsUpdateResponse = FailoverGroup & { +export type JobStepsListByVersionResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -9543,14 +13282,14 @@ export type FailoverGroupsUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the getByVersion operation. */ -export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { +export type JobStepsGetByVersionResponse = JobStep & { /** * The underlying HTTP response. */ @@ -9563,14 +13302,14 @@ export type FailoverGroupsListByServerResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: JobStep; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the listByJob operation. */ -export type FailoverGroupsFailoverResponse = FailoverGroup & { +export type JobStepsListByJobResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -9583,14 +13322,14 @@ export type FailoverGroupsFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the get operation. */ -export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { +export type JobStepsGetResponse = JobStep & { /** * The underlying HTTP response. */ @@ -9603,14 +13342,14 @@ export type FailoverGroupsForceFailoverAllowDataLossResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStep; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { +export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The underlying HTTP response. */ @@ -9623,14 +13362,14 @@ export type FailoverGroupsBeginCreateOrUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStep; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByVersionNext operation. */ -export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { +export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -9643,14 +13382,14 @@ export type FailoverGroupsBeginUpdateResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the listByJobNext operation. */ -export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { +export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The underlying HTTP response. */ @@ -9663,14 +13402,14 @@ export type FailoverGroupsBeginFailoverResponse = FailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobStepListResult; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the listByJobExecution operation. */ -export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGroup & { +export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9683,14 +13422,14 @@ export type FailoverGroupsBeginForceFailoverAllowDataLossResponse = FailoverGrou /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroup; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByStep operation. */ -export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { +export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9703,14 +13442,14 @@ export type FailoverGroupsListByServerNextResponse = FailoverGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FailoverGroupListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type OperationsListResponse = OperationListResult & { +export type JobTargetExecutionsGetResponse = JobExecution & { /** * The underlying HTTP response. */ @@ -9723,14 +13462,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: JobExecution; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByJobExecutionNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9743,14 +13482,14 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByStepNext operation. */ -export type ServerKeysListByServerResponse = ServerKeyListResult & { +export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { /** * The underlying HTTP response. */ @@ -9763,14 +13502,14 @@ export type ServerKeysListByServerResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: JobExecutionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAgent operation. */ -export type ServerKeysGetResponse = ServerKey & { +export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -9783,14 +13522,14 @@ export type ServerKeysGetResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ServerKeysCreateOrUpdateResponse = ServerKey & { +export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -9803,14 +13542,14 @@ export type ServerKeysCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { +export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The underlying HTTP response. */ @@ -9823,14 +13562,14 @@ export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKey; + parsedBody: JobTargetGroup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByAgentNext operation. */ -export type ServerKeysListByServerNextResponse = ServerKeyListResult & { +export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { /** * The underlying HTTP response. */ @@ -9843,14 +13582,14 @@ export type ServerKeysListByServerNextResponse = ServerKeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerKeyListResult; + parsedBody: JobTargetGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByJob operation. */ -export type SyncAgentsGetResponse = SyncAgent & { +export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -9863,14 +13602,14 @@ export type SyncAgentsGetResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { +export type JobVersionsGetResponse = JobVersion & { /** * The underlying HTTP response. */ @@ -9883,14 +13622,14 @@ export type SyncAgentsCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: JobVersion; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByJobNext operation. */ -export type SyncAgentsListByServerResponse = SyncAgentListResult & { +export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The underlying HTTP response. */ @@ -9903,14 +13642,14 @@ export type SyncAgentsListByServerResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: JobVersionListResult; }; }; /** - * Contains response data for the generateKey operation. + * Contains response data for the get operation. */ -export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { +export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -9923,14 +13662,14 @@ export type SyncAgentsGenerateKeyResponse = SyncAgentKeyProperties & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentKeyProperties; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listLinkedDatabases operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListResult & { +export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -9943,14 +13682,14 @@ export type SyncAgentsListLinkedDatabasesResponse = SyncAgentLinkedDatabaseListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the update operation. */ -export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { +export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -9963,14 +13702,14 @@ export type SyncAgentsBeginCreateOrUpdateResponse = SyncAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgent; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByDatabase operation. */ -export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -9983,14 +13722,14 @@ export type SyncAgentsListByServerNextResponse = SyncAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listLinkedDatabasesNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10003,14 +13742,14 @@ export type SyncAgentsListLinkedDatabasesNextResponse = SyncAgentLinkedDatabaseL /** * The response body as parsed JSON or XML */ - parsedBody: SyncAgentLinkedDatabaseListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listSyncDatabaseIds operation. + * Contains response data for the beginUpdate operation. */ -export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { +export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10023,14 +13762,14 @@ export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listHubSchemas operation. + * Contains response data for the listByDatabaseNext operation. */ -export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -10043,14 +13782,14 @@ export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listLogs operation. + * Contains response data for the get operation. */ -export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10063,14 +13802,14 @@ export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsGetResponse = SyncGroup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10083,14 +13822,14 @@ export type SyncGroupsGetResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10103,14 +13842,14 @@ export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByRestorableDroppedDatabase operation. */ -export type SyncGroupsUpdateResponse = SyncGroup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -10123,14 +13862,14 @@ export type SyncGroupsUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10143,14 +13882,14 @@ export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -10163,14 +13902,14 @@ export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ManagedBackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByRestorableDroppedDatabaseNext operation. */ -export type SyncGroupsBeginUpdateResponse = SyncGroup & { +export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -10183,14 +13922,14 @@ export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroup; + parsedBody: ManagedBackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listSyncDatabaseIdsNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { +export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -10203,14 +13942,14 @@ export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult /** * The response body as parsed JSON or XML */ - parsedBody: SyncDatabaseIdListResult; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the listHubSchemasNext operation. + * Contains response data for the update operation. */ -export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The underlying HTTP response. */ @@ -10223,14 +13962,14 @@ export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: ServerAutomaticTuning; }; }; /** - * Contains response data for the listLogsNext operation. + * Contains response data for the get operation. */ -export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { +export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -10243,14 +13982,14 @@ export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupLogListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { +export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -10263,14 +14002,14 @@ export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncGroupListResult; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type SyncMembersGetResponse = SyncMember & { +export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -10283,14 +14022,14 @@ export type SyncMembersGetResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncMembersCreateOrUpdateResponse = SyncMember & { +export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The underlying HTTP response. */ @@ -10303,14 +14042,14 @@ export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: ServerDnsAlias; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByServerNext operation. */ -export type SyncMembersUpdateResponse = SyncMember & { +export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { /** * The underlying HTTP response. */ @@ -10323,14 +14062,14 @@ export type SyncMembersUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: ServerDnsAliasListResult; }; }; /** - * Contains response data for the listBySyncGroup operation. + * Contains response data for the get operation. */ -export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { +export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10343,14 +14082,14 @@ export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listMemberSchemas operation. + * Contains response data for the createOrUpdate operation. */ -export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { +export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10363,14 +14102,14 @@ export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListR /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { +export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10383,14 +14122,14 @@ export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SyncMembersBeginUpdateResponse = SyncMember & { +export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10403,14 +14142,14 @@ export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMember; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listBySyncGroupNext operation. + * Contains response data for the listByServerNext operation. */ -export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { +export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10423,14 +14162,14 @@ export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SyncMemberListResult; + parsedBody: LogicalServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listMemberSchemasNext operation. + * Contains response data for the listByInstance operation. */ -export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { +export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -10443,14 +14182,14 @@ export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesL /** * The response body as parsed JSON or XML */ - parsedBody: SyncFullSchemaPropertiesListResult; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the get operation. */ -export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResult & { +export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { /** * The underlying HTTP response. */ @@ -10463,14 +14202,14 @@ export type SubscriptionUsagesListByLocationResponse = SubscriptionUsageListResu /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: RestorableDroppedManagedDatabase; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type SubscriptionUsagesGetResponse = SubscriptionUsage & { +export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -10483,14 +14222,14 @@ export type SubscriptionUsagesGetResponse = SubscriptionUsage & { /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsage; + parsedBody: RestorableDroppedManagedDatabaseListResult; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the listByDatabase operation. */ -export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageListResult & { +export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The underlying HTTP response. */ @@ -10503,14 +14242,14 @@ export type SubscriptionUsagesListByLocationNextResponse = SubscriptionUsageList /** * The response body as parsed JSON or XML */ - parsedBody: SubscriptionUsageListResult; + parsedBody: RestorePointListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type VirtualClustersListResponse = VirtualClusterListResult & { +export type RestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -10523,14 +14262,14 @@ export type VirtualClustersListResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResult & { +export type RestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -10543,14 +14282,14 @@ export type VirtualClustersListByResourceGroupResponse = VirtualClusterListResul /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type VirtualClustersGetResponse = VirtualCluster & { +export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ @@ -10563,14 +14302,14 @@ export type VirtualClustersGetResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: RestorePoint; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type VirtualClustersUpdateResponse = VirtualCluster & { +export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10583,14 +14322,14 @@ export type VirtualClustersUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type VirtualClustersBeginUpdateResponse = VirtualCluster & { +export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10603,14 +14342,14 @@ export type VirtualClustersBeginUpdateResponse = VirtualCluster & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualCluster; + parsedBody: ManagedDatabaseSecurityAlertPolicy; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByDatabase operation. */ -export type VirtualClustersListNextResponse = VirtualClusterListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10623,14 +14362,14 @@ export type VirtualClustersListNextResponse = VirtualClusterListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListResult & { +export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10643,14 +14382,14 @@ export type VirtualClustersListByResourceGroupNextResponse = VirtualClusterListR /** * The response body as parsed JSON or XML */ - parsedBody: VirtualClusterListResult; + parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { +export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10663,14 +14402,14 @@ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { +export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10683,14 +14422,14 @@ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & { /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByInstance operation. */ -export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10703,14 +14442,14 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & { +export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -10723,14 +14462,14 @@ export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRule; + parsedBody: ManagedServerSecurityAlertPolicy; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByInstanceNext operation. */ -export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & { +export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -10743,14 +14482,14 @@ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleList /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkRuleListResult; + parsedBody: ManagedServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -10763,14 +14502,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesGetResponse = ExtendedDatabaseBl /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedDatabaseBlobAuditingPolicy & { +export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -10783,14 +14522,14 @@ export type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateResponse = Extende /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedDatabaseBlobAuditingPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** * Contains response data for the get operation. */ -export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -10803,14 +14542,14 @@ export type ExtendedServerBlobAuditingPoliciesGetResponse = ExtendedServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: SensitivityLabel; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -10823,14 +14562,14 @@ export type ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedS /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -10843,14 +14582,14 @@ export type ExtendedServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = Exte /** * The response body as parsed JSON or XML */ - parsedBody: ExtendedServerBlobAuditingPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -10863,14 +14602,14 @@ export type ServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -10883,14 +14622,14 @@ export type ServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditin /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the get operation. */ -export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingPolicyListResult & { +export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -10903,14 +14642,14 @@ export type ServerBlobAuditingPoliciesListByServerResponse = ServerBlobAuditingP /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -10923,14 +14662,14 @@ export type ServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAu /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicy; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAuditingPolicyListResult & { +export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { /** * The underlying HTTP response. */ @@ -10943,14 +14682,14 @@ export type ServerBlobAuditingPoliciesListByServerNextResponse = ServerBlobAudit /** * The response body as parsed JSON or XML */ - parsedBody: ServerBlobAuditingPolicyListResult; + parsedBody: ManagedInstanceAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy & { +export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { /** * The underlying HTTP response. */ @@ -10963,14 +14702,14 @@ export type DatabaseBlobAuditingPoliciesGetResponse = DatabaseBlobAuditingPolicy /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: ManagedInstanceAdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAuditingPolicy & { +export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -10983,14 +14722,14 @@ export type DatabaseBlobAuditingPoliciesCreateOrUpdateResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicy; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAuditingPolicyListResult & { +export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { /** * The underlying HTTP response. */ @@ -11003,14 +14742,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseResponse = DatabaseBlobAud /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: DatabaseOperationListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByElasticPool operation. */ -export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlobAuditingPolicyListResult & { +export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -11023,14 +14762,14 @@ export type DatabaseBlobAuditingPoliciesListByDatabaseNextResponse = DatabaseBlo /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseBlobAuditingPolicyListResult; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByElasticPoolNext operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { /** * The underlying HTTP response. */ @@ -11043,14 +14782,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: ElasticPoolOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabase operation. */ -export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -11063,14 +14802,14 @@ export type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -11083,14 +14822,14 @@ export type DatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the exportMethod operation. */ -export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -11103,14 +14842,14 @@ export type DatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -11123,14 +14862,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVul /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the get operation. */ -export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -11143,14 +14882,14 @@ export type DatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = Databas /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type JobAgentsListByServerResponse = JobAgentListResult & { +export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -11163,14 +14902,14 @@ export type JobAgentsListByServerResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type JobAgentsGetResponse = JobAgent & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -11183,14 +14922,14 @@ export type JobAgentsGetResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobAgentsCreateOrUpdateResponse = JobAgent & { +export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -11203,14 +14942,14 @@ export type JobAgentsCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the update operation. + * Contains response data for the exportMethod operation. */ -export type JobAgentsUpdateResponse = JobAgent & { +export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -11223,14 +14962,14 @@ export type JobAgentsUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: DatabaseVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { +export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -11243,14 +14982,14 @@ export type JobAgentsBeginCreateOrUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type JobAgentsBeginUpdateResponse = JobAgent & { +export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -11263,14 +15002,14 @@ export type JobAgentsBeginUpdateResponse = JobAgent & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgent; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobAgentsListByServerNextResponse = JobAgentListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -11283,14 +15022,14 @@ export type JobAgentsListByServerNextResponse = JobAgentListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobAgentListResult; + parsedBody: DatabaseVulnerabilityAssessment; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByDatabase operation. */ -export type JobCredentialsListByAgentResponse = JobCredentialListResult & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -11303,14 +15042,14 @@ export type JobCredentialsListByAgentResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobCredentialsGetResponse = JobCredential & { +export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -11323,14 +15062,14 @@ export type JobCredentialsGetResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: DatabaseVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobCredentialsCreateOrUpdateResponse = JobCredential & { +export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11343,14 +15082,14 @@ export type JobCredentialsCreateOrUpdateResponse = JobCredential & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredential; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { +export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11363,14 +15102,14 @@ export type JobCredentialsListByAgentNextResponse = JobCredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobCredentialListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the listByLocation operation. */ -export type JobExecutionsListByAgentResponse = JobExecutionListResult & { +export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -11383,14 +15122,14 @@ export type JobExecutionsListByAgentResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the failover operation. */ -export type JobExecutionsCreateResponse = JobExecution & { +export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11403,14 +15142,14 @@ export type JobExecutionsCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the forceFailoverAllowDataLoss operation. */ -export type JobExecutionsListByJobResponse = JobExecutionListResult & { +export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11423,14 +15162,14 @@ export type JobExecutionsListByJobResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobExecutionsGetResponse = JobExecution & { +export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11443,14 +15182,14 @@ export type JobExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginFailover operation. */ -export type JobExecutionsCreateOrUpdateResponse = JobExecution & { +export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11463,14 +15202,14 @@ export type JobExecutionsCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the beginForceFailoverAllowDataLoss operation. */ -export type JobExecutionsBeginCreateResponse = JobExecution & { +export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { /** * The underlying HTTP response. */ @@ -11483,14 +15222,14 @@ export type JobExecutionsBeginCreateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: InstanceFailoverGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByLocationNext operation. */ -export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { +export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { /** * The underlying HTTP response. */ @@ -11503,14 +15242,14 @@ export type JobExecutionsBeginCreateOrUpdateResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: InstanceFailoverGroupListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByInstance operation. */ -export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { +export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -11523,14 +15262,14 @@ export type JobExecutionsListByAgentNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the get operation. */ -export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { +export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -11543,14 +15282,14 @@ export type JobExecutionsListByJobNextResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the createOrUpdate operation. */ -export type JobsListByAgentResponse = JobListResult & { +export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -11563,14 +15302,14 @@ export type JobsListByAgentResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobsGetResponse = Job & { +export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { /** * The underlying HTTP response. */ @@ -11583,14 +15322,14 @@ export type JobsGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedInstanceKey; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobsCreateOrUpdateResponse = Job & { +export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { /** * The underlying HTTP response. */ @@ -11603,14 +15342,14 @@ export type JobsCreateOrUpdateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: ManagedInstanceKeyListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the listByInstance operation. */ -export type JobsListByAgentNextResponse = JobListResult & { +export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -11623,14 +15362,14 @@ export type JobsListByAgentNextResponse = JobListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResult; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the get operation. */ -export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -11643,14 +15382,14 @@ export type JobStepExecutionsListByJobExecutionResponse = JobExecutionListResult /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepExecutionsGetResponse = JobExecution & { +export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -11663,14 +15402,14 @@ export type JobStepExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { /** * The underlying HTTP response. */ @@ -11683,14 +15422,14 @@ export type JobStepExecutionsListByJobExecutionNextResponse = JobExecutionListRe /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceEncryptionProtector; }; }; /** - * Contains response data for the listByVersion operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobStepsListByVersionResponse = JobStepListResult & { +export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -11703,14 +15442,14 @@ export type JobStepsListByVersionResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: ManagedInstanceEncryptionProtectorListResult; }; }; /** - * Contains response data for the getByVersion operation. + * Contains response data for the listByInstance operation. */ -export type JobStepsGetByVersionResponse = JobStep & { +export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11723,14 +15462,14 @@ export type JobStepsGetByVersionResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the get operation. */ -export type JobStepsListByJobResponse = JobStepListResult & { +export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { /** * The underlying HTTP response. */ @@ -11743,14 +15482,14 @@ export type JobStepsListByJobResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: RecoverableManagedDatabase; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobStepsGetResponse = JobStep & { +export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -11763,14 +15502,14 @@ export type JobStepsGetResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: RecoverableManagedDatabaseListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type JobStepsCreateOrUpdateResponse = JobStep & { +export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11783,14 +15522,14 @@ export type JobStepsCreateOrUpdateResponse = JobStep & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStep; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByVersionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStepsListByVersionNextResponse = JobStepListResult & { +export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11803,14 +15542,14 @@ export type JobStepsListByVersionNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the update operation. */ -export type JobStepsListByJobNextResponse = JobStepListResult & { +export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11823,14 +15562,14 @@ export type JobStepsListByJobNextResponse = JobStepListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStepListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobExecution operation. + * Contains response data for the listByDatabase operation. */ -export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResult & { +export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11843,14 +15582,14 @@ export type JobTargetExecutionsListByJobExecutionResponse = JobExecutionListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByStep operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { +export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11863,14 +15602,14 @@ export type JobTargetExecutionsListByStepResponse = JobExecutionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type JobTargetExecutionsGetResponse = JobExecution & { +export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -11883,14 +15622,14 @@ export type JobTargetExecutionsGetResponse = JobExecution & { /** * The response body as parsed JSON or XML */ - parsedBody: JobExecution; + parsedBody: BackupShortTermRetentionPolicy; }; }; /** - * Contains response data for the listByJobExecutionNext operation. + * Contains response data for the listByDatabaseNext operation. */ -export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionListResult & { +export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -11903,14 +15642,14 @@ export type JobTargetExecutionsListByJobExecutionNextResponse = JobExecutionList /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: BackupShortTermRetentionPolicyListResult; }; }; /** - * Contains response data for the listByStepNext operation. + * Contains response data for the get operation. */ -export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & { +export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -11923,14 +15662,14 @@ export type JobTargetExecutionsListByStepNextResponse = JobExecutionListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobExecutionListResult; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the listByAgent operation. + * Contains response data for the createOrUpdate operation. */ -export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { +export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -11943,14 +15682,14 @@ export type JobTargetGroupsListByAgentResponse = JobTargetGroupListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ManagedInstanceVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstance operation. */ -export type JobTargetGroupsGetResponse = JobTargetGroup & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -11963,14 +15702,14 @@ export type JobTargetGroupsGetResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { +export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -11983,14 +15722,14 @@ export type JobTargetGroupsCreateOrUpdateResponse = JobTargetGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroup; + parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByAgentNext operation. + * Contains response data for the get operation. */ -export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & { +export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12003,14 +15742,14 @@ export type JobTargetGroupsListByAgentNextResponse = JobTargetGroupListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobTargetGroupListResult; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the createOrUpdate operation. */ -export type JobVersionsListByJobResponse = JobVersionListResult & { +export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -12023,14 +15762,14 @@ export type JobVersionsListByJobResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type JobVersionsGetResponse = JobVersion & { +export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12043,14 +15782,14 @@ export type JobVersionsGetResponse = JobVersion & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersion; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByServerNext operation. */ -export type JobVersionsListByJobNextResponse = JobVersionListResult & { +export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -12063,14 +15802,14 @@ export type JobVersionsListByJobNextResponse = JobVersionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobVersionListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the getByResourceGroup operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { +export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12083,14 +15822,14 @@ export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByResourceGroupDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ @@ -12103,14 +15842,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: SensitivityLabel; }; }; /** - * Contains response data for the listByResourceGroupLocation operation. + * Contains response data for the listCurrentByDatabase operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12123,14 +15862,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTe /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByResourceGroupServer operation. + * Contains response data for the listRecommendedByDatabase operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12143,14 +15882,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTerm /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listCurrentByDatabaseNext operation. */ -export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { +export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12163,14 +15902,14 @@ export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackup; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listRecommendedByDatabaseNext operation. */ -export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { +export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ @@ -12183,14 +15922,14 @@ export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: SensitivityLabelListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the get operation. */ -export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsGetResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -12203,14 +15942,14 @@ export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBa /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the createOrUpdate operation. */ -export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -12223,14 +15962,14 @@ export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBack /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByResourceGroupDatabaseNext operation. + * Contains response data for the update operation. */ -export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -12243,14 +15982,14 @@ export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByResourceGroupLocationNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -12263,14 +16002,14 @@ export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = Lo /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByResourceGroupServerNext operation. + * Contains response data for the list operation. */ -export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsListResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -12283,14 +16022,14 @@ export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = Long /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -12303,14 +16042,14 @@ export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the beginUpdate operation. */ -export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The underlying HTTP response. */ @@ -12323,14 +16062,14 @@ export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePool; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { +export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -12343,14 +16082,14 @@ export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: LongTermRetentionBackupListResult; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetentionPolicy & { +export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The underlying HTTP response. */ @@ -12363,14 +16102,14 @@ export type BackupLongTermRetentionPoliciesGetResponse = BackupLongTermRetention /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: InstancePoolListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstancePool operation. */ -export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -12383,14 +16122,14 @@ export type BackupLongTermRetentionPoliciesCreateOrUpdateResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTermRetentionPolicy & { +export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -12403,14 +16142,14 @@ export type BackupLongTermRetentionPoliciesListByDatabaseResponse = BackupLongTe /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupLongTermRetentionPolicy & { +export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -12423,14 +16162,14 @@ export type BackupLongTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupL /** * The response body as parsed JSON or XML */ - parsedBody: BackupLongTermRetentionPolicy; + parsedBody: PrivateLinkResourceListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ @@ -12443,14 +16182,14 @@ export type ManagedBackupShortTermRetentionPoliciesGetResponse = ManagedBackupSh /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: PrivateLinkResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -12463,14 +16202,14 @@ export type ManagedBackupShortTermRetentionPoliciesCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersListByResourceGroupResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -12483,14 +16222,14 @@ export type ManagedBackupShortTermRetentionPoliciesUpdateResponse = ManagedBacku /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServersGetResponse = Server & { /** * The underlying HTTP response. */ @@ -12503,14 +16242,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: Server; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -12523,14 +16262,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: Server; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the update operation. */ -export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -12543,14 +16282,14 @@ export type ManagedBackupShortTermRetentionPoliciesBeginUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: Server; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the list operation. */ -export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServersListResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -12563,14 +16302,14 @@ export type ManagedBackupShortTermRetentionPoliciesListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the checkNameAvailability operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { /** * The underlying HTTP response. */ @@ -12583,14 +16322,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetR /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: CheckNameAvailabilityResponse; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the importDatabase operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersImportDatabaseResponse = ImportExportOperationResult & { /** * The underlying HTTP response. */ @@ -12603,14 +16342,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCrea /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ImportExportOperationResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersBeginCreateOrUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -12623,14 +16362,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpda /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: Server; }; }; /** - * Contains response data for the listByRestorableDroppedDatabase operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServersBeginUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -12643,14 +16382,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: Server; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginImportDatabase operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersBeginImportDatabaseResponse = ImportExportOperationResult & { /** * The underlying HTTP response. */ @@ -12663,14 +16402,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ImportExportOperationResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBeginUpdateResponse = ManagedBackupShortTermRetentionPolicy & { +export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -12683,14 +16422,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesBegi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicy; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByRestorableDroppedDatabaseNext operation. + * Contains response data for the listNext operation. */ -export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseNextResponse = ManagedBackupShortTermRetentionPolicyListResult & { +export type ServersListNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -12703,14 +16442,14 @@ export type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedBackupShortTermRetentionPolicyListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByLocation operation. */ -export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { +export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The underlying HTTP response. */ @@ -12723,14 +16462,14 @@ export type ServerAutomaticTuningGetResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: LocationCapabilities; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { +export type LongTermRetentionManagedInstanceBackupsGetResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -12743,14 +16482,14 @@ export type ServerAutomaticTuningUpdateResponse = ServerAutomaticTuning & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerAutomaticTuning; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type ServerDnsAliasesGetResponse = ServerDnsAlias & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12763,14 +16502,14 @@ export type ServerDnsAliasesGetResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12783,14 +16522,14 @@ export type ServerDnsAliasesCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByLocation operation. */ -export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { +export type LongTermRetentionManagedInstanceBackupsListByLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12803,14 +16542,14 @@ export type ServerDnsAliasesListByServerResponse = ServerDnsAliasListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the getByResourceGroup operation. */ -export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { +export type LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse = ManagedInstanceLongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -12823,14 +16562,14 @@ export type ServerDnsAliasesBeginCreateOrUpdateResponse = ServerDnsAlias & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAlias; + parsedBody: ManagedInstanceLongTermRetentionBackup; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12843,14 +16582,14 @@ export type ServerDnsAliasesListByServerNextResponse = ServerDnsAliasListResult /** * The response body as parsed JSON or XML */ - parsedBody: ServerDnsAliasListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupInstance operation. */ -export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12863,14 +16602,14 @@ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12883,14 +16622,14 @@ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAl /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecurityAlertPolicyListResult & { +export type LongTermRetentionManagedInstanceBackupsListByDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12903,14 +16642,14 @@ export type ServerSecurityAlertPoliciesListByServerResponse = LogicalServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstanceNext operation. */ -export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type LongTermRetentionManagedInstanceBackupsListByInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12923,14 +16662,14 @@ export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecur /** * The response body as parsed JSON or XML */ - parsedBody: ServerSecurityAlertPolicy; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByLocationNext operation. */ -export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerSecurityAlertPolicyListResult & { +export type LongTermRetentionManagedInstanceBackupsListByLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12943,14 +16682,14 @@ export type ServerSecurityAlertPoliciesListByServerNextResponse = LogicalServerS /** * The response body as parsed JSON or XML */ - parsedBody: LogicalServerSecurityAlertPolicyListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceResponse = RestorableDroppedManagedDatabaseListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12963,14 +16702,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceResponse = Restorable /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupInstanceNext operation. */ -export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedManagedDatabase & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -12983,14 +16722,14 @@ export type RestorableDroppedManagedDatabasesGetResponse = RestorableDroppedMana /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabase; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = RestorableDroppedManagedDatabaseListResult & { +export type LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextResponse = ManagedInstanceLongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -13003,14 +16742,14 @@ export type RestorableDroppedManagedDatabasesListByInstanceNextResponse = Restor /** * The response body as parsed JSON or XML */ - parsedBody: RestorableDroppedManagedDatabaseListResult; + parsedBody: ManagedInstanceLongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the get operation. */ -export type RestorePointsListByDatabaseResponse = RestorePointListResult & { +export type ManagedInstanceLongTermRetentionPoliciesGetResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13023,14 +16762,14 @@ export type RestorePointsListByDatabaseResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type RestorePointsCreateResponse = RestorePoint & { +export type ManagedInstanceLongTermRetentionPoliciesCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13043,14 +16782,14 @@ export type RestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type RestorePointsGetResponse = RestorePoint & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13063,14 +16802,14 @@ export type RestorePointsGetResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type RestorePointsBeginCreateResponse = RestorePoint & { +export type ManagedInstanceLongTermRetentionPoliciesBeginCreateOrUpdateResponse = ManagedInstanceLongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -13083,14 +16822,14 @@ export type RestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: ManagedInstanceLongTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSecurityAlertPolicy & { +export type ManagedInstanceLongTermRetentionPoliciesListByDatabaseNextResponse = ManagedInstanceLongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -13103,14 +16842,14 @@ export type ManagedDatabaseSecurityAlertPoliciesGetResponse = ManagedDatabaseSec /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: ManagedInstanceLongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = ManagedDatabaseSecurityAlertPolicy & { +export type WorkloadGroupsGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -13123,14 +16862,14 @@ export type ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicy; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type WorkloadGroupsCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -13143,14 +16882,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseResponse = Managed /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listByDatabase operation. */ -export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = ManagedDatabaseSecurityAlertPolicyListResult & { +export type WorkloadGroupsListByDatabaseResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -13163,14 +16902,14 @@ export type ManagedDatabaseSecurityAlertPoliciesListByDatabaseNextResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseSecurityAlertPolicyListResult; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurityAlertPolicy & { +export type WorkloadGroupsBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -13183,14 +16922,14 @@ export type ManagedServerSecurityAlertPoliciesGetResponse = ManagedServerSecurit /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type WorkloadGroupsListByDatabaseNextResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -13203,14 +16942,14 @@ export type ManagedServerSecurityAlertPoliciesCreateOrUpdateResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the get operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedServerSecurityAlertPolicyListResult & { +export type WorkloadClassifiersGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -13223,14 +16962,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceResponse = ManagedSe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ManagedServerSecurityAlertPolicy & { +export type WorkloadClassifiersCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -13243,14 +16982,14 @@ export type ManagedServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicy; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByWorkloadGroup operation. */ -export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = ManagedServerSecurityAlertPolicyListResult & { +export type WorkloadClassifiersListByWorkloadGroupResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -13263,14 +17002,14 @@ export type ManagedServerSecurityAlertPoliciesListByInstanceNextResponse = Manag /** * The response body as parsed JSON or XML */ - parsedBody: ManagedServerSecurityAlertPolicyListResult; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type WorkloadClassifiersBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -13283,14 +17022,14 @@ export type SensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelLis /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the listByWorkloadGroupNext operation. */ -export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type WorkloadClassifiersListByWorkloadGroupNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -13303,14 +17042,14 @@ export type SensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByManagedInstance operation. */ -export type SensitivityLabelsGetResponse = SensitivityLabel & { +export type ManagedInstanceOperationsListByManagedInstanceResponse = ManagedInstanceOperationListResult & { /** * The underlying HTTP response. */ @@ -13323,14 +17062,14 @@ export type SensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceOperationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type ManagedInstanceOperationsGetResponse = ManagedInstanceOperation & { /** * The underlying HTTP response. */ @@ -13343,14 +17082,14 @@ export type SensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ManagedInstanceOperation; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the listByManagedInstanceNext operation. */ -export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type ManagedInstanceOperationsListByManagedInstanceNextResponse = ManagedInstanceOperationListResult & { /** * The underlying HTTP response. */ @@ -13363,14 +17102,14 @@ export type SensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ManagedInstanceOperationListResult; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the get operation. */ -export type SensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type ServerAzureADAdministratorsGetResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -13383,14 +17122,14 @@ export type SensitivityLabelsListRecommendedByDatabaseNextResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanceAdministratorListResult & { +export type ServerAzureADAdministratorsCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -13403,14 +17142,14 @@ export type ManagedInstanceAdministratorsListByInstanceResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministrator & { +export type ServerAzureADAdministratorsListByServerResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -13423,14 +17162,14 @@ export type ManagedInstanceAdministratorsGetResponse = ManagedInstanceAdministra /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ServerAzureADAdministratorsBeginCreateOrUpdateResponse = ServerAzureADAdministrator & { /** * The underlying HTTP response. */ @@ -13443,14 +17182,14 @@ export type ManagedInstanceAdministratorsCreateOrUpdateResponse = ManagedInstanc /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: ServerAzureADAdministrator; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedInstanceAdministrator & { +export type ServerAzureADAdministratorsListByServerNextResponse = AdministratorListResult & { /** * The underlying HTTP response. */ @@ -13463,14 +17202,14 @@ export type ManagedInstanceAdministratorsBeginCreateOrUpdateResponse = ManagedIn /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministrator; + parsedBody: AdministratorListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listSyncDatabaseIds operation. */ -export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedInstanceAdministratorListResult & { +export type SyncGroupsListSyncDatabaseIdsResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -13483,14 +17222,14 @@ export type ManagedInstanceAdministratorsListByInstanceNextResponse = ManagedIns /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceAdministratorListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listHubSchemas operation. */ -export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResult & { +export type SyncGroupsListHubSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -13503,14 +17242,14 @@ export type DatabaseOperationsListByDatabaseResponse = DatabaseOperationListResu /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listLogs operation. */ -export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationListResult & { +export type SyncGroupsListLogsResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -13523,14 +17262,14 @@ export type DatabaseOperationsListByDatabaseNextResponse = DatabaseOperationList /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseOperationListResult; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the listByElasticPool operation. + * Contains response data for the get operation. */ -export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperationListResult & { +export type SyncGroupsGetResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -13543,14 +17282,14 @@ export type ElasticPoolOperationsListByElasticPoolResponse = ElasticPoolOperatio /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByElasticPoolNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOperationListResult & { +export type SyncGroupsCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -13563,14 +17302,14 @@ export type ElasticPoolOperationsListByElasticPoolNextResponse = ElasticPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: ElasticPoolOperationListResult; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the update operation. */ -export type CapabilitiesListByLocationResponse = LocationCapabilities & { +export type SyncGroupsUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -13583,14 +17322,14 @@ export type CapabilitiesListByLocationResponse = LocationCapabilities & { /** * The response body as parsed JSON or XML */ - parsedBody: LocationCapabilities; + parsedBody: SyncGroup; }; }; /** * Contains response data for the listByDatabase operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SyncGroupsListByDatabaseResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -13603,14 +17342,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseResponse = Vulnera /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SyncGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type SyncGroupsBeginCreateOrUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -13623,14 +17362,14 @@ export type DatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the beginUpdate operation. */ -export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type SyncGroupsBeginUpdateResponse = SyncGroup & { /** * The underlying HTTP response. */ @@ -13643,14 +17382,14 @@ export type DatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseV /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: SyncGroup; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the listSyncDatabaseIdsNext operation. */ -export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SyncGroupsListSyncDatabaseIdsNextResponse = SyncDatabaseIdListResult & { /** * The underlying HTTP response. */ @@ -13663,14 +17402,14 @@ export type DatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = Vul /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SyncDatabaseIdListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listHubSchemasNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type SyncGroupsListHubSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -13683,14 +17422,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetResponse = Dat /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listLogsNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = DatabaseVulnerabilityAssessmentRuleBaseline & { +export type SyncGroupsListLogsNextResponse = SyncGroupLogListResult & { /** * The underlying HTTP response. */ @@ -13703,14 +17442,14 @@ export type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateRes /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentRuleBaseline; + parsedBody: SyncGroupLogListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SyncGroupsListByDatabaseNextResponse = SyncGroupListResult & { /** * The underlying HTTP response. */ @@ -13723,14 +17462,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SyncGroupListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type SyncMembersGetResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -13743,14 +17482,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansGetResponse = Vulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecord; + parsedBody: SyncMember; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = DatabaseVulnerabilityAssessmentScansExport & { +export type SyncMembersCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -13763,14 +17502,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansExportMethodResponse = Da /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentScansExport; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the update operation. */ -export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SyncMembersUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -13783,14 +17522,14 @@ export type ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySyncGroup operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnerabilityAssessment & { +export type SyncMembersListBySyncGroupResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -13803,14 +17542,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsGetResponse = DatabaseVulnera /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMemberSchemas operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = DatabaseVulnerabilityAssessment & { +export type SyncMembersListMemberSchemasResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -13823,14 +17562,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessment; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = DatabaseVulnerabilityAssessmentListResult & { +export type SyncMembersBeginCreateOrUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -13843,14 +17582,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseResponse = Data /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = DatabaseVulnerabilityAssessmentListResult & { +export type SyncMembersBeginUpdateResponse = SyncMember & { /** * The underlying HTTP response. */ @@ -13863,14 +17602,14 @@ export type ManagedDatabaseVulnerabilityAssessmentsListByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseVulnerabilityAssessmentListResult; + parsedBody: SyncMember; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySyncGroupNext operation. */ -export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { +export type SyncMembersListBySyncGroupNextResponse = SyncMemberListResult & { /** * The underlying HTTP response. */ @@ -13883,14 +17622,14 @@ export type InstanceFailoverGroupsGetResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: SyncMemberListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listMemberSchemasNext operation. */ -export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup & { +export type SyncMembersListMemberSchemasNextResponse = SyncFullSchemaPropertiesListResult & { /** * The underlying HTTP response. */ @@ -13903,14 +17642,14 @@ export type InstanceFailoverGroupsCreateOrUpdateResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: SyncFullSchemaPropertiesListResult; }; }; /** - * Contains response data for the listByLocation operation. + * Contains response data for the importMethod operation. */ -export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroupListResult & { +export type ImportExportImportMethodResponse = ImportExportOperationResult & { /** * The underlying HTTP response. */ @@ -13923,14 +17662,14 @@ export type InstanceFailoverGroupsListByLocationResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ImportExportOperationResult; }; }; /** - * Contains response data for the failover operation. + * Contains response data for the beginImportMethod operation. */ -export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { +export type ImportExportBeginImportMethodResponse = ImportExportOperationResult & { /** * The underlying HTTP response. */ @@ -13943,14 +17682,14 @@ export type InstanceFailoverGroupsFailoverResponse = InstanceFailoverGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ImportExportOperationResult; }; }; /** - * Contains response data for the forceFailoverAllowDataLoss operation. + * Contains response data for the listByInstance operation. */ -export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -13963,14 +17702,14 @@ export type InstanceFailoverGroupsForceFailoverAllowDataLossResponse = InstanceF /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailoverGroup & { +export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -13983,14 +17722,14 @@ export type InstanceFailoverGroupsBeginCreateOrUpdateResponse = InstanceFailover /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the beginFailover operation. + * Contains response data for the createOrUpdate operation. */ -export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup & { +export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14003,14 +17742,14 @@ export type InstanceFailoverGroupsBeginFailoverResponse = InstanceFailoverGroup /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the beginForceFailoverAllowDataLoss operation. + * Contains response data for the update operation. */ -export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = InstanceFailoverGroup & { +export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14023,14 +17762,14 @@ export type InstanceFailoverGroupsBeginForceFailoverAllowDataLossResponse = Inst /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroup; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the listByLocationNext operation. + * Contains response data for the listInaccessibleByInstance operation. */ -export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverGroupListResult & { +export type ManagedDatabasesListInaccessibleByInstanceResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14043,14 +17782,14 @@ export type InstanceFailoverGroupsListByLocationNextResponse = InstanceFailoverG /** * The response body as parsed JSON or XML */ - parsedBody: InstanceFailoverGroupListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14063,14 +17802,14 @@ export type BackupShortTermRetentionPoliciesGetResponse = BackupShortTermRetenti /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The underlying HTTP response. */ @@ -14083,14 +17822,14 @@ export type BackupShortTermRetentionPoliciesCreateOrUpdateResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedDatabase; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByInstanceNext operation. */ -export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14103,14 +17842,14 @@ export type BackupShortTermRetentionPoliciesUpdateResponse = BackupShortTermRete /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the listByDatabase operation. + * Contains response data for the listInaccessibleByInstanceNext operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShortTermRetentionPolicyListResult & { +export type ManagedDatabasesListInaccessibleByInstanceNextResponse = ManagedDatabaseListResult & { /** * The underlying HTTP response. */ @@ -14123,14 +17862,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseResponse = BackupShort /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: ManagedDatabaseListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = BackupShortTermRetentionPolicy & { +export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & { /** * The underlying HTTP response. */ @@ -14143,14 +17882,14 @@ export type BackupShortTermRetentionPoliciesBeginCreateOrUpdateResponse = Backup /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ManagedDatabaseRestoreDetailsResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTermRetentionPolicy & { +export type ServerAzureADOnlyAuthenticationsGetResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14163,14 +17902,14 @@ export type BackupShortTermRetentionPoliciesBeginUpdateResponse = BackupShortTer /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicy; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** - * Contains response data for the listByDatabaseNext operation. + * Contains response data for the createOrUpdate operation. */ -export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupShortTermRetentionPolicyListResult & { +export type ServerAzureADOnlyAuthenticationsCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14183,14 +17922,14 @@ export type BackupShortTermRetentionPoliciesListByDatabaseNextResponse = BackupS /** * The response body as parsed JSON or XML */ - parsedBody: BackupShortTermRetentionPolicyListResult; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListResult & { +export type ServerAzureADOnlyAuthenticationsListByServerResponse = AzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -14203,14 +17942,14 @@ export type ManagedInstanceKeysListByInstanceResponse = ManagedInstanceKeyListRe /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: AzureADOnlyAuthListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { +export type ServerAzureADOnlyAuthenticationsBeginCreateOrUpdateResponse = ServerAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14223,14 +17962,14 @@ export type ManagedInstanceKeysGetResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ServerAzureADOnlyAuthentication; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { +export type ServerAzureADOnlyAuthenticationsListByServerNextResponse = AzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -14243,14 +17982,14 @@ export type ManagedInstanceKeysCreateOrUpdateResponse = ManagedInstanceKey & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: AzureADOnlyAuthListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByInstancePool operation. */ -export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey & { +export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14263,14 +18002,14 @@ export type ManagedInstanceKeysBeginCreateOrUpdateResponse = ManagedInstanceKey /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKey; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyListResult & { +export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14283,14 +18022,14 @@ export type ManagedInstanceKeysListByInstanceNextResponse = ManagedInstanceKeyLi /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceKeyListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the get operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedInstanceEncryptionProtectorListResult & { +export type ManagedInstancesGetResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14303,14 +18042,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncryptionProtector & { +export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14323,14 +18062,14 @@ export type ManagedInstanceEncryptionProtectorsGetResponse = ManagedInstanceEncr /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14343,14 +18082,14 @@ export type ManagedInstanceEncryptionProtectorsCreateOrUpdateResponse = ManagedI /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByManagedInstance operation. */ -export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = ManagedInstanceEncryptionProtector & { +export type ManagedInstancesListByManagedInstanceResponse = TopQueriesListResult & { /** * The underlying HTTP response. */ @@ -14363,14 +18102,14 @@ export type ManagedInstanceEncryptionProtectorsBeginCreateOrUpdateResponse = Man /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtector; + parsedBody: TopQueriesListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the list operation. */ -export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = ManagedInstanceEncryptionProtectorListResult & { +export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14383,14 +18122,14 @@ export type ManagedInstanceEncryptionProtectorsListByInstanceNextResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceEncryptionProtectorListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManagedDatabaseListResult & { +export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14403,14 +18142,14 @@ export type RecoverableManagedDatabasesListByInstanceResponse = RecoverableManag /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase & { +export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The underlying HTTP response. */ @@ -14423,14 +18162,14 @@ export type RecoverableManagedDatabasesGetResponse = RecoverableManagedDatabase /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabase; + parsedBody: ManagedInstance; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the listByInstancePoolNext operation. */ -export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableManagedDatabaseListResult & { +export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14443,14 +18182,14 @@ export type RecoverableManagedDatabasesListByInstanceNextResponse = RecoverableM /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableManagedDatabaseListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstanceVulnerabilityAssessment & { +export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14463,14 +18202,14 @@ export type ManagedInstanceVulnerabilityAssessmentsGetResponse = ManagedInstance /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByManagedInstanceNext operation. */ -export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = ManagedInstanceVulnerabilityAssessment & { +export type ManagedInstancesListByManagedInstanceNextResponse = TopQueriesListResult & { /** * The underlying HTTP response. */ @@ -14483,14 +18222,14 @@ export type ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessment; + parsedBody: TopQueriesListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listNext operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The underlying HTTP response. */ @@ -14503,14 +18242,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceResponse = Mana /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceListResult; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the get operation. */ -export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = ManagedInstanceVulnerabilityAssessmentListResult & { +export type ManagedInstanceAzureADOnlyAuthenticationsGetResponse = ManagedInstanceAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14523,14 +18262,14 @@ export type ManagedInstanceVulnerabilityAssessmentsListByInstanceNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceAzureADOnlyAuthentication; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type ManagedInstanceAzureADOnlyAuthenticationsCreateOrUpdateResponse = ManagedInstanceAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14543,14 +18282,14 @@ export type ServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: ManagedInstanceAzureADOnlyAuthentication; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByInstance operation. */ -export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type ManagedInstanceAzureADOnlyAuthenticationsListByInstanceResponse = ManagedInstanceAzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -14563,14 +18302,14 @@ export type ServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnera /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: ManagedInstanceAzureADOnlyAuthListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabilityAssessmentListResult & { +export type ManagedInstanceAzureADOnlyAuthenticationsBeginCreateOrUpdateResponse = ManagedInstanceAzureADOnlyAuthentication & { /** * The underlying HTTP response. */ @@ -14583,14 +18322,14 @@ export type ServerVulnerabilityAssessmentsListByServerResponse = ServerVulnerabi /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceAzureADOnlyAuthentication; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByInstanceNext operation. */ -export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulnerabilityAssessmentListResult & { +export type ManagedInstanceAzureADOnlyAuthenticationsListByInstanceNextResponse = ManagedInstanceAzureADOnlyAuthListResult & { /** * The underlying HTTP response. */ @@ -14603,14 +18342,14 @@ export type ServerVulnerabilityAssessmentsListByServerNextResponse = ServerVulne /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentListResult; + parsedBody: ManagedInstanceAzureADOnlyAuthListResult; }; }; /** * Contains response data for the get operation. */ -export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { +export type ServerTrustGroupsGetResponse = ServerTrustGroup & { /** * The underlying HTTP response. */ @@ -14623,14 +18362,14 @@ export type ManagedDatabaseSensitivityLabelsGetResponse = SensitivityLabel & { /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ServerTrustGroup; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type ServerTrustGroupsCreateOrUpdateResponse = ServerTrustGroup & { /** * The underlying HTTP response. */ @@ -14643,14 +18382,14 @@ export type ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse = Sensitivity /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: ServerTrustGroup; }; }; /** - * Contains response data for the listCurrentByDatabase operation. + * Contains response data for the listByLocation operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = SensitivityLabelListResult & { +export type ServerTrustGroupsListByLocationResponse = ServerTrustGroupListResult & { /** * The underlying HTTP response. */ @@ -14663,14 +18402,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseResponse = Sens /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ServerTrustGroupListResult; }; }; /** - * Contains response data for the listRecommendedByDatabase operation. + * Contains response data for the listByInstance operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = SensitivityLabelListResult & { +export type ServerTrustGroupsListByInstanceResponse = ServerTrustGroupListResult & { /** * The underlying HTTP response. */ @@ -14683,14 +18422,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ServerTrustGroupListResult; }; }; /** - * Contains response data for the listCurrentByDatabaseNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = SensitivityLabelListResult & { +export type ServerTrustGroupsBeginCreateOrUpdateResponse = ServerTrustGroup & { /** * The underlying HTTP response. */ @@ -14703,14 +18442,14 @@ export type ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ServerTrustGroup; }; }; /** - * Contains response data for the listRecommendedByDatabaseNext operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextResponse = SensitivityLabelListResult & { +export type ServerTrustGroupsListByLocationNextResponse = ServerTrustGroupListResult & { /** * The underlying HTTP response. */ @@ -14723,14 +18462,14 @@ export type ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextRespons /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: ServerTrustGroupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByInstanceNext operation. */ -export type InstancePoolsGetResponse = InstancePool & { +export type ServerTrustGroupsListByInstanceNextResponse = ServerTrustGroupListResult & { /** * The underlying HTTP response. */ @@ -14743,14 +18482,14 @@ export type InstancePoolsGetResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ServerTrustGroupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type InstancePoolsCreateOrUpdateResponse = InstancePool & { +export type ServerDevOpsAuditSettingsGetResponse = ServerDevOpsAuditingSettings & { /** * The underlying HTTP response. */ @@ -14763,14 +18502,14 @@ export type InstancePoolsCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ServerDevOpsAuditingSettings; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type InstancePoolsUpdateResponse = InstancePool & { +export type ServerDevOpsAuditSettingsCreateOrUpdateResponse = ServerDevOpsAuditingSettings & { /** * The underlying HTTP response. */ @@ -14783,14 +18522,14 @@ export type InstancePoolsUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ServerDevOpsAuditingSettings; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByServer operation. */ -export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & { +export type ServerDevOpsAuditSettingsListByServerResponse = ServerDevOpsAuditSettingsListResult & { /** * The underlying HTTP response. */ @@ -14803,14 +18542,14 @@ export type InstancePoolsListByResourceGroupResponse = InstancePoolListResult & /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ServerDevOpsAuditSettingsListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type InstancePoolsListResponse = InstancePoolListResult & { +export type ServerDevOpsAuditSettingsBeginCreateOrUpdateResponse = ServerDevOpsAuditingSettings & { /** * The underlying HTTP response. */ @@ -14823,14 +18562,14 @@ export type InstancePoolsListResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: ServerDevOpsAuditingSettings; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByServerNext operation. */ -export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { +export type ServerDevOpsAuditSettingsListByServerNextResponse = ServerDevOpsAuditSettingsListResult & { /** * The underlying HTTP response. */ @@ -14843,14 +18582,14 @@ export type InstancePoolsBeginCreateOrUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: ServerDevOpsAuditSettingsListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the copy operation. */ -export type InstancePoolsBeginUpdateResponse = InstancePool & { +export type LongTermRetentionBackupsCopyResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -14863,14 +18602,14 @@ export type InstancePoolsBeginUpdateResponse = InstancePool & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePool; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the update operation. */ -export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResult & { +export type LongTermRetentionBackupsUpdateResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -14883,14 +18622,14 @@ export type InstancePoolsListByResourceGroupNextResponse = InstancePoolListResul /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type InstancePoolsListNextResponse = InstancePoolListResult & { +export type LongTermRetentionBackupsGetResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -14903,14 +18642,14 @@ export type InstancePoolsListNextResponse = InstancePoolListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: InstancePoolListResult; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the listByDatabase operation. */ -export type UsagesListByInstancePoolResponse = UsageListResult & { +export type LongTermRetentionBackupsListByDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14923,14 +18662,14 @@ export type UsagesListByInstancePoolResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the listByLocation operation. */ -export type UsagesListByInstancePoolNextResponse = UsageListResult & { +export type LongTermRetentionBackupsListByLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14943,14 +18682,14 @@ export type UsagesListByInstancePoolNextResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByInstancePool operation. + * Contains response data for the listByServer operation. */ -export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsListByServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -14963,14 +18702,14 @@ export type ManagedInstancesListByInstancePoolResponse = ManagedInstanceListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the copyByResourceGroup operation. */ -export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsCopyByResourceGroupResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -14983,14 +18722,14 @@ export type ManagedInstancesListByResourceGroupResponse = ManagedInstanceListRes /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the updateByResourceGroup operation. */ -export type ManagedInstancesGetResponse = ManagedInstance & { +export type LongTermRetentionBackupsUpdateByResourceGroupResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -15003,14 +18742,14 @@ export type ManagedInstancesGetResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getByResourceGroup operation. */ -export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { +export type LongTermRetentionBackupsGetByResourceGroupResponse = LongTermRetentionBackup & { /** * The underlying HTTP response. */ @@ -15023,14 +18762,14 @@ export type ManagedInstancesCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: LongTermRetentionBackup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroupDatabase operation. */ -export type ManagedInstancesUpdateResponse = ManagedInstance & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15043,14 +18782,14 @@ export type ManagedInstancesUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupLocation operation. */ -export type ManagedInstancesListResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsListByResourceGroupLocationResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15063,14 +18802,14 @@ export type ManagedInstancesListResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupServer operation. */ -export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { +export type LongTermRetentionBackupsListByResourceGroupServerResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15083,14 +18822,14 @@ export type ManagedInstancesBeginCreateOrUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the beginCopy operation. */ -export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { +export type LongTermRetentionBackupsBeginCopyResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -15103,14 +18842,14 @@ export type ManagedInstancesBeginUpdateResponse = ManagedInstance & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstance; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the listByInstancePoolNext operation. + * Contains response data for the beginUpdate operation. */ -export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsBeginUpdateResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -15123,14 +18862,14 @@ export type ManagedInstancesListByInstancePoolNextResponse = ManagedInstanceList /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCopyByResourceGroup operation. */ -export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsBeginCopyByResourceGroupResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -15143,14 +18882,14 @@ export type ManagedInstancesListByResourceGroupNextResponse = ManagedInstanceLis /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginUpdateByResourceGroup operation. */ -export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { +export type LongTermRetentionBackupsBeginUpdateByResourceGroupResponse = LongTermRetentionBackupOperationResult & { /** * The underlying HTTP response. */ @@ -15163,14 +18902,14 @@ export type ManagedInstancesListNextResponse = ManagedInstanceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedInstanceListResult; + parsedBody: LongTermRetentionBackupOperationResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabaseNext operation. */ -export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDetailsResult & { +export type LongTermRetentionBackupsListByDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15183,14 +18922,14 @@ export type ManagedDatabaseRestoreDetailsGetResponse = ManagedDatabaseRestoreDet /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseRestoreDetailsResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the listByInstance operation. + * Contains response data for the listByLocationNext operation. */ -export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & { +export type LongTermRetentionBackupsListByLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15203,14 +18942,14 @@ export type ManagedDatabasesListByInstanceResponse = ManagedDatabaseListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type ManagedDatabasesGetResponse = ManagedDatabase & { +export type LongTermRetentionBackupsListByServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15223,14 +18962,14 @@ export type ManagedDatabasesGetResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupDatabaseNext operation. */ -export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { +export type LongTermRetentionBackupsListByResourceGroupDatabaseNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15243,14 +18982,14 @@ export type ManagedDatabasesCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByResourceGroupLocationNext operation. */ -export type ManagedDatabasesUpdateResponse = ManagedDatabase & { +export type LongTermRetentionBackupsListByResourceGroupLocationNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15263,14 +19002,14 @@ export type ManagedDatabasesUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroupServerNext operation. */ -export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { +export type LongTermRetentionBackupsListByResourceGroupServerNextResponse = LongTermRetentionBackupListResult & { /** * The underlying HTTP response. */ @@ -15283,14 +19022,14 @@ export type ManagedDatabasesBeginCreateOrUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LongTermRetentionBackupListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { +export type LongTermRetentionPoliciesGetResponse = LongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15303,14 +19042,14 @@ export type ManagedDatabasesBeginUpdateResponse = ManagedDatabase & { /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabase; + parsedBody: LongTermRetentionPolicy; }; }; /** - * Contains response data for the listByInstanceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResult & { +export type LongTermRetentionPoliciesCreateOrUpdateResponse = LongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15323,14 +19062,14 @@ export type ManagedDatabasesListByInstanceNextResponse = ManagedDatabaseListResu /** * The response body as parsed JSON or XML */ - parsedBody: ManagedDatabaseListResult; + parsedBody: LongTermRetentionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByDatabase operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type LongTermRetentionPoliciesListByDatabaseResponse = LongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -15343,14 +19082,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: LongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { +export type LongTermRetentionPoliciesBeginCreateOrUpdateResponse = LongTermRetentionPolicy & { /** * The underlying HTTP response. */ @@ -15363,14 +19102,14 @@ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointCo /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: LongTermRetentionPolicy; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the listByDatabaseNext operation. */ -export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { +export type LongTermRetentionPoliciesListByDatabaseNextResponse = LongTermRetentionPolicyListResult & { /** * The underlying HTTP response. */ @@ -15383,14 +19122,14 @@ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConn /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: LongTermRetentionPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15408,9 +19147,9 @@ export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpo }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15423,14 +19162,14 @@ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpoint /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionListResult; + parsedBody: PrivateEndpointConnection; }; }; /** * Contains response data for the listByServer operation. */ -export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & { +export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -15443,14 +19182,14 @@ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListRe /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -15463,14 +19202,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: PrivateEndpointConnection; }; }; /** * Contains response data for the listByServerNext operation. */ -export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & { +export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -15483,6 +19222,6 @@ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: PrivateEndpointConnectionListResult; }; }; diff --git a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts index a31090e2d7d3..95b9c458c213 100644 --- a/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instanceFailoverGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupListResult, InstanceFailoverGroupReadOnlyEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts index a471ed9af1d2..2235ebd77596 100644 --- a/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/instancePoolsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -58,21 +57,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts index 3caafa179664..0d3f629466b7 100644 --- a/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobAgentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -58,21 +57,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts index be1a9dd38073..f1d3eaaafa41 100644 --- a/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobCredentialsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts index 5377feb7dd16..b47c5c775538 100644 --- a/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobExecutionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts index 5377feb7dd16..b47c5c775538 100644 --- a/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepExecutionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts index 36e930956434..bb238546eb53 100644 --- a/sdk/sql/arm-sql/src/models/jobStepsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobStepsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts index 5377feb7dd16..b47c5c775538 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetExecutionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts index 9b433c364f7a..c18a97be01e0 100644 --- a/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobTargetGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroupListResult, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts index e9ef19060444..7fd908917cc1 100644 --- a/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobVersionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobVersion, JobVersionListResult, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/jobsMappers.ts b/sdk/sql/arm-sql/src/models/jobsMappers.ts index 324fe5622e6d..7e6c0a40f791 100644 --- a/sdk/sql/arm-sql/src/models/jobsMappers.ts +++ b/sdk/sql/arm-sql/src/models/jobsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts index e83b6fdbd626..51d0359d1a2b 100644 --- a/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/longTermRetentionBackupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,10 +9,10 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, + CopyLongTermRetentionBackupParameters, Database, DatabaseAutomaticTuning, DatabaseBlobAuditingPolicy, @@ -37,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +57,35 @@ export { JobVersion, LongTermRetentionBackup, LongTermRetentionBackupListResult, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +130,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpdateLongTermRetentionBackupParameters, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts new file mode 100644 index 000000000000..4e0086c12f69 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/longTermRetentionManagedInstanceBackupsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionBackupListResult, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts new file mode 100644 index 000000000000..8da1b8d5365e --- /dev/null +++ b/sdk/sql/arm-sql/src/models/longTermRetentionPoliciesMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + LongTermRetentionPolicyListResult, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts index 03c4d1f05ca5..11e028ae7d8d 100644 --- a/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedBackupShortTermRetentionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,6 +55,8 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPolicyListResult, ManagedDatabase, @@ -63,15 +64,27 @@ export { ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseRestoreDetailsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts index 04f6452546af..e46aaa614efd 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSecurityAlertPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,6 +55,8 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, @@ -63,15 +64,27 @@ export { ManagedDatabaseSecurityAlertPolicyListResult, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts index 87d6022ba880..69adc621c15b 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseSensitivityLabelsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts index 8db2e4f353ef..5a072470e501 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentScansMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,14 +128,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, - VulnerabilityAssessmentScanRecordListResult + VulnerabilityAssessmentScanRecordListResult, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts index ddd16788a720..4e8400af157f 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabaseVulnerabilityAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts index 3020d2d590b6..41607e81dddd 100644 --- a/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedDatabasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,6 +56,8 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseListResult, @@ -65,15 +66,27 @@ export { ManagedDatabaseUpdate, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -94,12 +107,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -113,13 +131,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts index f82643c82012..71593db4fc06 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceAdministratorsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,6 +55,8 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, @@ -63,15 +64,27 @@ export { ManagedInstance, ManagedInstanceAdministrator, ManagedInstanceAdministratorListResult, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts new file mode 100644 index 000000000000..b86690c63cbd --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceAzureADOnlyAuthenticationsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceAzureADOnlyAuthListResult, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts index 94c329fb02fb..c61ecd649aa1 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceEncryptionProtectorsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,22 +55,36 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceEncryptionProtectorListResult, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts index 5d77e04a398a..c755ec29405f 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,22 +55,36 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceKeyListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts new file mode 100644 index 000000000000..82e56d63b092 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceLongTermRetentionPoliciesMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceLongTermRetentionPolicyListResult, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts new file mode 100644 index 000000000000..9711dbf4e569 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/managedInstanceOperationsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationListResult, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceTdeCertificatesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts index 935d313fae09..bb3d7ab507c2 100644 --- a/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstanceVulnerabilityAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,15 +55,27 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessmentListResult, ManagedServerSecurityAlertPolicy, @@ -72,6 +83,8 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts index 82dca3bb3c6e..748f9902426d 100644 --- a/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedInstancesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,16 +55,28 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, ManagedInstanceListResult, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceUpdate, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, @@ -73,11 +84,16 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionStateProperty, ProxyResource, + QueryMetricInterval, + QueryMetricProperties, + QueryStatisticsProperties, RecommendedElasticPool, RecommendedElasticPoolMetric, RecommendedIndex, @@ -93,12 +109,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +133,20 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, + TopQueries, + TopQueriesListResult, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts index 03c4d1f05ca5..11e028ae7d8d 100644 --- a/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,6 +55,8 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPolicyListResult, ManagedDatabase, @@ -63,15 +64,27 @@ export { ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts index b0f6c453f109..b389aaf85917 100644 --- a/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/managedServerSecurityAlertPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,15 +55,27 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPolicyListResult, @@ -72,6 +83,8 @@ export { PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/mappers.ts b/sdk/sql/arm-sql/src/models/mappers.ts index 93b27cc1a62f..08c10bc55553 100644 --- a/sdk/sql/arm-sql/src/models/mappers.ts +++ b/sdk/sql/arm-sql/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -196,74 +196,6 @@ export const TrackedResource: msRest.CompositeMapper = { } }; -export const CheckNameAvailabilityRequest: msRest.CompositeMapper = { - serializedName: "CheckNameAvailabilityRequest", - type: { - name: "Composite", - className: "CheckNameAvailabilityRequest", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: 'Microsoft.Sql/servers', - type: { - name: "String" - } - } - } - } -}; - -export const CheckNameAvailabilityResponse: msRest.CompositeMapper = { - serializedName: "CheckNameAvailabilityResponse", - type: { - name: "Composite", - className: "CheckNameAvailabilityResponse", - modelProperties: { - available: { - readOnly: true, - serializedName: "available", - type: { - name: "Boolean" - } - }, - message: { - readOnly: true, - serializedName: "message", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - reason: { - readOnly: true, - serializedName: "reason", - type: { - name: "Enum", - allowedValues: [ - "Invalid", - "AlreadyExists" - ] - } - } - } - } -}; - export const ServerConnectionPolicy: msRest.CompositeMapper = { serializedName: "ServerConnectionPolicy", type: { @@ -639,79 +571,74 @@ export const GeoBackupPolicy: msRest.CompositeMapper = { } }; -export const ImportExtensionRequest: msRest.CompositeMapper = { - serializedName: "ImportExtensionRequest", +export const MetricValue: msRest.CompositeMapper = { + serializedName: "MetricValue", type: { name: "Composite", - className: "ImportExtensionRequest", + className: "MetricValue", modelProperties: { - name: { - serializedName: "name", + count: { + readOnly: true, + serializedName: "count", type: { - name: "String" + name: "Number" } }, - type: { - serializedName: "type", + average: { + readOnly: true, + serializedName: "average", type: { - name: "String" + name: "Number" } }, - storageKeyType: { - required: true, - serializedName: "properties.storageKeyType", + maximum: { + readOnly: true, + serializedName: "maximum", type: { - name: "Enum", - allowedValues: [ - "StorageAccessKey", - "SharedAccessKey" - ] + name: "Number" } }, - storageKey: { - required: true, - serializedName: "properties.storageKey", + minimum: { + readOnly: true, + serializedName: "minimum", type: { - name: "String" + name: "Number" } }, - storageUri: { - required: true, - serializedName: "properties.storageUri", + timestamp: { + readOnly: true, + serializedName: "timestamp", type: { - name: "String" + name: "DateTime" } }, - administratorLogin: { - required: true, - serializedName: "properties.administratorLogin", + total: { + readOnly: true, + serializedName: "total", type: { - name: "String" + name: "Number" } - }, - administratorLoginPassword: { - required: true, - serializedName: "properties.administratorLoginPassword", + } + } + } +}; + +export const MetricName: msRest.CompositeMapper = { + serializedName: "MetricName", + type: { + name: "Composite", + className: "MetricName", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", type: { name: "String" } }, - authenticationType: { - serializedName: "properties.authenticationType", - defaultValue: 'SQL', - type: { - name: "Enum", - allowedValues: [ - "SQL", - "ADPassword" - ] - } - }, - operationMode: { - required: true, - isConstant: true, - serializedName: "properties.operationMode", - defaultValue: 'Import', + localizedValue: { + readOnly: true, + serializedName: "localizedValue", type: { name: "String" } @@ -720,72 +647,81 @@ export const ImportExtensionRequest: msRest.CompositeMapper = { } }; -export const ImportExportResponse: msRest.CompositeMapper = { - serializedName: "ImportExportResponse", +export const Metric: msRest.CompositeMapper = { + serializedName: "Metric", type: { name: "Composite", - className: "ImportExportResponse", + className: "Metric", modelProperties: { - ...ProxyResource.type.modelProperties, - requestType: { - readOnly: true, - serializedName: "properties.requestType", - type: { - name: "String" - } - }, - requestId: { + startTime: { readOnly: true, - serializedName: "properties.requestId", + serializedName: "startTime", type: { - name: "Uuid" + name: "DateTime" } }, - serverName: { + endTime: { readOnly: true, - serializedName: "properties.serverName", + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } }, - databaseName: { + timeGrain: { readOnly: true, - serializedName: "properties.databaseName", + serializedName: "timeGrain", type: { name: "String" } }, - status: { + unit: { readOnly: true, - serializedName: "properties.status", + serializedName: "unit", type: { name: "String" } }, - lastModifiedTime: { + name: { readOnly: true, - serializedName: "properties.lastModifiedTime", + serializedName: "name", type: { - name: "String" + name: "Composite", + className: "MetricName" } }, - queuedTime: { + metricValues: { readOnly: true, - serializedName: "properties.queuedTime", + serializedName: "metricValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricValue" + } + } } - }, - blobUri: { + } + } + } +}; + +export const MetricAvailability: msRest.CompositeMapper = { + serializedName: "MetricAvailability", + type: { + name: "Composite", + className: "MetricAvailability", + modelProperties: { + retention: { readOnly: true, - serializedName: "properties.blobUri", + serializedName: "retention", type: { name: "String" } }, - errorMessage: { + timeGrain: { readOnly: true, - serializedName: "properties.errorMessage", + serializedName: "timeGrain", type: { name: "String" } @@ -794,302 +730,44 @@ export const ImportExportResponse: msRest.CompositeMapper = { } }; -export const ExportRequest: msRest.CompositeMapper = { - serializedName: "ExportRequest", +export const MetricDefinition: msRest.CompositeMapper = { + serializedName: "MetricDefinition", type: { name: "Composite", - className: "ExportRequest", + className: "MetricDefinition", modelProperties: { - storageKeyType: { - required: true, - serializedName: "storageKeyType", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "StorageAccessKey", - "SharedAccessKey" - ] + name: "Composite", + className: "MetricName" } }, - storageKey: { - required: true, - serializedName: "storageKey", + primaryAggregationType: { + readOnly: true, + serializedName: "primaryAggregationType", type: { name: "String" } }, - storageUri: { - required: true, - serializedName: "storageUri", + resourceUri: { + readOnly: true, + serializedName: "resourceUri", type: { name: "String" } }, - administratorLogin: { - required: true, - serializedName: "administratorLogin", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } }, - administratorLoginPassword: { - required: true, - serializedName: "administratorLoginPassword", - type: { - name: "String" - } - }, - authenticationType: { - serializedName: "authenticationType", - defaultValue: 'SQL', - type: { - name: "Enum", - allowedValues: [ - "SQL", - "ADPassword" - ] - } - } - } - } -}; - -export const ImportRequest: msRest.CompositeMapper = { - serializedName: "ImportRequest", - type: { - name: "Composite", - className: "ImportRequest", - modelProperties: { - ...ExportRequest.type.modelProperties, - databaseName: { - required: true, - serializedName: "databaseName", - type: { - name: "String" - } - }, - edition: { - required: true, - serializedName: "edition", - type: { - name: "String" - } - }, - serviceObjectiveName: { - required: true, - serializedName: "serviceObjectiveName", - type: { - name: "String" - } - }, - maxSizeBytes: { - required: true, - serializedName: "maxSizeBytes", - type: { - name: "String" - } - } - } - } -}; - -export const MetricValue: msRest.CompositeMapper = { - serializedName: "MetricValue", - type: { - name: "Composite", - className: "MetricValue", - modelProperties: { - count: { - readOnly: true, - serializedName: "count", - type: { - name: "Number" - } - }, - average: { - readOnly: true, - serializedName: "average", - type: { - name: "Number" - } - }, - maximum: { - readOnly: true, - serializedName: "maximum", - type: { - name: "Number" - } - }, - minimum: { - readOnly: true, - serializedName: "minimum", - type: { - name: "Number" - } - }, - timestamp: { - readOnly: true, - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - total: { - readOnly: true, - serializedName: "total", - type: { - name: "Number" - } - } - } - } -}; - -export const MetricName: msRest.CompositeMapper = { - serializedName: "MetricName", - type: { - name: "Composite", - className: "MetricName", - modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "String" - } - }, - localizedValue: { - readOnly: true, - serializedName: "localizedValue", - type: { - name: "String" - } - } - } - } -}; - -export const Metric: msRest.CompositeMapper = { - serializedName: "Metric", - type: { - name: "Composite", - className: "Metric", - modelProperties: { - startTime: { - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - timeGrain: { - readOnly: true, - serializedName: "timeGrain", - type: { - name: "String" - } - }, - unit: { - readOnly: true, - serializedName: "unit", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "Composite", - className: "MetricName" - } - }, - metricValues: { - readOnly: true, - serializedName: "metricValues", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MetricValue" - } - } - } - } - } - } -}; - -export const MetricAvailability: msRest.CompositeMapper = { - serializedName: "MetricAvailability", - type: { - name: "Composite", - className: "MetricAvailability", - modelProperties: { - retention: { - readOnly: true, - serializedName: "retention", - type: { - name: "String" - } - }, - timeGrain: { - readOnly: true, - serializedName: "timeGrain", - type: { - name: "String" - } - } - } - } -}; - -export const MetricDefinition: msRest.CompositeMapper = { - serializedName: "MetricDefinition", - type: { - name: "Composite", - className: "MetricDefinition", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "Composite", - className: "MetricName" - } - }, - primaryAggregationType: { - readOnly: true, - serializedName: "primaryAggregationType", - type: { - name: "String" - } - }, - resourceUri: { - readOnly: true, - serializedName: "resourceUri", - type: { - name: "String" - } - }, - unit: { - readOnly: true, - serializedName: "unit", - type: { - name: "String" - } - }, - metricAvailabilities: { - readOnly: true, - serializedName: "metricAvailabilities", + metricAvailabilities: { + readOnly: true, + serializedName: "metricAvailabilities", type: { name: "Sequence", element: { @@ -1330,41 +1008,16 @@ export const ReplicationLink: msRest.CompositeMapper = { } }; -export const ServerAzureADAdministrator: msRest.CompositeMapper = { - serializedName: "ServerAzureADAdministrator", +export const UnlinkParameters: msRest.CompositeMapper = { + serializedName: "UnlinkParameters", type: { name: "Composite", - className: "ServerAzureADAdministrator", + className: "UnlinkParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - administratorType: { - required: true, - isConstant: true, - serializedName: "properties.administratorType", - defaultValue: 'ActiveDirectory', + forcedTermination: { + serializedName: "forcedTermination", 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" + name: "Boolean" } } } @@ -2779,146 +2432,6 @@ export const ServerKey: msRest.CompositeMapper = { } }; -export const ResourceIdentity: msRest.CompositeMapper = { - serializedName: "ResourceIdentity", - type: { - name: "Composite", - className: "ResourceIdentity", - modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "Uuid" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, - tenantId: { - readOnly: true, - serializedName: "tenantId", - type: { - name: "Uuid" - } - } - } - } -}; - -export const Server: msRest.CompositeMapper = { - serializedName: "Server", - type: { - name: "Composite", - className: "Server", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ResourceIdentity" - } - }, - kind: { - readOnly: true, - serializedName: "kind", - type: { - name: "String" - } - }, - administratorLogin: { - serializedName: "properties.administratorLogin", - type: { - name: "String" - } - }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", - type: { - name: "String" - } - }, - version: { - serializedName: "properties.version", - type: { - name: "String" - } - }, - state: { - readOnly: true, - serializedName: "properties.state", - type: { - name: "String" - } - }, - fullyQualifiedDomainName: { - readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", - type: { - name: "String" - } - } - } - } -}; - -export const ServerUpdate: msRest.CompositeMapper = { - serializedName: "ServerUpdate", - type: { - name: "Composite", - className: "ServerUpdate", - modelProperties: { - administratorLogin: { - serializedName: "properties.administratorLogin", - type: { - name: "String" - } - }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", - type: { - name: "String" - } - }, - version: { - serializedName: "properties.version", - type: { - name: "String" - } - }, - state: { - readOnly: true, - serializedName: "properties.state", - type: { - name: "String" - } - }, - fullyQualifiedDomainName: { - readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const SyncAgent: msRest.CompositeMapper = { serializedName: "SyncAgent", type: { @@ -3048,207 +2561,150 @@ export const SyncAgentLinkedDatabase: msRest.CompositeMapper = { } }; -export const SyncDatabaseIdProperties: msRest.CompositeMapper = { - serializedName: "SyncDatabaseIdProperties", - type: { - name: "Composite", - className: "SyncDatabaseIdProperties", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaTableColumn", +export const SubscriptionUsage: msRest.CompositeMapper = { + serializedName: "SubscriptionUsage", type: { name: "Composite", - className: "SyncFullSchemaTableColumn", + className: "SubscriptionUsage", modelProperties: { - dataSize: { + ...ProxyResource.type.modelProperties, + displayName: { readOnly: true, - serializedName: "dataSize", + serializedName: "properties.displayName", type: { name: "String" } }, - dataType: { + currentValue: { readOnly: true, - serializedName: "dataType", + serializedName: "properties.currentValue", type: { - name: "String" + name: "Number" } }, - errorId: { + limit: { readOnly: true, - serializedName: "errorId", + serializedName: "properties.limit", type: { - name: "String" + name: "Number" } }, - hasError: { + unit: { readOnly: true, - serializedName: "hasError", + serializedName: "properties.unit", type: { - name: "Boolean" + name: "String" } - }, - isPrimaryKey: { + } + } + } +}; + +export const VirtualCluster: msRest.CompositeMapper = { + serializedName: "VirtualCluster", + type: { + name: "Composite", + className: "VirtualCluster", + modelProperties: { + ...TrackedResource.type.modelProperties, + subnetId: { readOnly: true, - serializedName: "isPrimaryKey", + serializedName: "properties.subnetId", type: { - name: "Boolean" + name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + family: { + serializedName: "properties.family", type: { name: "String" } }, - quotedName: { + childResources: { readOnly: true, - serializedName: "quotedName", + serializedName: "properties.childResources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const SyncFullSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaTable", +export const VirtualClusterUpdate: msRest.CompositeMapper = { + serializedName: "VirtualClusterUpdate", type: { name: "Composite", - className: "SyncFullSchemaTable", + className: "VirtualClusterUpdate", modelProperties: { - columns: { + subnetId: { readOnly: true, - serializedName: "columns", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncFullSchemaTableColumn" - } - } - } - }, - errorId: { - readOnly: true, - serializedName: "errorId", + serializedName: "properties.subnetId", type: { name: "String" } }, - hasError: { - readOnly: true, - serializedName: "hasError", - type: { - name: "Boolean" - } - }, - name: { - readOnly: true, - serializedName: "name", + family: { + serializedName: "properties.family", type: { name: "String" } }, - quotedName: { - readOnly: true, - serializedName: "quotedName", - type: { - name: "String" - } - } - } - } -}; - -export const SyncFullSchemaProperties: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaProperties", - type: { - name: "Composite", - className: "SyncFullSchemaProperties", - modelProperties: { - tables: { + childResources: { readOnly: true, - serializedName: "tables", + serializedName: "properties.childResources", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SyncFullSchemaTable" + name: "String" } } } }, - lastUpdateTime: { - readOnly: true, - serializedName: "lastUpdateTime", + tags: { + serializedName: "tags", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const SyncGroupLogProperties: msRest.CompositeMapper = { - serializedName: "SyncGroupLogProperties", +export const VirtualNetworkRule: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRule", type: { name: "Composite", - className: "SyncGroupLogProperties", + className: "VirtualNetworkRule", modelProperties: { - timestamp: { - readOnly: true, - serializedName: "timestamp", - type: { - name: "DateTime" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - source: { - readOnly: true, - serializedName: "source", - type: { - name: "String" - } - }, - details: { - readOnly: true, - serializedName: "details", + ...ProxyResource.type.modelProperties, + virtualNetworkSubnetId: { + required: true, + serializedName: "properties.virtualNetworkSubnetId", type: { name: "String" } }, - tracingId: { - readOnly: true, - serializedName: "tracingId", + ignoreMissingVnetServiceEndpoint: { + serializedName: "properties.ignoreMissingVnetServiceEndpoint", type: { - name: "Uuid" + name: "Boolean" } }, - operationStatus: { + state: { readOnly: true, - serializedName: "operationStatus", + serializedName: "properties.state", type: { name: "String" } @@ -3257,383 +2713,175 @@ export const SyncGroupLogProperties: msRest.CompositeMapper = { } }; -export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTableColumn", +export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedDatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroupSchemaTableColumn", + className: "ExtendedDatabaseBlobAuditingPolicy", modelProperties: { - quotedName: { - serializedName: "quotedName", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - dataSize: { - serializedName: "dataSize", + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - dataType: { - serializedName: "dataType", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } - } - } - } -}; - -export const SyncGroupSchemaTable: msRest.CompositeMapper = { - serializedName: "SyncGroupSchemaTable", - type: { - name: "Composite", - className: "SyncGroupSchemaTable", - modelProperties: { - columns: { - serializedName: "columns", + }, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + }, + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SyncGroupSchemaTableColumn" + name: "String" } } } }, - quotedName: { - serializedName: "quotedName", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } - } - } - } -}; - -export const SyncGroupSchema: msRest.CompositeMapper = { - serializedName: "SyncGroupSchema", - type: { - name: "Composite", - className: "SyncGroupSchema", - modelProperties: { - tables: { - serializedName: "tables", + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SyncGroupSchemaTable" - } - } + name: "Boolean" } }, - masterSyncMemberName: { - serializedName: "masterSyncMemberName", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "String" + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SyncGroup: msRest.CompositeMapper = { - serializedName: "SyncGroup", +export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicy", type: { name: "Composite", - className: "SyncGroup", + className: "ExtendedServerBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - interval: { - serializedName: "properties.interval", + predicateExpression: { + serializedName: "properties.predicateExpression", type: { - name: "Number" + name: "String" } }, - lastSyncTime: { - readOnly: true, - serializedName: "properties.lastSyncTime", + state: { + required: true, + serializedName: "properties.state", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - conflictResolutionPolicy: { - serializedName: "properties.conflictResolutionPolicy", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - syncDatabaseId: { - serializedName: "properties.syncDatabaseId", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - hubDatabaseUserName: { - serializedName: "properties.hubDatabaseUserName", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - hubDatabasePassword: { - serializedName: "properties.hubDatabasePassword", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - schema: { - serializedName: "properties.schema", - type: { - name: "Composite", - className: "SyncGroupSchema" - } - } - } - } -}; - -export const SyncMember: msRest.CompositeMapper = { - serializedName: "SyncMember", - type: { - name: "Composite", - className: "SyncMember", - modelProperties: { - ...ProxyResource.type.modelProperties, - databaseType: { - serializedName: "properties.databaseType", - type: { - name: "String" - } - }, - syncAgentId: { - serializedName: "properties.syncAgentId", - type: { - name: "String" - } - }, - sqlServerDatabaseId: { - serializedName: "properties.sqlServerDatabaseId", - type: { - name: "Uuid" - } - }, - serverName: { - serializedName: "properties.serverName", - type: { - name: "String" - } - }, - databaseName: { - serializedName: "properties.databaseName", - type: { - name: "String" - } - }, - userName: { - serializedName: "properties.userName", - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - syncDirection: { - serializedName: "properties.syncDirection", - type: { - name: "String" - } - }, - syncState: { - readOnly: true, - serializedName: "properties.syncState", - type: { - name: "String" - } - } - } - } -}; - -export const SubscriptionUsage: msRest.CompositeMapper = { - serializedName: "SubscriptionUsage", - type: { - name: "Composite", - className: "SubscriptionUsage", - modelProperties: { - ...ProxyResource.type.modelProperties, - displayName: { - readOnly: true, - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - currentValue: { - readOnly: true, - serializedName: "properties.currentValue", - type: { - name: "Number" - } - }, - limit: { - readOnly: true, - serializedName: "properties.limit", - type: { - name: "Number" - } - }, - unit: { - readOnly: true, - serializedName: "properties.unit", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualCluster: msRest.CompositeMapper = { - serializedName: "VirtualCluster", - type: { - name: "Composite", - className: "VirtualCluster", - modelProperties: { - ...TrackedResource.type.modelProperties, - subnetId: { - readOnly: true, - serializedName: "properties.subnetId", - type: { - name: "String" - } - }, - family: { - serializedName: "properties.family", - type: { - name: "String" - } - }, - childResources: { - readOnly: true, - serializedName: "properties.childResources", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualClusterUpdate: msRest.CompositeMapper = { - serializedName: "VirtualClusterUpdate", - type: { - name: "Composite", - className: "VirtualClusterUpdate", - modelProperties: { - subnetId: { - readOnly: true, - serializedName: "properties.subnetId", - type: { - name: "String" - } - }, - family: { - serializedName: "properties.family", - type: { - name: "String" - } - }, - childResources: { - readOnly: true, - serializedName: "properties.childResources", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualNetworkRule: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRule", - type: { - name: "Composite", - className: "VirtualNetworkRule", - modelProperties: { - ...ProxyResource.type.modelProperties, - virtualNetworkSubnetId: { - required: true, - serializedName: "properties.virtualNetworkSubnetId", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "String" + name: "Boolean" } }, - ignoreMissingVnetServiceEndpoint: { - serializedName: "properties.ignoreMissingVnetServiceEndpoint", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { name: "Boolean" } }, - state: { - readOnly: true, - serializedName: "properties.state", + queueDelayMs: { + serializedName: "properties.queueDelayMs", type: { - name: "String" + name: "Number" } } } } }; -export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedDatabaseBlobAuditingPolicy", +export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicy", type: { name: "Composite", - className: "ExtendedDatabaseBlobAuditingPolicy", + className: "ServerBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", - type: { - name: "String" - } - }, state: { required: true, serializedName: "properties.state", @@ -3691,20 +2939,27 @@ export const ExtendedDatabaseBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } }; -export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedServerBlobAuditingPolicy", +export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "DatabaseBlobAuditingPolicy", type: { name: "Composite", - className: "ExtendedServerBlobAuditingPolicy", + className: "DatabaseBlobAuditingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } @@ -3766,161 +3021,22 @@ export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } } } } }; -export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicy", +export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", type: { name: "Composite", - className: "ServerBlobAuditingPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", - type: { - name: "String" - } - }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", - type: { - name: "String" - } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", - type: { - name: "Uuid" - } - }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", - type: { - name: "Boolean" - } - }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DatabaseBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "DatabaseBlobAuditingPolicy", - type: { - name: "Composite", - className: "DatabaseBlobAuditingPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - readOnly: true, - serializedName: "kind", - type: { - name: "String" - } - }, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", - type: { - name: "String" - } - }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", - type: { - name: "String" - } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", - type: { - name: "Uuid" - } - }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", - type: { - name: "Boolean" - } - }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentRuleBaselineItem", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", + className: "DatabaseVulnerabilityAssessmentRuleBaselineItem", modelProperties: { result: { required: true, @@ -4649,94 +3765,6 @@ export const JobVersion: msRest.CompositeMapper = { } }; -export const LongTermRetentionBackup: msRest.CompositeMapper = { - serializedName: "LongTermRetentionBackup", - type: { - name: "Composite", - className: "LongTermRetentionBackup", - modelProperties: { - ...ProxyResource.type.modelProperties, - serverName: { - readOnly: true, - serializedName: "properties.serverName", - type: { - name: "String" - } - }, - serverCreateTime: { - readOnly: true, - serializedName: "properties.serverCreateTime", - type: { - name: "DateTime" - } - }, - databaseName: { - readOnly: true, - serializedName: "properties.databaseName", - type: { - name: "String" - } - }, - databaseDeletionTime: { - readOnly: true, - serializedName: "properties.databaseDeletionTime", - type: { - name: "DateTime" - } - }, - backupTime: { - readOnly: true, - serializedName: "properties.backupTime", - type: { - name: "DateTime" - } - }, - backupExpirationTime: { - readOnly: true, - serializedName: "properties.backupExpirationTime", - type: { - name: "DateTime" - } - } - } - } -}; - -export const BackupLongTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupLongTermRetentionPolicy", - type: { - name: "Composite", - className: "BackupLongTermRetentionPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - weeklyRetention: { - serializedName: "properties.weeklyRetention", - type: { - name: "String" - } - }, - monthlyRetention: { - serializedName: "properties.monthlyRetention", - type: { - name: "String" - } - }, - yearlyRetention: { - serializedName: "properties.yearlyRetention", - type: { - name: "String" - } - }, - weekOfYear: { - serializedName: "properties.weekOfYear", - type: { - name: "Number" - } - } - } - } -}; - export const ManagedBackupShortTermRetentionPolicy: msRest.CompositeMapper = { serializedName: "ManagedBackupShortTermRetentionPolicy", type: { @@ -5256,6 +4284,19 @@ export const SensitivityLabel: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + rank: { + serializedName: "properties.rank", + type: { + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + } } } } @@ -5519,22 +4560,22 @@ export const ElasticPoolOperation: msRest.CompositeMapper = { } }; -export const MaxSizeCapability: msRest.CompositeMapper = { - serializedName: "MaxSizeCapability", +export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanError", type: { name: "Composite", - className: "MaxSizeCapability", + className: "VulnerabilityAssessmentScanError", modelProperties: { - limit: { + code: { readOnly: true, - serializedName: "limit", + serializedName: "code", type: { - name: "Number" + name: "String" } }, - unit: { + message: { readOnly: true, - serializedName: "unit", + serializedName: "message", type: { name: "String" } @@ -5543,107 +4584,128 @@ export const MaxSizeCapability: msRest.CompositeMapper = { } }; -export const LogSizeCapability: msRest.CompositeMapper = { - serializedName: "LogSizeCapability", +export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecord", type: { name: "Composite", - className: "LogSizeCapability", + className: "VulnerabilityAssessmentScanRecord", modelProperties: { - limit: { + ...ProxyResource.type.modelProperties, + scanId: { readOnly: true, - serializedName: "limit", + serializedName: "properties.scanId", type: { - name: "Number" + name: "String" } }, - unit: { + triggerType: { readOnly: true, - serializedName: "unit", + serializedName: "properties.triggerType", type: { name: "String" } - } - } - } -}; - -export const MaxSizeRangeCapability: msRest.CompositeMapper = { - serializedName: "MaxSizeRangeCapability", - type: { - name: "Composite", - className: "MaxSizeRangeCapability", - modelProperties: { - minValue: { + }, + state: { readOnly: true, - serializedName: "minValue", + serializedName: "properties.state", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "String" } }, - maxValue: { + startTime: { readOnly: true, - serializedName: "maxValue", + serializedName: "properties.startTime", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "DateTime" } }, - scaleSize: { + endTime: { readOnly: true, - serializedName: "scaleSize", + serializedName: "properties.endTime", type: { - name: "Composite", - className: "MaxSizeCapability" + name: "DateTime" } }, - logSize: { + errors: { readOnly: true, - serializedName: "logSize", + serializedName: "properties.errors", type: { - name: "Composite", - className: "LogSizeCapability" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanError" + } + } } }, - status: { + storageContainerPath: { readOnly: true, - serializedName: "status", + serializedName: "properties.storageContainerPath", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + numberOfFailedSecurityChecks: { + readOnly: true, + serializedName: "properties.numberOfFailedSecurityChecks", type: { - name: "String" + name: "Number" } } } } }; -export const PerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "PerformanceLevelCapability", +export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentScansExport", type: { name: "Composite", - className: "PerformanceLevelCapability", + className: "DatabaseVulnerabilityAssessmentScansExport", modelProperties: { - value: { + ...ProxyResource.type.modelProperties, + exportedReportLocation: { readOnly: true, - serializedName: "value", + serializedName: "properties.exportedReportLocation", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupReadWriteEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadWriteEndpoint", + modelProperties: { + failoverPolicy: { + required: true, + serializedName: "failoverPolicy", + type: { + name: "String" } }, - unit: { - readOnly: true, - serializedName: "unit", + 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" } @@ -5652,34 +4714,43 @@ export const PerformanceLevelCapability: msRest.CompositeMapper = { } }; -export const LicenseTypeCapability: msRest.CompositeMapper = { - serializedName: "LicenseTypeCapability", +export const PartnerRegionInfo: msRest.CompositeMapper = { + serializedName: "PartnerRegionInfo", type: { name: "Composite", - className: "LicenseTypeCapability", + className: "PartnerRegionInfo", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + location: { + serializedName: "location", type: { name: "String" } }, - status: { + replicationRole: { readOnly: true, - serializedName: "status", + serializedName: "replicationRole", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" + } + } + } + } +}; + +export const ManagedInstancePairInfo: msRest.CompositeMapper = { + serializedName: "ManagedInstancePairInfo", + type: { + name: "Composite", + className: "ManagedInstancePairInfo", + modelProperties: { + primaryManagedInstanceId: { + serializedName: "primaryManagedInstanceId", + type: { + name: "String" } }, - reason: { - serializedName: "reason", + partnerManagedInstanceId: { + serializedName: "partnerManagedInstanceId", type: { name: "String" } @@ -5688,91 +4759,88 @@ export const LicenseTypeCapability: msRest.CompositeMapper = { } }; -export const ServiceObjectiveCapability: msRest.CompositeMapper = { - serializedName: "ServiceObjectiveCapability", +export const InstanceFailoverGroup: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroup", type: { name: "Composite", - className: "ServiceObjectiveCapability", + className: "InstanceFailoverGroup", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + ...ProxyResource.type.modelProperties, + readWriteEndpoint: { + required: true, + serializedName: "properties.readWriteEndpoint", type: { - name: "Uuid" + name: "Composite", + className: "InstanceFailoverGroupReadWriteEndpoint" } }, - name: { + readOnlyEndpoint: { + serializedName: "properties.readOnlyEndpoint", + type: { + name: "Composite", + className: "InstanceFailoverGroupReadOnlyEndpoint" + } + }, + replicationRole: { readOnly: true, - serializedName: "name", + serializedName: "properties.replicationRole", type: { name: "String" } }, - supportedMaxSizes: { + replicationState: { readOnly: true, - serializedName: "supportedMaxSizes", + serializedName: "properties.replicationState", + type: { + name: "String" + } + }, + partnerRegions: { + required: true, + serializedName: "properties.partnerRegions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MaxSizeRangeCapability" + className: "PartnerRegionInfo" } } } }, - 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", + managedInstancePairs: { + required: true, + serializedName: "properties.managedInstancePairs", type: { name: "Sequence", element: { type: { name: "Composite", - className: "LicenseTypeCapability" + className: "ManagedInstancePairInfo" } } } - }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + } + } + } +}; + +export const TdeCertificate: msRest.CompositeMapper = { + serializedName: "TdeCertificate", + type: { + name: "Composite", + className: "TdeCertificate", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateBlob: { + required: true, + serializedName: "properties.privateBlob", type: { - name: "Composite", - className: "MaxSizeCapability" - } - }, - status: { - readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + certPassword: { + serializedName: "properties.certPassword", type: { name: "String" } @@ -5781,97 +4849,88 @@ export const ServiceObjectiveCapability: msRest.CompositeMapper = { } }; -export const EditionCapability: msRest.CompositeMapper = { - serializedName: "EditionCapability", +export const ManagedInstanceKey: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKey", type: { name: "Composite", - className: "EditionCapability", + className: "ManagedInstanceKey", modelProperties: { - name: { + ...ProxyResource.type.modelProperties, + kind: { readOnly: true, - serializedName: "name", + serializedName: "kind", type: { name: "String" } }, - supportedServiceLevelObjectives: { - readOnly: true, - serializedName: "supportedServiceLevelObjectives", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceObjectiveCapability" - } - } + name: "String" } }, - zoneRedundant: { - readOnly: true, - serializedName: "zoneRedundant", + uri: { + serializedName: "properties.uri", type: { - name: "Boolean" + 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 ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", +export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtector", type: { name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", + 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" } }, - status: { + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", + type: { + name: "String" + } + }, + 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" } @@ -5880,166 +4939,189 @@ export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.Composi } }; -export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", +export const RecoverableManagedDatabase: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabase", type: { name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", + className: "RecoverableManagedDatabase", modelProperties: { - limit: { + ...ProxyResource.type.modelProperties, + lastAvailableBackupDate: { readOnly: true, - serializedName: "limit", + serializedName: "properties.lastAvailableBackupDate", + type: { + name: "String" + } + } + } + } +}; + +export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicy", + type: { + name: "Composite", + className: "BackupShortTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + retentionDays: { + serializedName: "properties.retentionDays", type: { name: "Number" } - }, - unit: { - readOnly: true, - serializedName: "unit", + } + } + } +}; + +export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessment", + type: { + name: "Composite", + className: "ManagedInstanceVulnerabilityAssessment", + modelProperties: { + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { name: "String" } }, - supportedPerDatabaseMinPerformanceLevels: { - readOnly: true, - serializedName: "supportedPerDatabaseMinPerformanceLevels", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" - } - } + 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 ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerformanceLevelCapability", +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", type: { name: "Composite", - className: "ElasticPoolPerformanceLevelCapability", + className: "ServerVulnerabilityAssessment", modelProperties: { - performanceLevel: { - readOnly: true, - serializedName: "performanceLevel", + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { - name: "Composite", - className: "PerformanceLevelCapability" + name: "String" } }, - sku: { - readOnly: true, - serializedName: "sku", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - supportedLicenseTypes: { - readOnly: true, - serializedName: "supportedLicenseTypes", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - maxDatabaseCount: { - readOnly: true, - serializedName: "maxDatabaseCount", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "Number" + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } - }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + } + } + } +}; + +export const InstancePool: msRest.CompositeMapper = { + serializedName: "InstancePool", + type: { + name: "Composite", + className: "InstancePool", + modelProperties: { + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { name: "Composite", - className: "MaxSizeCapability" + className: "Sku" } }, - supportedMaxSizes: { - readOnly: true, - serializedName: "supportedMaxSizes", + subnetId: { + required: true, + serializedName: "properties.subnetId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "String" } }, - supportedPerDatabaseMaxSizes: { - readOnly: true, - serializedName: "supportedPerDatabaseMaxSizes", + vCores: { + required: true, + serializedName: "properties.vCores", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "Number" } }, - supportedPerDatabaseMaxPerformanceLevels: { - readOnly: true, - serializedName: "supportedPerDatabaseMaxPerformanceLevels", + licenseType: { + required: true, + serializedName: "properties.licenseType", type: { - name: "Sequence", - element: { + name: "String" + } + } + } + } +}; + +export const InstancePoolUpdate: msRest.CompositeMapper = { + serializedName: "InstancePoolUpdate", + type: { + name: "Composite", + className: "InstancePoolUpdate", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" + 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" } @@ -6048,249 +5130,214 @@ export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { } }; -export const ElasticPoolEditionCapability: msRest.CompositeMapper = { - serializedName: "ElasticPoolEditionCapability", +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", type: { name: "Composite", - className: "ElasticPoolEditionCapability", + 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" } }, - supportedElasticPoolPerformanceLevels: { + unit: { readOnly: true, - serializedName: "supportedElasticPoolPerformanceLevels", + serializedName: "unit", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ElasticPoolPerformanceLevelCapability" - } - } + name: "String" } }, - zoneRedundant: { + currentValue: { readOnly: true, - serializedName: "zoneRedundant", + serializedName: "currentValue", type: { - name: "Boolean" + 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 ServerVersionCapability: msRest.CompositeMapper = { - serializedName: "ServerVersionCapability", +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", type: { name: "Composite", - className: "ServerVersionCapability", + className: "PrivateLinkResourceProperties", modelProperties: { - name: { + groupId: { readOnly: true, - serializedName: "name", + serializedName: "groupId", type: { name: "String" } }, - supportedEditions: { - readOnly: true, - serializedName: "supportedEditions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EditionCapability" - } - } - } - }, - supportedElasticPoolEditions: { + requiredMembers: { readOnly: true, - serializedName: "supportedElasticPoolEditions", + serializedName: "requiredMembers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ElasticPoolEditionCapability" + name: "String" } } } - }, - status: { + } + } + } +}; + +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] - } - }, - reason: { - serializedName: "reason", + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PrivateLinkResourceProperties" } } } } }; -export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVcoresCapability", +export const ResourceIdentity: msRest.CompositeMapper = { + serializedName: "ResourceIdentity", type: { name: "Composite", - className: "ManagedInstanceVcoresCapability", + className: "ResourceIdentity", modelProperties: { - name: { + principalId: { readOnly: true, - serializedName: "name", + serializedName: "principalId", type: { - name: "String" + name: "Uuid" } }, - value: { - readOnly: true, - serializedName: "value", + type: { + serializedName: "type", type: { - name: "Number" + name: "String" } }, - status: { + tenantId: { readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] - } - }, - reason: { - serializedName: "reason", + serializedName: "tenantId", type: { - name: "String" + name: "Uuid" } } } } }; -export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceFamilyCapability", +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", type: { name: "Composite", - className: "ManagedInstanceFamilyCapability", + className: "PrivateEndpointProperty", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + id: { + serializedName: "id", type: { name: "String" } - }, - sku: { - readOnly: true, - serializedName: "sku", + } + } + } +}; + +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty", + modelProperties: { + status: { + required: true, + serializedName: "status", type: { name: "String" } }, - supportedLicenseTypes: { - readOnly: true, - serializedName: "supportedLicenseTypes", + description: { + required: true, + serializedName: "description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LicenseTypeCapability" - } - } + name: "String" } }, - supportedVcoresValues: { + actionsRequired: { readOnly: true, - serializedName: "supportedVcoresValues", + serializedName: "actionsRequired", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceVcoresCapability" - } - } + name: "String" } - }, - includedMaxSize: { - readOnly: true, - serializedName: "includedMaxSize", + } + } + } +}; + +export const PrivateEndpointConnectionProperties: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionProperties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + modelProperties: { + privateEndpoint: { + serializedName: "privateEndpoint", type: { name: "Composite", - className: "MaxSizeCapability" + className: "PrivateEndpointProperty" } }, - supportedStorageSizes: { - readOnly: true, - serializedName: "supportedStorageSizes", + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaxSizeRangeCapability" - } - } + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" } }, - status: { + provisioningState: { readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] - } - }, - reason: { - serializedName: "reason", + serializedName: "provisioningState", type: { name: "String" } @@ -6299,158 +5346,105 @@ export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { } }; -export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEditionCapability", +export const ServerPrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "ServerPrivateEndpointConnection", type: { name: "Composite", - className: "ManagedInstanceEditionCapability", + className: "ServerPrivateEndpointConnection", modelProperties: { - name: { + id: { readOnly: true, - serializedName: "name", + serializedName: "id", type: { name: "String" } }, - supportedFamilies: { - readOnly: true, - serializedName: "supportedFamilies", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceFamilyCapability" - } - } - } - }, - status: { + properties: { readOnly: true, - serializedName: "status", - type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] - } - }, - reason: { - serializedName: "reason", + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "PrivateEndpointConnectionProperties" } } } } }; -export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVersionCapability", +export const Server: msRest.CompositeMapper = { + serializedName: "Server", type: { name: "Composite", - className: "ManagedInstanceVersionCapability", + className: "Server", modelProperties: { - name: { + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ResourceIdentity" + } + }, + kind: { readOnly: true, - serializedName: "name", + serializedName: "kind", type: { name: "String" } }, - supportedEditions: { - readOnly: true, - serializedName: "supportedEditions", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedInstanceEditionCapability" - } - } + name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + version: { + serializedName: "properties.version", type: { name: "String" } - } - } - } -}; - -export const LocationCapabilities: msRest.CompositeMapper = { - serializedName: "LocationCapabilities", - type: { - name: "Composite", - className: "LocationCapabilities", - modelProperties: { - name: { + }, + state: { readOnly: true, - serializedName: "name", + serializedName: "properties.state", type: { name: "String" } }, - supportedServerVersions: { + fullyQualifiedDomainName: { readOnly: true, - serializedName: "supportedServerVersions", + serializedName: "properties.fullyQualifiedDomainName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerVersionCapability" - } - } + name: "String" } }, - supportedManagedInstanceVersions: { + privateEndpointConnections: { readOnly: true, - serializedName: "supportedManagedInstanceVersions", + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedInstanceVersionCapability" + className: "ServerPrivateEndpointConnection" } } } }, - status: { - readOnly: true, - serializedName: "status", + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { - name: "Enum", - allowedValues: [ - "Visible", - "Available", - "Default", - "Disabled" - ] + name: "String" } }, - reason: { - serializedName: "reason", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String" } @@ -6459,559 +5453,734 @@ export const LocationCapabilities: msRest.CompositeMapper = { } }; -export const Database: msRest.CompositeMapper = { - serializedName: "Database", +export const ServerUpdate: msRest.CompositeMapper = { + serializedName: "ServerUpdate", type: { name: "Composite", - className: "Database", + className: "ServerUpdate", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + administratorLogin: { + serializedName: "properties.administratorLogin", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - kind: { - readOnly: true, - serializedName: "kind", + administratorLoginPassword: { + serializedName: "properties.administratorLoginPassword", type: { name: "String" } }, - managedBy: { - readOnly: true, - serializedName: "managedBy", + version: { + serializedName: "properties.version", type: { name: "String" } }, - createMode: { - serializedName: "properties.createMode", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - collation: { - serializedName: "properties.collation", + fullyQualifiedDomainName: { + readOnly: true, + serializedName: "properties.fullyQualifiedDomainName", type: { name: "String" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", type: { - name: "Number" - } - }, - sampleName: { - serializedName: "properties.sampleName", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerPrivateEndpointConnection" + } + } + } + }, + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", type: { name: "String" } }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const CheckNameAvailabilityRequest: msRest.CompositeMapper = { + serializedName: "CheckNameAvailabilityRequest", + type: { + name: "Composite", + className: "CheckNameAvailabilityRequest", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'Microsoft.Sql/servers', type: { name: "String" } - }, - databaseId: { + } + } + } +}; + +export const CheckNameAvailabilityResponse: msRest.CompositeMapper = { + serializedName: "CheckNameAvailabilityResponse", + type: { + name: "Composite", + className: "CheckNameAvailabilityResponse", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.databaseId", + serializedName: "name", type: { - name: "Uuid" + name: "String" } }, - creationDate: { + available: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "available", type: { - name: "DateTime" + name: "Boolean" } }, - currentServiceObjectiveName: { + reason: { readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + serializedName: "reason", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Invalid", + "AlreadyExists" + ] } }, - requestedServiceObjectiveName: { + message: { readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + serializedName: "message", type: { name: "String" } - }, - defaultSecondaryLocation: { + } + } + } +}; + +export const MaxSizeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeCapability", + type: { + name: "Composite", + className: "MaxSizeCapability", + modelProperties: { + limit: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "limit", type: { - name: "String" + name: "Number" } }, - failoverGroupId: { + unit: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "unit", type: { name: "String" } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "DateTime" - } - }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + } + } + } +}; + +export const LogSizeCapability: msRest.CompositeMapper = { + serializedName: "LogSizeCapability", + type: { + name: "Composite", + className: "LogSizeCapability", + modelProperties: { + limit: { + readOnly: true, + serializedName: "limit", type: { - name: "DateTime" + name: "Number" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } - }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + } + } + } +}; + +export const MaxSizeRangeCapability: msRest.CompositeMapper = { + serializedName: "MaxSizeRangeCapability", + type: { + name: "Composite", + className: "MaxSizeRangeCapability", + modelProperties: { + minValue: { + readOnly: true, + serializedName: "minValue", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + maxValue: { + readOnly: true, + serializedName: "maxValue", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + scaleSize: { + readOnly: true, + serializedName: "scaleSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + logSize: { + readOnly: true, + serializedName: "logSize", type: { - name: "String" + name: "Composite", + className: "LogSizeCapability" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } - }, - maxLogSizeBytes: { + } + } + } +}; + +export const PerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "PerformanceLevelCapability", + type: { + name: "Composite", + className: "PerformanceLevelCapability", + modelProperties: { + value: { readOnly: true, - serializedName: "properties.maxLogSizeBytes", + serializedName: "value", type: { name: "Number" } }, - earliestRestoreDate: { + unit: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "unit", type: { - name: "DateTime" + name: "String" } - }, - readScale: { - serializedName: "properties.readScale", + } + } + } +}; + +export const LicenseTypeCapability: msRest.CompositeMapper = { + serializedName: "LicenseTypeCapability", + type: { + name: "Composite", + className: "LicenseTypeCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - readReplicaCount: { - serializedName: "properties.readReplicaCount", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - currentSku: { - readOnly: true, - serializedName: "properties.currentSku", + reason: { + serializedName: "reason", type: { - name: "Composite", - className: "Sku" + name: "String" } - }, - autoPauseDelay: { - serializedName: "properties.autoPauseDelay", + } + } + } +}; + +export const AutoPauseDelayTimeRange: msRest.CompositeMapper = { + serializedName: "AutoPauseDelayTimeRange", + type: { + name: "Composite", + className: "AutoPauseDelayTimeRange", + modelProperties: { + minValue: { + readOnly: true, + serializedName: "minValue", type: { name: "Number" } }, - minCapacity: { - serializedName: "properties.minCapacity", + maxValue: { + readOnly: true, + serializedName: "maxValue", type: { name: "Number" } }, - pausedDate: { + stepSize: { readOnly: true, - serializedName: "properties.pausedDate", + serializedName: "stepSize", type: { - name: "DateTime" + name: "Number" } }, - resumedDate: { + default: { readOnly: true, - serializedName: "properties.resumedDate", + serializedName: "default", type: { - name: "DateTime" + name: "Number" + } + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + doNotPauseValue: { + readOnly: true, + serializedName: "doNotPauseValue", + type: { + name: "Number" } } } } }; -export const DatabaseUpdate: msRest.CompositeMapper = { - serializedName: "DatabaseUpdate", +export const MinCapacityCapability: msRest.CompositeMapper = { + serializedName: "MinCapacityCapability", type: { name: "Composite", - className: "DatabaseUpdate", + className: "MinCapacityCapability", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" - } - }, - collation: { - serializedName: "properties.collation", + value: { + readOnly: true, + serializedName: "value", type: { - name: "String" + name: "Number" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - sampleName: { - serializedName: "properties.sampleName", + reason: { + serializedName: "reason", type: { name: "String" } - }, - elasticPoolId: { - serializedName: "properties.elasticPoolId", + } + } + } +}; + +export const MaintenanceConfigurationCapability: msRest.CompositeMapper = { + serializedName: "MaintenanceConfigurationCapability", + type: { + name: "Composite", + className: "MaintenanceConfigurationCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, status: { readOnly: true, - serializedName: "properties.status", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - databaseId: { - readOnly: true, - serializedName: "properties.databaseId", + reason: { + serializedName: "reason", type: { - name: "Uuid" + name: "String" } - }, - creationDate: { + } + } + } +}; + +export const ServiceObjectiveCapability: msRest.CompositeMapper = { + serializedName: "ServiceObjectiveCapability", + type: { + name: "Composite", + className: "ServiceObjectiveCapability", + modelProperties: { + id: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "id", type: { - name: "DateTime" + name: "Uuid" } }, - currentServiceObjectiveName: { + name: { readOnly: true, - serializedName: "properties.currentServiceObjectiveName", + serializedName: "name", type: { name: "String" } }, - requestedServiceObjectiveName: { + supportedMaxSizes: { readOnly: true, - serializedName: "properties.requestedServiceObjectiveName", + serializedName: "supportedMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - defaultSecondaryLocation: { + performanceLevel: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "performanceLevel", type: { - name: "String" + name: "Composite", + className: "PerformanceLevelCapability" } }, - failoverGroupId: { + sku: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - sourceDatabaseDeletionDate: { - serializedName: "properties.sourceDatabaseDeletionDate", + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", type: { - name: "DateTime" + name: "Composite", + className: "MaxSizeCapability" } }, - recoveryServicesRecoveryPointId: { - serializedName: "properties.recoveryServicesRecoveryPointId", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - longTermRetentionBackupResourceId: { - serializedName: "properties.longTermRetentionBackupResourceId", + supportedAutoPauseDelay: { + readOnly: true, + serializedName: "supportedAutoPauseDelay", type: { - name: "String" + name: "Composite", + className: "AutoPauseDelayTimeRange" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + supportedMinCapacities: { + readOnly: true, + serializedName: "supportedMinCapacities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MinCapacityCapability" + } + } } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + computeModel: { + readOnly: true, + serializedName: "computeModel", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + supportedMaintenanceConfigurations: { + readOnly: true, + serializedName: "supportedMaintenanceConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaintenanceConfigurationCapability" + } + } } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } - }, - maxLogSizeBytes: { + } + } + } +}; + +export const ReadScaleCapability: msRest.CompositeMapper = { + serializedName: "ReadScaleCapability", + type: { + name: "Composite", + className: "ReadScaleCapability", + modelProperties: { + maxNumberOfReplicas: { readOnly: true, - serializedName: "properties.maxLogSizeBytes", + serializedName: "maxNumberOfReplicas", type: { name: "Number" } }, - earliestRestoreDate: { + status: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "status", 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" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - tags: { - serializedName: "tags", + reason: { + serializedName: "reason", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ResourceMoveDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMoveDefinition", +export const StorageCapability: msRest.CompositeMapper = { + serializedName: "StorageCapability", type: { name: "Composite", - className: "ResourceMoveDefinition", + className: "StorageCapability", modelProperties: { - id: { - required: true, - serializedName: "id", + storageAccountType: { + readOnly: true, + serializedName: "storageAccountType", type: { name: "String" } - } - } - } -}; - -export const ElasticPoolPerDatabaseSettings: msRest.CompositeMapper = { - serializedName: "ElasticPoolPerDatabaseSettings", - type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings", - modelProperties: { - minCapacity: { - serializedName: "minCapacity", + }, + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - maxCapacity: { - serializedName: "maxCapacity", + reason: { + serializedName: "reason", type: { - name: "Number" + name: "String" } } } } }; -export const ElasticPool: msRest.CompositeMapper = { - serializedName: "ElasticPool", +export const EditionCapability: msRest.CompositeMapper = { + serializedName: "EditionCapability", type: { name: "Composite", - className: "ElasticPool", + className: "EditionCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - kind: { + name: { readOnly: true, - serializedName: "kind", + serializedName: "name", type: { name: "String" } }, - state: { + supportedServiceLevelObjectives: { readOnly: true, - serializedName: "properties.state", + serializedName: "supportedServiceLevelObjectives", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceObjectiveCapability" + } + } } }, - creationDate: { + zoneRedundant: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "zoneRedundant", type: { - name: "DateTime" + name: "Boolean" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + readScale: { + readOnly: true, + serializedName: "readScale", type: { - name: "Number" + name: "Composite", + className: "ReadScaleCapability" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + supportedStorageCapabilities: { + readOnly: true, + serializedName: "supportedStorageCapabilities", type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageCapability" + } + } } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } @@ -7020,205 +6189,229 @@ export const ElasticPool: msRest.CompositeMapper = { } }; -export const ElasticPoolUpdate: msRest.CompositeMapper = { - serializedName: "ElasticPoolUpdate", +export const ElasticPoolPerDatabaseMinPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", type: { name: "Composite", - className: "ElasticPoolUpdate", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability", modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + limit: { + readOnly: true, + serializedName: "limit", type: { name: "Number" } }, - perDatabaseSettings: { - serializedName: "properties.perDatabaseSettings", + unit: { + readOnly: true, + serializedName: "unit", type: { - name: "Composite", - className: "ElasticPoolPerDatabaseSettings" + name: "String" } }, - zoneRedundant: { - serializedName: "properties.zoneRedundant", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - licenseType: { - serializedName: "properties.licenseType", + reason: { + serializedName: "reason", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanError", +export const ElasticPoolPerDatabaseMaxPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", type: { name: "Composite", - className: "VulnerabilityAssessmentScanError", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability", modelProperties: { - code: { + limit: { readOnly: true, - serializedName: "code", + serializedName: "limit", type: { - name: "String" + name: "Number" } }, - message: { + unit: { readOnly: true, - serializedName: "message", + serializedName: "unit", type: { name: "String" } - } - } - } -}; - -export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecord", - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanRecord", - modelProperties: { - ...ProxyResource.type.modelProperties, - scanId: { + }, + supportedPerDatabaseMinPerformanceLevels: { readOnly: true, - serializedName: "properties.scanId", + serializedName: "supportedPerDatabaseMinPerformanceLevels", type: { - name: "String" - } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMinPerformanceLevelCapability" + } + } + } }, - triggerType: { + status: { readOnly: true, - serializedName: "properties.triggerType", + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } + } + } + } +}; + +export const ElasticPoolPerformanceLevelCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolPerformanceLevelCapability", + type: { + name: "Composite", + className: "ElasticPoolPerformanceLevelCapability", + modelProperties: { + performanceLevel: { + readOnly: true, + serializedName: "performanceLevel", + type: { + name: "Composite", + className: "PerformanceLevelCapability" + } }, - state: { + sku: { readOnly: true, - serializedName: "properties.state", + serializedName: "sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - startTime: { + supportedLicenseTypes: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "supportedLicenseTypes", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - endTime: { + maxDatabaseCount: { readOnly: true, - serializedName: "properties.endTime", + serializedName: "maxDatabaseCount", type: { - name: "DateTime" + name: "Number" } }, - errors: { + includedMaxSize: { readOnly: true, - serializedName: "properties.errors", + serializedName: "includedMaxSize", + type: { + name: "Composite", + className: "MaxSizeCapability" + } + }, + supportedMaxSizes: { + readOnly: true, + serializedName: "supportedMaxSizes", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VulnerabilityAssessmentScanError" + className: "MaxSizeRangeCapability" } } } }, - storageContainerPath: { + supportedPerDatabaseMaxSizes: { readOnly: true, - serializedName: "properties.storageContainerPath", + serializedName: "supportedPerDatabaseMaxSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - numberOfFailedSecurityChecks: { + supportedPerDatabaseMaxPerformanceLevels: { readOnly: true, - serializedName: "properties.numberOfFailedSecurityChecks", + serializedName: "supportedPerDatabaseMaxPerformanceLevels", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerDatabaseMaxPerformanceLevelCapability" + } + } } - } - } - } -}; - -export const DatabaseVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentScansExport", - type: { - name: "Composite", - className: "DatabaseVulnerabilityAssessmentScansExport", - modelProperties: { - ...ProxyResource.type.modelProperties, - exportedReportLocation: { + }, + zoneRedundant: { readOnly: true, - serializedName: "properties.exportedReportLocation", + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const InstanceFailoverGroupReadWriteEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadWriteEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint", - modelProperties: { - failoverPolicy: { - required: true, - serializedName: "failoverPolicy", + }, + supportedMaintenanceConfigurations: { + readOnly: true, + serializedName: "supportedMaintenanceConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaintenanceConfigurationCapability" + } + } } }, - failoverWithDataLossGracePeriodMinutes: { - serializedName: "failoverWithDataLossGracePeriodMinutes", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } - } - } - } -}; - -export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupReadOnlyEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint", - modelProperties: { - failoverPolicy: { - serializedName: "failoverPolicy", + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7227,43 +6420,54 @@ export const InstanceFailoverGroupReadOnlyEndpoint: msRest.CompositeMapper = { } }; -export const PartnerRegionInfo: msRest.CompositeMapper = { - serializedName: "PartnerRegionInfo", +export const ElasticPoolEditionCapability: msRest.CompositeMapper = { + serializedName: "ElasticPoolEditionCapability", type: { name: "Composite", - className: "PartnerRegionInfo", + className: "ElasticPoolEditionCapability", modelProperties: { - location: { - serializedName: "location", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - replicationRole: { + supportedElasticPoolPerformanceLevels: { readOnly: true, - serializedName: "replicationRole", + serializedName: "supportedElasticPoolPerformanceLevels", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPoolPerformanceLevelCapability" + } + } } - } - } - } -}; - -export const ManagedInstancePairInfo: msRest.CompositeMapper = { - serializedName: "ManagedInstancePairInfo", - type: { - name: "Composite", - className: "ManagedInstancePairInfo", - modelProperties: { - primaryManagedInstanceId: { - serializedName: "primaryManagedInstanceId", + }, + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "String" + name: "Boolean" } }, - partnerManagedInstanceId: { - serializedName: "partnerManagedInstanceId", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7272,105 +6476,96 @@ export const ManagedInstancePairInfo: msRest.CompositeMapper = { } }; -export const InstanceFailoverGroup: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroup", +export const ServerVersionCapability: msRest.CompositeMapper = { + serializedName: "ServerVersionCapability", type: { name: "Composite", - className: "InstanceFailoverGroup", + className: "ServerVersionCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - readWriteEndpoint: { - required: true, - serializedName: "properties.readWriteEndpoint", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "InstanceFailoverGroupReadWriteEndpoint" + name: "String" } }, - readOnlyEndpoint: { - serializedName: "properties.readOnlyEndpoint", - type: { - name: "Composite", - className: "InstanceFailoverGroupReadOnlyEndpoint" - } - }, - replicationRole: { - readOnly: true, - serializedName: "properties.replicationRole", - type: { - name: "String" - } - }, - replicationState: { - readOnly: true, - serializedName: "properties.replicationState", - type: { - name: "String" - } - }, - partnerRegions: { - required: true, - serializedName: "properties.partnerRegions", + supportedEditions: { + readOnly: true, + serializedName: "supportedEditions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PartnerRegionInfo" + className: "EditionCapability" } } } }, - managedInstancePairs: { - required: true, - serializedName: "properties.managedInstancePairs", + supportedElasticPoolEditions: { + readOnly: true, + serializedName: "supportedElasticPoolEditions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedInstancePairInfo" + className: "ElasticPoolEditionCapability" } } } - } - } - } -}; - -export const BackupShortTermRetentionPolicy: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicy", - type: { - name: "Composite", - className: "BackupShortTermRetentionPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - retentionDays: { - serializedName: "properties.retentionDays", + }, + status: { + readOnly: true, + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const TdeCertificate: msRest.CompositeMapper = { - serializedName: "TdeCertificate", +export const ManagedInstanceMaintenanceConfigurationCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceMaintenanceConfigurationCapability", type: { name: "Composite", - className: "TdeCertificate", + className: "ManagedInstanceMaintenanceConfigurationCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - privateBlob: { - required: true, - serializedName: "properties.privateBlob", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - certPassword: { - serializedName: "properties.certPassword", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7379,106 +6574,158 @@ export const TdeCertificate: msRest.CompositeMapper = { } }; -export const ManagedInstanceKey: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKey", +export const ManagedInstanceVcoresCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVcoresCapability", type: { name: "Composite", - className: "ManagedInstanceKey", + className: "ManagedInstanceVcoresCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + name: { readOnly: true, - serializedName: "kind", + serializedName: "name", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + value: { + readOnly: true, + serializedName: "value", type: { - name: "String" + name: "Number" } }, - uri: { - serializedName: "properties.uri", + includedMaxSize: { + readOnly: true, + serializedName: "includedMaxSize", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - thumbprint: { + supportedStorageSizes: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "supportedStorageSizes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaxSizeRangeCapability" + } + } } }, - creationDate: { + instancePoolSupported: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "instancePoolSupported", type: { - name: "DateTime" + name: "Boolean" + } + }, + standaloneSupported: { + readOnly: true, + serializedName: "standaloneSupported", + type: { + name: "Boolean" + } + }, + supportedMaintenanceConfigurations: { + readOnly: true, + serializedName: "supportedMaintenanceConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceMaintenanceConfigurationCapability" + } + } + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const ManagedInstanceEncryptionProtector: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtector", +export const ManagedInstanceFamilyCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceFamilyCapability", type: { name: "Composite", - className: "ManagedInstanceEncryptionProtector", + className: "ManagedInstanceFamilyCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + name: { readOnly: true, - serializedName: "kind", + serializedName: "name", type: { name: "String" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + sku: { + readOnly: true, + serializedName: "sku", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - uri: { + supportedVcoresValues: { readOnly: true, - serializedName: "properties.uri", + serializedName: "supportedVcoresValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVcoresCapability" + } + } } }, - thumbprint: { + status: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } - } - } - } -}; - -export const RecoverableManagedDatabase: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabase", - type: { - name: "Composite", - className: "RecoverableManagedDatabase", - modelProperties: { - ...ProxyResource.type.modelProperties, - lastAvailableBackupDate: { - readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7487,111 +6734,180 @@ export const RecoverableManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessment", +export const ManagedInstanceEditionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEditionCapability", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment", + className: "ManagedInstanceEditionCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", - type: { - name: "String" + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceFamilyCapability" + } + } } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + supportedStorageCapabilities: { + readOnly: true, + serializedName: "supportedStorageCapabilities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageCapability" + } + } } }, - recurringScans: { - serializedName: "properties.recurringScans", + zoneRedundant: { + readOnly: true, + serializedName: "zoneRedundant", type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + name: "Boolean" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const InstancePoolVcoresCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolVcoresCapability", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "InstancePoolVcoresCapability", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + value: { + readOnly: true, + serializedName: "value", type: { - name: "String" + name: "Number" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + storageLimit: { + readOnly: true, + serializedName: "storageLimit", type: { - name: "String" + name: "Composite", + className: "MaxSizeCapability" } }, - recurringScans: { - serializedName: "properties.recurringScans", + status: { + readOnly: true, + serializedName: "status", type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" } } } } }; -export const InstancePool: msRest.CompositeMapper = { - serializedName: "InstancePool", +export const InstancePoolFamilyCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolFamilyCapability", type: { name: "Composite", - className: "InstancePool", + className: "InstancePoolFamilyCapability", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - subnetId: { - required: true, - serializedName: "properties.subnetId", + supportedLicenseTypes: { + readOnly: true, + serializedName: "supportedLicenseTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LicenseTypeCapability" + } + } } }, - vCores: { - required: true, - serializedName: "properties.vCores", + supportedVcoresValues: { + readOnly: true, + serializedName: "supportedVcoresValues", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolVcoresCapability" + } + } } }, - licenseType: { - required: true, - serializedName: "properties.licenseType", + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] + } + }, + reason: { + serializedName: "reason", type: { name: "String" } @@ -7600,41 +6916,47 @@ export const InstancePool: msRest.CompositeMapper = { } }; -export const InstancePoolUpdate: msRest.CompositeMapper = { - serializedName: "InstancePoolUpdate", +export const InstancePoolEditionCapability: msRest.CompositeMapper = { + serializedName: "InstancePoolEditionCapability", type: { name: "Composite", - className: "InstancePoolUpdate", + className: "InstancePoolEditionCapability", modelProperties: { - tags: { - serializedName: "tags", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + supportedFamilies: { + readOnly: true, + serializedName: "supportedFamilies", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "InstancePoolFamilyCapability" } } } - } - } - } -}; - -export const Name: msRest.CompositeMapper = { - serializedName: "Name", - type: { - name: "Composite", - className: "Name", - modelProperties: { - value: { - serializedName: "value", + }, + 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,333 +6965,433 @@ export const Name: msRest.CompositeMapper = { } }; -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", +export const ManagedInstanceVersionCapability: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVersionCapability", type: { name: "Composite", - className: "Usage", + className: "ManagedInstanceVersionCapability", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, name: { readOnly: true, serializedName: "name", type: { - name: "Composite", - className: "Name" + name: "String" } }, - type: { + supportedEditions: { readOnly: true, - serializedName: "type", + serializedName: "supportedEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceEditionCapability" + } + } } }, - unit: { + supportedInstancePoolEditions: { readOnly: true, - serializedName: "unit", + serializedName: "supportedInstancePoolEditions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstancePoolEditionCapability" + } + } } }, - currentValue: { + status: { readOnly: true, - serializedName: "currentValue", + serializedName: "status", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - limit: { - readOnly: true, - serializedName: "limit", + reason: { + serializedName: "reason", type: { - name: "Number" - } - }, - requestedLimit: { - readOnly: true, - serializedName: "requestedLimit", - type: { - name: "Number" + name: "String" } } } } }; -export const ManagedInstance: msRest.CompositeMapper = { - serializedName: "ManagedInstance", +export const LocationCapabilities: msRest.CompositeMapper = { + serializedName: "LocationCapabilities", type: { name: "Composite", - className: "ManagedInstance", + className: "LocationCapabilities", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "ResourceIdentity" + name: "String" } }, - sku: { - serializedName: "sku", + supportedServerVersions: { + readOnly: true, + serializedName: "supportedServerVersions", type: { - name: "Composite", - className: "Sku" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVersionCapability" + } + } } }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + supportedManagedInstanceVersions: { + readOnly: true, + serializedName: "supportedManagedInstanceVersions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstanceVersionCapability" + } + } } }, - fullyQualifiedDomainName: { + status: { readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + serializedName: "status", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Visible", + "Available", + "Default", + "Disabled" + ] } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + reason: { + serializedName: "reason", type: { name: "String" } - }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + } + } + } +}; + +export const ManagedInstanceLongTermRetentionBackup: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackup", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionBackup", + modelProperties: { + ...ProxyResource.type.modelProperties, + managedInstanceName: { + readOnly: true, + serializedName: "properties.managedInstanceName", type: { name: "String" } }, - subnetId: { - serializedName: "properties.subnetId", + managedInstanceCreateTime: { + readOnly: true, + serializedName: "properties.managedInstanceCreateTime", type: { - name: "String" + name: "DateTime" } }, - state: { + databaseName: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.databaseName", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + databaseDeletionTime: { + readOnly: true, + serializedName: "properties.databaseDeletionTime", type: { - name: "String" + name: "DateTime" } }, - vCores: { - serializedName: "properties.vCores", + backupTime: { + readOnly: true, + serializedName: "properties.backupTime", type: { - name: "Number" + name: "DateTime" } }, - storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + backupExpirationTime: { + readOnly: true, + serializedName: "properties.backupExpirationTime", type: { - name: "Number" + name: "DateTime" } - }, - collation: { - serializedName: "properties.collation", + } + } + } +}; + +export const ManagedInstanceLongTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicy", + type: { + name: "Composite", + className: "ManagedInstanceLongTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + weeklyRetention: { + serializedName: "properties.weeklyRetention", type: { name: "String" } }, - dnsZone: { - readOnly: true, - serializedName: "properties.dnsZone", + monthlyRetention: { + serializedName: "properties.monthlyRetention", type: { name: "String" } }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + yearlyRetention: { + serializedName: "properties.yearlyRetention", type: { name: "String" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + weekOfYear: { + serializedName: "properties.weekOfYear", type: { - name: "Boolean" + name: "Number" + } + } + } + } +}; + +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", + type: { + name: "Composite", + className: "WorkloadGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + minResourcePercent: { + required: true, + serializedName: "properties.minResourcePercent", + type: { + name: "Number" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", type: { - name: "String" + name: "Number" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + minResourcePercentPerRequest: { + required: true, + serializedName: "properties.minResourcePercentPerRequest", type: { - name: "DateTime" + name: "Number" } }, - proxyOverride: { - serializedName: "properties.proxyOverride", + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - timezoneId: { - serializedName: "properties.timezoneId", + importance: { + serializedName: "properties.importance", type: { name: "String" } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", type: { - name: "String" + name: "Number" } } } } }; -export const ManagedInstanceUpdate: msRest.CompositeMapper = { - serializedName: "ManagedInstanceUpdate", +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", type: { name: "Composite", - className: "ManagedInstanceUpdate", + className: "WorkloadClassifier", modelProperties: { - sku: { - serializedName: "sku", + ...ProxyResource.type.modelProperties, + memberName: { + required: true, + serializedName: "properties.memberName", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - managedInstanceCreateMode: { - serializedName: "properties.managedInstanceCreateMode", + label: { + serializedName: "properties.label", type: { name: "String" } }, - fullyQualifiedDomainName: { - readOnly: true, - serializedName: "properties.fullyQualifiedDomainName", + context: { + serializedName: "properties.context", type: { name: "String" } }, - administratorLogin: { - serializedName: "properties.administratorLogin", + startTime: { + serializedName: "properties.startTime", type: { name: "String" } }, - administratorLoginPassword: { - serializedName: "properties.administratorLoginPassword", + endTime: { + serializedName: "properties.endTime", type: { name: "String" } }, - subnetId: { - serializedName: "properties.subnetId", + importance: { + serializedName: "properties.importance", type: { name: "String" } - }, - state: { - readOnly: true, - serializedName: "properties.state", + } + } + } +}; + +export const UpsertManagedServerOperationParameters: msRest.CompositeMapper = { + serializedName: "UpsertManagedServerOperationParameters", + type: { + name: "Composite", + className: "UpsertManagedServerOperationParameters", + modelProperties: { + family: { + serializedName: "family", type: { name: "String" } }, - licenseType: { - serializedName: "properties.licenseType", + tier: { + serializedName: "tier", type: { name: "String" } }, vCores: { - serializedName: "properties.vCores", + serializedName: "vCores", type: { name: "Number" } }, storageSizeInGB: { - serializedName: "properties.storageSizeInGB", + serializedName: "storageSizeInGB", type: { name: "Number" } - }, - collation: { - serializedName: "properties.collation", + } + } + } +}; + +export const ManagedInstanceOperationParametersPair: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationParametersPair", + type: { + name: "Composite", + className: "ManagedInstanceOperationParametersPair", + modelProperties: { + currentParameters: { + readOnly: true, + serializedName: "currentParameters", type: { - name: "String" + name: "Composite", + className: "UpsertManagedServerOperationParameters" } }, - dnsZone: { + requestedParameters: { readOnly: true, - serializedName: "properties.dnsZone", + serializedName: "requestedParameters", type: { - name: "String" + name: "Composite", + className: "UpsertManagedServerOperationParameters" } - }, - dnsZonePartner: { - serializedName: "properties.dnsZonePartner", + } + } + } +}; + +export const UpsertManagedServerOperationStep: msRest.CompositeMapper = { + serializedName: "UpsertManagedServerOperationStep", + type: { + name: "Composite", + className: "UpsertManagedServerOperationStep", + modelProperties: { + order: { + serializedName: "order", type: { - name: "String" + name: "Number" } }, - publicDataEndpointEnabled: { - serializedName: "properties.publicDataEndpointEnabled", + name: { + serializedName: "name", type: { - name: "Boolean" + name: "String" } }, - sourceManagedInstanceId: { - serializedName: "properties.sourceManagedInstanceId", + status: { + serializedName: "status", type: { name: "String" } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "DateTime" - } - }, - proxyOverride: { - serializedName: "properties.proxyOverride", - type: { - name: "String" - } - }, - timezoneId: { - serializedName: "properties.timezoneId", + } + } + } +}; + +export const ManagedInstanceOperationSteps: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationSteps", + type: { + name: "Composite", + className: "ManagedInstanceOperationSteps", + modelProperties: { + totalSteps: { + readOnly: true, + serializedName: "totalSteps", type: { name: "String" } }, - instancePoolId: { - serializedName: "properties.instancePoolId", + currentStep: { + readOnly: true, + serializedName: "currentStep", type: { - name: "String" + name: "Number" } }, - tags: { - serializedName: "tags", + stepsList: { + readOnly: true, + serializedName: "stepsList", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "UpsertManagedServerOperationStep" } } } @@ -7978,184 +7400,180 @@ export const ManagedInstanceUpdate: msRest.CompositeMapper = { } }; -export const ManagedDatabaseRestoreDetailsResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseRestoreDetailsResult", +export const ManagedInstanceOperation: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperation", type: { name: "Composite", - className: "ManagedDatabaseRestoreDetailsResult", + className: "ManagedInstanceOperation", modelProperties: { ...ProxyResource.type.modelProperties, - status: { + managedInstanceName: { readOnly: true, - serializedName: "properties.status", + serializedName: "properties.managedInstanceName", type: { name: "String" } }, - currentRestoringFileName: { + operation: { readOnly: true, - serializedName: "properties.currentRestoringFileName", + serializedName: "properties.operation", type: { name: "String" } }, - lastRestoredFileName: { + operationFriendlyName: { readOnly: true, - serializedName: "properties.lastRestoredFileName", + serializedName: "properties.operationFriendlyName", type: { name: "String" } }, - lastRestoredFileTime: { - readOnly: true, - serializedName: "properties.lastRestoredFileTime", - type: { - name: "DateTime" - } - }, - percentCompleted: { + percentComplete: { readOnly: true, - serializedName: "properties.percentCompleted", + serializedName: "properties.percentComplete", type: { name: "Number" } }, - unrestorableFiles: { - readOnly: true, - serializedName: "properties.unrestorableFiles", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - numberOfFilesDetected: { + startTime: { readOnly: true, - serializedName: "properties.numberOfFilesDetected", + serializedName: "properties.startTime", type: { - name: "Number" + name: "DateTime" } }, - lastUploadedFileName: { + state: { readOnly: true, - serializedName: "properties.lastUploadedFileName", + serializedName: "properties.state", type: { name: "String" } }, - lastUploadedFileTime: { + errorCode: { readOnly: true, - serializedName: "properties.lastUploadedFileTime", + serializedName: "properties.errorCode", type: { - name: "DateTime" + name: "Number" } }, - blockReason: { + errorDescription: { readOnly: true, - serializedName: "properties.blockReason", - type: { - name: "String" - } - } - } - } -}; - -export const ManagedDatabase: msRest.CompositeMapper = { - serializedName: "ManagedDatabase", - type: { - name: "Composite", - className: "ManagedDatabase", - modelProperties: { - ...TrackedResource.type.modelProperties, - collation: { - serializedName: "properties.collation", + serializedName: "properties.errorDescription", type: { name: "String" } }, - status: { + errorSeverity: { readOnly: true, - serializedName: "properties.status", + serializedName: "properties.errorSeverity", type: { - name: "String" + name: "Number" } }, - creationDate: { + isUserError: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "properties.isUserError", type: { - name: "DateTime" + name: "Boolean" } }, - earliestRestorePoint: { + estimatedCompletionTime: { readOnly: true, - serializedName: "properties.earliestRestorePoint", + serializedName: "properties.estimatedCompletionTime", type: { name: "DateTime" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + description: { + readOnly: true, + serializedName: "properties.description", type: { - name: "DateTime" + name: "String" } }, - defaultSecondaryLocation: { + isCancellable: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "properties.isCancellable", type: { - name: "String" + name: "Boolean" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + operationParameters: { + readOnly: true, + serializedName: "properties.operationParameters", type: { - name: "String" + name: "Composite", + className: "ManagedInstanceOperationParametersPair" } }, - createMode: { - serializedName: "properties.createMode", + operationSteps: { + readOnly: true, + serializedName: "properties.operationSteps", type: { - name: "String" + name: "Composite", + className: "ManagedInstanceOperationSteps" } - }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + } + } + } +}; + +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" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + login: { + required: true, + serializedName: "properties.login", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + sid: { + required: true, + serializedName: "properties.sid", type: { - name: "String" + name: "Uuid" } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + tenantId: { + serializedName: "properties.tenantId", type: { - name: "String" + name: "Uuid" } }, - failoverGroupId: { + azureADOnlyAuthentication: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "properties.azureADOnlyAuthentication", type: { - name: "String" + name: "Boolean" } - }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + } + } + } +}; + +export const SyncDatabaseIdProperties: msRest.CompositeMapper = { + serializedName: "SyncDatabaseIdProperties", + type: { + name: "Composite", + className: "SyncDatabaseIdProperties", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } @@ -8164,125 +7582,274 @@ export const ManagedDatabase: msRest.CompositeMapper = { } }; -export const ManagedDatabaseUpdate: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseUpdate", +export const SyncFullSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaTableColumn", type: { name: "Composite", - className: "ManagedDatabaseUpdate", + className: "SyncFullSchemaTableColumn", modelProperties: { - collation: { - serializedName: "properties.collation", + dataSize: { + readOnly: true, + serializedName: "dataSize", type: { name: "String" } }, - status: { + dataType: { readOnly: true, - serializedName: "properties.status", + serializedName: "dataType", type: { name: "String" } }, - creationDate: { + errorId: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "errorId", type: { - name: "DateTime" + name: "String" } }, - earliestRestorePoint: { + hasError: { readOnly: true, - serializedName: "properties.earliestRestorePoint", + serializedName: "hasError", type: { - name: "DateTime" + name: "Boolean" } }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", + isPrimaryKey: { + readOnly: true, + serializedName: "isPrimaryKey", type: { - name: "DateTime" + name: "Boolean" } }, - defaultSecondaryLocation: { + name: { readOnly: true, - serializedName: "properties.defaultSecondaryLocation", + serializedName: "name", type: { name: "String" } }, - catalogCollation: { - serializedName: "properties.catalogCollation", + quotedName: { + readOnly: true, + serializedName: "quotedName", type: { name: "String" } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" + } + } + } +}; + +export const SyncFullSchemaTable: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaTable", + type: { + name: "Composite", + className: "SyncFullSchemaTable", + modelProperties: { + columns: { + readOnly: true, + serializedName: "columns", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncFullSchemaTableColumn" + } + } } }, - storageContainerUri: { - serializedName: "properties.storageContainerUri", + errorId: { + readOnly: true, + serializedName: "errorId", type: { name: "String" } }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + hasError: { + readOnly: true, + serializedName: "hasError", + type: { + name: "Boolean" + } + }, + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - restorableDroppedDatabaseId: { - serializedName: "properties.restorableDroppedDatabaseId", + quotedName: { + readOnly: true, + serializedName: "quotedName", type: { name: "String" } + } + } + } +}; + +export const SyncFullSchemaProperties: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaProperties", + type: { + name: "Composite", + className: "SyncFullSchemaProperties", + modelProperties: { + tables: { + readOnly: true, + serializedName: "tables", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncFullSchemaTable" + } + } + } }, - storageContainerSasToken: { - serializedName: "properties.storageContainerSasToken", + lastUpdateTime: { + readOnly: true, + serializedName: "lastUpdateTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const SyncGroupLogProperties: msRest.CompositeMapper = { + serializedName: "SyncGroupLogProperties", + type: { + name: "Composite", + className: "SyncGroupLogProperties", + modelProperties: { + timestamp: { + readOnly: true, + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - failoverGroupId: { + source: { readOnly: true, - serializedName: "properties.failoverGroupId", + serializedName: "source", type: { name: "String" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", + details: { + readOnly: true, + serializedName: "details", type: { name: "String" } }, - tags: { - serializedName: "tags", + tracingId: { + readOnly: true, + serializedName: "tracingId", type: { - name: "Dictionary", - value: { + name: "Uuid" + } + }, + operationStatus: { + readOnly: true, + serializedName: "operationStatus", + type: { + name: "String" + } + } + } + } +}; + +export const SyncGroupSchemaTableColumn: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTableColumn", + type: { + name: "Composite", + className: "SyncGroupSchemaTableColumn", + modelProperties: { + quotedName: { + serializedName: "quotedName", + type: { + name: "String" + } + }, + dataSize: { + serializedName: "dataSize", + type: { + name: "String" + } + }, + dataType: { + serializedName: "dataType", + type: { + name: "String" + } + } + } + } +}; + +export const SyncGroupSchemaTable: msRest.CompositeMapper = { + serializedName: "SyncGroupSchemaTable", + type: { + name: "Composite", + className: "SyncGroupSchemaTable", + modelProperties: { + columns: { + serializedName: "columns", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "SyncGroupSchemaTableColumn" } } } + }, + quotedName: { + serializedName: "quotedName", + type: { + name: "String" + } } } } }; -export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { - serializedName: "CompleteDatabaseRestoreDefinition", +export const SyncGroupSchema: msRest.CompositeMapper = { + serializedName: "SyncGroupSchema", type: { name: "Composite", - className: "CompleteDatabaseRestoreDefinition", + className: "SyncGroupSchema", modelProperties: { - lastBackupName: { - required: true, - serializedName: "lastBackupName", + tables: { + serializedName: "tables", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SyncGroupSchemaTable" + } + } + } + }, + masterSyncMemberName: { + serializedName: "masterSyncMemberName", type: { name: "String" } @@ -8291,14 +7858,2886 @@ export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { } }; -export const PrivateEndpointProperty: msRest.CompositeMapper = { - serializedName: "PrivateEndpointProperty", +export const SyncGroup: msRest.CompositeMapper = { + serializedName: "SyncGroup", type: { name: "Composite", - className: "PrivateEndpointProperty", + className: "SyncGroup", modelProperties: { - id: { - serializedName: "id", + ...ProxyResource.type.modelProperties, + interval: { + serializedName: "properties.interval", + type: { + name: "Number" + } + }, + lastSyncTime: { + readOnly: true, + serializedName: "properties.lastSyncTime", + type: { + name: "DateTime" + } + }, + conflictResolutionPolicy: { + serializedName: "properties.conflictResolutionPolicy", + type: { + name: "String" + } + }, + syncDatabaseId: { + serializedName: "properties.syncDatabaseId", + type: { + name: "String" + } + }, + hubDatabaseUserName: { + serializedName: "properties.hubDatabaseUserName", + type: { + name: "String" + } + }, + hubDatabasePassword: { + serializedName: "properties.hubDatabasePassword", + type: { + name: "String" + } + }, + syncState: { + readOnly: true, + serializedName: "properties.syncState", + type: { + name: "String" + } + }, + schema: { + serializedName: "properties.schema", + type: { + name: "Composite", + className: "SyncGroupSchema" + } + }, + usePrivateLinkConnection: { + serializedName: "properties.usePrivateLinkConnection", + type: { + name: "Boolean" + } + }, + privateEndpointName: { + readOnly: true, + serializedName: "properties.privateEndpointName", + type: { + name: "String" + } + } + } + } +}; + +export const SyncMember: msRest.CompositeMapper = { + serializedName: "SyncMember", + type: { + name: "Composite", + className: "SyncMember", + modelProperties: { + ...ProxyResource.type.modelProperties, + databaseType: { + serializedName: "properties.databaseType", + type: { + name: "String" + } + }, + syncAgentId: { + serializedName: "properties.syncAgentId", + type: { + name: "String" + } + }, + sqlServerDatabaseId: { + serializedName: "properties.sqlServerDatabaseId", + type: { + name: "Uuid" + } + }, + syncMemberAzureDatabaseResourceId: { + serializedName: "properties.syncMemberAzureDatabaseResourceId", + type: { + name: "String" + } + }, + usePrivateLinkConnection: { + serializedName: "properties.usePrivateLinkConnection", + type: { + name: "Boolean" + } + }, + privateEndpointName: { + readOnly: true, + serializedName: "properties.privateEndpointName", + type: { + name: "String" + } + }, + serverName: { + serializedName: "properties.serverName", + type: { + name: "String" + } + }, + databaseName: { + serializedName: "properties.databaseName", + type: { + name: "String" + } + }, + userName: { + serializedName: "properties.userName", + type: { + name: "String" + } + }, + password: { + serializedName: "properties.password", + type: { + name: "String" + } + }, + syncDirection: { + serializedName: "properties.syncDirection", + type: { + name: "String" + } + }, + syncState: { + readOnly: true, + serializedName: "properties.syncState", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkIsolationSettings: msRest.CompositeMapper = { + serializedName: "NetworkIsolationSettings", + type: { + name: "Composite", + className: "NetworkIsolationSettings", + modelProperties: { + storageAccountResourceId: { + serializedName: "storageAccountResourceId", + type: { + name: "String" + } + }, + sqlServerResourceId: { + serializedName: "sqlServerResourceId", + type: { + name: "String" + } + } + } + } +}; + +export const ExportDatabaseDefinition: msRest.CompositeMapper = { + serializedName: "ExportDatabaseDefinition", + type: { + name: "Composite", + className: "ExportDatabaseDefinition", + modelProperties: { + storageKeyType: { + required: true, + serializedName: "storageKeyType", + type: { + name: "String" + } + }, + storageKey: { + required: true, + serializedName: "storageKey", + type: { + name: "String" + } + }, + storageUri: { + required: true, + serializedName: "storageUri", + type: { + name: "String" + } + }, + administratorLogin: { + required: true, + serializedName: "administratorLogin", + type: { + name: "String" + } + }, + administratorLoginPassword: { + required: true, + serializedName: "administratorLoginPassword", + type: { + name: "String" + } + }, + authenticationType: { + serializedName: "authenticationType", + type: { + name: "String" + } + }, + networkIsolation: { + serializedName: "networkIsolation", + type: { + name: "Composite", + className: "NetworkIsolationSettings" + } + } + } + } +}; + +export const PrivateEndpointConnectionRequestStatus: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionRequestStatus", + type: { + name: "Composite", + className: "PrivateEndpointConnectionRequestStatus", + modelProperties: { + privateLinkServiceId: { + readOnly: true, + serializedName: "privateLinkServiceId", + type: { + name: "String" + } + }, + privateEndpointConnectionName: { + readOnly: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const ImportExportOperationResult: msRest.CompositeMapper = { + serializedName: "ImportExportOperationResult", + type: { + name: "Composite", + className: "ImportExportOperationResult", + modelProperties: { + ...ProxyResource.type.modelProperties, + requestId: { + readOnly: true, + serializedName: "properties.requestId", + type: { + name: "Uuid" + } + }, + requestType: { + readOnly: true, + serializedName: "properties.requestType", + type: { + name: "String" + } + }, + queuedTime: { + readOnly: true, + serializedName: "properties.queuedTime", + type: { + name: "String" + } + }, + lastModifiedTime: { + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "String" + } + }, + blobUri: { + readOnly: true, + serializedName: "properties.blobUri", + type: { + name: "String" + } + }, + serverName: { + readOnly: true, + serializedName: "properties.serverName", + type: { + name: "String" + } + }, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + errorMessage: { + readOnly: true, + serializedName: "properties.errorMessage", + type: { + name: "String" + } + }, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnectionRequestStatus" + } + } + } + } + } + } +}; + +export const ImportExistingDatabaseDefinition: msRest.CompositeMapper = { + serializedName: "ImportExistingDatabaseDefinition", + type: { + name: "Composite", + className: "ImportExistingDatabaseDefinition", + modelProperties: { + storageKeyType: { + required: true, + serializedName: "storageKeyType", + type: { + name: "String" + } + }, + storageKey: { + required: true, + serializedName: "storageKey", + type: { + name: "String" + } + }, + storageUri: { + required: true, + serializedName: "storageUri", + type: { + name: "String" + } + }, + administratorLogin: { + required: true, + serializedName: "administratorLogin", + type: { + name: "String" + } + }, + administratorLoginPassword: { + required: true, + serializedName: "administratorLoginPassword", + type: { + name: "String" + } + }, + authenticationType: { + serializedName: "authenticationType", + type: { + name: "String" + } + }, + networkIsolation: { + serializedName: "networkIsolation", + type: { + name: "Composite", + className: "NetworkIsolationSettings" + } + } + } + } +}; + +export const ImportNewDatabaseDefinition: msRest.CompositeMapper = { + serializedName: "ImportNewDatabaseDefinition", + type: { + name: "Composite", + className: "ImportNewDatabaseDefinition", + modelProperties: { + databaseName: { + serializedName: "databaseName", + type: { + name: "String" + } + }, + edition: { + serializedName: "edition", + type: { + name: "String" + } + }, + serviceObjectiveName: { + serializedName: "serviceObjectiveName", + type: { + name: "String" + } + }, + maxSizeBytes: { + serializedName: "maxSizeBytes", + type: { + name: "String" + } + }, + storageKeyType: { + required: true, + serializedName: "storageKeyType", + type: { + name: "String" + } + }, + storageKey: { + required: true, + serializedName: "storageKey", + type: { + name: "String" + } + }, + storageUri: { + required: true, + serializedName: "storageUri", + type: { + name: "String" + } + }, + administratorLogin: { + required: true, + serializedName: "administratorLogin", + type: { + name: "String" + } + }, + administratorLoginPassword: { + required: true, + serializedName: "administratorLoginPassword", + type: { + name: "String" + } + }, + authenticationType: { + serializedName: "authenticationType", + type: { + name: "String" + } + }, + networkIsolation: { + serializedName: "networkIsolation", + type: { + name: "Composite", + className: "NetworkIsolationSettings" + } + } + } + } +}; + +export const ManagedDatabase: msRest.CompositeMapper = { + serializedName: "ManagedDatabase", + type: { + name: "Composite", + className: "ManagedDatabase", + modelProperties: { + ...TrackedResource.type.modelProperties, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + earliestRestorePoint: { + readOnly: true, + serializedName: "properties.earliestRestorePoint", + type: { + name: "DateTime" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", + type: { + name: "String" + } + }, + catalogCollation: { + serializedName: "properties.catalogCollation", + type: { + name: "String" + } + }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, + storageContainerUri: { + serializedName: "properties.storageContainerUri", + type: { + name: "String" + } + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", + type: { + name: "String" + } + }, + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", + type: { + name: "String" + } + }, + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", + type: { + name: "String" + } + }, + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", + type: { + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" + } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, + autoCompleteRestore: { + serializedName: "properties.autoCompleteRestore", + type: { + name: "Boolean" + } + }, + lastBackupName: { + serializedName: "properties.lastBackupName", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedDatabaseUpdate: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseUpdate", + type: { + name: "Composite", + className: "ManagedDatabaseUpdate", + modelProperties: { + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + earliestRestorePoint: { + readOnly: true, + serializedName: "properties.earliestRestorePoint", + type: { + name: "DateTime" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", + type: { + name: "String" + } + }, + catalogCollation: { + serializedName: "properties.catalogCollation", + type: { + name: "String" + } + }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, + storageContainerUri: { + serializedName: "properties.storageContainerUri", + type: { + name: "String" + } + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", + type: { + name: "String" + } + }, + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", + type: { + name: "String" + } + }, + storageContainerSasToken: { + serializedName: "properties.storageContainerSasToken", + type: { + name: "String" + } + }, + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", + type: { + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" + } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, + autoCompleteRestore: { + serializedName: "properties.autoCompleteRestore", + type: { + name: "Boolean" + } + }, + lastBackupName: { + serializedName: "properties.lastBackupName", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const CompleteDatabaseRestoreDefinition: msRest.CompositeMapper = { + serializedName: "CompleteDatabaseRestoreDefinition", + type: { + name: "Composite", + className: "CompleteDatabaseRestoreDefinition", + modelProperties: { + lastBackupName: { + required: true, + serializedName: "lastBackupName", + type: { + name: "String" + } + } + } + } +}; + +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" + } + }, + currentRestoringFileName: { + readOnly: true, + serializedName: "properties.currentRestoringFileName", + type: { + name: "String" + } + }, + lastRestoredFileName: { + readOnly: true, + serializedName: "properties.lastRestoredFileName", + type: { + name: "String" + } + }, + lastRestoredFileTime: { + readOnly: true, + serializedName: "properties.lastRestoredFileTime", + type: { + name: "DateTime" + } + }, + percentCompleted: { + readOnly: true, + serializedName: "properties.percentCompleted", + type: { + name: "Number" + } + }, + unrestorableFiles: { + readOnly: true, + serializedName: "properties.unrestorableFiles", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + numberOfFilesDetected: { + readOnly: true, + serializedName: "properties.numberOfFilesDetected", + type: { + name: "Number" + } + }, + lastUploadedFileName: { + readOnly: true, + serializedName: "properties.lastUploadedFileName", + type: { + name: "String" + } + }, + lastUploadedFileTime: { + readOnly: true, + serializedName: "properties.lastUploadedFileTime", + type: { + name: "DateTime" + } + }, + blockReason: { + readOnly: true, + serializedName: "properties.blockReason", + type: { + name: "String" + } + } + } + } +}; + +export const ServerAzureADOnlyAuthentication: msRest.CompositeMapper = { + serializedName: "ServerAzureADOnlyAuthentication", + type: { + name: "Composite", + className: "ServerAzureADOnlyAuthentication", + modelProperties: { + ...ProxyResource.type.modelProperties, + azureADOnlyAuthentication: { + required: true, + serializedName: "properties.azureADOnlyAuthentication", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ManagedInstancePrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "ManagedInstancePrivateEndpointProperty", + type: { + name: "Composite", + className: "ManagedInstancePrivateEndpointProperty", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstancePrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "ManagedInstancePrivateLinkServiceConnectionStateProperty", + type: { + name: "Composite", + className: "ManagedInstancePrivateLinkServiceConnectionStateProperty", + modelProperties: { + status: { + required: true, + serializedName: "status", + type: { + name: "String" + } + }, + description: { + required: true, + serializedName: "description", + type: { + name: "String" + } + }, + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstancePrivateEndpointConnectionProperties: msRest.CompositeMapper = { + serializedName: "ManagedInstancePrivateEndpointConnectionProperties", + type: { + name: "Composite", + className: "ManagedInstancePrivateEndpointConnectionProperties", + modelProperties: { + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "ManagedInstancePrivateEndpointProperty" + } + }, + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "ManagedInstancePrivateLinkServiceConnectionStateProperty" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedInstancePecProperty: msRest.CompositeMapper = { + serializedName: "ManagedInstancePecProperty", + type: { + name: "Composite", + className: "ManagedInstancePecProperty", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Composite", + className: "ManagedInstancePrivateEndpointConnectionProperties" + } + } + } + } +}; + +export const ManagedInstance: msRest.CompositeMapper = { + serializedName: "ManagedInstance", + type: { + name: "Composite", + className: "ManagedInstance", + modelProperties: { + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ResourceIdentity" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", + type: { + name: "String" + } + }, + fullyQualifiedDomainName: { + 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", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vCores: { + serializedName: "properties.vCores", + type: { + name: "Number" + } + }, + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", + type: { + name: "Number" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + dnsZone: { + readOnly: true, + serializedName: "properties.dnsZone", + type: { + name: "String" + } + }, + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", + type: { + name: "String" + } + }, + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", + 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", + type: { + name: "String" + } + }, + instancePoolId: { + serializedName: "properties.instancePoolId", + type: { + name: "String" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + type: { + name: "String" + } + }, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstancePecProperty" + } + } + } + }, + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", + type: { + name: "String" + } + }, + storageAccountType: { + serializedName: "properties.storageAccountType", + type: { + name: "String" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ManagedInstanceUpdate: msRest.CompositeMapper = { + serializedName: "ManagedInstanceUpdate", + type: { + name: "Composite", + className: "ManagedInstanceUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ResourceIdentity" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + managedInstanceCreateMode: { + serializedName: "properties.managedInstanceCreateMode", + type: { + name: "String" + } + }, + fullyQualifiedDomainName: { + 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", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + vCores: { + serializedName: "properties.vCores", + type: { + name: "Number" + } + }, + storageSizeInGB: { + serializedName: "properties.storageSizeInGB", + type: { + name: "Number" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + dnsZone: { + readOnly: true, + serializedName: "properties.dnsZone", + type: { + name: "String" + } + }, + dnsZonePartner: { + serializedName: "properties.dnsZonePartner", + type: { + name: "String" + } + }, + publicDataEndpointEnabled: { + serializedName: "properties.publicDataEndpointEnabled", + 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", + type: { + name: "String" + } + }, + instancePoolId: { + serializedName: "properties.instancePoolId", + type: { + name: "String" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + type: { + name: "String" + } + }, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedInstancePecProperty" + } + } + } + }, + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", + type: { + name: "String" + } + }, + storageAccountType: { + serializedName: "properties.storageAccountType", + type: { + name: "String" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const QueryMetricProperties: msRest.CompositeMapper = { + serializedName: "QueryMetricProperties", + type: { + name: "Composite", + className: "QueryMetricProperties", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + readOnly: true, + serializedName: "displayName", + type: { + name: "String" + } + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "Number" + } + }, + min: { + readOnly: true, + serializedName: "min", + type: { + name: "Number" + } + }, + max: { + readOnly: true, + serializedName: "max", + type: { + name: "Number" + } + }, + avg: { + readOnly: true, + serializedName: "avg", + type: { + name: "Number" + } + }, + sum: { + readOnly: true, + serializedName: "sum", + type: { + name: "Number" + } + }, + stdev: { + readOnly: true, + serializedName: "stdev", + type: { + name: "Number" + } + } + } + } +}; + +export const QueryMetricInterval: msRest.CompositeMapper = { + serializedName: "QueryMetricInterval", + type: { + name: "Composite", + className: "QueryMetricInterval", + modelProperties: { + intervalStartTime: { + readOnly: true, + serializedName: "intervalStartTime", + type: { + name: "String" + } + }, + intervalType: { + readOnly: true, + serializedName: "intervalType", + type: { + name: "String" + } + }, + executionCount: { + readOnly: true, + serializedName: "executionCount", + type: { + name: "Number" + } + }, + metrics: { + serializedName: "metrics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryMetricProperties" + } + } + } + } + } + } +}; + +export const QueryStatisticsProperties: msRest.CompositeMapper = { + serializedName: "QueryStatisticsProperties", + type: { + name: "Composite", + className: "QueryStatisticsProperties", + modelProperties: { + databaseName: { + readOnly: true, + serializedName: "databaseName", + type: { + name: "String" + } + }, + queryId: { + readOnly: true, + serializedName: "queryId", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "String" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "String" + } + }, + intervals: { + serializedName: "intervals", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryMetricInterval" + } + } + } + } + } + } +}; + +export const TopQueries: msRest.CompositeMapper = { + serializedName: "TopQueries", + type: { + name: "Composite", + className: "TopQueries", + modelProperties: { + numberOfQueries: { + readOnly: true, + serializedName: "numberOfQueries", + type: { + name: "Number" + } + }, + aggregationFunction: { + readOnly: true, + serializedName: "aggregationFunction", + type: { + name: "String" + } + }, + observationMetric: { + readOnly: true, + serializedName: "observationMetric", + type: { + name: "String" + } + }, + intervalType: { + readOnly: true, + serializedName: "intervalType", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "String" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "String" + } + }, + queries: { + serializedName: "queries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryStatisticsProperties" + } + } + } + } + } + } +}; + +export const ManagedInstanceAzureADOnlyAuthentication: msRest.CompositeMapper = { + serializedName: "ManagedInstanceAzureADOnlyAuthentication", + type: { + name: "Composite", + className: "ManagedInstanceAzureADOnlyAuthentication", + modelProperties: { + ...ProxyResource.type.modelProperties, + azureADOnlyAuthentication: { + required: true, + serializedName: "properties.azureADOnlyAuthentication", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ServerInfo: msRest.CompositeMapper = { + serializedName: "ServerInfo", + type: { + name: "Composite", + className: "ServerInfo", + modelProperties: { + serverId: { + required: true, + serializedName: "serverId", + type: { + name: "String" + } + } + } + } +}; + +export const ServerTrustGroup: msRest.CompositeMapper = { + serializedName: "ServerTrustGroup", + type: { + name: "Composite", + className: "ServerTrustGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + groupMembers: { + required: true, + serializedName: "properties.groupMembers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerInfo" + } + } + } + }, + trustScopes: { + required: true, + serializedName: "properties.trustScopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const 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" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + 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" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + +export const ServerDevOpsAuditingSettings: msRest.CompositeMapper = { + serializedName: "ServerDevOpsAuditingSettings", + type: { + name: "Composite", + className: "ServerDevOpsAuditingSettings", + modelProperties: { + ...ProxyResource.type.modelProperties, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", + type: { + name: "Boolean" + } + }, + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + } + } + } +}; + +export const Database: msRest.CompositeMapper = { + serializedName: "Database", + type: { + name: "Composite", + className: "Database", + modelProperties: { + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + }, + managedBy: { + readOnly: true, + serializedName: "managedBy", + type: { + name: "String" + } + }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", + type: { + name: "Number" + } + }, + sampleName: { + serializedName: "properties.sampleName", + type: { + name: "String" + } + }, + elasticPoolId: { + serializedName: "properties.elasticPoolId", + type: { + name: "String" + } + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + databaseId: { + readOnly: true, + serializedName: "properties.databaseId", + type: { + name: "Uuid" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + currentServiceObjectiveName: { + readOnly: true, + serializedName: "properties.currentServiceObjectiveName", + type: { + name: "String" + } + }, + requestedServiceObjectiveName: { + readOnly: true, + serializedName: "properties.requestedServiceObjectiveName", + type: { + name: "String" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", + type: { + name: "String" + } + }, + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", + type: { + name: "String" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + sourceDatabaseDeletionDate: { + serializedName: "properties.sourceDatabaseDeletionDate", + type: { + name: "DateTime" + } + }, + recoveryServicesRecoveryPointId: { + serializedName: "properties.recoveryServicesRecoveryPointId", + type: { + name: "String" + } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" + } + }, + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", + type: { + name: "String" + } + }, + catalogCollation: { + serializedName: "properties.catalogCollation", + type: { + name: "String" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + maxLogSizeBytes: { + readOnly: true, + serializedName: "properties.maxLogSizeBytes", + type: { + name: "Number" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" + } + }, + readScale: { + serializedName: "properties.readScale", + type: { + name: "String" + } + }, + highAvailabilityReplicaCount: { + serializedName: "properties.highAvailabilityReplicaCount", + type: { + name: "Number" + } + }, + secondaryType: { + serializedName: "properties.secondaryType", + type: { + name: "String" + } + }, + currentSku: { + readOnly: true, + serializedName: "properties.currentSku", + type: { + name: "Composite", + className: "Sku" + } + }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } + }, + currentBackupStorageRedundancy: { + readOnly: true, + serializedName: "properties.currentBackupStorageRedundancy", + type: { + name: "String" + } + }, + requestedBackupStorageRedundancy: { + serializedName: "properties.requestedBackupStorageRedundancy", + type: { + name: "String" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } + }, + pausedDate: { + readOnly: true, + serializedName: "properties.pausedDate", + type: { + name: "DateTime" + } + }, + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", + type: { + name: "DateTime" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + type: { + name: "String" + } + } + } + } +}; + +export const DatabaseUpdate: msRest.CompositeMapper = { + serializedName: "DatabaseUpdate", + type: { + name: "Composite", + className: "DatabaseUpdate", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, + collation: { + serializedName: "properties.collation", + type: { + name: "String" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", + type: { + name: "Number" + } + }, + sampleName: { + serializedName: "properties.sampleName", + type: { + name: "String" + } + }, + elasticPoolId: { + serializedName: "properties.elasticPoolId", + type: { + name: "String" + } + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + databaseId: { + readOnly: true, + serializedName: "properties.databaseId", + type: { + name: "Uuid" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + currentServiceObjectiveName: { + readOnly: true, + serializedName: "properties.currentServiceObjectiveName", + type: { + name: "String" + } + }, + requestedServiceObjectiveName: { + readOnly: true, + serializedName: "properties.requestedServiceObjectiveName", + type: { + name: "String" + } + }, + defaultSecondaryLocation: { + readOnly: true, + serializedName: "properties.defaultSecondaryLocation", + type: { + name: "String" + } + }, + failoverGroupId: { + readOnly: true, + serializedName: "properties.failoverGroupId", + type: { + name: "String" + } + }, + restorePointInTime: { + serializedName: "properties.restorePointInTime", + type: { + name: "DateTime" + } + }, + sourceDatabaseDeletionDate: { + serializedName: "properties.sourceDatabaseDeletionDate", + type: { + name: "DateTime" + } + }, + recoveryServicesRecoveryPointId: { + serializedName: "properties.recoveryServicesRecoveryPointId", + type: { + name: "String" + } + }, + longTermRetentionBackupResourceId: { + serializedName: "properties.longTermRetentionBackupResourceId", + type: { + name: "String" + } + }, + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", + type: { + name: "String" + } + }, + restorableDroppedDatabaseId: { + serializedName: "properties.restorableDroppedDatabaseId", + type: { + name: "String" + } + }, + catalogCollation: { + serializedName: "properties.catalogCollation", + type: { + name: "String" + } + }, + zoneRedundant: { + serializedName: "properties.zoneRedundant", + type: { + name: "Boolean" + } + }, + licenseType: { + serializedName: "properties.licenseType", + type: { + name: "String" + } + }, + maxLogSizeBytes: { + readOnly: true, + serializedName: "properties.maxLogSizeBytes", + type: { + name: "Number" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" + } + }, + readScale: { + serializedName: "properties.readScale", + type: { + name: "String" + } + }, + highAvailabilityReplicaCount: { + serializedName: "properties.highAvailabilityReplicaCount", + type: { + name: "Number" + } + }, + secondaryType: { + serializedName: "properties.secondaryType", + type: { + name: "String" + } + }, + currentSku: { + readOnly: true, + serializedName: "properties.currentSku", + type: { + name: "Composite", + className: "Sku" + } + }, + autoPauseDelay: { + serializedName: "properties.autoPauseDelay", + type: { + name: "Number" + } + }, + currentBackupStorageRedundancy: { + readOnly: true, + serializedName: "properties.currentBackupStorageRedundancy", + type: { + name: "String" + } + }, + requestedBackupStorageRedundancy: { + serializedName: "properties.requestedBackupStorageRedundancy", + type: { + name: "String" + } + }, + minCapacity: { + serializedName: "properties.minCapacity", + type: { + name: "Number" + } + }, + pausedDate: { + readOnly: true, + serializedName: "properties.pausedDate", + type: { + name: "DateTime" + } + }, + resumedDate: { + readOnly: true, + serializedName: "properties.resumedDate", + type: { + name: "DateTime" + } + }, + maintenanceConfigurationId: { + serializedName: "properties.maintenanceConfigurationId", + type: { + name: "String" + } + }, + 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 CopyLongTermRetentionBackupParameters: msRest.CompositeMapper = { + serializedName: "CopyLongTermRetentionBackupParameters", + type: { + name: "Composite", + className: "CopyLongTermRetentionBackupParameters", + modelProperties: { + targetSubscriptionId: { + serializedName: "properties.targetSubscriptionId", + type: { + name: "String" + } + }, + targetResourceGroup: { + serializedName: "properties.targetResourceGroup", + type: { + name: "String" + } + }, + targetServerResourceId: { + serializedName: "properties.targetServerResourceId", + type: { + name: "String" + } + }, + targetServerFullyQualifiedDomainName: { + serializedName: "properties.targetServerFullyQualifiedDomainName", + type: { + name: "String" + } + }, + targetDatabaseName: { + serializedName: "properties.targetDatabaseName", + type: { + name: "String" + } + }, + targetBackupStorageRedundancy: { + serializedName: "properties.targetBackupStorageRedundancy", + type: { + name: "String" + } + } + } + } +}; + +export const LongTermRetentionBackupOperationResult: msRest.CompositeMapper = { + serializedName: "LongTermRetentionBackupOperationResult", + type: { + name: "Composite", + className: "LongTermRetentionBackupOperationResult", + modelProperties: { + ...ProxyResource.type.modelProperties, + requestId: { + readOnly: true, + serializedName: "properties.requestId", + type: { + name: "Uuid" + } + }, + operationType: { + readOnly: true, + serializedName: "properties.operationType", + type: { + name: "String" + } + }, + fromBackupResourceId: { + readOnly: true, + serializedName: "properties.fromBackupResourceId", + type: { + name: "String" + } + }, + toBackupResourceId: { + readOnly: true, + serializedName: "properties.toBackupResourceId", + type: { + name: "String" + } + }, + targetBackupStorageRedundancy: { + readOnly: true, + serializedName: "properties.targetBackupStorageRedundancy", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "properties.message", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateLongTermRetentionBackupParameters: msRest.CompositeMapper = { + serializedName: "UpdateLongTermRetentionBackupParameters", + type: { + name: "Composite", + className: "UpdateLongTermRetentionBackupParameters", + modelProperties: { + requestedBackupStorageRedundancy: { + serializedName: "properties.requestedBackupStorageRedundancy", + type: { + name: "String" + } + } + } + } +}; + +export const LongTermRetentionBackup: msRest.CompositeMapper = { + serializedName: "LongTermRetentionBackup", + type: { + name: "Composite", + className: "LongTermRetentionBackup", + modelProperties: { + ...ProxyResource.type.modelProperties, + serverName: { + readOnly: true, + serializedName: "properties.serverName", + type: { + name: "String" + } + }, + serverCreateTime: { + readOnly: true, + serializedName: "properties.serverCreateTime", + type: { + name: "DateTime" + } + }, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", + type: { + name: "String" + } + }, + databaseDeletionTime: { + readOnly: true, + serializedName: "properties.databaseDeletionTime", + type: { + name: "DateTime" + } + }, + backupTime: { + readOnly: true, + serializedName: "properties.backupTime", + type: { + name: "DateTime" + } + }, + backupExpirationTime: { + readOnly: true, + serializedName: "properties.backupExpirationTime", + type: { + name: "DateTime" + } + }, + backupStorageRedundancy: { + readOnly: true, + serializedName: "properties.backupStorageRedundancy", + type: { + name: "String" + } + }, + requestedBackupStorageRedundancy: { + serializedName: "properties.requestedBackupStorageRedundancy", + type: { + name: "String" + } + } + } + } +}; + +export const LongTermRetentionPolicy: msRest.CompositeMapper = { + serializedName: "LongTermRetentionPolicy", + type: { + name: "Composite", + className: "LongTermRetentionPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + weeklyRetention: { + serializedName: "properties.weeklyRetention", + type: { + name: "String" + } + }, + monthlyRetention: { + serializedName: "properties.monthlyRetention", + type: { + name: "String" + } + }, + yearlyRetention: { + serializedName: "properties.yearlyRetention", + type: { + name: "String" + } + }, + weekOfYear: { + serializedName: "properties.weekOfYear", + type: { + name: "Number" + } + } + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointProperty" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const RecoverableDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RecoverableDatabaseListResult", + type: { + name: "Composite", + className: "RecoverableDatabaseListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecoverableDatabase" + } + } + } + } + } + } +}; + +export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedDatabaseListResult", + type: { + name: "Composite", + className: "RestorableDroppedDatabaseListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorableDroppedDatabase" + } + } + } + } + } + } +}; + +export const DataMaskingRuleListResult: msRest.CompositeMapper = { + serializedName: "DataMaskingRuleListResult", + type: { + name: "Composite", + className: "DataMaskingRuleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMaskingRule" + } + } + } + } + } + } +}; + +export const FirewallRuleListResult: msRest.CompositeMapper = { + serializedName: "FirewallRuleListResult", + type: { + name: "Composite", + className: "FirewallRuleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FirewallRule" + } + } + } + } + } + } +}; + +export const GeoBackupPolicyListResult: msRest.CompositeMapper = { + serializedName: "GeoBackupPolicyListResult", + type: { + name: "Composite", + className: "GeoBackupPolicyListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GeoBackupPolicy" + } + } + } + } + } + } +}; + +export const MetricListResult: msRest.CompositeMapper = { + serializedName: "MetricListResult", + type: { + name: "Composite", + className: "MetricListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Metric" + } + } + } + } + } + } +}; + +export const MetricDefinitionListResult: msRest.CompositeMapper = { + serializedName: "MetricDefinitionListResult", + type: { + name: "Composite", + className: "MetricDefinitionListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricDefinition" + } + } + } + } + } + } +}; + +export const DatabaseListResult: msRest.CompositeMapper = { + serializedName: "DatabaseListResult", + type: { + name: "Composite", + className: "DatabaseListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Database" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ElasticPoolListResult: msRest.CompositeMapper = { + serializedName: "ElasticPoolListResult", + type: { + name: "Composite", + className: "ElasticPoolListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ElasticPool" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -8307,90 +10746,66 @@ export const PrivateEndpointProperty: msRest.CompositeMapper = { } }; -export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionStateProperty", +export const RecommendedElasticPoolListResult: msRest.CompositeMapper = { + serializedName: "RecommendedElasticPoolListResult", type: { name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty", + className: "RecommendedElasticPoolListResult", modelProperties: { - status: { - required: true, - serializedName: "status", - type: { - name: "String" - } - }, - description: { + value: { required: true, - serializedName: "description", - type: { - name: "String" - } - }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendedElasticPool" + } + } } } } } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const RecommendedElasticPoolListMetricsResult: msRest.CompositeMapper = { + serializedName: "RecommendedElasticPoolListMetricsResult", type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "RecommendedElasticPoolListMetricsResult", modelProperties: { - ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpointProperty" - } - }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionStateProperty" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + value: { + required: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendedElasticPoolMetric" + } + } } } } } }; -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", +export const ReplicationLinkListResult: msRest.CompositeMapper = { + serializedName: "ReplicationLinkListResult", type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "ReplicationLinkListResult", modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", - type: { - name: "String" - } - }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", + value: { + serializedName: "", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ReplicationLink" } } } @@ -8399,30 +10814,33 @@ export const PrivateLinkResourceProperties: msRest.CompositeMapper = { } }; -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", +export const ServerCommunicationLinkListResult: msRest.CompositeMapper = { + serializedName: "ServerCommunicationLinkListResult", type: { name: "Composite", - className: "PrivateLinkResource", + className: "ServerCommunicationLinkListResult", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - readOnly: true, - serializedName: "properties", + value: { + serializedName: "", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerCommunicationLink" + } + } } } } } }; -export const RecoverableDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RecoverableDatabaseListResult", +export const ServiceObjectiveListResult: msRest.CompositeMapper = { + serializedName: "ServiceObjectiveListResult", type: { name: "Composite", - className: "RecoverableDatabaseListResult", + className: "ServiceObjectiveListResult", modelProperties: { value: { required: true, @@ -8432,7 +10850,7 @@ export const RecoverableDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RecoverableDatabase" + className: "ServiceObjective" } } } @@ -8441,11 +10859,11 @@ export const RecoverableDatabaseListResult: msRest.CompositeMapper = { } }; -export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RestorableDroppedDatabaseListResult", +export const ElasticPoolActivityListResult: msRest.CompositeMapper = { + serializedName: "ElasticPoolActivityListResult", type: { name: "Composite", - className: "RestorableDroppedDatabaseListResult", + className: "ElasticPoolActivityListResult", modelProperties: { value: { required: true, @@ -8455,7 +10873,7 @@ export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RestorableDroppedDatabase" + className: "ElasticPoolActivity" } } } @@ -8464,50 +10882,44 @@ export const RestorableDroppedDatabaseListResult: msRest.CompositeMapper = { } }; -export const ServerListResult: msRest.CompositeMapper = { - serializedName: "ServerListResult", +export const ElasticPoolDatabaseActivityListResult: msRest.CompositeMapper = { + serializedName: "ElasticPoolDatabaseActivityListResult", type: { name: "Composite", - className: "ServerListResult", + className: "ElasticPoolDatabaseActivityListResult", modelProperties: { value: { - readOnly: true, + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Server" + className: "ElasticPoolDatabaseActivity" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const DataMaskingRuleListResult: msRest.CompositeMapper = { - serializedName: "DataMaskingRuleListResult", +export const ServiceTierAdvisorListResult: msRest.CompositeMapper = { + serializedName: "ServiceTierAdvisorListResult", type: { name: "Composite", - className: "DataMaskingRuleListResult", + className: "ServiceTierAdvisorListResult", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataMaskingRule" + className: "ServiceTierAdvisor" } } } @@ -8516,20 +10928,21 @@ export const DataMaskingRuleListResult: msRest.CompositeMapper = { } }; -export const FirewallRuleListResult: msRest.CompositeMapper = { - serializedName: "FirewallRuleListResult", +export const TransparentDataEncryptionActivityListResult: msRest.CompositeMapper = { + serializedName: "TransparentDataEncryptionActivityListResult", type: { name: "Composite", - className: "FirewallRuleListResult", + className: "TransparentDataEncryptionActivityListResult", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FirewallRule" + className: "TransparentDataEncryptionActivity" } } } @@ -8538,20 +10951,21 @@ export const FirewallRuleListResult: msRest.CompositeMapper = { } }; -export const GeoBackupPolicyListResult: msRest.CompositeMapper = { - serializedName: "GeoBackupPolicyListResult", +export const ServerUsageListResult: msRest.CompositeMapper = { + serializedName: "ServerUsageListResult", type: { name: "Composite", - className: "GeoBackupPolicyListResult", + className: "ServerUsageListResult", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "GeoBackupPolicy" + className: "ServerUsage" } } } @@ -8560,11 +10974,11 @@ export const GeoBackupPolicyListResult: msRest.CompositeMapper = { } }; -export const MetricListResult: msRest.CompositeMapper = { - serializedName: "MetricListResult", +export const DatabaseUsageListResult: msRest.CompositeMapper = { + serializedName: "DatabaseUsageListResult", type: { name: "Composite", - className: "MetricListResult", + className: "DatabaseUsageListResult", modelProperties: { value: { required: true, @@ -8574,7 +10988,7 @@ export const MetricListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Metric" + className: "DatabaseUsage" } } } @@ -8583,34 +10997,41 @@ export const MetricListResult: msRest.CompositeMapper = { } }; -export const MetricDefinitionListResult: msRest.CompositeMapper = { - serializedName: "MetricDefinitionListResult", +export const EncryptionProtectorListResult: msRest.CompositeMapper = { + serializedName: "EncryptionProtectorListResult", type: { name: "Composite", - className: "MetricDefinitionListResult", + className: "EncryptionProtectorListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MetricDefinition" + className: "EncryptionProtector" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const DatabaseListResult: msRest.CompositeMapper = { - serializedName: "DatabaseListResult", +export const FailoverGroupListResult: msRest.CompositeMapper = { + serializedName: "FailoverGroupListResult", type: { name: "Composite", - className: "DatabaseListResult", + className: "FailoverGroupListResult", modelProperties: { value: { readOnly: true, @@ -8620,7 +11041,7 @@ export const DatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Database" + className: "FailoverGroup" } } } @@ -8636,11 +11057,11 @@ export const DatabaseListResult: msRest.CompositeMapper = { } }; -export const ElasticPoolListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolListResult", +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", type: { name: "Composite", - className: "ElasticPoolListResult", + className: "OperationListResult", modelProperties: { value: { readOnly: true, @@ -8650,7 +11071,7 @@ export const ElasticPoolListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ElasticPool" + className: "Operation" } } } @@ -8666,284 +11087,371 @@ export const ElasticPoolListResult: msRest.CompositeMapper = { } }; -export const RecommendedElasticPoolListResult: msRest.CompositeMapper = { - serializedName: "RecommendedElasticPoolListResult", +export const ServerKeyListResult: msRest.CompositeMapper = { + serializedName: "ServerKeyListResult", type: { name: "Composite", - className: "RecommendedElasticPoolListResult", + className: "ServerKeyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecommendedElasticPool" + className: "ServerKey" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const RecommendedElasticPoolListMetricsResult: msRest.CompositeMapper = { - serializedName: "RecommendedElasticPoolListMetricsResult", +export const SyncAgentListResult: msRest.CompositeMapper = { + serializedName: "SyncAgentListResult", type: { name: "Composite", - className: "RecommendedElasticPoolListMetricsResult", + className: "SyncAgentListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecommendedElasticPoolMetric" + className: "SyncAgent" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ReplicationLinkListResult: msRest.CompositeMapper = { - serializedName: "ReplicationLinkListResult", +export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "SyncAgentLinkedDatabaseListResult", type: { name: "Composite", - className: "ReplicationLinkListResult", + className: "SyncAgentLinkedDatabaseListResult", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ReplicationLink" + className: "SyncAgentLinkedDatabase" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServerAdministratorListResult: msRest.CompositeMapper = { - serializedName: "ServerAdministratorListResult", +export const SubscriptionUsageListResult: msRest.CompositeMapper = { + serializedName: "SubscriptionUsageListResult", type: { name: "Composite", - className: "ServerAdministratorListResult", + className: "SubscriptionUsageListResult", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServerAzureADAdministrator" + className: "SubscriptionUsage" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServerCommunicationLinkListResult: msRest.CompositeMapper = { - serializedName: "ServerCommunicationLinkListResult", +export const VirtualClusterListResult: msRest.CompositeMapper = { + serializedName: "VirtualClusterListResult", type: { name: "Composite", - className: "ServerCommunicationLinkListResult", + className: "VirtualClusterListResult", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServerCommunicationLink" + className: "VirtualCluster" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServiceObjectiveListResult: msRest.CompositeMapper = { - serializedName: "ServiceObjectiveListResult", +export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { + serializedName: "VirtualNetworkRuleListResult", type: { name: "Composite", - className: "ServiceObjectiveListResult", + className: "VirtualNetworkRuleListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceObjective" + className: "VirtualNetworkRule" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ElasticPoolActivityListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolActivityListResult", +export const ExtendedDatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedDatabaseBlobAuditingPolicyListResult", type: { name: "Composite", - className: "ElasticPoolActivityListResult", + className: "ExtendedDatabaseBlobAuditingPolicyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ElasticPoolActivity" + className: "ExtendedDatabaseBlobAuditingPolicy" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ElasticPoolDatabaseActivityListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolDatabaseActivityListResult", +export const ExtendedServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "ElasticPoolDatabaseActivityListResult", + className: "ExtendedServerBlobAuditingPolicyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ElasticPoolDatabaseActivity" + className: "ExtendedServerBlobAuditingPolicy" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServiceTierAdvisorListResult: msRest.CompositeMapper = { - serializedName: "ServiceTierAdvisorListResult", +export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "ServiceTierAdvisorListResult", + className: "ServerBlobAuditingPolicyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceTierAdvisor" + className: "ServerBlobAuditingPolicy" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const TransparentDataEncryptionActivityListResult: msRest.CompositeMapper = { - serializedName: "TransparentDataEncryptionActivityListResult", +export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "DatabaseBlobAuditingPolicyListResult", type: { name: "Composite", - className: "TransparentDataEncryptionActivityListResult", + className: "DatabaseBlobAuditingPolicyListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TransparentDataEncryptionActivity" + className: "DatabaseBlobAuditingPolicy" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ServerUsageListResult: msRest.CompositeMapper = { - serializedName: "ServerUsageListResult", +export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "DatabaseVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "ServerUsageListResult", + className: "DatabaseVulnerabilityAssessmentListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServerUsage" + className: "DatabaseVulnerabilityAssessment" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const DatabaseUsageListResult: msRest.CompositeMapper = { - serializedName: "DatabaseUsageListResult", +export const JobAgentListResult: msRest.CompositeMapper = { + serializedName: "JobAgentListResult", type: { name: "Composite", - className: "DatabaseUsageListResult", + className: "JobAgentListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DatabaseUsage" + className: "JobAgent" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const EncryptionProtectorListResult: msRest.CompositeMapper = { - serializedName: "EncryptionProtectorListResult", +export const JobCredentialListResult: msRest.CompositeMapper = { + serializedName: "JobCredentialListResult", type: { name: "Composite", - className: "EncryptionProtectorListResult", + className: "JobCredentialListResult", modelProperties: { value: { readOnly: true, @@ -8953,7 +11461,7 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "EncryptionProtector" + className: "JobCredential" } } } @@ -8969,11 +11477,11 @@ export const EncryptionProtectorListResult: msRest.CompositeMapper = { } }; -export const FailoverGroupListResult: msRest.CompositeMapper = { - serializedName: "FailoverGroupListResult", +export const JobExecutionListResult: msRest.CompositeMapper = { + serializedName: "JobExecutionListResult", type: { name: "Composite", - className: "FailoverGroupListResult", + className: "JobExecutionListResult", modelProperties: { value: { readOnly: true, @@ -8983,7 +11491,7 @@ export const FailoverGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "FailoverGroup" + className: "JobExecution" } } } @@ -8999,11 +11507,11 @@ export const FailoverGroupListResult: msRest.CompositeMapper = { } }; -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", +export const JobListResult: msRest.CompositeMapper = { + serializedName: "JobListResult", type: { name: "Composite", - className: "OperationListResult", + className: "JobListResult", modelProperties: { value: { readOnly: true, @@ -9013,7 +11521,7 @@ export const OperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "Job" } } } @@ -9029,11 +11537,11 @@ export const OperationListResult: msRest.CompositeMapper = { } }; -export const ServerKeyListResult: msRest.CompositeMapper = { - serializedName: "ServerKeyListResult", +export const JobStepListResult: msRest.CompositeMapper = { + serializedName: "JobStepListResult", type: { name: "Composite", - className: "ServerKeyListResult", + className: "JobStepListResult", modelProperties: { value: { readOnly: true, @@ -9043,7 +11551,7 @@ export const ServerKeyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerKey" + className: "JobStep" } } } @@ -9059,11 +11567,11 @@ export const ServerKeyListResult: msRest.CompositeMapper = { } }; -export const SyncAgentListResult: msRest.CompositeMapper = { - serializedName: "SyncAgentListResult", +export const JobTargetGroupListResult: msRest.CompositeMapper = { + serializedName: "JobTargetGroupListResult", type: { name: "Composite", - className: "SyncAgentListResult", + className: "JobTargetGroupListResult", modelProperties: { value: { readOnly: true, @@ -9073,7 +11581,7 @@ export const SyncAgentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncAgent" + className: "JobTargetGroup" } } } @@ -9089,11 +11597,11 @@ export const SyncAgentListResult: msRest.CompositeMapper = { } }; -export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "SyncAgentLinkedDatabaseListResult", +export const JobVersionListResult: msRest.CompositeMapper = { + serializedName: "JobVersionListResult", type: { name: "Composite", - className: "SyncAgentLinkedDatabaseListResult", + className: "JobVersionListResult", modelProperties: { value: { readOnly: true, @@ -9103,7 +11611,7 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncAgentLinkedDatabase" + className: "JobVersion" } } } @@ -9119,11 +11627,11 @@ export const SyncAgentLinkedDatabaseListResult: msRest.CompositeMapper = { } }; -export const SyncDatabaseIdListResult: msRest.CompositeMapper = { - serializedName: "SyncDatabaseIdListResult", +export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedBackupShortTermRetentionPolicyListResult", type: { name: "Composite", - className: "SyncDatabaseIdListResult", + className: "ManagedBackupShortTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9133,7 +11641,7 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncDatabaseIdProperties" + className: "ManagedBackupShortTermRetentionPolicy" } } } @@ -9149,11 +11657,11 @@ export const SyncDatabaseIdListResult: msRest.CompositeMapper = { } }; -export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { - serializedName: "SyncFullSchemaPropertiesListResult", +export const ServerDnsAliasListResult: msRest.CompositeMapper = { + serializedName: "ServerDnsAliasListResult", type: { name: "Composite", - className: "SyncFullSchemaPropertiesListResult", + className: "ServerDnsAliasListResult", modelProperties: { value: { readOnly: true, @@ -9163,7 +11671,7 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncFullSchemaProperties" + className: "ServerDnsAlias" } } } @@ -9179,11 +11687,11 @@ export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { } }; -export const SyncGroupLogListResult: msRest.CompositeMapper = { - serializedName: "SyncGroupLogListResult", +export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "LogicalServerSecurityAlertPolicyListResult", type: { name: "Composite", - className: "SyncGroupLogListResult", + className: "LogicalServerSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9193,7 +11701,7 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncGroupLogProperties" + className: "ServerSecurityAlertPolicy" } } } @@ -9209,11 +11717,11 @@ export const SyncGroupLogListResult: msRest.CompositeMapper = { } }; -export const SyncGroupListResult: msRest.CompositeMapper = { - serializedName: "SyncGroupListResult", +export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedManagedDatabaseListResult", type: { name: "Composite", - className: "SyncGroupListResult", + className: "RestorableDroppedManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -9223,7 +11731,7 @@ export const SyncGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncGroup" + className: "RestorableDroppedManagedDatabase" } } } @@ -9239,11 +11747,11 @@ export const SyncGroupListResult: msRest.CompositeMapper = { } }; -export const SyncMemberListResult: msRest.CompositeMapper = { - serializedName: "SyncMemberListResult", +export const RestorePointListResult: msRest.CompositeMapper = { + serializedName: "RestorePointListResult", type: { name: "Composite", - className: "SyncMemberListResult", + className: "RestorePointListResult", modelProperties: { value: { readOnly: true, @@ -9253,27 +11761,20 @@ export const SyncMemberListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SyncMember" + className: "RestorePoint" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const SubscriptionUsageListResult: msRest.CompositeMapper = { - serializedName: "SubscriptionUsageListResult", +export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseSecurityAlertPolicyListResult", type: { name: "Composite", - className: "SubscriptionUsageListResult", + className: "ManagedDatabaseSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9283,7 +11784,7 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SubscriptionUsage" + className: "ManagedDatabaseSecurityAlertPolicy" } } } @@ -9299,11 +11800,11 @@ export const SubscriptionUsageListResult: msRest.CompositeMapper = { } }; -export const VirtualClusterListResult: msRest.CompositeMapper = { - serializedName: "VirtualClusterListResult", +export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedServerSecurityAlertPolicyListResult", type: { name: "Composite", - className: "VirtualClusterListResult", + className: "ManagedServerSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9313,7 +11814,7 @@ export const VirtualClusterListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualCluster" + className: "ManagedServerSecurityAlertPolicy" } } } @@ -9329,11 +11830,11 @@ export const VirtualClusterListResult: msRest.CompositeMapper = { } }; -export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { - serializedName: "VirtualNetworkRuleListResult", +export const SensitivityLabelListResult: msRest.CompositeMapper = { + serializedName: "SensitivityLabelListResult", type: { name: "Composite", - className: "VirtualNetworkRuleListResult", + className: "SensitivityLabelListResult", modelProperties: { value: { readOnly: true, @@ -9343,7 +11844,7 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualNetworkRule" + className: "SensitivityLabel" } } } @@ -9359,11 +11860,11 @@ export const VirtualNetworkRuleListResult: msRest.CompositeMapper = { } }; -export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicyListResult", +export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceAdministratorListResult", type: { name: "Composite", - className: "ServerBlobAuditingPolicyListResult", + className: "ManagedInstanceAdministratorListResult", modelProperties: { value: { readOnly: true, @@ -9373,7 +11874,7 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerBlobAuditingPolicy" + className: "ManagedInstanceAdministrator" } } } @@ -9389,11 +11890,11 @@ export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { } }; -export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { - serializedName: "DatabaseBlobAuditingPolicyListResult", +export const DatabaseOperationListResult: msRest.CompositeMapper = { + serializedName: "DatabaseOperationListResult", type: { name: "Composite", - className: "DatabaseBlobAuditingPolicyListResult", + className: "DatabaseOperationListResult", modelProperties: { value: { readOnly: true, @@ -9403,7 +11904,7 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseBlobAuditingPolicy" + className: "DatabaseOperation" } } } @@ -9419,11 +11920,11 @@ export const DatabaseBlobAuditingPolicyListResult: msRest.CompositeMapper = { } }; -export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "DatabaseVulnerabilityAssessmentListResult", +export const ElasticPoolOperationListResult: msRest.CompositeMapper = { + serializedName: "ElasticPoolOperationListResult", type: { name: "Composite", - className: "DatabaseVulnerabilityAssessmentListResult", + className: "ElasticPoolOperationListResult", modelProperties: { value: { readOnly: true, @@ -9433,7 +11934,7 @@ export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "DatabaseVulnerabilityAssessment" + className: "ElasticPoolOperation" } } } @@ -9449,11 +11950,11 @@ export const DatabaseVulnerabilityAssessmentListResult: msRest.CompositeMapper = } }; -export const JobAgentListResult: msRest.CompositeMapper = { - serializedName: "JobAgentListResult", +export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecordListResult", type: { name: "Composite", - className: "JobAgentListResult", + className: "VulnerabilityAssessmentScanRecordListResult", modelProperties: { value: { readOnly: true, @@ -9463,7 +11964,7 @@ export const JobAgentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobAgent" + className: "VulnerabilityAssessmentScanRecord" } } } @@ -9479,11 +11980,11 @@ export const JobAgentListResult: msRest.CompositeMapper = { } }; -export const JobCredentialListResult: msRest.CompositeMapper = { - serializedName: "JobCredentialListResult", +export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { + serializedName: "InstanceFailoverGroupListResult", type: { name: "Composite", - className: "JobCredentialListResult", + className: "InstanceFailoverGroupListResult", modelProperties: { value: { readOnly: true, @@ -9493,7 +11994,7 @@ export const JobCredentialListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobCredential" + className: "InstanceFailoverGroup" } } } @@ -9509,11 +12010,11 @@ export const JobCredentialListResult: msRest.CompositeMapper = { } }; -export const JobExecutionListResult: msRest.CompositeMapper = { - serializedName: "JobExecutionListResult", +export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceKeyListResult", type: { name: "Composite", - className: "JobExecutionListResult", + className: "ManagedInstanceKeyListResult", modelProperties: { value: { readOnly: true, @@ -9523,7 +12024,7 @@ export const JobExecutionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobExecution" + className: "ManagedInstanceKey" } } } @@ -9539,11 +12040,11 @@ export const JobExecutionListResult: msRest.CompositeMapper = { } }; -export const JobListResult: msRest.CompositeMapper = { - serializedName: "JobListResult", +export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceEncryptionProtectorListResult", type: { name: "Composite", - className: "JobListResult", + className: "ManagedInstanceEncryptionProtectorListResult", modelProperties: { value: { readOnly: true, @@ -9553,7 +12054,7 @@ export const JobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Job" + className: "ManagedInstanceEncryptionProtector" } } } @@ -9569,11 +12070,11 @@ export const JobListResult: msRest.CompositeMapper = { } }; -export const JobStepListResult: msRest.CompositeMapper = { - serializedName: "JobStepListResult", +export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "RecoverableManagedDatabaseListResult", type: { name: "Composite", - className: "JobStepListResult", + className: "RecoverableManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -9583,7 +12084,7 @@ export const JobStepListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobStep" + className: "RecoverableManagedDatabase" } } } @@ -9599,11 +12100,11 @@ export const JobStepListResult: msRest.CompositeMapper = { } }; -export const JobTargetGroupListResult: msRest.CompositeMapper = { - serializedName: "JobTargetGroupListResult", +export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "BackupShortTermRetentionPolicyListResult", type: { name: "Composite", - className: "JobTargetGroupListResult", + className: "BackupShortTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9613,7 +12114,7 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobTargetGroup" + className: "BackupShortTermRetentionPolicy" } } } @@ -9629,11 +12130,11 @@ export const JobTargetGroupListResult: msRest.CompositeMapper = { } }; -export const JobVersionListResult: msRest.CompositeMapper = { - serializedName: "JobVersionListResult", +export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "JobVersionListResult", + className: "ManagedInstanceVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -9643,7 +12144,7 @@ export const JobVersionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobVersion" + className: "ManagedInstanceVulnerabilityAssessment" } } } @@ -9659,11 +12160,11 @@ export const JobVersionListResult: msRest.CompositeMapper = { } }; -export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { - serializedName: "LongTermRetentionBackupListResult", +export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "LongTermRetentionBackupListResult", + className: "ServerVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -9673,7 +12174,7 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "LongTermRetentionBackup" + className: "ServerVulnerabilityAssessment" } } } @@ -9689,11 +12190,11 @@ export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { } }; -export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedBackupShortTermRetentionPolicyListResult", +export const InstancePoolListResult: msRest.CompositeMapper = { + serializedName: "InstancePoolListResult", type: { name: "Composite", - className: "ManagedBackupShortTermRetentionPolicyListResult", + className: "InstancePoolListResult", modelProperties: { value: { readOnly: true, @@ -9703,7 +12204,7 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa element: { type: { name: "Composite", - className: "ManagedBackupShortTermRetentionPolicy" + className: "InstancePool" } } } @@ -9719,11 +12220,11 @@ export const ManagedBackupShortTermRetentionPolicyListResult: msRest.CompositeMa } }; -export const ServerDnsAliasListResult: msRest.CompositeMapper = { - serializedName: "ServerDnsAliasListResult", +export const UsageListResult: msRest.CompositeMapper = { + serializedName: "UsageListResult", type: { name: "Composite", - className: "ServerDnsAliasListResult", + className: "UsageListResult", modelProperties: { value: { readOnly: true, @@ -9733,7 +12234,7 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerDnsAlias" + className: "Usage" } } } @@ -9749,11 +12250,11 @@ export const ServerDnsAliasListResult: msRest.CompositeMapper = { } }; -export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "LogicalServerSecurityAlertPolicyListResult", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "LogicalServerSecurityAlertPolicyListResult", + className: "PrivateLinkResourceListResult", modelProperties: { value: { readOnly: true, @@ -9763,7 +12264,7 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "ServerSecurityAlertPolicy" + className: "PrivateLinkResource" } } } @@ -9779,11 +12280,11 @@ export const LogicalServerSecurityAlertPolicyListResult: msRest.CompositeMapper } }; -export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RestorableDroppedManagedDatabaseListResult", +export const ServerListResult: msRest.CompositeMapper = { + serializedName: "ServerListResult", type: { name: "Composite", - className: "RestorableDroppedManagedDatabaseListResult", + className: "ServerListResult", modelProperties: { value: { readOnly: true, @@ -9793,7 +12294,7 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "RestorableDroppedManagedDatabase" + className: "Server" } } } @@ -9809,11 +12310,11 @@ export const RestorableDroppedManagedDatabaseListResult: msRest.CompositeMapper } }; -export const RestorePointListResult: msRest.CompositeMapper = { - serializedName: "RestorePointListResult", +export const ManagedInstanceLongTermRetentionBackupListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionBackupListResult", type: { name: "Composite", - className: "RestorePointListResult", + className: "ManagedInstanceLongTermRetentionBackupListResult", modelProperties: { value: { readOnly: true, @@ -9823,20 +12324,27 @@ export const RestorePointListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RestorePoint" + className: "ManagedInstanceLongTermRetentionBackup" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseSecurityAlertPolicyListResult", +export const ManagedInstanceLongTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceLongTermRetentionPolicyListResult", type: { name: "Composite", - className: "ManagedDatabaseSecurityAlertPolicyListResult", + className: "ManagedInstanceLongTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -9846,7 +12354,7 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe element: { type: { name: "Composite", - className: "ManagedDatabaseSecurityAlertPolicy" + className: "ManagedInstanceLongTermRetentionPolicy" } } } @@ -9862,11 +12370,11 @@ export const ManagedDatabaseSecurityAlertPolicyListResult: msRest.CompositeMappe } }; -export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { - serializedName: "ManagedServerSecurityAlertPolicyListResult", +export const WorkloadGroupListResult: msRest.CompositeMapper = { + serializedName: "WorkloadGroupListResult", type: { name: "Composite", - className: "ManagedServerSecurityAlertPolicyListResult", + className: "WorkloadGroupListResult", modelProperties: { value: { readOnly: true, @@ -9876,7 +12384,7 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "ManagedServerSecurityAlertPolicy" + className: "WorkloadGroup" } } } @@ -9892,11 +12400,11 @@ export const ManagedServerSecurityAlertPolicyListResult: msRest.CompositeMapper } }; -export const SensitivityLabelListResult: msRest.CompositeMapper = { - serializedName: "SensitivityLabelListResult", +export const WorkloadClassifierListResult: msRest.CompositeMapper = { + serializedName: "WorkloadClassifierListResult", type: { name: "Composite", - className: "SensitivityLabelListResult", + className: "WorkloadClassifierListResult", modelProperties: { value: { readOnly: true, @@ -9906,7 +12414,7 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SensitivityLabel" + className: "WorkloadClassifier" } } } @@ -9922,11 +12430,11 @@ export const SensitivityLabelListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceAdministratorListResult", +export const ManagedInstanceOperationListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceOperationListResult", type: { name: "Composite", - className: "ManagedInstanceAdministratorListResult", + className: "ManagedInstanceOperationListResult", modelProperties: { value: { readOnly: true, @@ -9936,7 +12444,7 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedInstanceAdministrator" + className: "ManagedInstanceOperation" } } } @@ -9952,11 +12460,11 @@ export const ManagedInstanceAdministratorListResult: msRest.CompositeMapper = { } }; -export const DatabaseOperationListResult: msRest.CompositeMapper = { - serializedName: "DatabaseOperationListResult", +export const AdministratorListResult: msRest.CompositeMapper = { + serializedName: "AdministratorListResult", type: { name: "Composite", - className: "DatabaseOperationListResult", + className: "AdministratorListResult", modelProperties: { value: { readOnly: true, @@ -9966,7 +12474,7 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DatabaseOperation" + className: "ServerAzureADAdministrator" } } } @@ -9982,11 +12490,11 @@ export const DatabaseOperationListResult: msRest.CompositeMapper = { } }; -export const ElasticPoolOperationListResult: msRest.CompositeMapper = { - serializedName: "ElasticPoolOperationListResult", +export const SyncDatabaseIdListResult: msRest.CompositeMapper = { + serializedName: "SyncDatabaseIdListResult", type: { name: "Composite", - className: "ElasticPoolOperationListResult", + className: "SyncDatabaseIdListResult", modelProperties: { value: { readOnly: true, @@ -9996,7 +12504,7 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ElasticPoolOperation" + className: "SyncDatabaseIdProperties" } } } @@ -10012,11 +12520,11 @@ export const ElasticPoolOperationListResult: msRest.CompositeMapper = { } }; -export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecordListResult", +export const SyncFullSchemaPropertiesListResult: msRest.CompositeMapper = { + serializedName: "SyncFullSchemaPropertiesListResult", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecordListResult", + className: "SyncFullSchemaPropertiesListResult", modelProperties: { value: { readOnly: true, @@ -10026,7 +12534,7 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord" + className: "SyncFullSchemaProperties" } } } @@ -10042,11 +12550,11 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper } }; -export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { - serializedName: "InstanceFailoverGroupListResult", +export const SyncGroupLogListResult: msRest.CompositeMapper = { + serializedName: "SyncGroupLogListResult", type: { name: "Composite", - className: "InstanceFailoverGroupListResult", + className: "SyncGroupLogListResult", modelProperties: { value: { readOnly: true, @@ -10056,7 +12564,7 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "InstanceFailoverGroup" + className: "SyncGroupLogProperties" } } } @@ -10072,11 +12580,11 @@ export const InstanceFailoverGroupListResult: msRest.CompositeMapper = { } }; -export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = { - serializedName: "BackupShortTermRetentionPolicyListResult", +export const SyncGroupListResult: msRest.CompositeMapper = { + serializedName: "SyncGroupListResult", type: { name: "Composite", - className: "BackupShortTermRetentionPolicyListResult", + className: "SyncGroupListResult", modelProperties: { value: { readOnly: true, @@ -10086,7 +12594,7 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "BackupShortTermRetentionPolicy" + className: "SyncGroup" } } } @@ -10102,11 +12610,11 @@ export const BackupShortTermRetentionPolicyListResult: msRest.CompositeMapper = } }; -export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceKeyListResult", +export const SyncMemberListResult: msRest.CompositeMapper = { + serializedName: "SyncMemberListResult", type: { name: "Composite", - className: "ManagedInstanceKeyListResult", + className: "SyncMemberListResult", modelProperties: { value: { readOnly: true, @@ -10116,7 +12624,7 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedInstanceKey" + className: "SyncMember" } } } @@ -10132,11 +12640,11 @@ export const ManagedInstanceKeyListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceEncryptionProtectorListResult", +export const ManagedDatabaseListResult: msRest.CompositeMapper = { + serializedName: "ManagedDatabaseListResult", type: { name: "Composite", - className: "ManagedInstanceEncryptionProtectorListResult", + className: "ManagedDatabaseListResult", modelProperties: { value: { readOnly: true, @@ -10146,7 +12654,7 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe element: { type: { name: "Composite", - className: "ManagedInstanceEncryptionProtector" + className: "ManagedDatabase" } } } @@ -10162,11 +12670,11 @@ export const ManagedInstanceEncryptionProtectorListResult: msRest.CompositeMappe } }; -export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "RecoverableManagedDatabaseListResult", +export const AzureADOnlyAuthListResult: msRest.CompositeMapper = { + serializedName: "AzureADOnlyAuthListResult", type: { name: "Composite", - className: "RecoverableManagedDatabaseListResult", + className: "AzureADOnlyAuthListResult", modelProperties: { value: { readOnly: true, @@ -10176,7 +12684,7 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "RecoverableManagedDatabase" + className: "ServerAzureADOnlyAuthentication" } } } @@ -10192,11 +12700,11 @@ export const RecoverableManagedDatabaseListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceVulnerabilityAssessmentListResult", +export const ManagedInstanceListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceListResult", type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessmentListResult", + className: "ManagedInstanceListResult", modelProperties: { value: { readOnly: true, @@ -10206,7 +12714,7 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM element: { type: { name: "Composite", - className: "ManagedInstanceVulnerabilityAssessment" + className: "ManagedInstance" } } } @@ -10222,11 +12730,11 @@ export const ManagedInstanceVulnerabilityAssessmentListResult: msRest.CompositeM } }; -export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessmentListResult", +export const TopQueriesListResult: msRest.CompositeMapper = { + serializedName: "TopQueriesListResult", type: { name: "Composite", - className: "ServerVulnerabilityAssessmentListResult", + className: "TopQueriesListResult", modelProperties: { value: { readOnly: true, @@ -10236,7 +12744,7 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerVulnerabilityAssessment" + className: "TopQueries" } } } @@ -10252,11 +12760,11 @@ export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { } }; -export const InstancePoolListResult: msRest.CompositeMapper = { - serializedName: "InstancePoolListResult", +export const ManagedInstanceAzureADOnlyAuthListResult: msRest.CompositeMapper = { + serializedName: "ManagedInstanceAzureADOnlyAuthListResult", type: { name: "Composite", - className: "InstancePoolListResult", + className: "ManagedInstanceAzureADOnlyAuthListResult", modelProperties: { value: { readOnly: true, @@ -10266,7 +12774,7 @@ export const InstancePoolListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "InstancePool" + className: "ManagedInstanceAzureADOnlyAuthentication" } } } @@ -10282,11 +12790,11 @@ export const InstancePoolListResult: msRest.CompositeMapper = { } }; -export const UsageListResult: msRest.CompositeMapper = { - serializedName: "UsageListResult", +export const ServerTrustGroupListResult: msRest.CompositeMapper = { + serializedName: "ServerTrustGroupListResult", type: { name: "Composite", - className: "UsageListResult", + className: "ServerTrustGroupListResult", modelProperties: { value: { readOnly: true, @@ -10296,7 +12804,7 @@ export const UsageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Usage" + className: "ServerTrustGroup" } } } @@ -10312,11 +12820,11 @@ export const UsageListResult: msRest.CompositeMapper = { } }; -export const ManagedInstanceListResult: msRest.CompositeMapper = { - serializedName: "ManagedInstanceListResult", +export const ServerDevOpsAuditSettingsListResult: msRest.CompositeMapper = { + serializedName: "ServerDevOpsAuditSettingsListResult", type: { name: "Composite", - className: "ManagedInstanceListResult", + className: "ServerDevOpsAuditSettingsListResult", modelProperties: { value: { readOnly: true, @@ -10326,7 +12834,7 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedInstance" + className: "ServerDevOpsAuditingSettings" } } } @@ -10342,11 +12850,11 @@ export const ManagedInstanceListResult: msRest.CompositeMapper = { } }; -export const ManagedDatabaseListResult: msRest.CompositeMapper = { - serializedName: "ManagedDatabaseListResult", +export const LongTermRetentionBackupListResult: msRest.CompositeMapper = { + serializedName: "LongTermRetentionBackupListResult", type: { name: "Composite", - className: "ManagedDatabaseListResult", + className: "LongTermRetentionBackupListResult", modelProperties: { value: { readOnly: true, @@ -10356,7 +12864,7 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedDatabase" + className: "LongTermRetentionBackup" } } } @@ -10372,11 +12880,11 @@ export const ManagedDatabaseListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionListResult", +export const LongTermRetentionPolicyListResult: msRest.CompositeMapper = { + serializedName: "LongTermRetentionPolicyListResult", type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "LongTermRetentionPolicyListResult", modelProperties: { value: { readOnly: true, @@ -10386,7 +12894,7 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "LongTermRetentionPolicy" } } } @@ -10402,11 +12910,11 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "PrivateEndpointConnectionListResult", modelProperties: { value: { readOnly: true, @@ -10416,7 +12924,7 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "PrivateEndpointConnection" } } } diff --git a/sdk/sql/arm-sql/src/models/operationsMappers.ts b/sdk/sql/arm-sql/src/models/operationsMappers.ts index 689688180be7..938d3e665a23 100644 --- a/sdk/sql/arm-sql/src/models/operationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/sql/arm-sql/src/models/parameters.ts b/sdk/sql/arm-sql/src/models/parameters.ts index 85f7ca30cdca..f73814d00734 100644 --- a/sdk/sql/arm-sql/src/models/parameters.ts +++ b/sdk/sql/arm-sql/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -20,25 +19,25 @@ export const acceptLanguage: msRest.OperationParameter = { } } }; -export const administratorName0: msRest.OperationURLParameter = { +export const administratorName: msRest.OperationURLParameter = { parameterPath: "administratorName", mapper: { required: true, isConstant: true, serializedName: "administratorName", - defaultValue: 'activeDirectory', + defaultValue: 'ActiveDirectory', type: { name: "String" } } }; -export const administratorName1: msRest.OperationURLParameter = { - parameterPath: "administratorName", +export const aggregationFunction: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "aggregationFunction" + ], mapper: { - required: true, - isConstant: true, - serializedName: "administratorName", - defaultValue: 'ActiveDirectory', + serializedName: "aggregationFunction", type: { name: "String" } @@ -62,7 +61,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2015-05-01-preview', + defaultValue: '2020-02-02-preview', type: { name: "String" } @@ -74,7 +73,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-10-01-preview', + defaultValue: '2020-11-01-preview', type: { name: "String" } @@ -86,13 +85,25 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-01-preview', + defaultValue: '2020-08-01-preview', type: { name: "String" } } }; export const apiVersion4: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2015-05-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion5: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -104,6 +115,54 @@ export const apiVersion4: msRest.OperationQueryParameter = { } } }; +export const apiVersion6: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2017-10-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion7: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2018-06-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion8: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-06-01-preview', + type: { + name: "String" + } + } +}; +export const authenticationName: msRest.OperationURLParameter = { + parameterPath: "authenticationName", + mapper: { + required: true, + isConstant: true, + serializedName: "authenticationName", + defaultValue: 'Default', + type: { + name: "String" + } + } +}; export const backupName: msRest.OperationURLParameter = { parameterPath: "backupName", mapper: { @@ -228,6 +287,18 @@ export const databaseName: msRest.OperationURLParameter = { } } }; +export const databases: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "databases" + ], + mapper: { + serializedName: "databases", + type: { + name: "String" + } + } +}; export const databaseState: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -262,6 +333,16 @@ export const dataMaskingRuleName: msRest.OperationURLParameter = { } } }; +export const devOpsAuditingSettingsName: msRest.OperationURLParameter = { + parameterPath: "devOpsAuditingSettingsName", + mapper: { + required: true, + serializedName: "devOpsAuditingSettingsName", + type: { + name: "String" + } + } +}; export const dnsAliasName: msRest.OperationURLParameter = { parameterPath: "dnsAliasName", mapper: { @@ -294,7 +375,7 @@ export const encryptionProtectorName: msRest.OperationURLParameter = { } } }; -export const endTime: msRest.OperationQueryParameter = { +export const endTime0: msRest.OperationQueryParameter = { parameterPath: "endTime", mapper: { required: true, @@ -304,6 +385,18 @@ export const endTime: msRest.OperationQueryParameter = { } } }; +export const endTime1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "endTime" + ], + mapper: { + serializedName: "endTime", + type: { + name: "String" + } + } +}; export const endTimeMax: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -340,18 +433,6 @@ export const expandChildren: msRest.OperationQueryParameter = { } } }; -export const extensionName: msRest.OperationURLParameter = { - parameterPath: "extensionName", - mapper: { - required: true, - isConstant: true, - serializedName: "extensionName", - defaultValue: 'import', - type: { - name: "String" - } - } -}; export const failoverGroupName: msRest.OperationURLParameter = { parameterPath: "failoverGroupName", mapper: { @@ -450,6 +531,18 @@ export const instancePoolName: msRest.OperationURLParameter = { } } }; +export const interval: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "interval" + ], + mapper: { + serializedName: "interval", + type: { + name: "String" + } + } +}; export const isActive: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -573,6 +666,30 @@ export const nextPageLink: msRest.OperationURLParameter = { }, skipEncoding: true }; +export const numberOfQueries: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "numberOfQueries" + ], + mapper: { + serializedName: "numberOfQueries", + type: { + name: "Number" + } + } +}; +export const observationMetric: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "observationMetric" + ], + mapper: { + serializedName: "observationMetric", + type: { + name: "String" + } + } +}; export const onlyLatestPerDatabase: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -803,6 +920,16 @@ export const serverName: msRest.OperationURLParameter = { } } }; +export const serverTrustGroupName: msRest.OperationURLParameter = { + parameterPath: "serverTrustGroupName", + mapper: { + required: true, + serializedName: "serverTrustGroupName", + type: { + name: "String" + } + } +}; export const serviceObjectiveName: msRest.OperationURLParameter = { parameterPath: "serviceObjectiveName", mapper: { @@ -847,7 +974,7 @@ export const skipToken: msRest.OperationQueryParameter = { } } }; -export const startTime: msRest.OperationQueryParameter = { +export const startTime0: msRest.OperationQueryParameter = { parameterPath: "startTime", mapper: { required: true, @@ -857,6 +984,18 @@ export const startTime: msRest.OperationQueryParameter = { } } }; +export const startTime1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "startTime" + ], + mapper: { + serializedName: "startTime", + type: { + name: "String" + } + } +}; export const stepName: msRest.OperationURLParameter = { parameterPath: "stepName", mapper: { @@ -1013,3 +1152,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..e8a82b1cb6c7 100644 --- a/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateEndpointConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,15 +55,27 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, @@ -72,6 +83,8 @@ export { PartnerRegionInfo, PrivateEndpointConnection, PrivateEndpointConnectionListResult, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts index 296ecc5ac9a4..d73c44ce815b 100644 --- a/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts +++ b/sdk/sql/arm-sql/src/models/privateLinkResourcesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceListResult, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts index 0eee5fddc7c8..daf264d8fc85 100644 --- a/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts +++ b/sdk/sql/arm-sql/src/models/recommendedElasticPoolsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts index 9677584090a7..d15e63ca36cd 100644 --- a/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableDatabasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts index 1ddfda89c4cf..9455d0c44820 100644 --- a/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/recoverableManagedDatabasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts index 11f8b42a5b3b..dd2b07708077 100644 --- a/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/replicationLinksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UnlinkParameters, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts index b74820bd914f..4700214b7a18 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedDatabasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts index cdc3365f6cf9..01b47f14e92b 100644 --- a/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorableDroppedManagedDatabasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts index 1dc3fc0e9ba9..83b7900a2d66 100644 --- a/sdk/sql/arm-sql/src/models/restorePointsMappers.ts +++ b/sdk/sql/arm-sql/src/models/restorePointsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -38,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,12 +106,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts index 87d6022ba880..69adc621c15b 100644 --- a/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts +++ b/sdk/sql/arm-sql/src/models/sensitivityLabelsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAutomaticTuningOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts index f9ecf612a004..94395d090a08 100644 --- a/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverAzureADAdministratorsMappers.ts @@ -1,15 +1,15 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AdministratorListResult, AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +37,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +56,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -89,15 +103,19 @@ export { RestorePoint, SensitivityLabel, Server, - ServerAdministratorListResult, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts b/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts new file mode 100644 index 000000000000..d8b7b31fe5a1 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/serverAzureADOnlyAuthenticationsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + AzureADOnlyAuthListResult, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts index 2c08a5a5d576..f7f643fddd4e 100644 --- a/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverBlobAuditingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,13 +104,18 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerBlobAuditingPolicyListResult, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts index 8fee97fe4555..e3c26c1fbbec 100644 --- a/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverCommunicationLinksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,13 +104,18 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerCommunicationLinkListResult, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverConnectionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts b/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts new file mode 100644 index 000000000000..bc027b5203c7 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/serverDevOpsAuditSettingsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDevOpsAuditSettingsListResult, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts index 2df18ff0e2c2..edab9da4843f 100644 --- a/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverDnsAliasesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,14 +104,19 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, ServerDnsAliasAcquisition, ServerDnsAliasListResult, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -112,13 +130,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts index 83ddf2f8f7b2..515a5bdd6e41 100644 --- a/sdk/sql/arm-sql/src/models/serverKeysMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,13 +104,18 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, ServerKeyListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts index ffc361e9b674..f603b0d759da 100644 --- a/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverSecurityAlertPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -57,21 +56,35 @@ export { JobVersion, LogicalServerSecurityAlertPolicyListResult, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -92,12 +105,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts b/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts new file mode 100644 index 000000000000..6a4aef25affd --- /dev/null +++ b/sdk/sql/arm-sql/src/models/serverTrustGroupsMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerTrustGroupListResult, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts b/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts index 518a73b015ba..f42ac245f61a 100644 --- a/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverUsagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts index 752ff0c23f91..fce1b6093794 100644 --- a/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serverVulnerabilityAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentListResult, ServiceObjective, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serversMappers.ts b/sdk/sql/arm-sql/src/models/serversMappers.ts index 30808fc774b5..1d10d83bba1b 100644 --- a/sdk/sql/arm-sql/src/models/serversMappers.ts +++ b/sdk/sql/arm-sql/src/models/serversMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CheckNameAvailabilityRequest, @@ -39,7 +38,8 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, + ImportNewDatabaseDefinition, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -58,21 +58,36 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, + NetworkIsolationSettings, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -93,13 +108,18 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, ServerListResult, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerUpdate, ServerVulnerabilityAssessment, ServiceObjective, @@ -114,13 +134,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts index 9f3c7f50b3ec..891557f89835 100644 --- a/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceObjectivesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceObjectiveListResult, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts index 894adb3d60dd..bbcd0068e90a 100644 --- a/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts +++ b/sdk/sql/arm-sql/src/models/serviceTierAdvisorsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts index 00869dab7501..1238bd9cd39f 100644 --- a/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/subscriptionUsagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -111,13 +129,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts index b4b302816e20..9926b0488b01 100644 --- a/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncAgentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -113,13 +131,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts index 2df7178b4a32..2f6a563ba729 100644 --- a/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -119,13 +137,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts index 340117c02ee4..6286f7b58a97 100644 --- a/sdk/sql/arm-sql/src/models/syncMembersMappers.ts +++ b/sdk/sql/arm-sql/src/models/syncMembersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -115,13 +133,18 @@ export { SyncGroupSchemaTableColumn, SyncMember, SyncMemberListResult, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts +++ b/sdk/sql/arm-sql/src/models/tdeCertificatesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts index 27d7b720ae1f..e0ef67e68799 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionActivitiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,14 +128,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, TransparentDataEncryptionActivityListResult, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts index 7979989c60d3..993dded9f86b 100644 --- a/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts +++ b/sdk/sql/arm-sql/src/models/transparentDataEncryptionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,18 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/usagesMappers.ts b/sdk/sql/arm-sql/src/models/usagesMappers.ts index 5e7352c44b40..c3b86c0dc93d 100644 --- a/sdk/sql/arm-sql/src/models/usagesMappers.ts +++ b/sdk/sql/arm-sql/src/models/usagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts index 90ecde2829f0..52b301fc1c2f 100644 --- a/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualClustersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,15 +128,20 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualClusterListResult, VirtualClusterUpdate, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts index cdf3c431e362..b77eb72fa562 100644 --- a/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts +++ b/sdk/sql/arm-sql/src/models/virtualNetworkRulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,14 +128,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VirtualNetworkRuleListResult, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts new file mode 100644 index 000000000000..785e3df4c180 --- /dev/null +++ b/sdk/sql/arm-sql/src/models/workloadClassifiersMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AutomaticTuningOptions, + AutomaticTuningServerOptions, + 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, + ImportExportOperationResult, + InstanceFailoverGroup, + InstanceFailoverGroupReadOnlyEndpoint, + InstanceFailoverGroupReadWriteEndpoint, + InstancePool, + Job, + JobAgent, + JobCredential, + JobExecution, + JobExecutionTarget, + JobSchedule, + JobStep, + JobStepAction, + JobStepExecutionOptions, + JobStepOutput, + JobTarget, + JobTargetGroup, + JobVersion, + LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, + ManagedBackupShortTermRetentionPolicy, + ManagedDatabase, + ManagedDatabaseRestoreDetailsResult, + ManagedDatabaseSecurityAlertPolicy, + ManagedInstance, + ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, + ManagedInstanceEncryptionProtector, + ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, + ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, + ManagedInstanceVulnerabilityAssessment, + ManagedServerSecurityAlertPolicy, + OperationImpact, + PartnerInfo, + PartnerRegionInfo, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + RecommendedElasticPool, + RecommendedElasticPoolMetric, + RecommendedIndex, + RecoverableDatabase, + RecoverableManagedDatabase, + ReplicationLink, + Resource, + ResourceIdentity, + RestorableDroppedDatabase, + RestorableDroppedManagedDatabase, + RestorePoint, + SensitivityLabel, + Server, + ServerAutomaticTuning, + ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, + ServerBlobAuditingPolicy, + ServerCommunicationLink, + ServerConnectionPolicy, + ServerDevOpsAuditingSettings, + ServerDnsAlias, + ServerInfo, + ServerKey, + ServerPrivateEndpointConnection, + ServerSecurityAlertPolicy, + ServerTrustGroup, + ServerVulnerabilityAssessment, + ServiceObjective, + ServiceTierAdvisor, + Sku, + SloUsageMetric, + SubscriptionUsage, + SyncAgent, + SyncAgentLinkedDatabase, + SyncGroup, + SyncGroupSchema, + SyncGroupSchemaTable, + SyncGroupSchemaTableColumn, + SyncMember, + SystemData, + TdeCertificate, + TrackedResource, + TransparentDataEncryption, + TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, + VirtualCluster, + VirtualNetworkRule, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadClassifierListResult, + WorkloadGroup +} from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts similarity index 74% rename from sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts rename to sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts index 7979989c60d3..0ae41c2c8f76 100644 --- a/sdk/sql/arm-sql/src/models/backupLongTermRetentionPoliciesMappers.ts +++ b/sdk/sql/arm-sql/src/models/workloadGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,7 +9,6 @@ export { AutomaticTuningOptions, AutomaticTuningServerOptions, - BackupLongTermRetentionPolicy, BackupShortTermRetentionPolicy, BaseResource, CloudError, @@ -37,7 +36,7 @@ export { FailoverGroupReadWriteEndpoint, FirewallRule, GeoBackupPolicy, - ImportExportResponse, + ImportExportOperationResult, InstanceFailoverGroup, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReadWriteEndpoint, @@ -56,21 +55,35 @@ export { JobTargetGroup, JobVersion, LongTermRetentionBackup, + LongTermRetentionBackupOperationResult, + LongTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy, ManagedDatabase, ManagedDatabaseRestoreDetailsResult, ManagedDatabaseSecurityAlertPolicy, ManagedInstance, ManagedInstanceAdministrator, + ManagedInstanceAzureADOnlyAuthentication, ManagedInstanceEncryptionProtector, ManagedInstanceKey, + ManagedInstanceLongTermRetentionBackup, + ManagedInstanceLongTermRetentionPolicy, + ManagedInstanceOperation, + ManagedInstanceOperationParametersPair, + ManagedInstanceOperationSteps, ManagedInstancePairInfo, + ManagedInstancePecProperty, + ManagedInstancePrivateEndpointConnectionProperties, + ManagedInstancePrivateEndpointProperty, + ManagedInstancePrivateLinkServiceConnectionStateProperty, ManagedInstanceVulnerabilityAssessment, ManagedServerSecurityAlertPolicy, OperationImpact, PartnerInfo, PartnerRegionInfo, PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionRequestStatus, PrivateEndpointProperty, PrivateLinkResource, PrivateLinkResourceProperties, @@ -91,12 +104,17 @@ export { Server, ServerAutomaticTuning, ServerAzureADAdministrator, + ServerAzureADOnlyAuthentication, ServerBlobAuditingPolicy, ServerCommunicationLink, ServerConnectionPolicy, + ServerDevOpsAuditingSettings, ServerDnsAlias, + ServerInfo, ServerKey, + ServerPrivateEndpointConnection, ServerSecurityAlertPolicy, + ServerTrustGroup, ServerVulnerabilityAssessment, ServiceObjective, ServiceTierAdvisor, @@ -110,13 +128,19 @@ export { SyncGroupSchemaTable, SyncGroupSchemaTableColumn, SyncMember, + SystemData, TdeCertificate, TrackedResource, TransparentDataEncryption, TransparentDataEncryptionActivity, + UpsertManagedServerOperationParameters, + UpsertManagedServerOperationStep, VirtualCluster, VirtualNetworkRule, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, - VulnerabilityAssessmentScanRecord + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + WorkloadGroupListResult } from "../models/mappers"; diff --git a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts index a91d73b39445..e84b6bece238 100644 --- a/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/backupShortTermRetentionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -223,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +248,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -276,7 +275,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +310,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/capabilities.ts b/sdk/sql/arm-sql/src/operations/capabilities.ts index 56cbe7ea343b..1c9e298fb67c 100644 --- a/sdk/sql/arm-sql/src/operations/capabilities.ts +++ b/sdk/sql/arm-sql/src/operations/capabilities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -66,7 +65,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.include, - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts index 66ddab401ec4..00ca97e4723c 100644 --- a/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/dataMaskingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts index 730fb4fa3c41..3bf9c817b0cd 100644 --- a/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts +++ b/sdk/sql/arm-sql/src/operations/dataMaskingRules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts index c8538356092a..3a3b6d48a87f 100644 --- a/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseAutomaticTuningOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -121,7 +120,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -147,7 +146,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts index aa9330f4a0d5..5f302df0af2b 100644 --- a/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/databaseBlobAuditingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,7 +188,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -216,7 +215,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -252,7 +251,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -275,6 +274,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/databaseOperations.ts b/sdk/sql/arm-sql/src/operations/databaseOperations.ts index 73da08119974..8a3ff815a080 100644 --- a/sdk/sql/arm-sql/src/operations/databaseOperations.ts +++ b/sdk/sql/arm-sql/src/operations/databaseOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -150,7 +149,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +173,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -197,6 +196,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts b/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts index 13565e880d9b..945e1dbe4584 100644 --- a/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/databaseThreatDetectionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/databaseUsages.ts b/sdk/sql/arm-sql/src/operations/databaseUsages.ts index a7146aee6cb0..c80a159e4ea5 100644 --- a/sdk/sql/arm-sql/src/operations/databaseUsages.ts +++ b/sdk/sql/arm-sql/src/operations/databaseUsages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts index 12157deacbb5..c605fe8b3d47 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentRuleBaselines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -214,7 +213,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -243,7 +242,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -279,7 +278,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts index 20c44d8e1471..fa9b5fd7dfd1 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessmentScans.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -232,7 +231,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +259,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +287,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -319,7 +318,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -341,6 +340,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts index 3ed1a774ce50..f7888e8fc6a1 100644 --- a/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/databaseVulnerabilityAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -231,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -258,7 +257,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -295,7 +294,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -319,7 +318,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/databases.ts b/sdk/sql/arm-sql/src/operations/databases.ts index 846dfc51b1bd..badaceb03bbf 100644 --- a/sdk/sql/arm-sql/src/operations/databases.ts +++ b/sdk/sql/arm-sql/src/operations/databases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,51 +26,6 @@ export class Databases { this.client = client; } - /** - * Imports a bacpac into a new database. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param serverName The name of the server. - * @param parameters The required parameters for importing a Bacpac into a database. - * @param [options] The optional parameters - * @returns Promise - */ - importMethod(resourceGroupName: string, serverName: string, parameters: Models.ImportRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginImportMethod(resourceGroupName,serverName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Creates an import operation that imports a bacpac into an existing database. The existing - * database must be empty. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param serverName The name of the server. - * @param databaseName The name of the database to import into - * @param parameters The required parameters for importing a Bacpac into a database. - * @param [options] The optional parameters - * @returns Promise - */ - createImportOperation(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExtensionRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreateImportOperation(resourceGroupName,serverName,databaseName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Exports a database to a bacpac. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param serverName The name of the server. - * @param databaseName The name of the database to be exported. - * @param parameters The required parameters for exporting a database. - * @param [options] The optional parameters - * @returns Promise - */ - exportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginExportMethod(resourceGroupName,serverName,databaseName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - /** * Returns database metrics. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -154,6 +108,21 @@ export class Databases { callback) as Promise; } + /** + * Exports a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param parameters The database export request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + exportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { + return this.beginExportMethod(resourceGroupName,serverName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Gets a list of databases. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -340,110 +309,100 @@ export class Databases { } /** - * Upgrades a data warehouse. + * Failovers a database. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to be upgraded. + * @param databaseName The name of the database to failover. * @param [options] The optional parameters * @returns Promise */ - upgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginUpgradeDataWarehouse(resourceGroupName,serverName,databaseName,options) + failover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesFailoverOptionalParams): Promise { + return this.beginFailover(resourceGroupName,serverName,databaseName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } /** - * Renames a database. + * Gets a list of inaccessible databases in a logical server * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to rename. - * @param parameters The resource move definition for renaming this database. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options?: msRest.RequestOptionsBase): Promise; + listInaccessibleByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to rename. - * @param parameters The resource move definition for renaming this database. * @param callback The callback */ - rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, callback: msRest.ServiceCallback): void; + listInaccessibleByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to rename. - * @param parameters The resource move definition for renaming this database. * @param options The optional parameters * @param callback The callback */ - rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listInaccessibleByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInaccessibleByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serverName, - databaseName, - parameters, options }, - renameOperationSpec, - callback); + listInaccessibleByServerOperationSpec, + callback) as Promise; } /** - * Failovers a database. + * Upgrades a data warehouse. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to failover. + * @param databaseName The name of the database to be upgraded. * @param [options] The optional parameters * @returns Promise */ - failover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesFailoverOptionalParams): Promise { - return this.beginFailover(resourceGroupName,serverName,databaseName,options) + upgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpgradeDataWarehouse(resourceGroupName,serverName,databaseName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } /** - * Imports a bacpac into a new database. + * Renames a database. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param parameters The required parameters for importing a Bacpac into a database. + * @param databaseName The name of the database to rename. + * @param parameters The resource move definition for renaming this database. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - beginImportMethod(resourceGroupName: string, serverName: string, parameters: Models.ImportRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - serverName, - parameters, - options - }, - beginImportMethodOperationSpec, - options); - } - + rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options?: msRest.RequestOptionsBase): Promise; /** - * Creates an import operation that imports a bacpac into an existing database. The existing - * database must be empty. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to import into - * @param parameters The required parameters for importing a Bacpac into a database. - * @param [options] The optional parameters - * @returns Promise + * @param databaseName The name of the database to rename. + * @param parameters The resource move definition for renaming this database. + * @param callback The callback */ - beginCreateImportOperation(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExtensionRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( + rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, 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 to rename. + * @param parameters The resource move definition for renaming this database. + * @param options The optional parameters + * @param callback The callback + */ + rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + rename(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ResourceMoveDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( { resourceGroupName, serverName, @@ -451,21 +410,21 @@ export class Databases { parameters, options }, - beginCreateImportOperationOperationSpec, - options); + renameOperationSpec, + callback); } /** - * Exports a database to a bacpac. + * Exports a database. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to be exported. - * @param parameters The required parameters for exporting a database. + * @param databaseName The name of the database. + * @param parameters The database export request parameters. * @param [options] The optional parameters * @returns Promise */ - beginExportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportRequest, options?: msRest.RequestOptionsBase): Promise { + beginExportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ExportDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -588,15 +547,15 @@ export class Databases { } /** - * Upgrades a data warehouse. + * Failovers a database. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to be upgraded. + * @param databaseName The name of the database to failover. * @param [options] The optional parameters * @returns Promise */ - beginUpgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + beginFailover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesBeginFailoverOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -604,20 +563,20 @@ export class Databases { databaseName, options }, - beginUpgradeDataWarehouseOperationSpec, + beginFailoverOperationSpec, options); } /** - * Failovers a database. + * Upgrades a data warehouse. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param databaseName The name of the database to failover. + * @param databaseName The name of the database to be upgraded. * @param [options] The optional parameters * @returns Promise */ - beginFailover(resourceGroupName: string, serverName: string, databaseName: string, options?: Models.DatabasesBeginFailoverOptionalParams): Promise { + beginUpgradeDataWarehouse(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -625,7 +584,7 @@ export class Databases { databaseName, options }, - beginFailoverOperationSpec, + beginUpgradeDataWarehouseOperationSpec, options); } @@ -684,6 +643,34 @@ export class Databases { listByElasticPoolNextOperationSpec, callback) as Promise; } + + /** + * Gets a list of inaccessible databases in a logical server + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listInaccessibleByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listInaccessibleByServerNext(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 + */ + listInaccessibleByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInaccessibleByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listInaccessibleByServerNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -818,13 +805,12 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { serializer }; -const renameOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move", +const listInaccessibleByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases", urlParameters: [ Parameters.resourceGroupName, Parameters.serverName, - Parameters.databaseName, Parameters.subscriptionId ], queryParameters: [ @@ -833,48 +819,10 @@ const renameOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.ResourceMoveDefinition, - required: true - } - }, - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginImportMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.serverName - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.ImportRequest, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.ImportExportResponse + bodyMapper: Mappers.DatabaseListResult }, - 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -882,18 +830,17 @@ const beginImportMethodOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateImportOperationOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}", +const renameOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move", urlParameters: [ - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, Parameters.databaseName, - Parameters.extensionName + Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -901,15 +848,12 @@ const beginCreateImportOperationOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.ImportExtensionRequest, + ...Mappers.ResourceMoveDefinition, required: true } }, responses: { - 201: { - bodyMapper: Mappers.ImportExportResponse - }, - 202: {}, + 200: {}, default: { bodyMapper: Mappers.CloudError } @@ -921,13 +865,13 @@ const beginExportMethodOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export", urlParameters: [ - Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.databaseName + Parameters.databaseName, + Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -935,13 +879,13 @@ const beginExportMethodOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.ExportRequest, + ...Mappers.ExportDatabaseDefinition, required: true } }, responses: { 200: { - bodyMapper: Mappers.ImportExportResponse + bodyMapper: Mappers.ImportExportOperationResult }, 202: {}, default: { @@ -1102,9 +1046,9 @@ const beginResumeOperationSpec: msRest.OperationSpec = { serializer }; -const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { +const beginFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover", urlParameters: [ Parameters.resourceGroupName, Parameters.serverName, @@ -1112,6 +1056,7 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.replicaType, Parameters.apiVersion2 ], headerParameters: [ @@ -1127,9 +1072,9 @@ const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { serializer }; -const beginFailoverOperationSpec: msRest.OperationSpec = { +const beginUpgradeDataWarehouseOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse", urlParameters: [ Parameters.resourceGroupName, Parameters.serverName, @@ -1137,8 +1082,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.replicaType, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -1160,6 +1104,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1181,6 +1128,33 @@ const listByElasticPoolNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DatabaseListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listInaccessibleByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts index 41b02ce1dc7a..71dd1f38d425 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolActivities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts index 12a137296830..d9e32c0efe73 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolDatabaseActivities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts index 049f74e667db..a697c09d49df 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPoolOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -150,7 +149,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +173,7 @@ const listByElasticPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -197,6 +196,9 @@ const listByElasticPoolNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/elasticPools.ts b/sdk/sql/arm-sql/src/operations/elasticPools.ts index 44ed8f424f87..a5b87bf47334 100644 --- a/sdk/sql/arm-sql/src/operations/elasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/elasticPools.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -335,7 +334,7 @@ export class ElasticPools { * @param [options] The optional parameters * @returns Promise */ - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServerNext(nextPageLink: string, options?: Models.ElasticPoolsListByServerNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -346,8 +345,8 @@ export class ElasticPools { * @param options The optional parameters * @param callback The callback */ - listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServerNext(nextPageLink: string, options: Models.ElasticPoolsListByServerNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: Models.ElasticPoolsListByServerNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -423,7 +422,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.skip, - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -449,7 +448,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -475,7 +474,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -512,7 +511,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -538,7 +537,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -594,6 +593,10 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.skip, + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts index bc5c040d3f2c..434d06395641 100644 --- a/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/encryptionProtectors.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -204,7 +203,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +229,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +255,7 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +280,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -312,6 +311,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts index 4e0fc83f296f..dc7aacaf0a23 100644 --- a/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedDatabaseBlobAuditingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -107,6 +106,73 @@ export class ExtendedDatabaseBlobAuditingPolicies { createOrUpdateOperationSpec, callback) as Promise; } + + /** + * Lists extended auditing settings of a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Lists extended auditing settings of a database. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -122,7 +188,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -149,7 +215,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -174,3 +240,53 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extendedAuditingSettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedDatabaseBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedDatabaseBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts index 20f1bd98df01..b4858bc247d9 100644 --- a/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/extendedServerBlobAuditingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -76,6 +75,41 @@ export class ExtendedServerBlobAuditingPolicies { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Lists extended auditing settings of a server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + /** * Creates or updates an extended server's blob auditing policy. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -96,6 +130,34 @@ export class ExtendedServerBlobAuditingPolicies { beginCreateOrUpdateOperationSpec, options); } + + /** + * Lists extended auditing settings of a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + 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 @@ -110,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -126,6 +188,31 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}", @@ -136,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -159,3 +246,27 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion5 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/failoverGroups.ts b/sdk/sql/arm-sql/src/operations/failoverGroups.ts index 6d848d2f2018..8eb5e79630f6 100644 --- a/sdk/sql/arm-sql/src/operations/failoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/failoverGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -325,7 +324,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -350,7 +349,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -376,7 +375,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +412,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +438,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -473,7 +472,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -500,7 +499,7 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -524,6 +523,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/firewallRules.ts b/sdk/sql/arm-sql/src/operations/firewallRules.ts index af4cf9ddac0c..83358f2764e8 100644 --- a/sdk/sql/arm-sql/src/operations/firewallRules.ts +++ b/sdk/sql/arm-sql/src/operations/firewallRules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts index 661201b459fb..5f7b48b76aa2 100644 --- a/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/geoBackupPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/importExport.ts b/sdk/sql/arm-sql/src/operations/importExport.ts new file mode 100644 index 000000000000..19147f346890 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/importExport.ts @@ -0,0 +1,102 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/importExportMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ImportExport. */ +export class ImportExport { + private readonly client: SqlManagementClientContext; + + /** + * Create a ImportExport. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Imports a bacpac into a new database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param parameters The database import request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + importMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExistingDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { + return this.beginImportMethod(resourceGroupName,serverName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Imports a bacpac into a new database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param parameters The database import request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginImportMethod(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.ImportExistingDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + databaseName, + parameters, + options + }, + beginImportMethodOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const beginImportMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/import", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ImportExistingDatabaseDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ImportExportOperationResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/index.ts b/sdk/sql/arm-sql/src/operations/index.ts index d044e4c4439f..09b4e46e0529 100644 --- a/sdk/sql/arm-sql/src/operations/index.ts +++ b/sdk/sql/arm-sql/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,7 +9,6 @@ export * from "./recoverableDatabases"; export * from "./restorableDroppedDatabases"; -export * from "./servers"; export * from "./serverConnectionPolicies"; export * from "./databaseThreatDetectionPolicies"; export * from "./dataMaskingPolicies"; @@ -21,7 +19,6 @@ export * from "./databases"; export * from "./elasticPools"; export * from "./recommendedElasticPools"; export * from "./replicationLinks"; -export * from "./serverAzureADAdministrators"; export * from "./serverCommunicationLinks"; export * from "./serviceObjectives"; export * from "./elasticPoolActivities"; @@ -37,8 +34,6 @@ export * from "./failoverGroups"; export * from "./operations"; export * from "./serverKeys"; export * from "./syncAgents"; -export * from "./syncGroups"; -export * from "./syncMembers"; export * from "./subscriptionUsages"; export * from "./virtualClusters"; export * from "./virtualNetworkRules"; @@ -57,8 +52,6 @@ export * from "./jobSteps"; export * from "./jobTargetExecutions"; export * from "./jobTargetGroups"; export * from "./jobVersions"; -export * from "./longTermRetentionBackups"; -export * from "./backupLongTermRetentionPolicies"; export * from "./managedBackupShortTermRetentionPolicies"; export * from "./managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies"; export * from "./serverAutomaticTuningOperations"; @@ -72,25 +65,41 @@ export * from "./sensitivityLabels"; export * from "./managedInstanceAdministrators"; export * from "./databaseOperations"; export * from "./elasticPoolOperations"; -export * from "./capabilities"; export * from "./databaseVulnerabilityAssessmentScans"; export * from "./managedDatabaseVulnerabilityAssessmentRuleBaselines"; export * from "./managedDatabaseVulnerabilityAssessmentScans"; export * from "./managedDatabaseVulnerabilityAssessments"; export * from "./instanceFailoverGroups"; -export * from "./backupShortTermRetentionPolicies"; export * from "./tdeCertificates"; export * from "./managedInstanceTdeCertificates"; export * from "./managedInstanceKeys"; export * from "./managedInstanceEncryptionProtectors"; export * from "./recoverableManagedDatabases"; +export * from "./backupShortTermRetentionPolicies"; export * from "./managedInstanceVulnerabilityAssessments"; export * from "./serverVulnerabilityAssessments"; export * from "./managedDatabaseSensitivityLabels"; export * from "./instancePools"; export * from "./usages"; -export * from "./managedInstances"; -export * from "./managedDatabaseRestoreDetails"; +export * from "./privateLinkResources"; +export * from "./servers"; +export * from "./capabilities"; +export * from "./longTermRetentionManagedInstanceBackups"; +export * from "./managedInstanceLongTermRetentionPolicies"; +export * from "./workloadGroups"; +export * from "./workloadClassifiers"; +export * from "./managedInstanceOperations"; +export * from "./serverAzureADAdministrators"; +export * from "./syncGroups"; +export * from "./syncMembers"; +export * from "./importExport"; export * from "./managedDatabases"; +export * from "./managedDatabaseRestoreDetails"; +export * from "./serverAzureADOnlyAuthentications"; +export * from "./managedInstances"; +export * from "./managedInstanceAzureADOnlyAuthentications"; +export * from "./serverTrustGroups"; +export * from "./serverDevOpsAuditSettings"; +export * from "./longTermRetentionBackups"; +export * from "./longTermRetentionPolicies"; export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; diff --git a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts index be0ae243f7f4..a90778901881 100644 --- a/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts +++ b/sdk/sql/arm-sql/src/operations/instanceFailoverGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -287,7 +286,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -312,7 +311,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -338,7 +337,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -375,7 +374,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -401,7 +400,7 @@ const beginFailoverOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -428,7 +427,7 @@ const beginForceFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -452,6 +451,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/instancePools.ts b/sdk/sql/arm-sql/src/operations/instancePools.ts index 530623321b35..397fdc16e62f 100644 --- a/sdk/sql/arm-sql/src/operations/instancePools.ts +++ b/sdk/sql/arm-sql/src/operations/instancePools.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -287,7 +286,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +310,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +333,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -359,7 +358,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -395,7 +394,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -420,7 +419,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -451,6 +450,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -472,6 +474,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobAgents.ts b/sdk/sql/arm-sql/src/operations/jobAgents.ts index 1b7ce4550a4f..8186519ce815 100644 --- a/sdk/sql/arm-sql/src/operations/jobAgents.ts +++ b/sdk/sql/arm-sql/src/operations/jobAgents.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -252,7 +251,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -278,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -304,7 +303,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -341,7 +340,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -367,7 +366,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -398,6 +397,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobCredentials.ts b/sdk/sql/arm-sql/src/operations/jobCredentials.ts index caf6404ca3cb..085975f9674b 100644 --- a/sdk/sql/arm-sql/src/operations/jobCredentials.ts +++ b/sdk/sql/arm-sql/src/operations/jobCredentials.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobExecutions.ts b/sdk/sql/arm-sql/src/operations/jobExecutions.ts index 70719de8f48d..d9dd3903b0be 100644 --- a/sdk/sql/arm-sql/src/operations/jobExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobExecutions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -288,7 +287,7 @@ export class JobExecutions { * @param [options] The optional parameters * @returns Promise */ - listByAgentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAgentNext(nextPageLink: string, options?: Models.JobExecutionsListByAgentNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -299,8 +298,8 @@ export class JobExecutions { * @param options The optional parameters * @param callback The callback */ - listByAgentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAgentNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAgentNext(nextPageLink: string, options: Models.JobExecutionsListByAgentNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAgentNext(nextPageLink: string, options?: Models.JobExecutionsListByAgentNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -316,7 +315,7 @@ export class JobExecutions { * @param [options] The optional parameters * @returns Promise */ - listByJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByJobNext(nextPageLink: string, options?: Models.JobExecutionsListByJobNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -327,8 +326,8 @@ export class JobExecutions { * @param options The optional parameters * @param callback The callback */ - listByJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByJobNext(nextPageLink: string, options: Models.JobExecutionsListByJobNextOptionalParams, callback: msRest.ServiceCallback): void; + listByJobNext(nextPageLink: string, options?: Models.JobExecutionsListByJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -358,7 +357,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +385,7 @@ const cancelOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -418,7 +417,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -446,7 +445,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -473,7 +472,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -502,7 +501,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -529,6 +528,16 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.createTimeMin, + Parameters.createTimeMax, + Parameters.endTimeMin, + Parameters.endTimeMax, + Parameters.isActive, + Parameters.skip, + Parameters.top, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -550,6 +559,16 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.createTimeMin, + Parameters.createTimeMax, + Parameters.endTimeMin, + Parameters.endTimeMax, + Parameters.isActive, + Parameters.skip, + Parameters.top, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts index ccf641ff4a81..68bade739b2d 100644 --- a/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobStepExecutions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -130,7 +129,7 @@ export class JobStepExecutions { * @param [options] The optional parameters * @returns Promise */ - listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByJobExecutionNext(nextPageLink: string, options?: Models.JobStepExecutionsListByJobExecutionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -141,8 +140,8 @@ export class JobStepExecutions { * @param options The optional parameters * @param callback The callback */ - listByJobExecutionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByJobExecutionNext(nextPageLink: string, options: Models.JobStepExecutionsListByJobExecutionNextOptionalParams, callback: msRest.ServiceCallback): void; + listByJobExecutionNext(nextPageLink: string, options?: Models.JobStepExecutionsListByJobExecutionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -174,7 +173,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -203,7 +202,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -226,6 +225,16 @@ const listByJobExecutionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.createTimeMin, + Parameters.createTimeMax, + Parameters.endTimeMin, + Parameters.endTimeMax, + Parameters.isActive, + Parameters.skip, + Parameters.top, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobSteps.ts b/sdk/sql/arm-sql/src/operations/jobSteps.ts index bc44e2296009..9b3aa81215f2 100644 --- a/sdk/sql/arm-sql/src/operations/jobSteps.ts +++ b/sdk/sql/arm-sql/src/operations/jobSteps.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -383,7 +382,7 @@ const listByVersionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -412,7 +411,7 @@ const getByVersionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +438,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -467,7 +466,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -495,7 +494,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -533,7 +532,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -555,6 +554,9 @@ const listByVersionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -576,6 +578,9 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts index 0a54d2027c5d..3079a7d4ab7a 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetExecutions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -185,7 +184,7 @@ export class JobTargetExecutions { * @param [options] The optional parameters * @returns Promise */ - listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByJobExecutionNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -196,8 +195,8 @@ export class JobTargetExecutions { * @param options The optional parameters * @param callback The callback */ - listByJobExecutionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByJobExecutionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByJobExecutionNext(nextPageLink: string, options: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams, callback: msRest.ServiceCallback): void; + listByJobExecutionNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByJobExecutionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -213,7 +212,7 @@ export class JobTargetExecutions { * @param [options] The optional parameters * @returns Promise */ - listByStepNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByStepNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByStepNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -224,8 +223,8 @@ export class JobTargetExecutions { * @param options The optional parameters * @param callback The callback */ - listByStepNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByStepNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByStepNext(nextPageLink: string, options: Models.JobTargetExecutionsListByStepNextOptionalParams, callback: msRest.ServiceCallback): void; + listByStepNext(nextPageLink: string, options?: Models.JobTargetExecutionsListByStepNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -257,7 +256,7 @@ const listByJobExecutionOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +292,7 @@ const listByStepOperationSpec: msRest.OperationSpec = { Parameters.isActive, Parameters.skip, Parameters.top, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +322,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -346,6 +345,16 @@ const listByJobExecutionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.createTimeMin, + Parameters.createTimeMax, + Parameters.endTimeMin, + Parameters.endTimeMax, + Parameters.isActive, + Parameters.skip, + Parameters.top, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -367,6 +376,16 @@ const listByStepNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.createTimeMin, + Parameters.createTimeMax, + Parameters.endTimeMin, + Parameters.endTimeMax, + Parameters.isActive, + Parameters.skip, + Parameters.top, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts index c2f1291e0923..8c3e2987a5ec 100644 --- a/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts +++ b/sdk/sql/arm-sql/src/operations/jobTargetGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobVersions.ts b/sdk/sql/arm-sql/src/operations/jobVersions.ts index 22c8f459d997..b5e73b852200 100644 --- a/sdk/sql/arm-sql/src/operations/jobVersions.ts +++ b/sdk/sql/arm-sql/src/operations/jobVersions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -158,7 +157,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -186,7 +185,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -209,6 +208,9 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/jobs.ts b/sdk/sql/arm-sql/src/operations/jobs.ts index e59fdf513162..b9f5b769c6c5 100644 --- a/sdk/sql/arm-sql/src/operations/jobs.ts +++ b/sdk/sql/arm-sql/src/operations/jobs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -239,7 +238,7 @@ const listByAgentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +265,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -293,7 +292,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +329,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -352,6 +351,9 @@ const listByAgentNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts index 6bc0a26893ad..907b41a3217c 100644 --- a/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionBackups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,31 +26,55 @@ export class LongTermRetentionBackups { this.client = client; } + /** + * Copy an existing long term retention backup. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The parameters needed for long term retention copy request + * @param [options] The optional parameters + * @returns Promise + */ + copy(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCopy(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates an existing long term retention backup. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The requested backup resource state + * @param [options] The optional parameters + * @returns Promise + */ + update(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Gets a long term retention backup. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param backupName The backup name. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param backupName The backup name. * @param callback The callback */ - getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback): void; + get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database @@ -59,25 +82,22 @@ export class LongTermRetentionBackups { * @param options The optional parameters * @param callback The callback */ - getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, options }, - getByResourceGroupOperationSpec, - callback) as Promise; + getOperationSpec, + callback) as Promise; } /** * Deletes a long term retention backup. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database @@ -85,147 +105,166 @@ export class LongTermRetentionBackups { * @param [options] The optional parameters * @returns Promise */ - deleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options) + deleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } /** * Lists all long term retention backups for a database. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): Promise; + listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param callback The callback */ - listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback): void; + listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param options The optional parameters * @param callback The callback */ - listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback): void; + listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, options }, - listByResourceGroupDatabaseOperationSpec, - callback) as Promise; + listByDatabaseOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given location. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): Promise; + listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param callback The callback */ - listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback): void; + listByLocation(locationName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param options The optional parameters * @param callback The callback */ - listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByLocation(locationName: string, options: Models.LongTermRetentionBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback): void; + listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - resourceGroupName, locationName, options }, - listByResourceGroupLocationOperationSpec, - callback) as Promise; + listByLocationOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given server. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams): Promise; + listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param callback The callback */ - listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback): void; + listByServer(locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param options The optional parameters * @param callback The callback */ - listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServer(locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByServerOptionalParams, callback: msRest.ServiceCallback): void; + listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - resourceGroupName, locationName, longTermRetentionServerName, options }, - listByResourceGroupServerOperationSpec, - callback) as Promise; + listByServerOperationSpec, + callback) as Promise; + } + + /** + * Copy an existing long term retention backup to a different server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The parameters needed for long term retention copy request + * @param [options] The optional parameters + * @returns Promise + */ + copyByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCopyByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates an existing long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The requested backup resource state + * @param [options] The optional parameters + * @returns Promise + */ + updateByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** * Gets a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param backupName The backup name. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param backupName The backup name. * @param callback The callback */ - get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback): void; + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, callback: msRest.ServiceCallback): void; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database @@ -233,22 +272,25 @@ export class LongTermRetentionBackups { * @param options The optional parameters * @param callback The callback */ - get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, options }, - getOperationSpec, - callback) as Promise; + getByResourceGroupOperationSpec, + callback) as Promise; } /** * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database @@ -256,119 +298,238 @@ export class LongTermRetentionBackups { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options) + deleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteByResourceGroup(resourceGroupName,locationName,longTermRetentionServerName,longTermRetentionDatabaseName,backupName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } /** * Lists all long term retention backups for a database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams): Promise; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): Promise; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param callback The callback */ - listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, callback: msRest.ServiceCallback): void; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param options The optional parameters * @param callback The callback */ - listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback): void; - listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, options }, - listByDatabaseOperationSpec, - callback) as Promise; + listByResourceGroupDatabaseOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given location. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams): Promise; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): Promise; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param callback The callback */ - listByLocation(locationName: string, callback: msRest.ServiceCallback): void; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback): void; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param options The optional parameters * @param callback The callback */ - listByLocation(locationName: string, options: Models.LongTermRetentionBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback): void; - listByLocation(locationName: string, options?: Models.LongTermRetentionBackupsListByLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + resourceGroupName, locationName, options }, - listByLocationOperationSpec, - callback) as Promise; + listByResourceGroupLocationOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams): Promise; + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams): Promise; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param callback The callback */ - listByServer(locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback): void; + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, callback: msRest.ServiceCallback): void; /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param options The optional parameters * @param callback The callback */ - listByServer(locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByServerOptionalParams, callback: msRest.ServiceCallback): void; - listByServer(locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByServerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + resourceGroupName, + locationName, + longTermRetentionServerName, + options + }, + listByResourceGroupServerOperationSpec, + callback) as Promise; + } + + /** + * Copy an existing long term retention backup. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The parameters needed for long term retention copy request + * @param [options] The optional parameters + * @returns Promise + */ + beginCopy(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + parameters, + options + }, + beginCopyOperationSpec, + options); + } + + /** + * Updates an existing long term retention backup. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The requested backup resource state + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Deletes a long term retention backup. + * @param locationName The location of the database + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + locationName, + longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Copy an existing long term retention backup to a different server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param longTermRetentionServerName The name of the server + * @param longTermRetentionDatabaseName The name of the database + * @param backupName The backup name. + * @param parameters The parameters needed for long term retention copy request + * @param [options] The optional parameters + * @returns Promise + */ + beginCopyByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.CopyLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, locationName, longTermRetentionServerName, + longTermRetentionDatabaseName, + backupName, + parameters, options }, - listByServerOperationSpec, - callback) as Promise; + beginCopyByResourceGroupOperationSpec, + options); } /** - * Deletes a long term retention backup. + * Updates an existing long term retention backup. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. - * @param locationName The location of the database + * @param locationName The location of the database. * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database * @param backupName The backup name. + * @param parameters The requested backup resource state * @param [options] The optional parameters * @returns Promise */ - beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + beginUpdateByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: Models.UpdateLongTermRetentionBackupParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -376,14 +537,17 @@ export class LongTermRetentionBackups { longTermRetentionServerName, longTermRetentionDatabaseName, backupName, + parameters, options }, - beginDeleteByResourceGroupOperationSpec, + beginUpdateByResourceGroupOperationSpec, options); } /** * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. * @param locationName The location of the database * @param longTermRetentionServerName The name of the server * @param longTermRetentionDatabaseName The name of the database @@ -391,16 +555,17 @@ export class LongTermRetentionBackups { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { + resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, options }, - beginDeleteMethodOperationSpec, + beginDeleteByResourceGroupOperationSpec, options); } @@ -408,178 +573,177 @@ export class LongTermRetentionBackups { * Lists all long term retention backups for a database. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + 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 */ - listByResourceGroupDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupDatabaseNextOperationSpec, - callback) as Promise; + listByDatabaseNextOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given location. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByLocationNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByResourceGroupLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByLocationNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupLocationNextOperationSpec, - callback) as Promise; + listByLocationNextOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given server. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByServerNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + 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 */ - listByResourceGroupServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServerNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByServerNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByServerNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupServerNextOperationSpec, - callback) as Promise; + listByServerNextOperationSpec, + callback) as Promise; } /** * Lists all long term retention backups for a database. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByDatabaseNextOperationSpec, - callback) as Promise; + listByResourceGroupDatabaseNextOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given location. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupLocationNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByLocationNextOperationSpec, - callback) as Promise; + listByResourceGroupLocationNextOperationSpec, + callback) as Promise; } /** * Lists the long term retention backups for a given server. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupServerNext(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 { + listByResourceGroupServerNext(nextPageLink: string, options: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupServerNext(nextPageLink: string, options?: Models.LongTermRetentionBackupsListByResourceGroupServerNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByServerNextOperationSpec, - callback) as Promise; + listByResourceGroupServerNextOperationSpec, + callback) as Promise; } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getByResourceGroupOperationSpec: msRest.OperationSpec = { +const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", urlParameters: [ - Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -587,7 +751,7 @@ const getByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -603,11 +767,10 @@ const getByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { +const listByDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -616,7 +779,7 @@ const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -632,18 +795,17 @@ const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { +const listByLocationOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, Parameters.locationName, Parameters.subscriptionId ], queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -659,11 +821,10 @@ const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { +const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", urlParameters: [ - Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.subscriptionId @@ -671,7 +832,7 @@ const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -687,10 +848,11 @@ const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { serializer }; -const getOperationSpec: msRest.OperationSpec = { +const getByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", urlParameters: [ + Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -698,7 +860,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -714,10 +876,11 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; -const listByDatabaseOperationSpec: msRest.OperationSpec = { +const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups", urlParameters: [ + Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -726,7 +889,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -742,17 +905,18 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { serializer }; -const listByLocationOperationSpec: msRest.OperationSpec = { +const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups", urlParameters: [ + Parameters.resourceGroupName, Parameters.locationName, Parameters.subscriptionId ], queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -768,10 +932,11 @@ const listByLocationOperationSpec: msRest.OperationSpec = { serializer }; -const listByServerOperationSpec: msRest.OperationSpec = { +const listByResourceGroupServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups", urlParameters: [ + Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.subscriptionId @@ -779,7 +944,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.onlyLatestPerDatabase, Parameters.databaseState, - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -795,11 +960,10 @@ const listByServerOperationSpec: msRest.OperationSpec = { serializer }; -const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", +const beginCopyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy", urlParameters: [ - Parameters.resourceGroupName, Parameters.locationName, Parameters.longTermRetentionServerName, Parameters.longTermRetentionDatabaseName, @@ -807,13 +971,57 @@ const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CopyLongTermRetentionBackupParameters, + required: true + } + }, responses: { - 200: {}, + 200: { + bodyMapper: Mappers.LongTermRetentionBackupOperationResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/update", + urlParameters: [ + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.UpdateLongTermRetentionBackupParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupOperationResult + }, 202: {}, default: { bodyMapper: Mappers.CloudError @@ -833,7 +1041,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -848,13 +1056,117 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = { +const beginCopyByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CopyLongTermRetentionBackupParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupOperationResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/update", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.UpdateLongTermRetentionBackupParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionBackupOperationResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.longTermRetentionServerName, + Parameters.longTermRetentionDatabaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -869,13 +1181,18 @@ const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = { +const listByLocationNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -890,13 +1207,18 @@ const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = { +const listByServerNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -911,13 +1233,18 @@ const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByDatabaseNextOperationSpec: msRest.OperationSpec = { +const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -932,13 +1259,18 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByLocationNextOperationSpec: msRest.OperationSpec = { +const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -953,13 +1285,18 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByServerNextOperationSpec: msRest.OperationSpec = { +const listByResourceGroupServerNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts new file mode 100644 index 000000000000..3dae87a35286 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionManagedInstanceBackups.ts @@ -0,0 +1,1010 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/longTermRetentionManagedInstanceBackupsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a LongTermRetentionManagedInstanceBackups. */ +export class LongTermRetentionManagedInstanceBackups { + private readonly client: SqlManagementClientContext; + + /** + * Create a LongTermRetentionManagedInstanceBackups. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a long term retention backup for a managed database. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param callback The callback + */ + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, callback: msRest.ServiceCallback): void; + /** + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param options The optional parameters + * @param callback The callback + */ + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a long term retention backup. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(locationName,managedInstanceName,databaseName,backupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Lists all long term retention backups for a managed database. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams): Promise; + /** + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param callback The callback + */ + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams, callback: msRest.ServiceCallback): void; + listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given managed instance. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams): Promise; + /** + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByInstance(locationName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByInstance(locationName: string, managedInstanceName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams, callback: msRest.ServiceCallback): void; + listByInstance(locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + managedInstanceName, + options + }, + listByInstanceOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for managed databases in a given location. + * @param locationName The location of the database. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams): Promise; + /** + * @param locationName The location of the database. + * @param callback The callback + */ + listByLocation(locationName: string, callback: msRest.ServiceCallback): void; + /** + * @param locationName The location of the database. + * @param options The optional parameters + * @param callback The callback + */ + listByLocation(locationName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams, callback: msRest.ServiceCallback): void; + listByLocation(locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + locationName, + options + }, + listByLocationOperationSpec, + callback) as Promise; + } + + /** + * Gets a long term retention backup for a managed database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param callback The callback + */ + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param options The optional parameters + * @param callback The callback + */ + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + getByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteByResourceGroup(resourceGroupName,locationName,managedInstanceName,databaseName,backupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Lists all long term retention backups for a managed database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param callback The callback + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + databaseName, + options + }, + listByResourceGroupDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + managedInstanceName, + options + }, + listByResourceGroupInstanceOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for managed databases in a given location. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param callback The callback + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + options + }, + listByResourceGroupLocationOperationSpec, + callback) as Promise; + } + + /** + * Deletes a long term retention backup. + * @param locationName The location of the database. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Deletes a long term retention backup. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The location of the database + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the managed database. + * @param backupName The backup name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + locationName, + managedInstanceName, + databaseName, + backupName, + options + }, + beginDeleteByResourceGroupOperationSpec, + options); + } + + /** + * Lists all long term retention backups for a managed database. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams): 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: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given managed instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByInstanceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstanceNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for managed databases in a given location. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByLocationNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByLocationNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all long term retention backups for a managed database. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupDatabaseNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupDatabaseNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupDatabaseNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for a given managed instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupInstanceNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupInstanceNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupInstanceNextOperationSpec, + callback) as Promise; + } + + /** + * Lists the long term retention backups for managed databases in a given location. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupLocationNext(nextPageLink: string, options: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupLocationNext(nextPageLink: string, options?: Models.LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupLocationNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.locationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstanceBackups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.backupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.onlyLatestPerDatabase, + Parameters.databaseState, + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionBackupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts similarity index 64% rename from sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts rename to sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts index 015a8db7ac5e..6db4ae303fdc 100644 --- a/sdk/sql/arm-sql/src/operations/backupLongTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/longTermRetentionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -11,16 +10,16 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; -import * as Mappers from "../models/backupLongTermRetentionPoliciesMappers"; +import * as Mappers from "../models/longTermRetentionPoliciesMappers"; import * as Parameters from "../models/parameters"; import { SqlManagementClientContext } from "../sqlManagementClientContext"; -/** Class representing a BackupLongTermRetentionPolicies. */ -export class BackupLongTermRetentionPolicies { +/** Class representing a LongTermRetentionPolicies. */ +export class LongTermRetentionPolicies { private readonly client: SqlManagementClientContext; /** - * Create a BackupLongTermRetentionPolicies. + * Create a LongTermRetentionPolicies. * @param {SqlManagementClientContext} client Reference to the service client. */ constructor(client: SqlManagementClientContext) { @@ -34,9 +33,9 @@ export class BackupLongTermRetentionPolicies { * @param serverName The name of the server. * @param databaseName The name of the database. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + get(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. @@ -44,7 +43,7 @@ export class BackupLongTermRetentionPolicies { * @param databaseName The name of the database. * @param callback The callback */ - get(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback): void; + get(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. @@ -53,8 +52,8 @@ export class BackupLongTermRetentionPolicies { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -63,7 +62,7 @@ export class BackupLongTermRetentionPolicies { options }, getOperationSpec, - callback) as Promise; + callback) as Promise; } /** @@ -74,11 +73,11 @@ export class BackupLongTermRetentionPolicies { * @param databaseName The name of the database. * @param parameters The long term retention policy info. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.BackupLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { return this.beginCreateOrUpdate(resourceGroupName,serverName,databaseName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -88,9 +87,9 @@ export class BackupLongTermRetentionPolicies { * @param serverName The name of the server. * @param databaseName The name of the database. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase): 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. @@ -98,7 +97,7 @@ export class BackupLongTermRetentionPolicies { * @param databaseName The name of the database. * @param callback The callback */ - listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, callback: msRest.ServiceCallback): void; + 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. @@ -107,8 +106,8 @@ export class BackupLongTermRetentionPolicies { * @param options The optional parameters * @param callback The callback */ - listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + 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, @@ -117,7 +116,7 @@ export class BackupLongTermRetentionPolicies { options }, listByDatabaseOperationSpec, - callback) as Promise; + callback) as Promise; } /** @@ -130,7 +129,7 @@ export class BackupLongTermRetentionPolicies { * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.BackupLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Models.LongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -142,6 +141,34 @@ export class BackupLongTermRetentionPolicies { beginCreateOrUpdateOperationSpec, options); } + + /** + * Gets a database's long term retention policy. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + 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 @@ -157,14 +184,14 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.BackupLongTermRetentionPolicy + bodyMapper: Mappers.LongTermRetentionPolicy }, default: { bodyMapper: Mappers.CloudError @@ -183,14 +210,14 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.BackupLongTermRetentionPolicy + bodyMapper: Mappers.LongTermRetentionPolicyListResult }, default: { bodyMapper: Mappers.CloudError @@ -210,7 +237,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -218,13 +245,13 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.BackupLongTermRetentionPolicy, + ...Mappers.LongTermRetentionPolicy, required: true } }, responses: { 200: { - bodyMapper: Mappers.BackupLongTermRetentionPolicy + bodyMapper: Mappers.LongTermRetentionPolicy }, 202: {}, default: { @@ -233,3 +260,27 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion2 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LongTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts index 825d783a4032..7f1a25d36d5a 100644 --- a/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedBackupShortTermRetentionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -223,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +248,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -276,7 +275,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +310,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -342,6 +341,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts index 1ff1a97ed81b..6871e0494d75 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseRestoreDetails.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -79,7 +78,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts index a35978ff4977..3d3a93d1e9b3 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSecurityAlertPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -198,7 +197,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +224,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -261,7 +260,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -284,6 +283,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts index 78a062d17bb6..bd15f445ab7f 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseSensitivityLabels.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -377,7 +376,7 @@ export class ManagedDatabaseSensitivityLabels { * @param [options] The optional parameters * @returns Promise */ - listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listCurrentByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -388,8 +387,8 @@ export class ManagedDatabaseSensitivityLabels { * @param options The optional parameters * @param callback The callback */ - listCurrentByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listCurrentByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listCurrentByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListCurrentByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -405,7 +404,7 @@ export class ManagedDatabaseSensitivityLabels { * @param [options] The optional parameters * @returns Promise */ - listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -416,8 +415,8 @@ export class ManagedDatabaseSensitivityLabels { * @param options The optional parameters * @param callback The callback */ - listRecommendedByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRecommendedByDatabaseNext(nextPageLink: string, options: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -444,7 +443,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +473,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -514,7 +513,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -542,7 +541,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -570,7 +569,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -595,7 +594,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -624,7 +623,7 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.includeDisabledRecommendations, Parameters.skipToken, Parameters.filter1, - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -647,6 +646,10 @@ const listCurrentByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -668,6 +671,12 @@ const listRecommendedByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.includeDisabledRecommendations, + Parameters.skipToken, + Parameters.filter1, + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts index 2cff3b673b3f..ea03a7149ba5 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentRuleBaselines.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +243,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -280,7 +279,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts index 9cdc67c4f9f3..a2cfe2b180b2 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessmentScans.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -232,7 +231,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +259,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +287,7 @@ const exportMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -319,7 +318,7 @@ const beginInitiateScanOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -341,6 +340,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts index 7880f42b6616..f28827fddc2f 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabaseVulnerabilityAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -228,7 +227,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +254,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +291,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +315,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -339,6 +338,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedDatabases.ts b/sdk/sql/arm-sql/src/operations/managedDatabases.ts index 08b45ce8abbc..46e48b1b8447 100644 --- a/sdk/sql/arm-sql/src/operations/managedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/managedDatabases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -160,6 +159,41 @@ export class ManagedDatabases { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Gets a list of inaccessible managed databases in a managed instance + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInaccessibleByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listInaccessibleByInstanceOperationSpec, + callback) as Promise; + } + /** * Creates a new database or updates an existing database. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -277,6 +311,34 @@ export class ManagedDatabases { listByInstanceNextOperationSpec, callback) as Promise; } + + /** + * Gets a list of inaccessible managed databases in a managed instance + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listInaccessibleByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listInaccessibleByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listInaccessibleByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listInaccessibleByInstanceNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -290,7 +352,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +378,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -332,6 +394,31 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listInaccessibleByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedDatabaseListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}", @@ -342,7 +429,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -379,7 +466,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -405,7 +492,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +526,7 @@ const beginCompleteRestoreOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -468,6 +555,33 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedDatabaseListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listInaccessibleByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts index 6dea07f57bbc..640665467caf 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceAdministrators.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -204,7 +203,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -226,11 +225,11 @@ const getOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -252,11 +251,11 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -289,11 +288,11 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.resourceGroupName, Parameters.managedInstanceName, - Parameters.administratorName1, + Parameters.administratorName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -315,6 +314,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts b/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts new file mode 100644 index 000000000000..28a59f10a87e --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/managedInstanceAzureADOnlyAuthentications.ts @@ -0,0 +1,337 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedInstanceAzureADOnlyAuthenticationsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ManagedInstanceAzureADOnlyAuthentications. */ +export class ManagedInstanceAzureADOnlyAuthentications { + private readonly client: SqlManagementClientContext; + + /** + * Create a ManagedInstanceAzureADOnlyAuthentications. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a specific Azure Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Sets Server Active Directory only authentication property or updates an existing server Active + * Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param parameters The required parameters for creating or updating an Active Directory only + * authentication property. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes an existing server Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,managedInstanceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a list of server Azure Active Directory only authentications. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByInstanceOperationSpec, + callback) as Promise; + } + + /** + * Sets Server Active Directory only authentication property or updates an existing server Active + * Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param parameters The required parameters for creating or updating an Active Directory only + * authentication property. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: Models.ManagedInstanceAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes an existing server Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Gets a list of server Azure Active Directory only authentications. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstanceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedInstanceAzureADOnlyAuthentication, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication + }, + 201: { + bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthentication + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceAzureADOnlyAuthListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts index 1a5461fe6288..3f75888756b7 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceEncryptionProtectors.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -204,7 +203,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +229,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +255,7 @@ const beginRevalidateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +280,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -312,6 +311,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts index 36bd7ef28283..a009cfe75efc 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -180,7 +179,7 @@ export class ManagedInstanceKeys { * @param [options] The optional parameters * @returns Promise */ - listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByInstanceNext(nextPageLink: string, options?: Models.ManagedInstanceKeysListByInstanceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -191,8 +190,8 @@ export class ManagedInstanceKeys { * @param options The optional parameters * @param callback The callback */ - listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByInstanceNext(nextPageLink: string, options: Models.ManagedInstanceKeysListByInstanceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByInstanceNext(nextPageLink: string, options?: Models.ManagedInstanceKeysListByInstanceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -215,7 +214,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +240,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -267,7 +266,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -304,7 +303,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -327,6 +326,10 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts new file mode 100644 index 000000000000..f3032638db97 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/managedInstanceLongTermRetentionPolicies.ts @@ -0,0 +1,286 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedInstanceLongTermRetentionPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ManagedInstanceLongTermRetentionPolicies. */ +export class ManagedInstanceLongTermRetentionPolicies { + private readonly client: SqlManagementClientContext; + + /** + * Create a ManagedInstanceLongTermRetentionPolicies. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a managed database's long term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Sets a managed database's long term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The long term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,managedInstanceName,databaseName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets a database's long term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + options + }, + listByDatabaseOperationSpec, + callback) as Promise; + } + + /** + * Sets a managed database's long term retention policy. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param databaseName The name of the database. + * @param parameters The long term retention policy info. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: Models.ManagedInstanceLongTermRetentionPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + databaseName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Gets a database's long term retention policy. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByDatabaseNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.databaseName, + Parameters.policyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ManagedInstanceLongTermRetentionPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceLongTermRetentionPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts b/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts new file mode 100644 index 000000000000..13a3db0770f4 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/managedInstanceOperations.ts @@ -0,0 +1,269 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedInstanceOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ManagedInstanceOperations. */ +export class ManagedInstanceOperations { + private readonly client: SqlManagementClientContext; + + /** + * Create a ManagedInstanceOperations. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Cancels the asynchronous operation on the managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param [options] The optional parameters + * @returns Promise + */ + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param callback The callback + */ + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param options The optional parameters + * @param callback The callback + */ + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + cancel(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + operationId, + options + }, + cancelOperationSpec, + callback); + } + + /** + * Gets a list of operations performed on the managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByManagedInstanceOperationSpec, + callback) as Promise; + } + + /** + * Gets a management operation on a managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, operationId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param operationId + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, managedInstanceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, managedInstanceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + operationId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of operations performed on the managed instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByManagedInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByManagedInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByManagedInstanceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const cancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}/cancel", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.operationId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByManagedInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceOperationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.operationId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceOperation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedInstanceOperationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts index 3f394c1ad151..ee9fdf9cb251 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceTdeCertificates.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -74,7 +73,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts index 11ac9da5bce2..b227ee24315e 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstanceVulnerabilityAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -223,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +248,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -285,7 +284,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +307,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -331,6 +330,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedInstances.ts b/sdk/sql/arm-sql/src/operations/managedInstances.ts index 9187f0f06a0d..e05df907d0db 100644 --- a/sdk/sql/arm-sql/src/operations/managedInstances.ts +++ b/sdk/sql/arm-sql/src/operations/managedInstances.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -169,6 +168,54 @@ export class ManagedInstances { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Get top resource consuming queries of a managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesListByManagedInstanceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options: Models.ManagedInstancesListByManagedInstanceOptionalParams, callback: msRest.ServiceCallback): void; + listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesListByManagedInstanceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByManagedInstanceOperationSpec, + callback) as Promise; + } + + /** + * Failovers a managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance to failover. + * @param [options] The optional parameters + * @returns Promise + */ + failover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesFailoverOptionalParams): Promise { + return this.beginFailover(resourceGroupName,managedInstanceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Gets a list of all managed instances in the subscription. * @param [options] The optional parameters @@ -254,6 +301,25 @@ export class ManagedInstances { options); } + /** + * Failovers a managed instance. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance to failover. + * @param [options] The optional parameters + * @returns Promise + */ + beginFailover(resourceGroupName: string, managedInstanceName: string, options?: Models.ManagedInstancesBeginFailoverOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + managedInstanceName, + options + }, + beginFailoverOperationSpec, + options); + } + /** * Gets a list of all managed instances in an instance pool. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -310,6 +376,34 @@ export class ManagedInstances { callback) as Promise; } + /** + * Get top resource consuming queries of a managed instance. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByManagedInstanceNext(nextPageLink: string, options?: Models.ManagedInstancesListByManagedInstanceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByManagedInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByManagedInstanceNext(nextPageLink: string, options: Models.ManagedInstancesListByManagedInstanceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByManagedInstanceNext(nextPageLink: string, options?: Models.ManagedInstancesListByManagedInstanceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByManagedInstanceNextOperationSpec, + callback) as Promise; + } + /** * Gets a list of all managed instances in the subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -350,7 +444,7 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -374,7 +468,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -399,7 +493,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -415,6 +509,38 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const listByManagedInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/topqueries", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.numberOfQueries, + Parameters.databases, + Parameters.startTime1, + Parameters.endTime1, + Parameters.interval, + Parameters.aggregationFunction, + Parameters.observationMetric, + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TopQueriesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", @@ -422,7 +548,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -447,7 +573,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -483,7 +609,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -508,7 +634,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -532,6 +658,31 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginFailoverOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/failover", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.replicaType, + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -539,6 +690,9 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -560,6 +714,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -574,6 +731,37 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { serializer }; +const listByManagedInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.numberOfQueries, + Parameters.databases, + Parameters.startTime1, + Parameters.endTime1, + Parameters.interval, + Parameters.aggregationFunction, + Parameters.observationMetric, + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TopQueriesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -581,6 +769,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts index f6b8abddc545..2381fd9c7caa 100644 --- a/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -228,7 +227,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +253,7 @@ const listByRestorableDroppedDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +280,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +315,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -347,6 +346,9 @@ const listByRestorableDroppedDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts index 0c58ca809417..a04ee2cad8f1 100644 --- a/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/managedServerSecurityAlertPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +197,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -255,6 +254,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/operations.ts b/sdk/sql/arm-sql/src/operations/operations.ts index 21acf86ad037..21a5bacffd89 100644 --- a/sdk/sql/arm-sql/src/operations/operations.ts +++ b/sdk/sql/arm-sql/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -85,7 +84,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Sql/operations", queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts index f2a129d2a609..cca5ad9013e9 100644 --- a/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts +++ b/sdk/sql/arm-sql/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -240,7 +239,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +265,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -300,7 +299,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -323,6 +322,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts index ff5ec78a08f5..fc267f9fabcf 100644 --- a/sdk/sql/arm-sql/src/operations/privateLinkResources.ts +++ b/sdk/sql/arm-sql/src/operations/privateLinkResources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -140,7 +139,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +165,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -189,6 +188,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts b/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts index a2eb82653e0e..206804569c04 100644 --- a/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts +++ b/sdk/sql/arm-sql/src/operations/recommendedElasticPools.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts index 698f705aec79..038968e72e1a 100644 --- a/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/recoverableDatabases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts index a36cefea4644..73481fe0c039 100644 --- a/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/recoverableManagedDatabases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -140,7 +139,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +165,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -189,6 +188,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/replicationLinks.ts b/sdk/sql/arm-sql/src/operations/replicationLinks.ts index 2e3b76a6773e..7a3cfd8380c9 100644 --- a/sdk/sql/arm-sql/src/operations/replicationLinks.ts +++ b/sdk/sql/arm-sql/src/operations/replicationLinks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -145,6 +144,22 @@ export class ReplicationLinks { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Deletes a database replication link in forced or friendly way. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database that has the replication link to be failed over. + * @param linkId The ID of the replication link to be failed over. + * @param parameters The required parameters for unlinking replication link. + * @param [options] The optional parameters + * @returns Promise + */ + unlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUnlink(resourceGroupName,serverName,databaseName,linkId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Lists a database's replication links. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -231,6 +246,31 @@ export class ReplicationLinks { beginFailoverAllowDataLossOperationSpec, options); } + + /** + * Deletes a database replication link in forced or friendly way. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database that has the replication link to be failed over. + * @param linkId The ID of the replication link to be failed over. + * @param parameters The required parameters for unlinking replication link. + * @param [options] The optional parameters + * @returns Promise + */ + beginUnlink(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: Models.UnlinkParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + databaseName, + linkId, + parameters, + options + }, + beginUnlinkOperationSpec, + options); + } } // Operation Specifications @@ -365,3 +405,36 @@ const beginFailoverAllowDataLossOperationSpec: msRest.OperationSpec = { }, serializer }; + +const beginUnlinkOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}/unlink", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.databaseName, + Parameters.linkId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.UnlinkParameters, + required: true + } + }, + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts index 8cead12893dd..606aac523c0e 100644 --- a/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/restorableDroppedDatabases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts index 616f9c58900d..62b5b7901489 100644 --- a/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts +++ b/sdk/sql/arm-sql/src/operations/restorableDroppedManagedDatabases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -140,7 +139,7 @@ const listByInstanceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -166,7 +165,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -189,6 +188,9 @@ const listByInstanceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/restorePoints.ts b/sdk/sql/arm-sql/src/operations/restorePoints.ts index d3cbf393d7c6..a189470934e1 100644 --- a/sdk/sql/arm-sql/src/operations/restorePoints.ts +++ b/sdk/sql/arm-sql/src/operations/restorePoints.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -203,7 +202,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +229,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -257,7 +256,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -281,7 +280,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts index 32d4584c6a05..5ff0982ac5d4 100644 --- a/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts +++ b/sdk/sql/arm-sql/src/operations/sensitivityLabels.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -377,7 +376,7 @@ export class SensitivityLabels { * @param [options] The optional parameters * @returns Promise */ - listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listCurrentByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -388,8 +387,8 @@ export class SensitivityLabels { * @param options The optional parameters * @param callback The callback */ - listCurrentByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listCurrentByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listCurrentByDatabaseNext(nextPageLink: string, options: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listCurrentByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListCurrentByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -405,7 +404,7 @@ export class SensitivityLabels { * @param [options] The optional parameters * @returns Promise */ - listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -416,8 +415,8 @@ export class SensitivityLabels { * @param options The optional parameters * @param callback The callback */ - listRecommendedByDatabaseNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listRecommendedByDatabaseNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listRecommendedByDatabaseNext(nextPageLink: string, options: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams, callback: msRest.ServiceCallback): void; + listRecommendedByDatabaseNext(nextPageLink: string, options?: Models.SensitivityLabelsListRecommendedByDatabaseNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -441,7 +440,7 @@ const listCurrentByDatabaseOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter1, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -470,7 +469,7 @@ const listRecommendedByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.includeDisabledRecommendations, Parameters.skipToken, Parameters.filter1, - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -500,7 +499,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -528,7 +527,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -556,7 +555,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -586,7 +585,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -626,7 +625,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -647,6 +646,10 @@ const listCurrentByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -668,6 +671,12 @@ const listRecommendedByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.includeDisabledRecommendations, + Parameters.skipToken, + Parameters.filter1, + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts index b473a84bcf2e..c19d07e7db8d 100644 --- a/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts +++ b/sdk/sql/arm-sql/src/operations/serverAutomaticTuningOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -112,7 +111,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -137,7 +136,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts index f80129644663..203fce125f83 100644 --- a/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts +++ b/sdk/sql/arm-sql/src/operations/serverAzureADAdministrators.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -28,36 +27,7 @@ export class ServerAzureADAdministrators { } /** - * Creates a new Server Active Directory Administrator or updates an existing server Active - * Directory Administrator. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param serverName The name of the server. - * @param properties The required parameters for creating or updating an Active Directory - * Administrator. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreateOrUpdate(resourceGroupName,serverName,properties,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Deletes an existing server Active Directory Administrator. - * @param resourceGroupName The name of the resource group that contains the resource. You can - * obtain this value from the Azure Resource Manager API or the portal. - * @param serverName The name of the server. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginDeleteMethod(resourceGroupName,serverName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } - - /** - * Returns an server Administrator. + * Gets a Azure Active Directory administrator. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. @@ -92,7 +62,34 @@ export class ServerAzureADAdministrators { } /** - * Returns a list of server Administrators. + * Creates or updates an existing Azure Active Directory administrator. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param parameters The requested Azure Active Directory administrator Resource state. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes the Azure Active Directory administrator with the given name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,serverName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a list of Azure Active Directory administrators in a server. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. @@ -106,7 +103,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 +111,8 @@ export class ServerAzureADAdministrators { * @param options The optional parameters * @param callback The callback */ - listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -127,22 +124,20 @@ export class ServerAzureADAdministrators { } /** - * Creates a new Server Active Directory Administrator or updates an existing server Active - * Directory Administrator. + * Creates or updates an existing Azure Active Directory administrator. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. - * @param properties The required parameters for creating or updating an Active Directory - * Administrator. + * @param parameters The requested Azure Active Directory administrator Resource state. * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADAdministrator, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, serverName, - properties, + parameters, options }, beginCreateOrUpdateOperationSpec, @@ -150,7 +145,7 @@ export class ServerAzureADAdministrators { } /** - * Deletes an existing server Active Directory Administrator. + * Deletes the Azure Active Directory administrator with the given name. * @param resourceGroupName The name of the resource group that contains the resource. You can * obtain this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. @@ -167,6 +162,34 @@ export class ServerAzureADAdministrators { beginDeleteMethodOperationSpec, options); } + + /** + * Gets a list of Azure Active Directory administrators in a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + 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 +201,10 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -206,14 +229,14 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAdministratorListResult + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError @@ -229,16 +252,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], requestBody: { - parameterPath: "properties", + parameterPath: "parameters", mapper: { ...Mappers.ServerAzureADAdministrator, required: true @@ -251,9 +274,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ServerAzureADAdministrator }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -268,23 +289,41 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.serverName, - Parameters.administratorName0 + Parameters.administratorName + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, - 202: { - bodyMapper: Mappers.ServerAzureADAdministrator - }, - 204: { - bodyMapper: Mappers.ServerAzureADAdministrator + bodyMapper: Mappers.AdministratorListResult }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts b/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts new file mode 100644 index 000000000000..a2938d83981c --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/serverAzureADOnlyAuthentications.ts @@ -0,0 +1,337 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/serverAzureADOnlyAuthenticationsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ServerAzureADOnlyAuthentications. */ +export class ServerAzureADOnlyAuthentications { + private readonly client: SqlManagementClientContext; + + /** + * Create a ServerAzureADOnlyAuthentications. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a specific Azure Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Sets Server Active Directory only authentication property or updates an existing server Active + * Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param parameters The required parameters for creating or updating an Active Directory only + * authentication property. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes an existing server Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,serverName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets a list of server Azure Active Directory only authentications. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + + /** + * Sets Server Active Directory only authentication property or updates an existing server Active + * Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param parameters The required parameters for creating or updating an Active Directory only + * authentication property. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: Models.ServerAzureADOnlyAuthentication, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes an existing server Active Directory only authentication property. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Gets a list of server Azure Active Directory only authentications. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerAzureADOnlyAuthentication + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AzureADOnlyAuthListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerAzureADOnlyAuthentication, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerAzureADOnlyAuthentication + }, + 201: { + bodyMapper: Mappers.ServerAzureADOnlyAuthentication + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.authenticationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AzureADOnlyAuthListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts index 31cd942591a6..19d58d576e37 100644 --- a/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverBlobAuditingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +197,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -255,6 +254,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts index e334e3dba6e2..ac11ee2bc036 100644 --- a/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts +++ b/sdk/sql/arm-sql/src/operations/serverCommunicationLinks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts index 8cd96ee36a74..df702cb17186 100644 --- a/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverConnectionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts b/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts new file mode 100644 index 000000000000..27cddc1f2348 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/serverDevOpsAuditSettings.ts @@ -0,0 +1,284 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/serverDevOpsAuditSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ServerDevOpsAuditSettings. */ +export class ServerDevOpsAuditSettings { + private readonly client: SqlManagementClientContext; + + /** + * Create a ServerDevOpsAuditSettings. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a server's DevOps audit settings. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be + * 'default'. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: 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 devOpsAuditingSettingsName The name of the devops audit settings. This should always be + * 'default'. + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be + * 'default'. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + devOpsAuditingSettingsName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a server's DevOps audit settings. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be + * 'default'. + * @param parameters Properties of DevOps audit settings + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, parameters: Models.ServerDevOpsAuditingSettings, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serverName,devOpsAuditingSettingsName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Lists DevOps audit settings of a server. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param [options] The optional parameters + * @returns Promise + */ + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param options The optional parameters + * @param callback The callback + */ + listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serverName, + options + }, + listByServerOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a server's DevOps audit settings. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param devOpsAuditingSettingsName The name of the devops audit settings. This should always be + * 'default'. + * @param parameters Properties of DevOps audit settings + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serverName: string, devOpsAuditingSettingsName: string, parameters: Models.ServerDevOpsAuditingSettings, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + devOpsAuditingSettingsName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists DevOps audit settings of a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServerNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.devOpsAuditingSettingsName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerDevOpsAuditingSettings + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerDevOpsAuditSettingsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.devOpsAuditingSettingsName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerDevOpsAuditingSettings, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerDevOpsAuditingSettings + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByServerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion3 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerDevOpsAuditSettingsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts index fdd12166a26f..badb17960258 100644 --- a/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts +++ b/sdk/sql/arm-sql/src/operations/serverDnsAliases.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -250,7 +249,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -275,7 +274,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -301,7 +300,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -331,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -357,7 +356,7 @@ const beginAcquireOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -386,6 +385,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serverKeys.ts b/sdk/sql/arm-sql/src/operations/serverKeys.ts index b53497dcea66..2f377b5fa677 100644 --- a/sdk/sql/arm-sql/src/operations/serverKeys.ts +++ b/sdk/sql/arm-sql/src/operations/serverKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -222,7 +221,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +247,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -274,7 +273,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +310,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -334,6 +333,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts index 56e479b9f51e..cdeb01d6eb84 100644 --- a/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts +++ b/sdk/sql/arm-sql/src/operations/serverSecurityAlertPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -173,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +197,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +223,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -255,6 +254,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts b/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts new file mode 100644 index 000000000000..be9153d98fba --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/serverTrustGroups.ts @@ -0,0 +1,455 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/serverTrustGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a ServerTrustGroups. */ +export class ServerTrustGroups { + private readonly client: SqlManagementClientContext; + + /** + * Create a ServerTrustGroups. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param callback The callback + */ + get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + serverTrustGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param parameters The server trust group parameters. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: Models.ServerTrustGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,locationName,serverTrustGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,locationName,serverTrustGroupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Lists a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocation(resourceGroupName: string, locationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param callback The callback + */ + listByLocation(resourceGroupName: string, locationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param options The optional parameters + * @param callback The callback + */ + listByLocation(resourceGroupName: string, locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByLocation(resourceGroupName: string, locationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + locationName, + options + }, + listByLocationOperationSpec, + callback) as Promise; + } + + /** + * Gets a server trust groups by instance name. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param managedInstanceName The name of the managed instance. + * @param options The optional parameters + * @param callback The callback + */ + listByInstance(resourceGroupName: string, managedInstanceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstance(resourceGroupName: string, managedInstanceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + managedInstanceName, + options + }, + listByInstanceOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param parameters The server trust group parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: Models.ServerTrustGroup, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + locationName, + serverTrustGroupName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a server trust group. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param locationName The name of the region where the resource is located. + * @param serverTrustGroupName The name of the server trust group. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + locationName, + serverTrustGroupName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists a server trust group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByLocationNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a server trust groups by instance name. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByInstanceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByInstanceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByInstanceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.serverTrustGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.managedInstanceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.serverTrustGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerTrustGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroup + }, + 201: { + bodyMapper: Mappers.ServerTrustGroup + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.locationName, + Parameters.serverTrustGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByLocationNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByInstanceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerTrustGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/sql/arm-sql/src/operations/serverUsages.ts b/sdk/sql/arm-sql/src/operations/serverUsages.ts index ca3991457707..96741cfba11b 100644 --- a/sdk/sql/arm-sql/src/operations/serverUsages.ts +++ b/sdk/sql/arm-sql/src/operations/serverUsages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts index 09f92258465f..4c1abf0a05e6 100644 --- a/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts +++ b/sdk/sql/arm-sql/src/operations/serverVulnerabilityAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -211,7 +210,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -237,7 +236,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -273,7 +272,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -296,7 +295,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -319,6 +318,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/servers.ts b/sdk/sql/arm-sql/src/operations/servers.ts index 734cb28282b2..127bc95ce3c1 100644 --- a/sdk/sql/arm-sql/src/operations/servers.ts +++ b/sdk/sql/arm-sql/src/operations/servers.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,58 +26,6 @@ export class Servers { this.client = client; } - /** - * Determines whether a resource can be created with the specified name. - * @param parameters The parameters to request for name availability. - * @param [options] The optional parameters - * @returns Promise - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param parameters The parameters to request for name availability. - * @param callback The callback - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback): void; - /** - * @param parameters The parameters to request for name availability. - * @param options The optional parameters - * @param callback The callback - */ - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - parameters, - options - }, - checkNameAvailabilityOperationSpec, - callback) as Promise; - } - - /** - * Gets a list of all servers in the subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - /** * Gets a list of servers in a resource groups. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -186,6 +133,72 @@ export class Servers { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a list of all servers in the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Determines whether a resource can be created with the specified name. + * @param parameters The name availability request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param parameters The name availability request parameters. + * @param callback The callback + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, callback: msRest.ServiceCallback): void; + /** + * @param parameters The name availability request parameters. + * @param options The optional parameters + * @param callback The callback + */ + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + checkNameAvailability(parameters: Models.CheckNameAvailabilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + parameters, + options + }, + checkNameAvailabilityOperationSpec, + callback) as Promise; + } + + /** + * Imports a bacpac into a new database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param parameters The database import request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + importDatabase(resourceGroupName: string, serverName: string, parameters: Models.ImportNewDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { + return this.beginImportDatabase(resourceGroupName,serverName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Creates or updates a server. * @param resourceGroupName The name of the resource group that contains the resource. You can @@ -248,86 +261,101 @@ export class Servers { } /** - * Gets a list of all servers in the subscription. + * Imports a bacpac into a new database. + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param parameters The database import request parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginImportDatabase(resourceGroupName: string, serverName: string, parameters: Models.ImportNewDatabaseDefinition, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + parameters, + options + }, + beginImportDatabaseOperationSpec, + options); + } + + /** + * Gets a list of servers in a resource groups. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listNextOperationSpec, - callback) as Promise; + listByResourceGroupNextOperationSpec, + callback) as Promise; } /** - * Gets a list of servers in a resource groups. + * Gets a list of all servers in the subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listByResourceGroupNextOperationSpec, - callback) as Promise; + listNextOperationSpec, + callback) as Promise; } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability", +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers", urlParameters: [ + Parameters.resourceGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.CheckNameAvailabilityRequest, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.CheckNameAvailabilityResponse + bodyMapper: Mappers.ServerListResult }, default: { bodyMapper: Mappers.CloudError @@ -336,21 +364,23 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { serializer }; -const listOperationSpec: msRest.OperationSpec = { +const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}", urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ServerListResult + bodyMapper: Mappers.Server }, default: { bodyMapper: Mappers.CloudError @@ -359,15 +389,14 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", urlParameters: [ - Parameters.resourceGroupName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -383,23 +412,28 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}", +const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Sql/checkNameAvailability", urlParameters: [ - Parameters.resourceGroupName, - Parameters.serverName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckNameAvailabilityRequest, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.Server + bodyMapper: Mappers.CheckNameAvailabilityResponse }, default: { bodyMapper: Mappers.CloudError @@ -417,7 +451,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -453,7 +487,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -478,7 +512,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -502,13 +536,49 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const listNextOperationSpec: msRest.OperationSpec = { +const beginImportDatabaseOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ImportNewDatabaseDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ImportExportOperationResult + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -523,13 +593,16 @@ const listNextOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { +const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts index d10a6be2ddd5..99549f93a560 100644 --- a/sdk/sql/arm-sql/src/operations/serviceObjectives.ts +++ b/sdk/sql/arm-sql/src/operations/serviceObjectives.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts b/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts index ab2ce84c5fa4..b0b3f1ac36f9 100644 --- a/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts +++ b/sdk/sql/arm-sql/src/operations/serviceTierAdvisors.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts index 34dc34fce3ad..9a976943bb1e 100644 --- a/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts +++ b/sdk/sql/arm-sql/src/operations/subscriptionUsages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -125,7 +124,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -150,7 +149,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -173,6 +172,9 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/syncAgents.ts b/sdk/sql/arm-sql/src/operations/syncAgents.ts index 5cbc4360dda4..0105c7132eb5 100644 --- a/sdk/sql/arm-sql/src/operations/syncAgents.ts +++ b/sdk/sql/arm-sql/src/operations/syncAgents.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -321,7 +320,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -346,7 +345,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -372,7 +371,7 @@ const generateKeyOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -398,7 +397,7 @@ const listLinkedDatabasesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -424,7 +423,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -461,7 +460,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -484,6 +483,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -505,6 +507,9 @@ const listLinkedDatabasesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/syncGroups.ts b/sdk/sql/arm-sql/src/operations/syncGroups.ts index 5824e0f64925..1adb5f06b0a9 100644 --- a/sdk/sql/arm-sql/src/operations/syncGroups.ts +++ b/sdk/sql/arm-sql/src/operations/syncGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -541,25 +540,40 @@ export class SyncGroups { /** * Gets a collection of sync group logs. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param startTime Get logs generated after this time. + * @param endTime Get logs generated before this time. + * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', + * 'Success' * @param [options] The optional parameters * @returns Promise */ - listLogsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options?: Models.SyncGroupsListLogsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param startTime Get logs generated after this time. + * @param endTime Get logs generated before this time. + * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', + * 'Success' * @param callback The callback */ - listLogsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param startTime Get logs generated after this time. + * @param endTime Get logs generated before this time. + * @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', + * 'Success' * @param options The optional parameters * @param callback The callback */ - listLogsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listLogsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options: Models.SyncGroupsListLogsNextOptionalParams, callback: msRest.ServiceCallback): void; + listLogsNext(nextPageLink: string, startTime: string, endTime: string, type: Models.Type, options?: Models.SyncGroupsListLogsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + startTime, + endTime, + type, options }, listLogsNextOperationSpec, @@ -605,7 +619,7 @@ const listSyncDatabaseIdsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -632,7 +646,7 @@ const listHubSchemasOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -659,11 +673,11 @@ const listLogsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime, - Parameters.endTime, + Parameters.startTime0, + Parameters.endTime0, Parameters.type, Parameters.continuationToken, - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -690,7 +704,7 @@ const cancelSyncOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -715,7 +729,7 @@ const triggerSyncOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -740,7 +754,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -766,7 +780,7 @@ const listByDatabaseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -793,7 +807,7 @@ const beginRefreshHubSchemaOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -819,7 +833,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -857,7 +871,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -884,7 +898,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -915,6 +929,9 @@ const listSyncDatabaseIdsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -936,6 +953,9 @@ const listHubSchemasNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -957,6 +977,13 @@ const listLogsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.startTime0, + Parameters.endTime0, + Parameters.type, + Parameters.continuationToken, + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -978,6 +1005,9 @@ const listByDatabaseNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/syncMembers.ts b/sdk/sql/arm-sql/src/operations/syncMembers.ts index 76a574df56e0..c6287c2ae476 100644 --- a/sdk/sql/arm-sql/src/operations/syncMembers.ts +++ b/sdk/sql/arm-sql/src/operations/syncMembers.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -405,7 +404,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +431,7 @@ const listBySyncGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -460,7 +459,7 @@ const listMemberSchemasOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -488,7 +487,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -527,7 +526,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -555,7 +554,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -591,7 +590,7 @@ const beginRefreshMemberSchemaOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -613,6 +612,9 @@ const listBySyncGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -634,6 +636,9 @@ const listMemberSchemasNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion8 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts index 0fef38e26455..f4b72e910bd4 100644 --- a/sdk/sql/arm-sql/src/operations/tdeCertificates.ts +++ b/sdk/sql/arm-sql/src/operations/tdeCertificates.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -74,7 +73,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts index 35545b94cc76..b6754a7e3dc3 100644 --- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts +++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptionActivities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts index 29f3d63bbf1b..2e5170e1b6b1 100644 --- a/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts +++ b/sdk/sql/arm-sql/src/operations/transparentDataEncryptions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/sql/arm-sql/src/operations/usages.ts b/sdk/sql/arm-sql/src/operations/usages.ts index fc08d9576ea3..89051d822c4f 100644 --- a/sdk/sql/arm-sql/src/operations/usages.ts +++ b/sdk/sql/arm-sql/src/operations/usages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -67,7 +66,7 @@ export class Usages { * @param [options] The optional parameters * @returns Promise */ - listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByInstancePoolNext(nextPageLink: string, options?: Models.UsagesListByInstancePoolNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -78,8 +77,8 @@ export class Usages { * @param options The optional parameters * @param callback The callback */ - listByInstancePoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByInstancePoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByInstancePoolNext(nextPageLink: string, options: Models.UsagesListByInstancePoolNextOptionalParams, callback: msRest.ServiceCallback): void; + listByInstancePoolNext(nextPageLink: string, options?: Models.UsagesListByInstancePoolNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -102,7 +101,7 @@ const listByInstancePoolOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.expandChildren, - Parameters.apiVersion3 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -125,6 +124,10 @@ const listByInstancePoolNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expandChildren, + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/virtualClusters.ts b/sdk/sql/arm-sql/src/operations/virtualClusters.ts index 8099f722f86f..fb2b9c8d11be 100644 --- a/sdk/sql/arm-sql/src/operations/virtualClusters.ts +++ b/sdk/sql/arm-sql/src/operations/virtualClusters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -250,7 +249,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -274,7 +273,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +298,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -324,7 +323,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -349,7 +348,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -380,6 +379,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -401,6 +403,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts index bc25e2b3fb62..7eb604863f28 100644 --- a/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts +++ b/sdk/sql/arm-sql/src/operations/virtualNetworkRules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -240,7 +239,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -266,7 +265,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -303,7 +302,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -326,6 +325,9 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts b/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts new file mode 100644 index 000000000000..dfe60cab1ebf --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/workloadClassifiers.ts @@ -0,0 +1,389 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workloadClassifiersMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a WorkloadClassifiers. */ +export class WorkloadClassifiers { + private readonly client: SqlManagementClientContext; + + /** + * Create a WorkloadClassifiers. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a workload classifier + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param workloadGroupName The name of the workload group from which to receive the classifier + * from. + * @param workloadClassifierName The name of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + 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.apiVersion8 + ], + 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.apiVersion8 + ], + 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.apiVersion8 + ], + 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.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByWorkloadGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion8 + ], + 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..fb1f8ab5cd13 --- /dev/null +++ b/sdk/sql/arm-sql/src/operations/workloadGroups.ts @@ -0,0 +1,361 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workloadGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { SqlManagementClientContext } from "../sqlManagementClientContext"; + +/** Class representing a WorkloadGroups. */ +export class WorkloadGroups { + private readonly client: SqlManagementClientContext; + + /** + * Create a WorkloadGroups. + * @param {SqlManagementClientContext} client Reference to the service client. + */ + constructor(client: SqlManagementClientContext) { + this.client = client; + } + + /** + * Gets a workload group + * @param resourceGroupName The name of the resource group that contains the resource. You can + * obtain this value from the Azure Resource Manager API or the portal. + * @param serverName The name of the server. + * @param databaseName The name of the database. + * @param workloadGroupName The name of the workload group. + * @param [options] The optional parameters + * @returns Promise + */ + 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.apiVersion8 + ], + 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.apiVersion8 + ], + 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.apiVersion8 + ], + 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.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByDatabaseNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion8 + ], + 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..ca4ad3e7c819 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClient.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -19,7 +18,6 @@ class SqlManagementClient extends SqlManagementClientContext { // Operation groups recoverableDatabases: operations.RecoverableDatabases; restorableDroppedDatabases: operations.RestorableDroppedDatabases; - servers: operations.Servers; serverConnectionPolicies: operations.ServerConnectionPolicies; databaseThreatDetectionPolicies: operations.DatabaseThreatDetectionPolicies; dataMaskingPolicies: operations.DataMaskingPolicies; @@ -30,7 +28,6 @@ class SqlManagementClient extends SqlManagementClientContext { elasticPools: operations.ElasticPools; recommendedElasticPools: operations.RecommendedElasticPools; replicationLinks: operations.ReplicationLinks; - serverAzureADAdministrators: operations.ServerAzureADAdministrators; serverCommunicationLinks: operations.ServerCommunicationLinks; serviceObjectives: operations.ServiceObjectives; elasticPoolActivities: operations.ElasticPoolActivities; @@ -46,8 +43,6 @@ class SqlManagementClient extends SqlManagementClientContext { operations: operations.Operations; serverKeys: operations.ServerKeys; syncAgents: operations.SyncAgents; - syncGroups: operations.SyncGroups; - syncMembers: operations.SyncMembers; subscriptionUsages: operations.SubscriptionUsages; virtualClusters: operations.VirtualClusters; virtualNetworkRules: operations.VirtualNetworkRules; @@ -66,8 +61,6 @@ class SqlManagementClient extends SqlManagementClientContext { jobTargetExecutions: operations.JobTargetExecutions; jobTargetGroups: operations.JobTargetGroups; jobVersions: operations.JobVersions; - longTermRetentionBackups: operations.LongTermRetentionBackups; - backupLongTermRetentionPolicies: operations.BackupLongTermRetentionPolicies; managedBackupShortTermRetentionPolicies: operations.ManagedBackupShortTermRetentionPolicies; managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies: operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies; serverAutomaticTuning: operations.ServerAutomaticTuningOperations; @@ -81,28 +74,44 @@ class SqlManagementClient extends SqlManagementClientContext { managedInstanceAdministrators: operations.ManagedInstanceAdministrators; databaseOperations: operations.DatabaseOperations; elasticPoolOperations: operations.ElasticPoolOperations; - capabilities: operations.Capabilities; databaseVulnerabilityAssessmentScans: operations.DatabaseVulnerabilityAssessmentScans; managedDatabaseVulnerabilityAssessmentRuleBaselines: operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselines; managedDatabaseVulnerabilityAssessmentScans: operations.ManagedDatabaseVulnerabilityAssessmentScans; managedDatabaseVulnerabilityAssessments: operations.ManagedDatabaseVulnerabilityAssessments; instanceFailoverGroups: operations.InstanceFailoverGroups; - backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies; tdeCertificates: operations.TdeCertificates; managedInstanceTdeCertificates: operations.ManagedInstanceTdeCertificates; managedInstanceKeys: operations.ManagedInstanceKeys; managedInstanceEncryptionProtectors: operations.ManagedInstanceEncryptionProtectors; recoverableManagedDatabases: operations.RecoverableManagedDatabases; + backupShortTermRetentionPolicies: operations.BackupShortTermRetentionPolicies; managedInstanceVulnerabilityAssessments: operations.ManagedInstanceVulnerabilityAssessments; serverVulnerabilityAssessments: operations.ServerVulnerabilityAssessments; managedDatabaseSensitivityLabels: operations.ManagedDatabaseSensitivityLabels; instancePools: operations.InstancePools; usages: operations.Usages; - managedInstances: operations.ManagedInstances; - managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails; + privateLinkResources: operations.PrivateLinkResources; + servers: operations.Servers; + capabilities: operations.Capabilities; + longTermRetentionManagedInstanceBackups: operations.LongTermRetentionManagedInstanceBackups; + managedInstanceLongTermRetentionPolicies: operations.ManagedInstanceLongTermRetentionPolicies; + workloadGroups: operations.WorkloadGroups; + workloadClassifiers: operations.WorkloadClassifiers; + managedInstanceOperations: operations.ManagedInstanceOperations; + serverAzureADAdministrators: operations.ServerAzureADAdministrators; + syncGroups: operations.SyncGroups; + syncMembers: operations.SyncMembers; + importExport: operations.ImportExport; managedDatabases: operations.ManagedDatabases; + managedDatabaseRestoreDetails: operations.ManagedDatabaseRestoreDetails; + serverAzureADOnlyAuthentications: operations.ServerAzureADOnlyAuthentications; + managedInstances: operations.ManagedInstances; + managedInstanceAzureADOnlyAuthentications: operations.ManagedInstanceAzureADOnlyAuthentications; + serverTrustGroups: operations.ServerTrustGroups; + serverDevOpsAuditSettings: operations.ServerDevOpsAuditSettings; + longTermRetentionBackups: operations.LongTermRetentionBackups; + longTermRetentionPolicies: operations.LongTermRetentionPolicies; privateEndpointConnections: operations.PrivateEndpointConnections; - privateLinkResources: operations.PrivateLinkResources; /** * Initializes a new instance of the SqlManagementClient class. @@ -114,7 +123,6 @@ class SqlManagementClient extends SqlManagementClientContext { super(credentials, subscriptionId, options); this.recoverableDatabases = new operations.RecoverableDatabases(this); this.restorableDroppedDatabases = new operations.RestorableDroppedDatabases(this); - this.servers = new operations.Servers(this); this.serverConnectionPolicies = new operations.ServerConnectionPolicies(this); this.databaseThreatDetectionPolicies = new operations.DatabaseThreatDetectionPolicies(this); this.dataMaskingPolicies = new operations.DataMaskingPolicies(this); @@ -125,7 +133,6 @@ class SqlManagementClient extends SqlManagementClientContext { this.elasticPools = new operations.ElasticPools(this); this.recommendedElasticPools = new operations.RecommendedElasticPools(this); this.replicationLinks = new operations.ReplicationLinks(this); - this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this); this.serverCommunicationLinks = new operations.ServerCommunicationLinks(this); this.serviceObjectives = new operations.ServiceObjectives(this); this.elasticPoolActivities = new operations.ElasticPoolActivities(this); @@ -141,8 +148,6 @@ class SqlManagementClient extends SqlManagementClientContext { this.operations = new operations.Operations(this); this.serverKeys = new operations.ServerKeys(this); this.syncAgents = new operations.SyncAgents(this); - this.syncGroups = new operations.SyncGroups(this); - this.syncMembers = new operations.SyncMembers(this); this.subscriptionUsages = new operations.SubscriptionUsages(this); this.virtualClusters = new operations.VirtualClusters(this); this.virtualNetworkRules = new operations.VirtualNetworkRules(this); @@ -161,8 +166,6 @@ class SqlManagementClient extends SqlManagementClientContext { this.jobTargetExecutions = new operations.JobTargetExecutions(this); this.jobTargetGroups = new operations.JobTargetGroups(this); this.jobVersions = new operations.JobVersions(this); - this.longTermRetentionBackups = new operations.LongTermRetentionBackups(this); - this.backupLongTermRetentionPolicies = new operations.BackupLongTermRetentionPolicies(this); this.managedBackupShortTermRetentionPolicies = new operations.ManagedBackupShortTermRetentionPolicies(this); this.managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies = new operations.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies(this); this.serverAutomaticTuning = new operations.ServerAutomaticTuningOperations(this); @@ -176,28 +179,44 @@ class SqlManagementClient extends SqlManagementClientContext { this.managedInstanceAdministrators = new operations.ManagedInstanceAdministrators(this); this.databaseOperations = new operations.DatabaseOperations(this); this.elasticPoolOperations = new operations.ElasticPoolOperations(this); - this.capabilities = new operations.Capabilities(this); this.databaseVulnerabilityAssessmentScans = new operations.DatabaseVulnerabilityAssessmentScans(this); this.managedDatabaseVulnerabilityAssessmentRuleBaselines = new operations.ManagedDatabaseVulnerabilityAssessmentRuleBaselines(this); this.managedDatabaseVulnerabilityAssessmentScans = new operations.ManagedDatabaseVulnerabilityAssessmentScans(this); this.managedDatabaseVulnerabilityAssessments = new operations.ManagedDatabaseVulnerabilityAssessments(this); this.instanceFailoverGroups = new operations.InstanceFailoverGroups(this); - this.backupShortTermRetentionPolicies = new operations.BackupShortTermRetentionPolicies(this); this.tdeCertificates = new operations.TdeCertificates(this); this.managedInstanceTdeCertificates = new operations.ManagedInstanceTdeCertificates(this); this.managedInstanceKeys = new operations.ManagedInstanceKeys(this); this.managedInstanceEncryptionProtectors = new operations.ManagedInstanceEncryptionProtectors(this); this.recoverableManagedDatabases = new operations.RecoverableManagedDatabases(this); + this.backupShortTermRetentionPolicies = new operations.BackupShortTermRetentionPolicies(this); this.managedInstanceVulnerabilityAssessments = new operations.ManagedInstanceVulnerabilityAssessments(this); this.serverVulnerabilityAssessments = new operations.ServerVulnerabilityAssessments(this); this.managedDatabaseSensitivityLabels = new operations.ManagedDatabaseSensitivityLabels(this); this.instancePools = new operations.InstancePools(this); this.usages = new operations.Usages(this); - this.managedInstances = new operations.ManagedInstances(this); - this.managedDatabaseRestoreDetails = new operations.ManagedDatabaseRestoreDetails(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.servers = new operations.Servers(this); + this.capabilities = new operations.Capabilities(this); + this.longTermRetentionManagedInstanceBackups = new operations.LongTermRetentionManagedInstanceBackups(this); + this.managedInstanceLongTermRetentionPolicies = new operations.ManagedInstanceLongTermRetentionPolicies(this); + this.workloadGroups = new operations.WorkloadGroups(this); + this.workloadClassifiers = new operations.WorkloadClassifiers(this); + this.managedInstanceOperations = new operations.ManagedInstanceOperations(this); + this.serverAzureADAdministrators = new operations.ServerAzureADAdministrators(this); + this.syncGroups = new operations.SyncGroups(this); + this.syncMembers = new operations.SyncMembers(this); + this.importExport = new operations.ImportExport(this); this.managedDatabases = new operations.ManagedDatabases(this); + this.managedDatabaseRestoreDetails = new operations.ManagedDatabaseRestoreDetails(this); + this.serverAzureADOnlyAuthentications = new operations.ServerAzureADOnlyAuthentications(this); + this.managedInstances = new operations.ManagedInstances(this); + this.managedInstanceAzureADOnlyAuthentications = new operations.ManagedInstanceAzureADOnlyAuthentications(this); + this.serverTrustGroups = new operations.ServerTrustGroups(this); + this.serverDevOpsAuditSettings = new operations.ServerDevOpsAuditSettings(this); + this.longTermRetentionBackups = new operations.LongTermRetentionBackups(this); + this.longTermRetentionPolicies = new operations.LongTermRetentionPolicies(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); - this.privateLinkResources = new operations.PrivateLinkResources(this); } } diff --git a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts index f189156ca9d6..fa89aaf95632 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClientContext.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -57,23 +56,4 @@ export class SqlManagementClientContext extends msRestAzure.AzureServiceClient { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } - - /** - * NOTE: This is an override added manually to workaround bug Azure/ms-rest-js/issues/395 - * When this library is regenerated, this override needs to be brought back - * This override adds the header "Accept: application/json" to every request - */ - sendRequest(options: msRest.RequestPrepareOptions | msRest.WebResourceLike) { - if(!options.headers) { - options.headers = {accept: "application/json"}; - } else { - if (options.headers.set) { - options.headers.set("accept", "application/json"); - } else { - (options.headers as {[key: string]: any})["accept"] = "application/json" - } - } - - return super.sendRequest(options); - } -} \ No newline at end of file +}