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.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.0.0.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_postgresqlflexibleservers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e5a4a99d4093a25f8bd70ed7669e9dd9044df8bc463a9514ced88c42a903e791
MD5 bc33dc502d7a850f5b4a87074bd198de
BLAKE2b-256 dd25be89d3c2f968dafea64fc03bda2ddf4d73acea84b58511e752c9720b2882

See more details on using hashes here.

File details

Details for the file azure_mgmt_postgresqlflexibleservers-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_postgresqlflexibleservers-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55e5ac1b6e9a0ced83e5d109a425b18d971d2b1589cd8910a0c4da9fd18e349c
MD5 c39a2f90a96d3a2f3ee1767eff3852fe
BLAKE2b-256 e4831b3aeb1be721636746a5abacc587305836da6f0bb48ed6025b792454fe05

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