Package: azure-mgmt-sql
Microsoft Azure SDK for PythonThis is the Microsoft Azure SQL Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see theazure sdk python release.UsageTo learn how to use this package, see thequickstart guideFor docs and references, seePython SDK ReferencesCode samples for this package can be found atSQL Managementon docs.microsoft.com.
Additional code samples for different Azure services are available atSamples RepoProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History3.0.1 (2021-07-15)BugfixesFix default setting for blob_auditing_policy_name3.0.0 (2021-06-18)FeaturesModel Server has a new parameter federated_client_idModel Server has a new parameter restrict_outbound_network_accessModel ServerUpdate has a new parameter federated_client_idModel ServerUpdate has a new parameter restrict_outbound_network_accessModel BackupShortTermRetentionPolicy has a new parameter diff_backup_interval_in_hoursBreaking changesOperation ReplicationLinksOperations.get has a new signature2.1.0 (2021-05-24)Add resource identity2.0.0 (2021-05-13)FeaturesModel LongTermRetentionBackup has a new parameter requested_backup_storage_redundancyModel LongTermRetentionBackup has a new parameter backup_storage_redundancyModel ManagedInstanceKey has a new parameter auto_rotation_enabledModel ManagedInstanceEncryptionProtector has a new parameter auto_rotation_enabledModel Database has a new parameter is_infra_encryption_enabledModel Database has a new parameter is_ledger_onModel Database has a new parameter secondary_typeModel Database has a new parameter current_backup_storage_redundancyModel Database has a new parameter high_availability_replica_countModel Database has a new parameter maintenance_configuration_idModel Database has a new parameter requested_backup_storage_redundancyModel ReplicationLink has a new parameter link_typeModel ServerUpdate has a new parameter primary_user_assigned_identity_idModel ServerUpdate has a new parameter administratorsModel ServerUpdate has a new parameter identityModel ServerUpdate has a new parameter key_idModel ServerUpdate has a new parameter workspace_featureModel DatabaseUpdate has a new parameter is_infra_encryption_enabledModel DatabaseUpdate has a new parameter is_ledger_onModel DatabaseUpdate has a new parameter secondary_typeModel DatabaseUpdate has a new parameter current_backup_storage_redundancyModel DatabaseUpdate has a new parameter high_availability_replica_countModel DatabaseUpdate has a new parameter maintenance_configuration_idModel DatabaseUpdate has a new parameter requested_backup_storage_redundancyModel ManagedInstance has a new parameter primary_user_assigned_identity_idModel ManagedInstance has a new parameter administratorsModel ManagedInstance has a new parameter key_idModel ManagedInstance has a new parameter zone_redundantModel ManagedInstance has a new parameter private_endpoint_connectionsModel ServerKey has a new parameter auto_rotation_enabledModel ExtendedServerBlobAuditingPolicy has a new parameter is_devops_audit_enabledModel ServiceObjectiveCapability has a new parameter supported_maintenance_configurationsModel EncryptionProtector has a new parameter auto_rotation_enabledModel FirewallRuleListResult has a new parameter next_linkModel ManagedInstanceUpdate has a new parameter primary_user_assigned_identity_idModel ManagedInstanceUpdate has a new parameter administratorsModel ManagedInstanceUpdate has a new parameter identityModel ManagedInstanceUpdate has a new parameter key_idModel ManagedInstanceUpdate has a new parameter private_endpoint_connectionsModel ManagedInstanceUpdate has a new parameter zone_redundantModel ElasticPoolUpdate has a new parameter maintenance_configuration_idModel SyncMember has a new parameter private_endpoint_nameModel ElasticPool has a new parameter maintenance_configuration_idModel ManagedInstanceVcoresCapability has a new parameter supported_maintenance_configurationsModel ManagedInstanceLongTermRetentionBackup has a new parameter backup_storage_redundancyModel ServerSecurityAlertPolicy has a new parameter system_dataModel ManagedInstanceEditionCapability has a new parameter supported_storage_capabilitiesModel ManagedInstanceEditionCapability has a new parameter zone_redundantModel ServerBlobAuditingPolicy has a new parameter is_devops_audit_enabledModel ElasticPoolPerformanceLevelCapability has a new parameter supported_maintenance_configurationsModel RestorableDroppedDatabase has a new parameter backup_storage_redundancyModel RestorableDroppedDatabase has a new parameter tagsModel RestorableDroppedDatabase has a new parameter skuModel RestorableDroppedDatabase has a new parameter elastic_pool_idModel DatabaseSecurityAlertPolicy has a new parameter creation_timeModel DatabaseSecurityAlertPolicy has a new parameter system_dataModel SyncGroup has a new parameter conflict_logging_retention_in_daysModel SyncGroup has a new parameter private_endpoint_nameModel SyncGroup has a new parameter skuModel SyncGroup has a new parameter enable_conflict_loggingModel VirtualClusterUpdate has a new parameter maintenance_configuration_idModel PrivateLinkResourceProperties has a new parameter required_zone_namesModel VirtualCluster has a new parameter maintenance_configuration_idModel ManagedServerSecurityAlertPolicy has a new parameter system_dataModel DatabaseUsage has a new parameter typeModel DatabaseUsage has a new parameter idModel Server has a new parameter primary_user_assigned_identity_idModel Server has a new parameter key_idModel Server has a new parameter administratorsModel Server has a new parameter workspace_featureModel SensitivityLabel has a new parameter column_nameModel SensitivityLabel has a new parameter schema_nameModel SensitivityLabel has a new parameter managed_byModel SensitivityLabel has a new parameter table_nameAdded operation VirtualClustersOperations.update_dns_serversAdded operation ServersOperations.begin_import_databaseAdded operation DatabasesOperations.list_inaccessible_by_serverAdded operation FirewallRulesOperations.replaceAdded operation ReplicationLinksOperations.list_by_serverAdded operation SensitivityLabelsOperations.updateAdded operation ManagedInstancesOperations.list_by_managed_instanceAdded operation ManagedDatabaseSensitivityLabelsOperations.updateAdded operation LongTermRetentionBackupsOperations.begin_updateAdded operation LongTermRetentionBackupsOperations.begin_copyAdded operation LongTermRetentionBackupsOperations.begin_copy_by_resource_groupAdded operation LongTermRetentionBackupsOperations.begin_update_by_resource_groupAdded operation group DatabaseSchemasOperationsAdded operation group DatabaseExtensionsOperationsAdded operation group ManagedInstancePrivateEndpointConnectionsOperationsAdded operation group DeletedServersOperationsAdded operation group ManagedDatabaseTablesOperationsAdded operation group MaintenanceWindowOptionsOperationsAdded operation group DatabaseSecurityAlertPoliciesOperationsAdded operation group ServerTrustGroupsOperationsAdded operation group ManagedInstanceAzureADOnlyAuthenticationsOperationsAdded operation group SqlAgentOperationsAdded operation group TimeZonesOperationsAdded operation group ManagedInstancePrivateLinkResourcesOperationsAdded operation group RecommendedSensitivityLabelsOperationsAdded operation group DatabaseTablesOperationsAdded operation group ServerAdvisorsOperationsAdded operation group ManagedDatabaseSecurityEventsOperationsAdded operation group ServerOperationsOperationsAdded operation group DatabaseAdvisorsOperationsAdded operation group DatabaseColumnsOperationsAdded operation group DataWarehouseUserActivitiesOperationsAdded operation group OutboundFirewallRulesOperationsAdded operation group ManagedDatabaseSchemasOperationsAdded operation group DatabaseRecommendedActionsOperationsAdded operation group LongTermRetentionPoliciesOperationsAdded operation group ManagedDatabaseQueriesOperationsAdded operation group ManagedDatabaseRecommendedSensitivityLabelsOperationsAdded operation group ManagedDatabaseTransparentDataEncryptionOperationsAdded operation group ServerDevOpsAuditSettingsOperationsAdded operation group OperationsHealthOperationsAdded operation group LedgerDigestUploadsOperationsAdded operation group MaintenanceWindowsOperationsAdded operation group ManagedDatabaseColumnsOperationsBreaking changesOperation RestorableDroppedDatabasesOperations.get has a new signatureOperation ReplicationLinksOperations.get has a new signatureParameter old_server_dns_alias_id of model ServerDnsAliasAcquisition is now requiredOperation SensitivityLabelsOperations.list_recommended_by_database has a new signatureOperation ManagedDatabaseSensitivityLabelsOperations.list_recommended_by_database has a new signatureOperation DatabasesOperations.begin_import_method has a new signatureOperation DatabasesOperations.list_by_server has a new signatureOperation ManagedDatabaseSensitivityLabelsOperations.list_current_by_database has a new signatureOperation ManagedDatabaseSensitivityLabelsOperations.list_current_by_database has a new signatureOperation ManagedDatabaseSensitivityLabelsOperations.list_recommended_by_database has a new signatureOperation ManagedInstanceAdministratorsOperations.begin_create_or_update has a new signatureOperation ManagedInstanceAdministratorsOperations.begin_delete has a new signatureOperation ManagedInstanceAdministratorsOperations.get has a new signatureOperation ManagedInstancesOperations.get has a new signatureOperation ManagedInstancesOperations.list has a new signatureOperation ManagedInstancesOperations.list_by_instance_pool has a new signatureOperation ManagedInstancesOperations.list_by_resource_group has a new signatureOperation SensitivityLabelsOperations.list_current_by_database has a new signatureOperation SensitivityLabelsOperations.list_current_by_database has a new signatureOperation SensitivityLabelsOperations.list_recommended_by_database has a new signatureOperation ServersOperations.get has a new signatureOperation ServersOperations.list has a new signatureOperation ServersOperations.list_by_resource_group has a new signatureModel BackupShortTermRetentionPolicy no longer has parameter diff_backup_interval_in_hoursModel Database no longer has parameter read_replica_countModel ReplicationLink no longer has parameter locationModel DatabaseUpdate no longer has parameter read_replica_countModel FirewallRule no longer has parameter kindModel FirewallRule no longer has parameter locationModel RestorableDroppedDatabase no longer has parameter service_level_objectiveModel RestorableDroppedDatabase no longer has parameter editionModel RestorableDroppedDatabase no longer has parameter elastic_pool_nameModel DatabaseSecurityAlertPolicy no longer has parameter use_server_defaultModel DatabaseSecurityAlertPolicy no longer has parameter kindModel DatabaseSecurityAlertPolicy no longer has parameter locationModel DatabaseUsage no longer has parameter resource_nameModel DatabaseUsage no longer has parameter next_reset_timeRemoved operation DatabasesOperations.begin_create_import_operationModel DatabaseUsageListResult has a new signatureModel RestorableDroppedDatabaseListResult has a new signatureRemoved operation group RecommendedElasticPoolsOperationsRemoved operation group BackupLongTermRetentionPoliciesOperationsRemoved operation group DatabaseThreatDetectionPoliciesOperationsRemoved operation group ServiceTierAdvisorsOperations1.0.0 (2020-11-24)GA release1.0.0b1 (2020-10-13)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.21.0 (2020-09-03)FeaturesModel DatabaseUpdate has a new parameter storage_account_typeModel Database has a new parameter storage_account_typeModel BackupShortTermRetentionPolicy has a new parameter diff_backup_interval_in_hoursModel ManagedInstance has a new parameter storage_account_typeModel ManagedInstance has a new parameter provisioning_stateModel ManagedInstanceUpdate has a new parameter storage_account_typeModel ManagedInstanceUpdate has a new parameter provisioning_stateAdded operation DatabasesOperations.list_inaccessible_by_serverAdded operation ServersOperations.import_databaseAdded operation group ImportExportOperationsAdded operation group ServerAzureADOnlyAuthenticationsOperationsAdded operation group ManagedInstanceAzureADOnlyAuthenticationsOperationsBreaking changesOperation BackupShortTermRetentionPoliciesOperations.create_or_update has a new signatureOperation BackupShortTermRetentionPoliciesOperations.update has a new signatureRemoved operation DatabasesOperations.import_methodRemoved operation DatabasesOperations.create_import_operationRemoved operation ServerAzureADAdministratorsOperations.disable_azure_ad_only_authentication0.20.0 (2020-06-22)FeaturesModel ManagedDatabase has a new parameter last_backup_nameModel ManagedDatabase has a new parameter auto_complete_restoreModel ManagedDatabaseUpdate has a new parameter last_backup_nameModel ManagedDatabaseUpdate has a new parameter auto_complete_restoreModel ManagedInstanceOperation has a new parameter operation_parametersModel ManagedInstanceOperation has a new parameter operation_steps0.19.0 (2020-06-22)FeaturesModel SyncGroup has a new parameter use_private_link_connectionModel ManagedInstanceUpdate has a new parameter maintenance_configuration_idModel SyncMember has a new parameter use_private_link_connectionModel SyncMember has a new parameter sync_member_azure_database_resource_idModel ManagedInstance has a new parameter maintenance_configuration_idAdded operation ExtendedDatabaseBlobAuditingPoliciesOperations.list_by_databaseAdded operation ManagedInstancesOperations.failoverAdded operation ReplicationLinksOperations.unlinkAdded operation ExtendedServerBlobAuditingPoliciesOperations.list_by_server0.18.0 (2020-03-23)FeaturesAdded operation group ManagedInstanceOperations0.17.0 (2020-03-02)FeaturesModel ManagedInstanceUpdate has a new parameter minimal_tls_versionModel ServerAzureADAdministrator has a new parameter azure_ad_only_authenticationModel ManagedDatabase has a new parameter long_term_retention_backup_resource_idModel ManagedDatabaseUpdate has a new parameter long_term_retention_backup_resource_idModel SensitivityLabel has a new parameter rankModel ServerUpdate has a new parameter private_endpoint_connectionsModel ServerUpdate has a new parameter minimal_tls_versionModel ServerUpdate has a new parameter public_network_accessModel Server has a new parameter private_endpoint_connectionsModel Server has a new parameter minimal_tls_versionModel Server has a new parameter public_network_accessModel ManagedInstance has a new parameter minimal_tls_versionAdded operation ServerAzureADAdministratorsOperations.disable_azure_ad_only_authenticationAdded operation ManagedDatabasesOperations.list_inaccessible_by_instanceAdded operation group ManagedInstanceLongTermRetentionPoliciesOperationsAdded operation group LongTermRetentionManagedInstanceBackupsOperations0.16.0 (2019-12-17)FeaturesModel ExtendedServerBlobAuditingPolicy has a new parameter
queue_delay_msModel EditionCapability has a new parameter read_scaleModel EditionCapability has a new parameter
supported_storage_capabilitiesModel ServiceObjectiveCapability has a new parameter compute_modelModel ServiceObjectiveCapability has a new parameter
supported_auto_pause_delayModel ServiceObjectiveCapability has a new parameter zone_redundantModel ServiceObjectiveCapability has a new parameter
supported_min_capacitiesModel ManagedInstanceVersionCapability has a new parameter
supported_instance_pool_editionsModel DatabaseBlobAuditingPolicy has a new parameter
queue_delay_msModel ExtendedDatabaseBlobAuditingPolicy has a new parameter
queue_delay_msModel ManagedInstanceVcoresCapability has a new parameter
supported_storage_sizesModel ManagedInstanceVcoresCapability has a new parameter
instance_pool_supportedModel ManagedInstanceVcoresCapability has a new parameter
standalone_supportedModel ManagedInstanceVcoresCapability has a new parameter
included_max_sizeModel ServerBlobAuditingPolicy has a new parameter queue_delay_msModel ElasticPoolPerformanceLevelCapability has a new parameter
zone_redundantAdded operation group WorkloadGroupsOperationsAdded operation group WorkloadClassifiersOperationsBreaking changesOperation ServerAzureADAdministratorsOperations.create_or_update
has a new signatureModel ManagedInstanceFamilyCapability no longer has parameter
supported_storage_sizesModel ManagedInstanceFamilyCapability no longer has parameter
included_max_size0.15.0 (2019-11-12)Breaking changesOperation DatabasesOperations.failover has a new signatureOperation ManagedInstanceAdministratorsOperations.get has a new
signatureOperation ManagedInstanceAdministratorsOperations.delete has a new
signatureOperation ManagedInstanceAdministratorsOperations.create_or_update
has a new signature0.14.0 (2019-10-04)FeaturesAdded operation
ServerBlobAuditingPoliciesOperations.list_by_serverAdded operation ManagedDatabasesOperations.complete_restoreAdded operation
DatabaseBlobAuditingPoliciesOperations.list_by_databaseAdded operation group ManagedDatabaseRestoreDetailsOperations0.13.0 (2019-09-03)FeaturesModel ManagedInstanceUpdate has a new parameter
source_managed_instance_idModel ManagedInstanceUpdate has a new parameter instance_pool_idModel ManagedInstanceUpdate has a new parameter
restore_point_in_timeModel ManagedInstanceUpdate has a new parameter
managed_instance_create_modeModel SensitivityLabel has a new parameter is_disabledModel Database has a new parameter paused_dateModel Database has a new parameter read_replica_countModel Database has a new parameter resumed_dateModel Database has a new parameter auto_pause_delayModel Database has a new parameter min_capacityModel ManagedInstance has a new parameter
source_managed_instance_idModel ManagedInstance has a new parameter instance_pool_idModel ManagedInstance has a new parameter restore_point_in_timeModel ManagedInstance has a new parameter
managed_instance_create_modeModel DatabaseUpdate has a new parameter paused_dateModel DatabaseUpdate has a new parameter read_replica_countModel DatabaseUpdate has a new parameter resumed_dateModel DatabaseUpdate has a new parameter auto_pause_delayModel DatabaseUpdate has a new parameter min_capacityAdded operation
ManagedInstanceEncryptionProtectorsOperations.revalidateAdded operation
ManagedDatabaseSensitivityLabelsOperations.enable_recommendationAdded operation
ManagedDatabaseSensitivityLabelsOperations.disable_recommendationAdded operation ElasticPoolsOperations.failoverAdded operation ManagedInstancesOperations.list_by_instance_poolAdded operation DatabasesOperations.failoverAdded operation
LongTermRetentionBackupsOperations.get_by_resource_groupAdded operation
LongTermRetentionBackupsOperations.list_by_resource_group_serverAdded operation
LongTermRetentionBackupsOperations.delete_by_resource_groupAdded operation
LongTermRetentionBackupsOperations.list_by_resource_group_locationAdded operation
LongTermRetentionBackupsOperations.list_by_resource_group_databaseAdded operation SensitivityLabelsOperations.enable_recommendationAdded operation SensitivityLabelsOperations.disable_recommendationAdded operation EncryptionProtectorsOperations.revalidateAdded operation group InstancePoolsOperationsAdded operation group ManagedInstanceAdministratorsOperationsAdded operation group UsagesOperationsAdded operation group PrivateLinkResourcesOperationsAdded operation group PrivateEndpointConnectionsOperationsBreaking changesOperation
ManagedDatabaseSensitivityLabelsOperations.list_recommended_by_database
has a new signatureOperation
SensitivityLabelsOperations.list_recommended_by_database has a
new signatureOperation EncryptionProtectorsOperations.create_or_update has a
new signatureGeneral breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.SqlManagementClient cannot be imported fromazure.mgmt.sql.sql_management_clientanymore (import fromazure.mgmt.sqlmanagementworks like before)SqlManagementClientConfiguration import has been moved fromazure.mgmt.sqlmanagement.sql_management_clienttoazure.mgmt.sqlmanagementA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.sqlmanagement.models.my_class(import
fromazure.mgmt.sqlmanagement.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.sqlmanagement.operations.my_class_operations(import fromazure.mgmt.sqlmanagement.operationsworks like
before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.0.12.0 (2019-03-28)FeaturesModel ManagedDatabase has a new parameter recoverable_database_idModel ManagedDatabase has a new parameter
restorable_dropped_database_idModel ServerSecurityAlertPolicy has a new parameter creation_timeModel ManagedInstanceUpdate has a new parameter
public_data_endpoint_enabledModel ManagedInstanceUpdate has a new parameter proxy_overrideModel ManagedInstanceUpdate has a new parameter timezone_idModel ManagedDatabaseUpdate has a new parameter
recoverable_database_idModel ManagedDatabaseUpdate has a new parameter
restorable_dropped_database_idModel ManagedInstance has a new parameter
public_data_endpoint_enabledModel ManagedInstance has a new parameter proxy_overrideModel ManagedInstance has a new parameter timezone_idAdded operation group ManagedServerSecurityAlertPoliciesOperationsAdded operation group VirtualClustersOperationsAdded operation group
ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperationsAdded operation group RestorableDroppedManagedDatabasesOperationsAdded operation group ManagedDatabaseSensitivityLabelsOperationsAdded operation group RecoverableManagedDatabasesOperationsAdded operation group ServerVulnerabilityAssessmentsOperationsAdded operation group
ManagedInstanceVulnerabilityAssessmentsOperationsAdded operation group ManagedDatabaseSecurityAlertPoliciesOperationsAdded operation group SensitivityLabelsOperations0.11.0 (2018-11-08)FeaturesModel ServerBlobAuditingPolicy has a new parameter
is_azure_monitor_target_enabledModel ExtendedServerBlobAuditingPolicy has a new parameter
is_azure_monitor_target_enabledModel DatabaseBlobAuditingPolicy has a new parameter
is_azure_monitor_target_enabledModel ExtendedDatabaseBlobAuditingPolicy has a new parameter
is_azure_monitor_target_enabledAdded operation
DatabaseVulnerabilityAssessmentsOperations.list_by_databaseAdded operation
ManagedDatabaseVulnerabilityAssessmentsOperations.list_by_databaseAdded operation group
ManagedBackupShortTermRetentionPoliciesOperations0.10.0 (2018-10-18)FeaturesModel DatabaseVulnerabilityAssessment has a new parameter
storage_account_access_keyModel ManagedInstanceUpdate has a new parameter dns_zone_partnerModel ManagedInstanceUpdate has a new parameter collationModel ManagedInstanceUpdate has a new parameter dns_zoneModel ManagedInstance has a new parameter dns_zone_partnerModel ManagedInstance has a new parameter collationModel ManagedInstance has a new parameter dns_zoneAdded operation
BackupShortTermRetentionPoliciesOperations.list_by_databaseAdded operation group
ManagedDatabaseVulnerabilityAssessmentsOperationsAdded operation group ExtendedDatabaseBlobAuditingPoliciesOperationsAdded operation group TdeCertificatesOperationsAdded operation group ManagedInstanceKeysOperationsAdded operation group ServerBlobAuditingPoliciesOperationsAdded operation group ManagedInstanceEncryptionProtectorsOperationsAdded operation group ExtendedServerBlobAuditingPoliciesOperationsAdded operation group ServerSecurityAlertPoliciesOperationsAdded operation group
ManagedDatabaseVulnerabilityAssessmentScansOperationsAdded operation group ManagedInstanceTdeCertificatesOperationsAdded operation group
ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperationsBreaking changesOperation
DatabaseVulnerabilityAssessmentRuleBaselinesOperations.delete has a
new signatureOperation DatabaseVulnerabilityAssessmentRuleBaselinesOperations.get
has a new signatureOperation
DatabaseVulnerabilityAssessmentRuleBaselinesOperations.create_or_update
has a new signatureNoteazure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based
namespace package)0.9.1 (2018-05-24)FeaturesManaged instances, databases, and failover groupsVulnerability assessmentsBackup short term retention policiesElastic Jobs0.9.0 (2018-04-25)General Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes.Model signatures now use only keyword-argument syntax. All
positional arguments must be re-written as keyword-arguments. To
keep auto-completion in most cases, models are now generated for
Python 2 and Python 3. Python 3 uses the "*" syntax for
keyword-only arguments.Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to
improve the behavior when unrecognized enum values are encountered.
While this is not a breaking change, the distinctions are important,
and are documented here:https://docs.python.org/3/library/enum.html#othersAt a glance:"is" should not be used at all."format" will return the string value, where "%s" string
formatting will returnNameOfEnum.stringvalue. Format syntax
should be prefered.New Long Running Operation:Return type changes frommsrestazure.azure_operation.AzureOperationPollertomsrest.polling.LROPoller. External API is the same.Return type is nowalwaysamsrest.polling.LROPoller,
regardless of the optional parameters used.The behavior has changed when usingraw=True. Instead of
returning the initial call result asClientRawResponse,
without polling, now this returns an LROPoller. After polling,
the final resource will be returned as aClientRawResponse.Newpollingparameter. The default behavior isPolling=Truewhich will poll using ARM algorithm. WhenPolling=False, the response of the initial call will be
returned without polling.pollingparameter accepts instances of subclasses ofmsrest.polling.PollingMethod.add_done_callbackwill no longer raise if called after
polling is finished, but will instead execute the callback right
away.SQL Breaking changesDatabase and ElasticPool now use Sku property for scale and
tier-related properties. We have made this change in order to
allow future support of autoscale, and to allow for new
vCore-based editions.Database.sku has replaced
Database.requested_service_objective_name and
Database.edition. Database scale can be set by setting
Sku.name to the requested service objective name (e.g. S0,
P1, or GP_Gen4_1), or by setting Sku.name to the sku name
(e.g. Standard, Premium, or GP_Gen4) and set Sku.capacity
to the scale measured in DTU or vCores.Database.current_sku has replaced
Database.service_level_objetive.Database.current_service_objective_id and
Database.requested_service_objective_id have been
removed.ElasticPool.sku has replaced ElasticPool.dtu. Elastic pool
scale can be set by setting Sku.name to the requested sku
name (e.g. StandardPool, PremiumPool, or GP_Gen4) and
setting Sku.capacity to the scale measured in DTU or vCores.ElasticPool.per_database_settings has replaced
ElasticPool.database_dtu_min and
ElasticPool.database_dtu_max.Database.max_size_bytes is now an integer instead of string.LocationCapabilities tree has been changed in order to support
capabilities of new vCore-based database and elastic pool editions.FeaturesAdded support for List and Cancel operation on Azure database and
elastic pool REST APIAdded Long Term Retention V2 commands, including getting backups,
deleting backups, setting the V2 policies, and getting the V2
policiesRemoved support for managing Vaults used for Long Term Retention
V1Changed BackupLongTermRetentionPolicy class, removing the Long
Term Retention V1 properties and adding the Long Term Retention
V2 propertiesRemoved BackupLongTermRetentionPolicyState0.8.6 (2018-03-22)FeaturesAdded support for List and Cancel operation on Azure database and
elastic pool REST APIAdded support for Auto-tuning REST API0.8.5 (2018-01-18)FeaturesAdded support for renaming databasesAdded missing database editions and service objectivesAdded ability to list long term retention vaults & policies0.8.4 (2017-11-14)FeaturesAdded support for subscription usages0.8.3 (2017-10-24)FeaturesAdded support for database zone redundant propertyAdded support for server dns aliases0.8.2 (2017-10-18)FeaturesAdded support for state and migration flag properties for SQL Vnet
rules0.8.1 (2017-10-04)FeaturesAdd database.cancel operationAdd database.list_by_database0.8.0 (2017-09-07)DisclaimerWe were using a slightly unorthodox convention for some operation ids.
Some resource operations were "nested" inside others, e.g. blob auditing
policies was nested inside databases as in
client.databases.get_blob_auditing_policies(..) instead of the
flattened ARM standard
client.database_blob_auditing_policies.get(...).This convention has lead to some inconsistencies, makes some APIs
difficult to find, and is at odds with future APIs. For example if we
wanted to implement listing db audit policies by server, continuing the
current convention would be
client.databases.list_blob_auditing_policies_by_server(..) which
makes much less sense than the ARM standard which would
beclient.database_blob_auditing_policies.list_by_server(...)`.In order to resolve this and provide a good path moving forward, we have
renamed the inconsistent operations to follow the ARM standard. This is
an unfortunate breaking change, but it's best to do now while the SDK is
still in preview and since most of these operations were only recently
added.Breaking changesclient.database.get_backup_long_term_retention_policy ->
client.backup_long_term_retention_policies.getclient.database.create_or_update_backup_long_term_retention_policy
->
client.backup_long_term_retention_policies.create_or_updateclient.servers.create_backup_long_term_retention_vault ->
client.backup_long_term_retention_vaults.create_or_updateclient.servers.get_backup_long_term_retention_vault ->
client.backup_long_term_retention_vaults.getclient.database.list_restore_points ->
client.restore_points.list_by_databaseclient.servers.create_or_update_connection_policy ->
client.server_connection_policies.create_or_updateclient.servers.get_connection_policy ->
client.server_connection_policies.getclient.databases.create_or_update_data_masking_policy ->
client.data_masking_policies.create_or_updateclient.databases.get_data_masking_policy ->
client.data_masking_policies.getclient.databases.create_or_update_data_masking_rule ->
client.data_masking_rules.create_or_updateclient.databases.get_data_masking_rule ->
client.data_masking_rules.getclient.databases.list_data_masking_rules ->
client.data_masking_rules.list_by_databaseclient.databases.get_threat_detection_policy ->
client.database_threat_detection_policies.getclient.databases.create_or_update_threat_detection_policy ->
client.database_threat_detection_policies.create_or_updateclient.databases.create_or_update_geo_backup_policy ->
client.geo_backup_policies.create_or_updateclient.databases.get_geo_backup_policy ->
client.geo_backup_policies.getclient.databases.list_geo_backup_policies ->
client.geo_backup_policies.list_by_databaseclient.databases.delete_replication_link ->
client.replication_links.deleteclient.databases.get_replication_link ->
client.replication_links.getclient.databases.failover_replication_link ->
client.replication_links.failoverclient.databases.failover_replication_link_allow_data_loss ->
client.replication_links.failover_allow_data_lossclient.databases.list_replication_links ->
client.replication_links.list_by_databaseclient.server_azure_ad_administrators.list ->
client.server_azure_ad_administrators.list_by_serverclient.servers.get_service_objective ->
client.service_objectives.getclient.servers.list_service_objectives ->
client.service_objectives.list_by_serverclient.elastic_pools.list_activity ->
client.elastic_pool_activities.list_by_elastic_poolclient.elastic_pools.list_database_activity ->
client.elastic_pool_database_activities.list_by_elastic_poolclient.elastic_pools.get_database ->
client.databases.get_by_elastic_poolclient.elastic_pools.list_databases ->
client.databases.list_by_elastic_poolclient.recommended_elastic_pools.get_databases ->
client.databases.get_by_recommended_elastic_poolclient.recommended_elastic_pools.list_databases ->
client.databases.list_by_recommended_elastic_poolclient.databases.get_service_tier_advisor ->
client.service_tier_advisors.getclient.databases.list_service_tier_advisors ->
client.service_tier_advisors.list_by_databaseclient.databases.create_or_update_transparent_data_encryption_configuration
-> client.transparent_data_encryptions.create_or_updateclient.databases.get_transparent_data_encryption_configuration
-> client.transparent_data_encryptions.getclient.databases.list_transparent_data_encryption_activity ->
client.transparent_data_encryption_activities.list_by_configurationclient.servers.list_usages ->
client.server_usages.list_by_serverclient.databases.list_usages ->
client.database_usages.list_by_databaseclient.databases.get_blob_auditing_policy ->
client.database_blob_auditing_policies.getclient.databases.create_or_update_blob_auditing_policy ->
client.database_blob_auditing_policies.create_or_updateclient.servers.list_encryption_protectors, ->
client.encryption_protectors.list_by_serverclient.servers.get_encryption_protector ->
client.encryption_protectors.getclient.servers.create_or_update_encryption_protector ->
client.encryption_protectors.create_or_updateDatabase blob auditing policy state is requiredFailover group resource now has required properties definedFeaturesAdd SQL DB, server, and pool PATCH operationsclient.operations.list now returnes a full list of operations and
not a limited subset (2014-04-01 to 2015-05-01-preview)Fixed bugsFixed KeyError in server_azure_ad_administrators_operations.get0.7.1 (2017-06-30)Added support for server connection policiesFixed error in
databases_operations.create_or_update_threat_detection_policy0.7.0 (2017-06-28)FeaturesBackup/Restore related: RecoverableDatabase,
RestorableDroppedDatabase, BackupLongTermRetentionVault,
BackupLongTermRetentionPolicy, and GeoBackupPolicyData Masking rules and policiesServer communication linksBreaking changesRenamed enum RestorePointTypes to RestorePointTypeRenamed VnetFirewallRule and related operations to
VirtualNetworkRule0.6.0 (2017-06-13)Updated Servers api version from 2014-04-01 to 2015-05-01-preview,
which is SDK compatible and includes support for server managed
identityAdded support for server keys and encryption protectorsAdded support for check server name availabilityAdded support for virtual network firewall rulesUpdated server azure ad admin from swaggerMinor nonfunctional updates to database blob auditingBreaking changes DatabaseMetrics and ServerMetrics renamed to
DatabaseUsage and ServerUsage. These were misleadingly named because
metrics is a different API.Added database metrics and elastic pool metrics0.5.3 (2017-06-01)Update minimal dependency to msrestazure 0.4.80.5.2 (2017-05-31)FeaturesAdded support for server active directory administrator, failover
groups, and virtual network rulesMinor changes to database auditing support0.5.1 (2017-04-28)BugfixesFix return exception in import/export0.5.0 (2017-04-19)Breaking changesSqlManagementClient.list_operationsis nowSqlManagementClient.operations.listNew featuresAdded elastic pool capabilities to capabilities API.NotesThis wheel package is now built with the azure wheel extension0.4.0 (2017-03-22)Capabilities and security policy features.Also renamed several types and operations for improved clarify and
consistency.Additions:BlobAuditingPolicy APIs (e.g.
databases.create_or_update_blob_auditing_policy)ThreatDetectionPolicy APIs (e.g.
databases.create_or_update_threat_detection_policy)databases.list_by_server now supports $expand parameterCapabilities APIs (e.g. capabilities.list_by_location)Classes and enums renamed:ServerFirewallRule -> FirewallRuleDatabaseEditions -> DatabaseEditionElasticPoolEditions -> ElasticPoolEditionImportRequestParameters -> ImportRequestExportRequestParameters -> ExportRequestImportExportOperationResponse -> ImportExportResponseOperationMode -> ImportOperationModeTransparentDataEncryptionStates -> TransparentDataEncryptionStatusClasses removed:Unused types: UpgradeHint, Schema, Table, ColumnOperations renamed:servers.get_by_resource_group -> servers.getservers.create_or_update_firewall_rule ->
firewall_rules.create_or_update, and similar for get, list, and
deletedatabases.import -> databases.create_import_operationservers.import -> databases.importdatabases.pause_data_warehouse -> databases.pausedatabases.resume_data_warehouse -> databases.resumerecommended_elastic_pools.list ->
recommended_elastic_pools.list_by_serverOperations removed:Removed ImportExport operation results APIs since these are handled
automatically by Azure async pattern.0.3.3 (2017-03-14)Add database blob auditing and threat detection operations0.3.2 (2017-03-08)Add import/export operationsExpanded documentation of create modes0.3.1 (2017-03-01)Added ‘filter’ param to list databases0.3.0 (2017-02-27)Breaking changesEnums:createMode renamed to CreateModeAdded ReadScale, SampleName, ServerStateAdded missing Database properties (failover_group_id,
restore_point_in_time, read_scale, sample_name)Added missing ElasticPoolActivity properties (requested*)Added missing ReplicationLink properties (is_termination_allowed,
replication_mode)Added missing Server properties (external_administrator*,
state)Added operations APIsRemoved unused Database.upgrade_hint propertyRemoved unused RecommendedDatabaseProperties classRenamed incorrect RecommendedElasticPool.databases_property to
databasesMade firewall rule start/end ip address requiredAdded missing kind property to many resourcesMany doc clarifications0.2.0 (2016-12-12)Breaking changesParameters re-ordering (list_database_activity)Flatten create_or_update_firewall_rule from "parameters" to
"start_ip_address" and "end_ip_address"0.1.0 (2016-11-02)Initial Release