Package: azure-mgmt-rdbms
Microsoft Azure SDK for PythonThis is the Microsoft Azure RDBMS Management Client Library.
This package has been tested with Python 2.7, 3.6+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691UsageTo learn how to use this package, see thequickstart guideFor docs and references, seePython SDK ReferencesCode samples for this package can be found atRDBMS 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 History10.1.0 (2022-03-07)FeaturesAdded model DataEncryptionAdded model DataEncryptionTypeAdded model IdentityAdded model UserAssignedIdentity10.0.0 (2021-10-08)Breaking changesModel Server no longer has parameter identity9.1.0 (2021-09-02)FeaturesUpgrade api-version to2021-05-019.1.0b1 (2021-07-19)FeaturesAdded operation group BackupsOperations9.0.0 (2021-07-01)FeaturesModel ServerVersionCapability has a new parameter statusModel Server has a new parameter networkModel Server has a new parameter backupModel Server has a new parameter storageModel Server has a new parameter system_dataModel Server has a new parameter high_availabilityModel Server has a new parameter minor_versionModel Server has a new parameter source_server_resource_idModel Database has a new parameter system_dataModel StorageProfile has a new parameter storage_autogrowModel StorageProfile has a new parameter geo_redundant_backupModel VcoreCapability has a new parameter statusModel Configuration has a new parameter system_dataModel StorageEditionCapability has a new parameter statusModel FirewallRule has a new parameter system_dataModel ServerForUpdate has a new parameter create_modeModel ServerForUpdate has a new parameter backupModel ServerForUpdate has a new parameter high_availabilityModel ServerForUpdate has a new parameter storageModel StorageMBCapability has a new parameter statusAdded operation GetPrivateDnsZoneSuffixOperations.executeAdded operation ConfigurationsOperations.begin_putBreaking changesOperation ServersOperations.begin_restart has a new signatureModel Server no longer has parameter byok_enforcementModel Server no longer has parameter public_network_accessModel Server no longer has parameter display_nameModel Server no longer has parameter ha_stateModel Server no longer has parameter private_dns_zone_argumentsModel Server no longer has parameter source_server_nameModel Server no longer has parameter storage_profileModel Server no longer has parameter source_resource_group_nameModel Server no longer has parameter delegated_subnet_argumentsModel Server no longer has parameter source_subscription_idModel Server no longer has parameter ha_enabledModel Server no longer has parameter standby_availability_zoneModel ServerForUpdate no longer has parameter storage_profileModel ServerForUpdate no longer has parameter ha_enabledModel CapabilityProperties has a new signature8.1.0 (2021-06-08)New models and operations for mariadb8.1.0b4 (2021-04-29)FeaturesAdded operation ServerSecurityAlertPoliciesOperations.list_by_serverAdded operation ServerKeysOperations.listBreaking changesRemoved operation ServerKeysOperations.list_by_server8.1.0b3 (2021-04-27)FeaturesModel Server has a new parameter private_dns_zone_argumentsAdded operation ServerKeysOperations.list_by_serverAdded operation group GetPrivateDnsZoneSuffixOperationsBreaking changesRemoved operation ServerSecurityAlertPoliciesOperations.list_by_serverRemoved operation ServerKeysOperations.list8.1.0b2 (2021-03-19)FeaturesModel Server has a new parameter source_subscription_idModel Server has a new parameter source_resource_group_name8.1.0b1 (2021-03-17)FeaturesAdded operation ServerSecurityAlertPoliciesOperations.list_by_server8.0.0 (2020-12-28)GA release8.0.0b1 (2020-11-05)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.3.1.0rc1 (2020-09-25)FeaturesModel Operation has a new parameter is_data_actionModel OperationListResult has a new parameter next_link3.0.0rc1 (2020-09-15)FeaturesModel NameAvailability has a new parameter nameModel NameAvailability has a new parameter typeAdded operation ServersOperations.startAdded operation ServersOperations.stopAdded operation ConfigurationsOperations.updateAdded operation group VirtualNetworkSubnetUsageOperationsAdded operation group LocationBasedCapabilitiesOperationsAdded operation group CheckVirtualNetworkSubnetUsageOperationsBreaking changesModel NameAvailability no longer has parameter reasonModel StorageProfile no longer has parameter geo_redundant_backupModel StorageProfile no longer has parameter storage_autogrowModel Server has a new signatureModel Sku has a new signatureRemoved operation ConfigurationsOperations.create_or_update2.2.0 (2020-03-25)FeaturesModel ServerUpdateParameters has a new parameter public_network_accessModel ServerPropertiesForCreate has a new parameter public_network_accessModel Server has a new parameter public_network_accessModel Server has a new parameter private_endpoint_connectionsModel ServerPropertiesForRestore has a new parameter public_network_accessModel ServerPropertiesForReplica has a new parameter public_network_accessModel ServerPropertiesForDefaultCreate has a new parameter public_network_accessModel ServerPropertiesForGeoRestore has a new parameter public_network_access2.1.0 (2020-03-23)FeaturesModel ServerPropertiesForReplica has a new parameter infrastructure_encryptionModel ServerPropertiesForReplica has a new parameter minimal_tls_versionModel ServerPropertiesForReplica has a new parameter public_network_accessModel ServerForCreate has a new parameter identityModel ServerUpdateParameters has a new parameter minimal_tls_versionModel ServerUpdateParameters has a new parameter identityModel ServerUpdateParameters has a new parameter public_network_accessModel Server has a new parameter byok_enforcementModel Server has a new parameter minimal_tls_versionModel Server has a new parameter public_network_accessModel Server has a new parameter infrastructure_encryptionModel Server has a new parameter identityModel Server has a new parameter private_endpoint_connectionsModel ServerPropertiesForDefaultCreate has a new parameter infrastructure_encryptionModel ServerPropertiesForDefaultCreate has a new parameter minimal_tls_versionModel ServerPropertiesForDefaultCreate has a new parameter public_network_accessModel ServerPropertiesForGeoRestore has a new parameter infrastructure_encryptionModel ServerPropertiesForGeoRestore has a new parameter minimal_tls_versionModel ServerPropertiesForGeoRestore has a new parameter public_network_accessModel ServerPropertiesForCreate has a new parameter infrastructure_encryptionModel ServerPropertiesForCreate has a new parameter minimal_tls_versionModel ServerPropertiesForCreate has a new parameter public_network_accessModel ServerPropertiesForRestore has a new parameter infrastructure_encryptionModel ServerPropertiesForRestore has a new parameter minimal_tls_versionModel ServerPropertiesForRestore has a new parameter public_network_accessAdded operation group ServerKeysOperationsAdded operation group ServerAdministratorsOperations2.0.0 (2020-02-21)FeaturesAdded operation group PrivateLinkResourcesOperationsAdded operation group PrivateEndpointConnectionsOperationsAdded operation group AdvisorsOperationsAdded operation group MySQLManagementClientOperationsMixinAdded operation group QueryTextsOperationsAdded operation group RecommendedActionsOperationsAdded operation group MariaDBManagementClientOperationsMixinAdded operation group LocationBasedRecommendedActionSessionsOperationStatusOperationsAdded operation group LocationBasedRecommendedActionSessionsResultOperationsAdded operation group WaitStatisticsOperationsAdded operation group TopQueryStatisticsOperationsGeneral 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.MariaDBManagementClient cannot be imported fromazure.mgmt.rdbms.mariadb.maria_db_management_clientanymore (import fromazure.mgmt.rdbms.mariadbworks like before)KustoManagementClientConfiguration import has been moved fromazure.mgmt.rdbms.mariadb.maria_db_management_clienttoazure.mgmt.rdbms.mariadbA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.rdbms.mariadb.models.my_class(import fromazure.mgmt.rdbms.mariadb.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.rdbms.mariadb.operations.my_class_operations(import fromazure.mgmt.rdbms.mariadb.operationsworks like before)MySQLManagementClient cannot be imported fromazure.mgmt.rdbms.mysql.my_sql_management_clientanymore (import fromazure.mgmt.rdbms.mysqlworks like before)MySQLManagementClientConfiguration import has been moved fromazure.mgmt.rdbms.mysql.my_sql_management_clienttoazure.mgmt.rdbms.mysqlA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.rdbms.mysql.models.my_class(import fromazure.mgmt.rdbms.mysql.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.rdbms.mysql.operations.my_class_operations(import fromazure.mgmt.rdbms.mysql.operationsworks like before)PostgreSQLManagementClient cannot be imported fromazure.mgmt.rdbms.postgresql.postgre_sql_management_clientanymore (import fromazure.mgmt.rdbms.postgresqlworks like before)PostgreSQLManagementClientConfiguration import has been moved fromazure.mgmt.rdbms.postgresql.my_sql_management_clienttoazure.mgmt.rdbms.postgresqlA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.rdbms.postgresql.models.my_class(import fromazure.mgmt.rdbms.postgresql.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.rdbms.postgresql.operations.my_class_operations(import fromazure.mgmt.rdbms.postgresql.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.1.9.0 (2019-06-04)FeaturesAdd storage_autogrow in all DBSupport for PG111.8.0 (2019-04-08)FeaturesModel ServerUpdateParameters has a new parameter replication_role1.7.1 (2019-03-18)Features (PostgreSQL only)Model Server has a new parameter replica_capacityModel Server has a new parameter replication_roleModel Server has a new parameter master_server_idAdded operation group ReplicasOperations1.7.0 (2019-03-01)Features (MariaDB only)Model ServerUpdateParameters has a new parameter replication_roleModel Server has a new parameter master_server_idModel Server has a new parameter replica_capacityModel Server has a new parameter replication_roleAdded operation ServersOperations.restartAdded operation group ReplicasOperations1.6.0 (2019-02-26)FeaturesAdded operation ServersOperations.restart1.5.0 (2018-10-30)FeaturesAdded operation group VirtualNetworkRulesOperations for MariaDB1.4.1 (2018-10-16)BugfixFix sdist broken in 1.4.0. No code change.1.4.0 (2018-10-11)FeaturesModel Server has a new parameter replication_roleModel Server has a new parameter master_server_idModel Server has a new parameter replica_capacityModel ServerUpdateParameters has a new parameter replication_roleAdded operation group ReplicasOperationsNoteazure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based
namespace package)1.3.0 (2018-09-13)FeaturesAdded operation group ServerSecurityAlertPoliciesOperations (MySQL
only)Added support for PostregreSQL 10.xAdded support for MariaDB (public preview)1.2.0 (2018-05-30)FeaturesAdded operation group VirtualNetworkRulesOperationsAdded operation group ServerSecurityAlertPoliciesOperations
(PostgreSQL only)Client class can be used as a context manager to keep the underlying
HTTP session open for performance1.1.1 (2018-04-17)BugfixesFix some invalid models in Python 3Compatibility of the sdist with wheel 0.31.01.1.0 (2018-03-29)FeaturesAdd Geo-Restore ability for MySQL and PostgreSQL1.0.0 (2018-03-19)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.RDBMS breaking changesSome properties moved from object "PerformanceTierProperties" to
"PerformanceTierServiceLevelObjectives "(One level down).Api Version is now 2017-12-010.3.1 (2018-02-28)Remove GeoRestore option that is not available yet.0.3.0 (2018-02-26)New pricing model release0.2.0rc1 (2017-10-16)VNET Rules API spec for Postgres and MySQL0.1.0 (2017-05-08)Initial Release