azure-mgmt-rdbms
Microsoft Azure Rdbms Management Client Library for Python
Description
Microsoft Azure SDK for Python
This is the Microsoft Azure RDBMS Management Client Library. This package has been tested with Python 3.9+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.9+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-rdbms
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.rdbms.mysql import MySQLManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MySQLManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search RDBMS Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
10.1.1 (2025-11-25)
Bugs Fixed
- Fixed import error for last stable version
10.1.0after upgrade to latestazure-core
10.2.0b18 (2024-10-11)
Other Changes
- module
mysql_flexibleserversofazure-mgmt-rdbmsis deprecated and you can migrate to azure-mgmt-mysqlflexibleservers. It is very easy since you only need to change code fromfrom azure.mgmt.rdbms.mysql_flexibleservers import *tofrom azure.mgmt.mysqlflexibleservers import *. For more info, please see mysqlflexibleservers doc. - module
postgresql_flexibleserversofazure-mgmt-rdbmsis deprecated and you can migrate to azure-mgmt-postgresqlflexibleservers. It is very easy since you only need to change code fromfrom azure.mgmt.rdbms.postgresql_flexibleservers import *tofrom azure.mgmt.postgresqlflexibleservers import *. For more info, please see postgresqlflexibleservers doc. - Since DBForMySQL single server will be retired by 16 September 2024, if you are still using
mysqlofazure-mgmt-rdbms, please migrate to azure-mgmt-mysqlflexibleservers as soon as possible. - Since DBForPostgreSQL will be retired by 28 March 2025, if you are still using module
postgresqlofazure-mgmt-rdbms, please migrate to azure-mgmt-postgresqlflexibleservers as soon as possible.
10.2.0b17 (2024-06-03)
Features Added
- Added model ServerDetachVNetParameter
- Added model StorageRedundancyEnum
10.2.0b16 (2024-04-22)
Features Added
- Model MigrationResource has a new parameter migrate_roles
- Model MigrationResource has a new parameter migration_instance_resource_id
- Model MigrationResourceForPatch has a new parameter migrate_roles
10.2.0b15 (2024-03-04)
Features Added
- Added operation AdvancedThreatProtectionSettingsOperations.begin_update_put
- Added operation group LongRunningBackupOperations
- Added operation group LongRunningBackupsOperations
- Added operation group MaintenancesOperations
- Added operation group OperationProgressOperations
10.2.0b14 (2024-01-23)
Features Added
- Added operation group AdvancedThreatProtectionSettingsOperations
- Added operation group LocationBasedCapabilitySetOperations
- Added operation group OperationResultsOperations
10.2.0b13 (2023-12-18)
Other Changes
- Fix for ServerThreatProtectionSettingsOperations.begin_create_or_update
10.2.0b12 (2023-11-20)
Features Added
- Added operation group PrivateEndpointConnectionOperations
- Added operation group QuotaUsagesOperations
- Added operation group ServerThreatProtectionSettingsOperations
- Added operation group VirtualEndpointsOperations
- Model MigrationResource has a new parameter migration_option
- Model MigrationResource has a new parameter source_type
- Model MigrationResource has a new parameter ssl_mode
- Model MigrationSubStateDetails has a new parameter db_details
- Model MigrationSubStateDetails has a new parameter validation_details
- Model PrivateEndpointConnection has a new parameter group_ids
- Model PrivateEndpointConnection has a new parameter system_data
- Model PrivateLinkResource has a new parameter group_id
- Model PrivateLinkResource has a new parameter required_members
- Model PrivateLinkResource has a new parameter required_zone_names
- Model PrivateLinkResource has a new parameter system_data
- Model Server has a new parameter private_endpoint_connections
- Model Server has a new parameter replica
- Model ServerForUpdate has a new parameter replica
- Model Storage has a new parameter throughput
- Model Storage has a new parameter type
- Model StorageMbCapability has a new parameter maximum_storage_size_mb
- Model StorageMbCapability has a new parameter supported_maximum_iops
- Model StorageMbCapability has a new parameter supported_maximum_throughput
- Model StorageMbCapability has a new parameter supported_throughput
Breaking Changes
- Model PrivateLinkResource no longer has parameter properties
- Removed operation PrivateEndpointConnectionsOperations.begin_create_or_update
- Removed operation PrivateEndpointConnectionsOperations.begin_delete
- Removed operation PrivateEndpointConnectionsOperations.begin_update_tags
10.2.0b11 (2023-09-27)
Features Added
- Added operation group ServersMigrationOperations in
mysql_flexibleservers - Model BackupAndExportResponse has a new parameter system_data in
mysql_flexibleservers - Model ErrorResponse has a new parameter error in
mysql_flexibleservers - Model ProxyResource has a new parameter system_data in
mysql_flexibleservers - Model Resource has a new parameter system_data in
mysql_flexibleservers - Model Server has a new parameter import_source_properties in
mysql_flexibleservers - Model Server has a new parameter private_endpoint_connections in
mysql_flexibleservers - Model TrackedResource has a new parameter system_data in
mysql_flexibleservers
Breaking Changes
- Model ErrorResponse no longer has parameter additional_info in
mysql_flexibleservers - Model ErrorResponse no longer has parameter code in
mysql_flexibleservers - Model ErrorResponse no longer has parameter details in
mysql_flexibleservers - Model ErrorResponse no longer has parameter message in
mysql_flexibleservers - Model ErrorResponse no longer has parameter target in
mysql_flexibleservers - Enum BackupFormat has new value RAW and removes NONE in
mysql_flexibleservers - Enum SkuTier is renamed to ServerSkuTier in
mysql_flexibleservers - Model Storage rename parameter iops_tier to tier in
postgresql_flexibleservers
10.2.0b10 (2023-06-08)
Other Changes
- Updated auto-generated samples
10.2.0b9 (2023-05-26)
Features Added
- Added operation group FlexibleServerOperations
- Added operation group LogFilesOperations
- Added operation group LtrBackupOperationsOperations
- Added operation group MigrationsOperations
- Added operation group PostgreSQLManagementClientOperationsMixin
- Added operation group ServerCapabilitiesOperations
- Model DataEncryption has a new parameter geo_backup_encryption_key_status
- Model DataEncryption has a new parameter geo_backup_key_uri
- Model DataEncryption has a new parameter geo_backup_user_assigned_identity_id
- Model DataEncryption has a new parameter primary_encryption_key_status
- Model FastProvisioningEditionCapability has a new parameter reason
- Model FastProvisioningEditionCapability has a new parameter server_count
- Model FastProvisioningEditionCapability has a new parameter status
- Model FastProvisioningEditionCapability has a new parameter supported_tier
- Model FlexibleServerEditionCapability has a new parameter default_sku_name
- Model FlexibleServerEditionCapability has a new parameter reason
- Model FlexibleServerEditionCapability has a new parameter supported_server_skus
- Model ServerForUpdate has a new parameter network
- Model ServerVersionCapability has a new parameter reason
- Model Storage has a new parameter auto_grow
- Model Storag