diff --git a/sdk/sql/azure-mgmt-sql/CHANGELOG.md b/sdk/sql/azure-mgmt-sql/CHANGELOG.md index 329280194796..e04ecf1f1bb8 100644 --- a/sdk/sql/azure-mgmt-sql/CHANGELOG.md +++ b/sdk/sql/azure-mgmt-sql/CHANGELOG.md @@ -1,5 +1,551 @@ # Release History +## 0.24.0 (2020-11-04) + +**Features** + + - Model DataMaskingRule has a new parameter data_masking_rule_id + - Model SyncAgent has a new parameter sync_agent_name + - Model SyncGroup has a new parameter private_endpoint_name + - Model SyncMember has a new parameter private_endpoint_name + - Model ElasticPoolUpdate has a new parameter maintenance_configuration_id + - Model Database has a new parameter storage_account_type + - Model Database has a new parameter high_availability_replica_count + - Model Database has a new parameter maintenance_configuration_id + - Model Database has a new parameter secondary_type + - Model DatabaseUpdate has a new parameter storage_account_type + - Model DatabaseUpdate has a new parameter high_availability_replica_count + - Model DatabaseUpdate has a new parameter maintenance_configuration_id + - Model DatabaseUpdate has a new parameter secondary_type + - Model RecommendedElasticPoolMetric has a new parameter date_time_property + - Model ElasticPool has a new parameter maintenance_configuration_id + - Added operation ManagedBackupShortTermRetentionPoliciesOperations.create_or_update + - Added operation ManagedBackupShortTermRetentionPoliciesOperations.update + - Added operation JobAgentsOperations.create_or_update + - Added operation JobAgentsOperations.delete + - Added operation JobAgentsOperations.update + - Added operation RestorePointsOperations.create + - Added operation ServerCommunicationLinksOperations.create_or_update + - Added operation JobExecutionsOperations.create_or_update + - Added operation JobExecutionsOperations.create + - Added operation BackupShortTermRetentionPoliciesOperations.create_or_update + - Added operation BackupShortTermRetentionPoliciesOperations.update + - Added operation SyncGroupsOperations.refresh_hub_schema + - Added operation SyncGroupsOperations.delete + - Added operation SyncGroupsOperations.create_or_update + - Added operation SyncGroupsOperations.update + - Added operation ReplicationLinksOperations.failover + - Added operation ReplicationLinksOperations.unlink + - Added operation ReplicationLinksOperations.failover_allow_data_loss + - Added operation SyncAgentsOperations.create_or_update + - Added operation SyncAgentsOperations.delete + - Added operation ManagedDatabasesOperations.create_or_update + - Added operation ManagedDatabasesOperations.delete + - Added operation ManagedDatabasesOperations.complete_restore + - Added operation ManagedDatabasesOperations.update + - Added operation WorkloadGroupsOperations.create_or_update + - Added operation WorkloadGroupsOperations.delete + - Added operation LongTermRetentionBackupsOperations.delete + - Added operation LongTermRetentionBackupsOperations.delete_by_resource_group + - Added operation ElasticPoolsOperations.failover + - Added operation ElasticPoolsOperations.delete + - Added operation ElasticPoolsOperations.create_or_update + - Added operation ElasticPoolsOperations.update + - Added operation ServerSecurityAlertPoliciesOperations.create_or_update + - Added operation InstancePoolsOperations.create_or_update + - Added operation InstancePoolsOperations.delete + - Added operation InstancePoolsOperations.update + - Added operation VirtualClustersOperations.delete + - Added operation VirtualClustersOperations.update + - Added operation ManagedInstanceAdministratorsOperations.create_or_update + - Added operation ManagedInstanceAdministratorsOperations.delete + - Added operation ServerKeysOperations.create_or_update + - Added operation ServerKeysOperations.delete + - Added operation EncryptionProtectorsOperations.create_or_update + - Added operation EncryptionProtectorsOperations.revalidate + - Added operation BackupLongTermRetentionPoliciesOperations.create_or_update + - Added operation ManagedServerSecurityAlertPoliciesOperations.create_or_update + - Added operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.create_or_update + - Added operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.update + - Added operation ServerAzureADAdministratorsOperations.create_or_update + - Added operation ServerAzureADAdministratorsOperations.delete + - Added operation ManagedInstanceLongTermRetentionPoliciesOperations.create_or_update + - Added operation ExtendedServerBlobAuditingPoliciesOperations.create_or_update + - Added operation PrivateEndpointConnectionsOperations.create_or_update + - Added operation PrivateEndpointConnectionsOperations.delete + - Added operation LongTermRetentionManagedInstanceBackupsOperations.delete + - Added operation LongTermRetentionManagedInstanceBackupsOperations.delete_by_resource_group + - Added operation ManagedInstancesOperations.failover + - Added operation ManagedInstancesOperations.delete + - Added operation ManagedInstancesOperations.create_or_update + - Added operation ManagedInstancesOperations.update + - Added operation SyncMembersOperations.create_or_update + - Added operation SyncMembersOperations.delete + - Added operation SyncMembersOperations.refresh_member_schema + - Added operation SyncMembersOperations.update + - Added operation ServerDnsAliasesOperations.create_or_update + - Added operation ServerDnsAliasesOperations.delete + - Added operation ServerDnsAliasesOperations.acquire + - Added operation ServersOperations.create_or_update + - Added operation ServersOperations.delete + - Added operation ServersOperations.import_database + - Added operation ServersOperations.update + - Added operation ManagedDatabaseVulnerabilityAssessmentScansOperations.initiate_scan + - Added operation WorkloadClassifiersOperations.create_or_update + - Added operation WorkloadClassifiersOperations.delete + - Added operation DatabaseVulnerabilityAssessmentScansOperations.initiate_scan + - Added operation ServerBlobAuditingPoliciesOperations.create_or_update + - Added operation DatabasesOperations.export + - Added operation DatabasesOperations.upgrade_data_warehouse + - Added operation DatabasesOperations.failover + - Added operation DatabasesOperations.pause + - Added operation DatabasesOperations.update + - Added operation DatabasesOperations.resume + - Added operation DatabasesOperations.create_or_update + - Added operation DatabasesOperations.delete + - Added operation ManagedInstanceEncryptionProtectorsOperations.create_or_update + - Added operation ManagedInstanceEncryptionProtectorsOperations.revalidate + - Added operation ManagedInstanceKeysOperations.create_or_update + - Added operation ManagedInstanceKeysOperations.delete + - Added operation ServerAzureADOnlyAuthenticationsOperations.create_or_update + - Added operation ServerAzureADOnlyAuthenticationsOperations.delete + - Added operation VirtualNetworkRulesOperations.create_or_update + - Added operation VirtualNetworkRulesOperations.delete + - Added operation TdeCertificatesOperations.create + - Added operation ManagedInstanceTdeCertificatesOperations.create + - Added operation FailoverGroupsOperations.force_failover_allow_data_loss + - Added operation FailoverGroupsOperations.failover + - Added operation FailoverGroupsOperations.update + - Added operation FailoverGroupsOperations.create_or_update + - Added operation FailoverGroupsOperations.delete + - Added operation InstanceFailoverGroupsOperations.failover + - Added operation InstanceFailoverGroupsOperations.force_failover_allow_data_loss + - Added operation InstanceFailoverGroupsOperations.delete + - Added operation InstanceFailoverGroupsOperations.create_or_update + - Added operation group DatabaseOperations + - Added operation group ManagedInstanceAzureADOnlyAuthenticationsOperations + - Added operation group ManagedInstanceOperations + - Added operation group ElasticPoolOperations + - Added operation group ImportExportOperations + - Added operation group ServerTrustGroupsOperations + +**Breaking changes** + + - Operation SyncGroupsOperations.list_logs has a new signature + - Operation JobCredentialsOperations.create_or_update has a new signature + - Operation JobCredentialsOperations.create_or_update has a new signature + - Operation JobTargetGroupsOperations.create_or_update has a new signature + - Operation JobsOperations.create_or_update has a new signature + - Operation JobsOperations.create_or_update has a new signature + - Operation DatabasesOperations.rename has a new signature + - Parameter database_id of model JobAgent is now required + - Parameter server_key_type of model ManagedInstanceKey is now required + - Parameter password of model JobCredential is now required + - Parameter username of model JobCredential is now required + - Parameter read_write_endpoint of model InstanceFailoverGroup is now required + - Parameter partner_regions of model InstanceFailoverGroup is now required + - Parameter managed_instance_pairs of model InstanceFailoverGroup is now required + - Parameter column_name of model DataMaskingRule is now required + - Parameter schema_name of model DataMaskingRule is now required + - Parameter table_name of model DataMaskingRule is now required + - Parameter start_ip_address of model FirewallRule is now required + - Parameter end_ip_address of model FirewallRule is now required + - Parameter members of model JobTargetGroup is now required + - Parameter max_resource_percent of model WorkloadGroup is now required + - Parameter min_resource_percent of model WorkloadGroup is now required + - Parameter min_resource_percent_per_request of model WorkloadGroup is now required + - Parameter baseline_results of model DatabaseVulnerabilityAssessmentRuleBaseline is now required + - Parameter action of model JobStep is now required + - Parameter target_group of model JobStep is now required + - Parameter credential of model JobStep is now required + - Parameter private_blob of model TdeCertificate is now required + - Parameter server_key_type of model EncryptionProtector is now required + - Parameter administrator_type of model ManagedInstanceAdministrator is now required + - Parameter sid of model ManagedInstanceAdministrator is now required + - Parameter login of model ManagedInstanceAdministrator is now required + - Parameter storage_container_path of model ManagedInstanceVulnerabilityAssessment is now required + - Parameter partner_server of model ServerCommunicationLink is now required + - Parameter member_name of model WorkloadClassifier is now required + - Parameter storage_container_path of model ServerVulnerabilityAssessment is now required + - Parameter virtual_network_subnet_id of model VirtualNetworkRule is now required + - Parameter server_key_type of model ServerKey is now required + - Parameter azure_ad_only_authentication of model ServerAzureADOnlyAuthentication is now required + - Parameter administrator_type of model ServerAzureADAdministrator is now required + - Parameter sid of model ServerAzureADAdministrator is now required + - Parameter login of model ServerAzureADAdministrator is now required + - Parameter server_key_type of model ManagedInstanceEncryptionProtector is now required + - Parameter read_write_endpoint of model FailoverGroup is now required + - Parameter partner_servers of model FailoverGroup is now required + - Parameter license_type of model InstancePool is now required + - Parameter v_cores of model InstancePool is now required + - Parameter subnet_id of model InstancePool is now required + - Parameter state of model ManagedServerSecurityAlertPolicy is now required + - Parameter state of model ServerSecurityAlertPolicy is now required + - Parameter state of model ManagedDatabaseSecurityAlertPolicy is now required + - Parameter masking_function of model DataMaskingRule is now required + - Parameter state of model DatabaseSecurityAlertPolicy is now required + - Parameter state of model ExtendedServerBlobAuditingPolicy is now required + - Parameter state of model ServerBlobAuditingPolicy is now required + - Parameter state of model ExtendedDatabaseBlobAuditingPolicy is now required + - Parameter data_masking_state of model DataMaskingPolicy is now required + - Parameter state of model DatabaseBlobAuditingPolicy is now required + - Parameter connection_type of model ServerConnectionPolicy is now required + - Operation WorkloadGroupsOperations.list_by_database has a new signature + - Operation WorkloadGroupsOperations.get has a new signature + - Operation WorkloadClassifiersOperations.list_by_workload_group has a new signature + - Operation WorkloadClassifiersOperations.get has a new signature + - Operation VirtualNetworkRulesOperations.list_by_server has a new signature + - Operation VirtualNetworkRulesOperations.get has a new signature + - Operation VirtualClustersOperations.list_by_resource_group has a new signature + - Operation VirtualClustersOperations.get has a new signature + - Operation UsagesOperations.list_by_instance_pool has a new signature + - Operation SyncMembersOperations.list_member_schemas has a new signature + - Operation SyncMembersOperations.list_by_sync_group has a new signature + - Operation SyncMembersOperations.get has a new signature + - Operation SyncGroupsOperations.trigger_sync has a new signature + - Operation SyncGroupsOperations.list_sync_database_ids has a new signature + - Operation SyncGroupsOperations.list_logs has a new signature + - Operation SyncGroupsOperations.list_hub_schemas has a new signature + - Operation SyncGroupsOperations.list_by_database has a new signature + - Operation SyncGroupsOperations.get has a new signature + - Operation SyncGroupsOperations.cancel_sync has a new signature + - Operation SyncAgentsOperations.list_linked_databases has a new signature + - Operation SyncAgentsOperations.list_by_server has a new signature + - Operation SyncAgentsOperations.get has a new signature + - Operation SyncAgentsOperations.generate_key has a new signature + - Operation SubscriptionUsagesOperations.list_by_location has a new signature + - Operation SubscriptionUsagesOperations.get has a new signature + - Operation ServiceTierAdvisorsOperations.list_by_database has a new signature + - Operation ServiceTierAdvisorsOperations.get has a new signature + - Operation ServiceObjectivesOperations.list_by_server has a new signature + - Operation ServiceObjectivesOperations.get has a new signature + - Operation ServersOperations.list_by_resource_group has a new signature + - Operation ServersOperations.get has a new signature + - Operation ServerVulnerabilityAssessmentsOperations.list_by_server has a new signature + - Operation ServerUsagesOperations.list_by_server has a new signature + - Operation ServerSecurityAlertPoliciesOperations.list_by_server has a new signature + - Operation ServerKeysOperations.list_by_server has a new signature + - Operation ServerKeysOperations.get has a new signature + - Operation ServerDnsAliasesOperations.list_by_server has a new signature + - Operation ServerDnsAliasesOperations.get has a new signature + - Operation ServerCommunicationLinksOperations.list_by_server has a new signature + - Operation ServerCommunicationLinksOperations.get has a new signature + - Operation ServerCommunicationLinksOperations.delete has a new signature + - Operation ServerBlobAuditingPoliciesOperations.list_by_server has a new signature + - Operation ServerBlobAuditingPoliciesOperations.get has a new signature + - Operation ServerAzureADOnlyAuthenticationsOperations.list_by_server has a new signature + - Operation ServerAzureADAdministratorsOperations.list_by_server has a new signature + - Operation ServerAutomaticTuningOperations.get has a new signature + - Operation SensitivityLabelsOperations.list_recommended_by_database has a new signature + - Operation SensitivityLabelsOperations.list_current_by_database has a new signature + - Operation SensitivityLabelsOperations.get has a new signature + - Operation SensitivityLabelsOperations.enable_recommendation has a new signature + - Operation SensitivityLabelsOperations.disable_recommendation has a new signature + - Operation SensitivityLabelsOperations.delete has a new signature + - Operation SensitivityLabelsOperations.create_or_update has a new signature + - Operation RestorePointsOperations.list_by_database has a new signature + - Operation RestorePointsOperations.get has a new signature + - Operation RestorePointsOperations.delete has a new signature + - Operation RestorableDroppedManagedDatabasesOperations.list_by_instance has a new signature + - Operation RestorableDroppedManagedDatabasesOperations.get has a new signature + - Operation RestorableDroppedDatabasesOperations.list_by_server has a new signature + - Operation RestorableDroppedDatabasesOperations.get has a new signature + - Operation ReplicationLinksOperations.list_by_database has a new signature + - Operation ReplicationLinksOperations.get has a new signature + - Operation ReplicationLinksOperations.delete has a new signature + - Operation RecoverableManagedDatabasesOperations.list_by_instance has a new signature + - Operation RecoverableManagedDatabasesOperations.get has a new signature + - Operation RecoverableDatabasesOperations.list_by_server has a new signature + - Operation RecoverableDatabasesOperations.get has a new signature + - Operation RecommendedElasticPoolsOperations.list_metrics has a new signature + - Operation RecommendedElasticPoolsOperations.list_by_server has a new signature + - Operation RecommendedElasticPoolsOperations.get has a new signature + - Operation PrivateLinkResourcesOperations.list_by_server has a new signature + - Operation PrivateLinkResourcesOperations.get has a new signature + - Operation PrivateEndpointConnectionsOperations.list_by_server has a new signature + - Operation PrivateEndpointConnectionsOperations.get has a new signature + - Operation ManagedServerSecurityAlertPoliciesOperations.list_by_instance has a new signature + - Operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.list_by_restorable_dropped_database has a new signature + - Operation ManagedInstancesOperations.list_by_resource_group has a new signature + - Operation ManagedInstancesOperations.list_by_instance_pool has a new signature + - Operation ManagedInstancesOperations.get has a new signature + - Operation ManagedInstanceVulnerabilityAssessmentsOperations.list_by_instance has a new signature + - Operation ManagedInstanceLongTermRetentionPoliciesOperations.list_by_database has a new signature + - Operation ManagedInstanceKeysOperations.list_by_instance has a new signature + - Operation ManagedInstanceKeysOperations.get has a new signature + - Operation ManagedInstanceEncryptionProtectorsOperations.list_by_instance has a new signature + - Operation ManagedInstanceAdministratorsOperations.list_by_instance has a new signature + - Operation ManagedInstanceAdministratorsOperations.get has a new signature + - Operation ManagedDatabasesOperations.list_inaccessible_by_instance has a new signature + - Operation ManagedDatabasesOperations.list_by_instance has a new signature + - Operation ManagedDatabasesOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentsOperations.list_by_database has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentScansOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentScansOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations.delete has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations.delete has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.list_recommended_by_database has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.list_current_by_database has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.get has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.enable_recommendation has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.disable_recommendation has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.delete has a new signature + - Operation ManagedDatabaseSensitivityLabelsOperations.create_or_update has a new signature + - Operation ManagedDatabaseSecurityAlertPoliciesOperations.list_by_database has a new signature + - Operation ManagedBackupShortTermRetentionPoliciesOperations.list_by_database has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_resource_group_location has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_resource_group_instance has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_resource_group_database has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_location has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_instance has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.list_by_database has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.get_by_resource_group has a new signature + - Operation LongTermRetentionManagedInstanceBackupsOperations.get has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_server has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_resource_group_server has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_resource_group_location has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_resource_group_database has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_location has a new signature + - Operation LongTermRetentionBackupsOperations.list_by_database has a new signature + - Operation LongTermRetentionBackupsOperations.get_by_resource_group has a new signature + - Operation LongTermRetentionBackupsOperations.get has a new signature + - Operation JobsOperations.list_by_agent has a new signature + - Operation JobsOperations.get has a new signature + - Operation JobsOperations.delete has a new signature + - Operation JobVersionsOperations.list_by_job has a new signature + - Operation JobVersionsOperations.get has a new signature + - Operation JobTargetGroupsOperations.list_by_agent has a new signature + - Operation JobTargetGroupsOperations.get has a new signature + - Operation JobTargetGroupsOperations.delete has a new signature + - Operation JobTargetGroupsOperations.create_or_update has a new signature + - Operation JobTargetExecutionsOperations.list_by_step has a new signature + - Operation JobTargetExecutionsOperations.list_by_job_execution has a new signature + - Operation JobTargetExecutionsOperations.get has a new signature + - Operation JobStepsOperations.list_by_version has a new signature + - Operation JobStepsOperations.list_by_job has a new signature + - Operation JobStepsOperations.get_by_version has a new signature + - Operation JobStepsOperations.get has a new signature + - Operation JobStepsOperations.delete has a new signature + - Operation JobStepsOperations.create_or_update has a new signature + - Operation JobStepExecutionsOperations.list_by_job_execution has a new signature + - Operation JobStepExecutionsOperations.get has a new signature + - Operation JobExecutionsOperations.list_by_job has a new signature + - Operation JobExecutionsOperations.list_by_agent has a new signature + - Operation JobExecutionsOperations.get has a new signature + - Operation JobExecutionsOperations.cancel has a new signature + - Operation JobCredentialsOperations.list_by_agent has a new signature + - Operation JobCredentialsOperations.get has a new signature + - Operation JobCredentialsOperations.delete has a new signature + - Operation JobAgentsOperations.list_by_server has a new signature + - Operation JobAgentsOperations.get has a new signature + - Operation InstancePoolsOperations.list_by_resource_group has a new signature + - Operation InstancePoolsOperations.get has a new signature + - Operation GeoBackupPoliciesOperations.list_by_database has a new signature + - Operation FirewallRulesOperations.list_by_server has a new signature + - Operation FirewallRulesOperations.get has a new signature + - Operation FirewallRulesOperations.delete has a new signature + - Operation ExtendedServerBlobAuditingPoliciesOperations.list_by_server has a new signature + - Operation ExtendedServerBlobAuditingPoliciesOperations.get has a new signature + - Operation ExtendedDatabaseBlobAuditingPoliciesOperations.list_by_database has a new signature + - Operation ExtendedDatabaseBlobAuditingPoliciesOperations.get has a new signature + - Operation ExtendedDatabaseBlobAuditingPoliciesOperations.create_or_update has a new signature + - Operation EncryptionProtectorsOperations.list_by_server has a new signature + - Operation ElasticPoolsOperations.list_metrics has a new signature + - Operation ElasticPoolsOperations.list_metric_definitions has a new signature + - Operation ElasticPoolsOperations.list_by_server has a new signature + - Operation ElasticPoolsOperations.get has a new signature + - Operation ElasticPoolDatabaseActivitiesOperations.list_by_elastic_pool has a new signature + - Operation ElasticPoolActivitiesOperations.list_by_elastic_pool has a new signature + - Operation DatabasesOperations.rename has a new signature + - Operation DatabasesOperations.list_metrics has a new signature + - Operation DatabasesOperations.list_metric_definitions has a new signature + - Operation DatabasesOperations.list_by_server has a new signature + - Operation DatabasesOperations.list_by_elastic_pool has a new signature + - Operation DatabasesOperations.get has a new signature + - Operation DatabaseVulnerabilityAssessmentsOperations.list_by_database has a new signature + - Operation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.get has a new signature + - Operation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.get has a new signature + - Operation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.delete has a new signature + - Operation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.delete has a new signature + - Operation DatabaseUsagesOperations.list_by_database has a new signature + - Operation DatabaseBlobAuditingPoliciesOperations.list_by_database has a new signature + - Operation DatabaseBlobAuditingPoliciesOperations.get has a new signature + - Operation DatabaseBlobAuditingPoliciesOperations.create_or_update has a new signature + - Operation DatabaseAutomaticTuningOperations.get has a new signature + - Operation DataMaskingRulesOperations.list_by_database has a new signature + - Operation DataMaskingRulesOperations.create_or_update has a new signature + - Operation DataMaskingPoliciesOperations.get has a new signature + - Operation CapabilitiesOperations.list_by_location has a new signature + - Operation BackupShortTermRetentionPoliciesOperations.list_by_database has a new signature + - Operation BackupLongTermRetentionPoliciesOperations.list_by_database has a new signature + - Operation ManagedBackupShortTermRetentionPoliciesOperations.get has a new signature + - Operation TransparentDataEncryptionsOperations.create_or_update has a new signature + - Operation TransparentDataEncryptionsOperations.get has a new signature + - Operation TransparentDataEncryptionActivitiesOperations.list_by_configuration has a new signature + - Operation DatabaseVulnerabilityAssessmentsOperations.create_or_update has a new signature + - Operation DatabaseVulnerabilityAssessmentsOperations.delete has a new signature + - Operation DatabaseVulnerabilityAssessmentsOperations.get has a new signature + - Operation ServerAutomaticTuningOperations.update has a new signature + - Operation BackupShortTermRetentionPoliciesOperations.get has a new signature + - Operation FirewallRulesOperations.create_or_update has a new signature + - Operation ManagedInstanceVulnerabilityAssessmentsOperations.create_or_update has a new signature + - Operation ManagedInstanceVulnerabilityAssessmentsOperations.delete has a new signature + - Operation ManagedInstanceVulnerabilityAssessmentsOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations.create_or_update has a new signature + - Operation ServerSecurityAlertPoliciesOperations.get has a new signature + - Operation InstancePoolsOperations.list has a new signature + - Operation ManagedDatabaseRestoreDetailsOperations.get has a new signature + - Operation ManagedDatabaseSecurityAlertPoliciesOperations.create_or_update has a new signature + - Operation ManagedDatabaseSecurityAlertPoliciesOperations.get has a new signature + - Operation GeoBackupPoliciesOperations.create_or_update has a new signature + - Operation GeoBackupPoliciesOperations.get has a new signature + - Operation VirtualClustersOperations.list has a new signature + - Operation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.create_or_update has a new signature + - Operation EncryptionProtectorsOperations.get has a new signature + - Operation BackupLongTermRetentionPoliciesOperations.get has a new signature + - Operation DatabaseThreatDetectionPoliciesOperations.create_or_update has a new signature + - Operation DatabaseThreatDetectionPoliciesOperations.get has a new signature + - Operation DataMaskingPoliciesOperations.create_or_update has a new signature + - Operation ManagedServerSecurityAlertPoliciesOperations.get has a new signature + - Operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.get has a new signature + - Operation ServerAzureADAdministratorsOperations.get has a new signature + - Operation ServerVulnerabilityAssessmentsOperations.create_or_update has a new signature + - Operation ServerVulnerabilityAssessmentsOperations.delete has a new signature + - Operation ServerVulnerabilityAssessmentsOperations.get has a new signature + - Operation ManagedInstanceLongTermRetentionPoliciesOperations.get has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentsOperations.create_or_update has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentsOperations.delete has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentsOperations.get has a new signature + - Operation ManagedInstancesOperations.list has a new signature + - Operation ServersOperations.check_name_availability has a new signature + - Operation ServersOperations.list has a new signature + - Operation DatabaseAutomaticTuningOperations.update has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentScansOperations.export has a new signature + - Operation ManagedDatabaseVulnerabilityAssessmentScansOperations.list_by_database has a new signature + - Operation DatabaseVulnerabilityAssessmentScansOperations.export has a new signature + - Operation DatabaseVulnerabilityAssessmentScansOperations.list_by_database has a new signature + - Operation DatabaseVulnerabilityAssessmentScansOperations.get has a new signature + - Operation ManagedInstanceEncryptionProtectorsOperations.get has a new signature + - Operation ServerConnectionPoliciesOperations.create_or_update has a new signature + - Operation ServerConnectionPoliciesOperations.get has a new signature + - Operation Operations.list has a new signature + - Operation ServerAzureADOnlyAuthenticationsOperations.get has a new signature + - Model BackupShortTermRetentionPolicy no longer has parameter diff_backup_interval_in_hours + - Model DataMaskingRule no longer has parameter id_properties_id + - Model SyncAgent no longer has parameter name_properties_name + - Model Database no longer has parameter read_replica_count + - Model DatabaseUpdate no longer has parameter read_replica_count + - Model RecommendedElasticPoolMetric no longer has parameter date_time + - Removed operation ManagedBackupShortTermRetentionPoliciesOperations.begin_create_or_update + - Removed operation ManagedBackupShortTermRetentionPoliciesOperations.begin_update + - Removed operation JobAgentsOperations.begin_create_or_update + - Removed operation JobAgentsOperations.begin_update + - Removed operation JobAgentsOperations.begin_delete + - Removed operation RestorePointsOperations.begin_create + - Removed operation ServerCommunicationLinksOperations.begin_create_or_update + - Removed operation JobExecutionsOperations.begin_create_or_update + - Removed operation JobExecutionsOperations.begin_create + - Removed operation BackupShortTermRetentionPoliciesOperations.begin_create_or_update + - Removed operation BackupShortTermRetentionPoliciesOperations.begin_update + - Removed operation SyncGroupsOperations.begin_create_or_update + - Removed operation SyncGroupsOperations.begin_refresh_hub_schema + - Removed operation SyncGroupsOperations.begin_update + - Removed operation SyncGroupsOperations.begin_delete + - Removed operation ReplicationLinksOperations.begin_failover_allow_data_loss + - Removed operation ReplicationLinksOperations.begin_failover + - Removed operation ReplicationLinksOperations.begin_unlink + - Removed operation SyncAgentsOperations.begin_create_or_update + - Removed operation SyncAgentsOperations.begin_delete + - Removed operation ManagedDatabasesOperations.begin_create_or_update + - Removed operation ManagedDatabasesOperations.begin_complete_restore + - Removed operation ManagedDatabasesOperations.begin_update + - Removed operation ManagedDatabasesOperations.begin_delete + - Removed operation WorkloadGroupsOperations.begin_create_or_update + - Removed operation WorkloadGroupsOperations.begin_delete + - Removed operation LongTermRetentionBackupsOperations.begin_delete_by_resource_group + - Removed operation LongTermRetentionBackupsOperations.begin_delete + - Removed operation ElasticPoolsOperations.begin_create_or_update + - Removed operation ElasticPoolsOperations.begin_failover + - Removed operation ElasticPoolsOperations.begin_update + - Removed operation ElasticPoolsOperations.begin_delete + - Removed operation ServerSecurityAlertPoliciesOperations.begin_create_or_update + - Removed operation InstancePoolsOperations.begin_create_or_update + - Removed operation InstancePoolsOperations.begin_update + - Removed operation InstancePoolsOperations.begin_delete + - Removed operation VirtualClustersOperations.begin_update + - Removed operation VirtualClustersOperations.begin_delete + - Removed operation ManagedInstanceAdministratorsOperations.begin_create_or_update + - Removed operation ManagedInstanceAdministratorsOperations.begin_delete + - Removed operation ServerKeysOperations.begin_create_or_update + - Removed operation ServerKeysOperations.begin_delete + - Removed operation EncryptionProtectorsOperations.begin_revalidate + - Removed operation EncryptionProtectorsOperations.begin_create_or_update + - Removed operation BackupLongTermRetentionPoliciesOperations.begin_create_or_update + - Removed operation ManagedServerSecurityAlertPoliciesOperations.begin_create_or_update + - Removed operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.begin_create_or_update + - Removed operation ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.begin_update + - Removed operation ServerAzureADAdministratorsOperations.begin_create_or_update + - Removed operation ServerAzureADAdministratorsOperations.begin_delete + - Removed operation ManagedInstanceLongTermRetentionPoliciesOperations.begin_create_or_update + - Removed operation ExtendedServerBlobAuditingPoliciesOperations.begin_create_or_update + - Removed operation PrivateEndpointConnectionsOperations.begin_create_or_update + - Removed operation PrivateEndpointConnectionsOperations.begin_delete + - Removed operation LongTermRetentionManagedInstanceBackupsOperations.begin_delete_by_resource_group + - Removed operation LongTermRetentionManagedInstanceBackupsOperations.begin_delete + - Removed operation ManagedInstancesOperations.begin_create_or_update + - Removed operation ManagedInstancesOperations.begin_failover + - Removed operation ManagedInstancesOperations.begin_update + - Removed operation ManagedInstancesOperations.begin_delete + - Removed operation SyncMembersOperations.begin_refresh_member_schema + - Removed operation SyncMembersOperations.begin_create_or_update + - Removed operation SyncMembersOperations.begin_update + - Removed operation SyncMembersOperations.begin_delete + - Removed operation ServerDnsAliasesOperations.begin_acquire + - Removed operation ServerDnsAliasesOperations.begin_create_or_update + - Removed operation ServerDnsAliasesOperations.begin_delete + - Removed operation ServersOperations.begin_create_or_update + - Removed operation ServersOperations.begin_update + - Removed operation ServersOperations.begin_delete + - Removed operation ManagedDatabaseVulnerabilityAssessmentScansOperations.begin_initiate_scan + - Removed operation WorkloadClassifiersOperations.begin_create_or_update + - Removed operation WorkloadClassifiersOperations.begin_delete + - Removed operation DatabaseVulnerabilityAssessmentScansOperations.begin_initiate_scan + - Removed operation ServerBlobAuditingPoliciesOperations.begin_create_or_update + - Removed operation DatabasesOperations.begin_create_or_update + - Removed operation DatabasesOperations.begin_delete + - Removed operation DatabasesOperations.begin_create_import_operation + - Removed operation DatabasesOperations.begin_failover + - Removed operation DatabasesOperations.begin_export + - Removed operation DatabasesOperations.begin_import_method + - Removed operation DatabasesOperations.begin_pause + - Removed operation DatabasesOperations.begin_update + - Removed operation DatabasesOperations.begin_upgrade_data_warehouse + - Removed operation DatabasesOperations.begin_resume + - Removed operation ManagedInstanceEncryptionProtectorsOperations.begin_revalidate + - Removed operation ManagedInstanceEncryptionProtectorsOperations.begin_create_or_update + - Removed operation ManagedInstanceKeysOperations.begin_create_or_update + - Removed operation ManagedInstanceKeysOperations.begin_delete + - Removed operation ServerAzureADOnlyAuthenticationsOperations.begin_create_or_update + - Removed operation ServerAzureADOnlyAuthenticationsOperations.begin_delete + - Removed operation VirtualNetworkRulesOperations.begin_create_or_update + - Removed operation VirtualNetworkRulesOperations.begin_delete + - Removed operation TdeCertificatesOperations.begin_create + - Removed operation ManagedInstanceTdeCertificatesOperations.begin_create + - Removed operation FailoverGroupsOperations.begin_create_or_update + - Removed operation FailoverGroupsOperations.begin_delete + - Removed operation FailoverGroupsOperations.begin_failover + - Removed operation FailoverGroupsOperations.begin_update + - Removed operation FailoverGroupsOperations.begin_force_failover_allow_data_loss + - Removed operation InstanceFailoverGroupsOperations.begin_create_or_update + - Removed operation InstanceFailoverGroupsOperations.begin_failover + - Removed operation InstanceFailoverGroupsOperations.begin_force_failover_allow_data_loss + - Removed operation InstanceFailoverGroupsOperations.begin_delete + - Removed operation group ManagedInstanceOperationsOperations + - Removed operation group DatabaseOperationsOperations + - Removed operation group ElasticPoolOperationsOperations + ## 0.23.0 (2020-10-29) **Features** diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py index d6c4c2afba21..8b692985a5c6 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py @@ -83,6 +83,7 @@ from .operations import ManagedInstanceKeysOperations from .operations import ManagedInstanceEncryptionProtectorsOperations from .operations import RecoverableManagedDatabasesOperations +from .operations import BackupShortTermRetentionPoliciesOperations from .operations import ManagedInstanceVulnerabilityAssessmentsOperations from .operations import ServerVulnerabilityAssessmentsOperations from .operations import ManagedDatabaseSensitivityLabelsOperations @@ -101,7 +102,6 @@ from .operations import SyncGroupsOperations from .operations import SyncMembersOperations from .operations import ManagedInstancesOperations -from .operations import BackupShortTermRetentionPoliciesOperations from .operations import ManagedDatabaseRestoreDetailsOperations from .operations import ManagedDatabasesOperations from .operations import ServerAzureADOnlyAuthenticationsOperations @@ -257,6 +257,8 @@ class SqlManagementClient(SDKClient): :vartype managed_instance_encryption_protectors: azure.mgmt.sql.operations.ManagedInstanceEncryptionProtectorsOperations :ivar recoverable_managed_databases: RecoverableManagedDatabases operations :vartype recoverable_managed_databases: azure.mgmt.sql.operations.RecoverableManagedDatabasesOperations + :ivar backup_short_term_retention_policies: BackupShortTermRetentionPolicies operations + :vartype backup_short_term_retention_policies: azure.mgmt.sql.operations.BackupShortTermRetentionPoliciesOperations :ivar managed_instance_vulnerability_assessments: ManagedInstanceVulnerabilityAssessments operations :vartype managed_instance_vulnerability_assessments: azure.mgmt.sql.operations.ManagedInstanceVulnerabilityAssessmentsOperations :ivar server_vulnerability_assessments: ServerVulnerabilityAssessments operations @@ -293,8 +295,6 @@ class SqlManagementClient(SDKClient): :vartype sync_members: azure.mgmt.sql.operations.SyncMembersOperations :ivar managed_instances: ManagedInstances operations :vartype managed_instances: azure.mgmt.sql.operations.ManagedInstancesOperations - :ivar backup_short_term_retention_policies: BackupShortTermRetentionPolicies operations - :vartype backup_short_term_retention_policies: azure.mgmt.sql.operations.BackupShortTermRetentionPoliciesOperations :ivar managed_database_restore_details: ManagedDatabaseRestoreDetails operations :vartype managed_database_restore_details: azure.mgmt.sql.operations.ManagedDatabaseRestoreDetailsOperations :ivar managed_databases: ManagedDatabases operations @@ -467,6 +467,8 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.recoverable_managed_databases = RecoverableManagedDatabasesOperations( self._client, self.config, self._serialize, self._deserialize) + self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( + self._client, self.config, self._serialize, self._deserialize) self.managed_instance_vulnerability_assessments = ManagedInstanceVulnerabilityAssessmentsOperations( self._client, self.config, self._serialize, self._deserialize) self.server_vulnerability_assessments = ServerVulnerabilityAssessmentsOperations( @@ -503,8 +505,6 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.managed_instances = ManagedInstancesOperations( self._client, self.config, self._serialize, self._deserialize) - self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( - self._client, self.config, self._serialize, self._deserialize) self.managed_database_restore_details = ManagedDatabaseRestoreDetailsOperations( self._client, self.config, self._serialize, self._deserialize) self.managed_databases = ManagedDatabasesOperations( diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py index 9ffa3e957b21..a81a694190ff 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py @@ -813,6 +813,7 @@ 'ManagedInstanceKeyPaged', 'ManagedInstanceEncryptionProtectorPaged', 'RecoverableManagedDatabasePaged', + 'BackupShortTermRetentionPolicyPaged', 'ManagedInstanceVulnerabilityAssessmentPaged', 'ServerVulnerabilityAssessmentPaged', 'InstancePoolPaged', @@ -832,7 +833,6 @@ 'SyncGroupPaged', 'SyncMemberPaged', 'ManagedInstancePaged', - 'BackupShortTermRetentionPolicyPaged', 'ManagedDatabasePaged', 'ServerAzureADOnlyAuthenticationPaged', 'ManagedInstanceAzureADOnlyAuthenticationPaged', diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py index 83aad5c8dc5e..901af6f62cb1 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py @@ -280,11 +280,6 @@ class BackupShortTermRetentionPolicy(ProxyResource): :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int - :param diff_backup_interval_in_hours: The differential backup interval in - hours. This is how many interval hours between each differential backup - will be supported. This is only applicable to live databases but not - dropped databases. - :type diff_backup_interval_in_hours: int """ _validation = { @@ -298,13 +293,11 @@ class BackupShortTermRetentionPolicy(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'retention_days': {'key': 'properties.retentionDays', 'type': 'int'}, - 'diff_backup_interval_in_hours': {'key': 'properties.diffBackupIntervalInHours', 'type': 'int'}, } def __init__(self, **kwargs): super(BackupShortTermRetentionPolicy, self).__init__(**kwargs) self.retention_days = kwargs.get('retention_days', None) - self.diff_backup_interval_in_hours = kwargs.get('diff_backup_interval_in_hours', None) class CheckNameAvailabilityRequest(Model): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py index 4fa019f23e8f..573a28a6c64d 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py @@ -280,11 +280,6 @@ class BackupShortTermRetentionPolicy(ProxyResource): :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int - :param diff_backup_interval_in_hours: The differential backup interval in - hours. This is how many interval hours between each differential backup - will be supported. This is only applicable to live databases but not - dropped databases. - :type diff_backup_interval_in_hours: int """ _validation = { @@ -298,13 +293,11 @@ class BackupShortTermRetentionPolicy(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'retention_days': {'key': 'properties.retentionDays', 'type': 'int'}, - 'diff_backup_interval_in_hours': {'key': 'properties.diffBackupIntervalInHours', 'type': 'int'}, } - def __init__(self, *, retention_days: int=None, diff_backup_interval_in_hours: int=None, **kwargs) -> None: + def __init__(self, *, retention_days: int=None, **kwargs) -> None: super(BackupShortTermRetentionPolicy, self).__init__(**kwargs) self.retention_days = retention_days - self.diff_backup_interval_in_hours = diff_backup_interval_in_hours class CheckNameAvailabilityRequest(Model): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_paged_models.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_paged_models.py index 9199c698f3e3..507d1925bde0 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_paged_models.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_paged_models.py @@ -766,6 +766,19 @@ class RecoverableManagedDatabasePaged(Paged): def __init__(self, *args, **kwargs): super(RecoverableManagedDatabasePaged, self).__init__(*args, **kwargs) +class BackupShortTermRetentionPolicyPaged(Paged): + """ + A paging container for iterating over a list of :class:`BackupShortTermRetentionPolicy ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BackupShortTermRetentionPolicy]'} + } + + def __init__(self, *args, **kwargs): + + super(BackupShortTermRetentionPolicyPaged, self).__init__(*args, **kwargs) class ManagedInstanceVulnerabilityAssessmentPaged(Paged): """ A paging container for iterating over a list of :class:`ManagedInstanceVulnerabilityAssessment ` object @@ -1013,19 +1026,6 @@ class ManagedInstancePaged(Paged): def __init__(self, *args, **kwargs): super(ManagedInstancePaged, self).__init__(*args, **kwargs) -class BackupShortTermRetentionPolicyPaged(Paged): - """ - A paging container for iterating over a list of :class:`BackupShortTermRetentionPolicy ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[BackupShortTermRetentionPolicy]'} - } - - def __init__(self, *args, **kwargs): - - super(BackupShortTermRetentionPolicyPaged, self).__init__(*args, **kwargs) class ManagedDatabasePaged(Paged): """ A paging container for iterating over a list of :class:`ManagedDatabase ` object diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py index 95d0161cb160..b530294eda01 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py @@ -79,6 +79,7 @@ from ._managed_instance_keys_operations import ManagedInstanceKeysOperations from ._managed_instance_encryption_protectors_operations import ManagedInstanceEncryptionProtectorsOperations from ._recoverable_managed_databases_operations import RecoverableManagedDatabasesOperations +from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._managed_instance_vulnerability_assessments_operations import ManagedInstanceVulnerabilityAssessmentsOperations from ._server_vulnerability_assessments_operations import ServerVulnerabilityAssessmentsOperations from ._managed_database_sensitivity_labels_operations import ManagedDatabaseSensitivityLabelsOperations @@ -97,7 +98,6 @@ from ._sync_groups_operations import SyncGroupsOperations from ._sync_members_operations import SyncMembersOperations from ._managed_instances_operations import ManagedInstancesOperations -from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._managed_database_restore_details_operations import ManagedDatabaseRestoreDetailsOperations from ._managed_databases_operations import ManagedDatabasesOperations from ._server_azure_ad_only_authentications_operations import ServerAzureADOnlyAuthenticationsOperations @@ -176,6 +176,7 @@ 'ManagedInstanceKeysOperations', 'ManagedInstanceEncryptionProtectorsOperations', 'RecoverableManagedDatabasesOperations', + 'BackupShortTermRetentionPoliciesOperations', 'ManagedInstanceVulnerabilityAssessmentsOperations', 'ServerVulnerabilityAssessmentsOperations', 'ManagedDatabaseSensitivityLabelsOperations', @@ -194,7 +195,6 @@ 'SyncGroupsOperations', 'SyncMembersOperations', 'ManagedInstancesOperations', - 'BackupShortTermRetentionPoliciesOperations', 'ManagedDatabaseRestoreDetailsOperations', 'ManagedDatabasesOperations', 'ServerAzureADOnlyAuthenticationsOperations', diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py index eba12c423aed..1fab2366624f 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py @@ -28,7 +28,7 @@ class BackupShortTermRetentionPoliciesOperations(object): :param serializer: An object model serializer. :param deserializer: An object model deserializer. :ivar policy_name: The policy name. Should always be "default". Constant value: "default". - :ivar api_version: The API version to use for the request. Constant value: "2020-02-02-preview". + :ivar api_version: The API version to use for the request. Constant value: "2017-10-01-preview". """ models = models @@ -39,7 +39,7 @@ def __init__(self, client, config, serializer, deserializer): self._serialize = serializer self._deserialize = deserializer self.policy_name = "default" - self.api_version = "2020-02-02-preview" + self.api_version = "2017-10-01-preview" self.config = config @@ -113,8 +113,8 @@ def get( def _create_or_update_initial( - self, resource_group_name, server_name, database_name, retention_days=None, diff_backup_interval_in_hours=None, custom_headers=None, raw=False, **operation_config): - parameters = models.BackupShortTermRetentionPolicy(retention_days=retention_days, diff_backup_interval_in_hours=diff_backup_interval_in_hours) + self, resource_group_name, server_name, database_name, retention_days=None, custom_headers=None, raw=False, **operation_config): + parameters = models.BackupShortTermRetentionPolicy(retention_days=retention_days) # Construct URL url = self.create_or_update.metadata['url'] @@ -166,7 +166,7 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group_name, server_name, database_name, retention_days=None, diff_backup_interval_in_hours=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, server_name, database_name, retention_days=None, custom_headers=None, raw=False, polling=True, **operation_config): """Updates a database's short term retention policy. :param resource_group_name: The name of the resource group that @@ -180,11 +180,6 @@ def create_or_update( :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int - :param diff_backup_interval_in_hours: The differential backup interval - in hours. This is how many interval hours between each differential - backup will be supported. This is only applicable to live databases - but not dropped databases. - :type diff_backup_interval_in_hours: int :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -204,7 +199,6 @@ def create_or_update( server_name=server_name, database_name=database_name, retention_days=retention_days, - diff_backup_interval_in_hours=diff_backup_interval_in_hours, custom_headers=custom_headers, raw=True, **operation_config @@ -230,8 +224,8 @@ def get_long_running_output(response): def _update_initial( - self, resource_group_name, server_name, database_name, retention_days=None, diff_backup_interval_in_hours=None, custom_headers=None, raw=False, **operation_config): - parameters = models.BackupShortTermRetentionPolicy(retention_days=retention_days, diff_backup_interval_in_hours=diff_backup_interval_in_hours) + self, resource_group_name, server_name, database_name, retention_days=None, custom_headers=None, raw=False, **operation_config): + parameters = models.BackupShortTermRetentionPolicy(retention_days=retention_days) # Construct URL url = self.update.metadata['url'] @@ -283,7 +277,7 @@ def _update_initial( return deserialized def update( - self, resource_group_name, server_name, database_name, retention_days=None, diff_backup_interval_in_hours=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, server_name, database_name, retention_days=None, custom_headers=None, raw=False, polling=True, **operation_config): """Updates a database's short term retention policy. :param resource_group_name: The name of the resource group that @@ -297,11 +291,6 @@ def update( :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int - :param diff_backup_interval_in_hours: The differential backup interval - in hours. This is how many interval hours between each differential - backup will be supported. This is only applicable to live databases - but not dropped databases. - :type diff_backup_interval_in_hours: int :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -321,7 +310,6 @@ def update( server_name=server_name, database_name=database_name, retention_days=retention_days, - diff_backup_interval_in_hours=diff_backup_interval_in_hours, custom_headers=custom_headers, raw=True, **operation_config diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/version.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/version.py index e0b95cf34de4..f8835e46defc 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/version.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.23.0" +VERSION = "0.24.0" diff --git a/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_database.yaml b/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_database.yaml index 0426b85172e3..64319b67cbd2 100644 --- a/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_database.yaml +++ b/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_database.yaml @@ -14,29 +14,29 @@ interactions: - application/json; charset=utf-8 User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06?api-version=2020-08-01-preview response: body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2020-10-28T01:53:04.01Z"}' + string: '{"operation":"CreateLogicalDatabase","startTime":"2020-11-04T03:36:06.943Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/b483c173-b89b-4069-a472-b5dd00726a6d?api-version=2020-08-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/a554ba5a-1bfe-4f47-881a-5cd25fb18eea?api-version=2020-08-01-preview cache-control: - no-cache content-length: - - '75' + - '76' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:03 GMT + - Wed, 04 Nov 2020 03:36:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseOperationResults/b483c173-b89b-4069-a472-b5dd00726a6d?api-version=2020-08-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseOperationResults/a554ba5a-1bfe-4f47-881a-5cd25fb18eea?api-version=2020-08-01-preview pragma: - no-cache server: @@ -61,21 +61,21 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/b483c173-b89b-4069-a472-b5dd00726a6d?api-version=2020-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/a554ba5a-1bfe-4f47-881a-5cd25fb18eea?api-version=2020-08-01-preview response: body: - string: '{"name":"b483c173-b89b-4069-a472-b5dd00726a6d","status":"InProgress","startTime":"2020-10-28T01:53:04.01Z"}' + string: '{"name":"a554ba5a-1bfe-4f47-881a-5cd25fb18eea","status":"InProgress","startTime":"2020-11-04T03:36:06.943Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '108' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:19 GMT + - Wed, 04 Nov 2020 03:36:22 GMT expires: - '-1' pragma: @@ -104,21 +104,21 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/b483c173-b89b-4069-a472-b5dd00726a6d?api-version=2020-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/a554ba5a-1bfe-4f47-881a-5cd25fb18eea?api-version=2020-08-01-preview response: body: - string: '{"name":"b483c173-b89b-4069-a472-b5dd00726a6d","status":"InProgress","startTime":"2020-10-28T01:53:04.01Z"}' + string: '{"name":"a554ba5a-1bfe-4f47-881a-5cd25fb18eea","status":"InProgress","startTime":"2020-11-04T03:36:06.943Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '108' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:34 GMT + - Wed, 04 Nov 2020 03:36:37 GMT expires: - '-1' pragma: @@ -147,21 +147,21 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/b483c173-b89b-4069-a472-b5dd00726a6d?api-version=2020-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/a554ba5a-1bfe-4f47-881a-5cd25fb18eea?api-version=2020-08-01-preview response: body: - string: '{"name":"b483c173-b89b-4069-a472-b5dd00726a6d","status":"Succeeded","startTime":"2020-10-28T01:53:04.01Z"}' + string: '{"name":"a554ba5a-1bfe-4f47-881a-5cd25fb18eea","status":"Succeeded","startTime":"2020-11-04T03:36:06.943Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:49 GMT + - Wed, 04 Nov 2020 03:36:52 GMT expires: - '-1' pragma: @@ -190,12 +190,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06?api-version=2020-08-01-preview response: body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"2203bcee-bda9-44e2-8015-2f8b16365eb0","creationDate":"2020-10-28T01:53:38.6Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-10-28T02:23:38.6Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}' + string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"9cfcfad3-a2b1-4094-a902-2cb732323e72","creationDate":"2020-11-04T03:36:49.5Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-11-04T04:06:49.5Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}' headers: cache-control: - no-cache @@ -204,7 +204,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:49 GMT + - Wed, 04 Nov 2020 03:36:53 GMT expires: - '-1' pragma: @@ -233,14 +233,14 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06?api-version=2020-08-01-preview response: body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"2203bcee-bda9-44e2-8015-2f8b16365eb0","creationDate":"2020-10-28T01:53:38.6Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-10-28T02:23:38.6Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}' + string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"9cfcfad3-a2b1-4094-a902-2cb732323e72","creationDate":"2020-11-04T03:36:49.5Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-11-04T04:06:49.5Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}' headers: cache-control: - no-cache @@ -249,7 +249,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:50 GMT + - Wed, 04 Nov 2020 03:36:53 GMT expires: - '-1' pragma: @@ -278,23 +278,23 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases?api-version=2020-08-01-preview response: body: - string: '{"value":[{"sku":{"name":"System","tier":"System","capacity":0},"kind":"v12.0,system","managedBy":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":32212254720,"status":"Online","databaseId":"ba04f048-80ad-4af5-8a6f-8aea637d0d13","creationDate":"2020-10-28T01:52:56.433Z","currentServiceObjectiveName":"System2","requestedServiceObjectiveName":"System2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"readScale":"Disabled","currentSku":{"name":"System","tier":"System","capacity":0},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/master","name":"master","type":"Microsoft.Sql/servers/databases"},{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"2203bcee-bda9-44e2-8015-2f8b16365eb0","creationDate":"2020-10-28T01:53:38.6Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-10-28T02:23:38.6Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}]}' + string: '{"value":[{"sku":{"name":"System","tier":"System","capacity":0},"kind":"v12.0,system","managedBy":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":32212254720,"status":"Online","databaseId":"2e562a25-ebd5-4638-95ee-f532a4f5854f","creationDate":"2020-11-04T03:35:51.5Z","currentServiceObjectiveName":"System2","requestedServiceObjectiveName":"System2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"readScale":"Disabled","currentSku":{"name":"System","tier":"System","capacity":0},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/master","name":"master","type":"Microsoft.Sql/servers/databases"},{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"9cfcfad3-a2b1-4094-a902-2cb732323e72","creationDate":"2020-11-04T03:36:49.5Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westcentralus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":10307921510,"earliestRestoreDate":"2020-11-04T04:06:49.5Z","readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"storageAccountType":"GRS"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06","name":"pyarmdb9c310b06","type":"Microsoft.Sql/servers/databases"}]}' headers: cache-control: - no-cache content-length: - - '2048' + - '2046' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:51 GMT + - Wed, 04 Nov 2020 03:36:53 GMT expires: - '-1' pragma: @@ -323,7 +323,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -343,7 +343,7 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 28 Oct 2020 01:53:51 GMT + - Wed, 04 Nov 2020 03:36:53 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -370,17 +370,17 @@ interactions: - '0' User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/servers/mypysqlserverx9c310b06/databases/pyarmdb9c310b06?api-version=2020-08-01-preview response: body: - string: '{"operation":"DropLogicalDatabase","startTime":"2020-10-28T01:53:52.303Z"}' + string: '{"operation":"DropLogicalDatabase","startTime":"2020-11-04T03:36:55.157Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/6dd3e4a1-0b3f-4f18-bb63-7b679df929d7?api-version=2020-08-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/014291c6-c14e-4f0c-a4db-381d9949bd6d?api-version=2020-08-01-preview cache-control: - no-cache content-length: @@ -388,11 +388,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:53:52 GMT + - Wed, 04 Nov 2020 03:36:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseOperationResults/6dd3e4a1-0b3f-4f18-bb63-7b679df929d7?api-version=2020-08-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseOperationResults/014291c6-c14e-4f0c-a4db-381d9949bd6d?api-version=2020-08-01-preview pragma: - no-cache server: @@ -417,12 +417,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/6dd3e4a1-0b3f-4f18-bb63-7b679df929d7?api-version=2020-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_database9c310b06/providers/Microsoft.Sql/locations/westus2/databaseAzureAsyncOperation/014291c6-c14e-4f0c-a4db-381d9949bd6d?api-version=2020-08-01-preview response: body: - string: '{"name":"6dd3e4a1-0b3f-4f18-bb63-7b679df929d7","status":"Succeeded","startTime":"2020-10-28T01:53:52.303Z"}' + string: '{"name":"014291c6-c14e-4f0c-a4db-381d9949bd6d","status":"Succeeded","startTime":"2020-11-04T03:36:55.157Z"}' headers: cache-control: - no-cache @@ -431,7 +431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:07 GMT + - Wed, 04 Nov 2020 03:37:10 GMT expires: - '-1' pragma: diff --git a/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_server.yaml b/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_server.yaml index f29646a218bf..e8058411cb88 100644 --- a/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_server.yaml +++ b/sdk/sql/azure-mgmt-sql/tests/recordings/test_mgmt_sql.test_server.yaml @@ -15,17 +15,17 @@ interactions: - application/json; charset=utf-8 User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/servers/tstpysqlserverx87460a68?api-version=2019-06-01-preview response: body: - string: '{"operation":"UpsertLogicalServer","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"operation":"UpsertLogicalServer","startTime":"2020-11-04T03:37:25.063Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview cache-control: - no-cache content-length: @@ -33,11 +33,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:19 GMT + - Wed, 04 Nov 2020 03:37:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverOperationResults/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverOperationResults/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview pragma: - no-cache server: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -62,12 +62,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"InProgress","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -76,7 +76,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:21 GMT + - Wed, 04 Nov 2020 03:37:26 GMT expires: - '-1' pragma: @@ -105,12 +105,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"InProgress","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -119,7 +119,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:22 GMT + - Wed, 04 Nov 2020 03:37:28 GMT expires: - '-1' pragma: @@ -148,12 +148,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"InProgress","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -162,7 +162,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:23 GMT + - Wed, 04 Nov 2020 03:37:29 GMT expires: - '-1' pragma: @@ -191,12 +191,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"InProgress","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -205,7 +205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:24 GMT + - Wed, 04 Nov 2020 03:37:30 GMT expires: - '-1' pragma: @@ -234,12 +234,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"InProgress","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -248,7 +248,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:54:45 GMT + - Wed, 04 Nov 2020 03:37:50 GMT expires: - '-1' pragma: @@ -277,55 +277,12 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/b27295c5-92dc-4cab-b54f-d13a654c61aa?api-version=2019-06-01-preview response: body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"InProgress","startTime":"2020-10-28T01:54:19.523Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 28 Oct 2020 01:55:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f?api-version=2019-06-01-preview - response: - body: - string: '{"name":"7cb2f6b7-ecfc-4ed3-9eee-f2f559060c6f","status":"Succeeded","startTime":"2020-10-28T01:54:19.523Z"}' + string: '{"name":"b27295c5-92dc-4cab-b54f-d13a654c61aa","status":"Succeeded","startTime":"2020-11-04T03:37:25.063Z"}' headers: cache-control: - no-cache @@ -334,7 +291,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:25 GMT + - Wed, 04 Nov 2020 03:38:10 GMT expires: - '-1' pragma: @@ -363,7 +320,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/servers/tstpysqlserverx87460a68?api-version=2019-06-01-preview response: @@ -377,7 +334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:25 GMT + - Wed, 04 Nov 2020 03:38:11 GMT expires: - '-1' pragma: @@ -406,7 +363,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -422,7 +379,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:26 GMT + - Wed, 04 Nov 2020 03:38:11 GMT expires: - '-1' pragma: @@ -451,7 +408,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -467,7 +424,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:26 GMT + - Wed, 04 Nov 2020 03:38:11 GMT expires: - '-1' pragma: @@ -496,7 +453,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -512,7 +469,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:27 GMT + - Wed, 04 Nov 2020 03:38:12 GMT expires: - '-1' pragma: @@ -541,7 +498,7 @@ interactions: - keep-alive User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -561,7 +518,7 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 28 Oct 2020 01:55:27 GMT + - Wed, 04 Nov 2020 03:38:12 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -590,7 +547,7 @@ interactions: - application/json; charset=utf-8 User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -609,7 +566,7 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 28 Oct 2020 01:55:28 GMT + - Wed, 04 Nov 2020 03:38:13 GMT preference-applied: - return-content server: @@ -619,7 +576,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -636,29 +593,29 @@ interactions: - '0' User-Agent: - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-sql/0.23.0 Azure-SDK-For-Python + msrest_azure/0.6.2 azure-mgmt-sql/0.24.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/servers/tstpysqlserverx87460a68?api-version=2019-06-01-preview response: body: - string: '{"operation":"DropLogicalServer","startTime":"2020-10-28T01:55:29.427Z"}' + string: '{"operation":"DropLogicalServer","startTime":"2020-11-04T03:38:13.86Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/1414a02f-2682-4b48-ad63-37617dab8ae6?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverAzureAsyncOperation/68658156-389d-48de-971e-f8656a02817f?api-version=2019-06-01-preview cache-control: - no-cache content-length: - - '72' + - '71' content-type: - application/json; charset=utf-8 date: - - Wed, 28 Oct 2020 01:55:29 GMT + - Wed, 04 Nov 2020 03:38:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverOperationResults/1414a02f-2682-4b48-ad63-37617dab8ae6?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_sql_test_server87460a68/providers/Microsoft.Sql/locations/westus2/serverOperationResults/68658156-389d-48de-971e-f8656a02817f?api-version=2019-06-01-preview pragma: - no-cache server: @@ -668,7 +625,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted