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

File details

Details for the file azure_mgmt_postgresqlflexibleservers-1.1.0b1.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_postgresqlflexibleservers-1.1.0b1.tar.gz
Algorithm Hash digest
SHA256 5ff024141cd3b2034ee1253c2bd875c3c400a313a865f9efbe84f255bc04dcad
MD5 61c35ba8146762badd614fb62065bc82
BLAKE2b-256 f65acdaf9bfdf66a468650eda6150f3dab18f4a34f0f1c8fea3eb0f5516a57a1

See more details on using hashes here.

File details

Details for the file azure_mgmt_postgresqlflexibleservers-1.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_postgresqlflexibleservers-1.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 09532252c0f68238cf5830f0ee4e55b0e0de4f988d4a3c3a6a8aab3386578e35
MD5 f62d42c0e5447b7a9d0a92d2dd63a73d
BLAKE2b-256 2f6a31087ea1aab85c36b6dd2abc9d548f6ee504b1e92751bf31604843a4c72f

See more details on using hashes here.

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