Skip to main content

Microsoft Azure Postgresqlflexibleservers Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Postgresqlflexibleservers Management Client Library. This package has been tested with Python 3.8+. 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

Install the package

pip install azure-mgmt-postgresqlflexibleservers
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for 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.postgresqlflexibleservers import PostgreSQLManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = PostgreSQLManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

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

1.1.0b1 (2024-11-04)

Features Added

  • Client PostgreSQLManagementClient added operation group quota_usages
  • Client PostgreSQLManagementClient added operation group tuning_options
  • Model FlexibleServerCapability added property supported_features
  • Enum IdentityType added member SYSTEM_ASSIGNED
  • Model Server added property cluster
  • Model ServerSkuCapability added property supported_features
  • Model ServerSkuCapability added property security_profile
  • Enum ServerVersion added member SEVENTEEN
  • Model ServerVersionCapability added property supported_features
  • Enum SourceType added member APSARA_DB_RDS
  • Enum SourceType added member CRUNCHY_POSTGRE_SQL
  • Enum SourceType added member DIGITAL_OCEAN_DROPLETS
  • Enum SourceType added member DIGITAL_OCEAN_POSTGRE_SQL
  • Enum SourceType added member EDB_ORACLE_SERVER
  • Enum SourceType added member EDB_POSTGRE_SQL
  • Enum SourceType added member HEROKU_POSTGRE_SQL
  • Enum SourceType added member HUAWEI_COMPUTE
  • Enum SourceType added member HUAWEI_RDS
  • Enum SourceType added member POSTGRE_SQL_COSMOS_DB
  • Enum SourceType added member POSTGRE_SQL_FLEXIBLE_SERVER
  • Enum SourceType added member SUPABASE_POSTGRE_SQL
  • Enum StorageType added member ULTRA_SSD_LRS
  • Added model Cluster
  • Added model ImpactRecord
  • Added model IndexRecommendationDetails
  • Added model IndexRecommendationListResult
  • Added model IndexRecommendationResource
  • Added model IndexRecommendationResourcePropertiesAnalyzedWorkload
  • Added model IndexRecommendationResourcePropertiesImplementationDetails
  • Added model NameProperty
  • Added model QuotaUsage
  • Added model QuotaUsagesListResult
  • Added enum RecommendationType
  • Added enum RecommendationTypeEnum
  • Added model SupportedFeature
  • Added enum SupportedFeatureStatusEnum
  • Added enum TuningOptionEnum
  • Added model TuningOptionsListResult
  • Added model TuningOptionsResource

1.0.0 (2024-10-11)

Features Added

  • Enum Origin added member CUSTOMER_ON_DEMAND
  • Model ServerForUpdate added property administrator_login
  • Model BackupsOperations added method begin_create
  • Model BackupsOperations added method begin_delete
  • Added operation group LongRunningBackupOperations
  • Added operation group LongRunningBackupsOperations
  • Added operation group MaintenancesOperations
  • Added operation group LogFilesOperations
  • Added operation group MigrationsOperations
  • Added operation group PrivateEndpointConnectionOperations
  • Added operation group VirtualEndpointsOperations
  • Added operation group ServerThreatProtectionSettingsOperations
  • Added operation group AdvancedThreatProtectionSettingsOperations
  • Added operation group LocationBasedCapabilitySetOperations
  • Added operation group OperationProgressOperations
  • Added operation group OperationResultsOperations
  • 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 Storage has a new parameter auto_grow
  • Model Storage has a new parameter iops
  • Model Storage has a new parameter iops_tier
  • Model Storage has a new parameter throughput
  • Model Storage has a new parameter type
  • Model Server has a new parameter private_endpoint_connections
  • Model Server has a new parameter replica
  • Model ServerForUpdate has a new parameter replica

Breaking Changes

  • Deleted or renamed client operation group PostgreSQLManagementClient.quota_usages
  • Deleted or renamed model NameProperty
  • Deleted or renamed model QuotaUsage
  • Deleted or renamed model QuotaUsagesOperations

1.0.0b1 (2024-08-27)

Other Changes

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page