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
- Python 3.8+ is required to use this package.
- Azure subscription
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:
- Search Postgresqlflexibleservers 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
1.1.0b1 (2024-11-04)
Features Added
- Client
PostgreSQLManagementClient
added operation groupquota_usages
- Client
PostgreSQLManagementClient
added operation grouptuning_options
- Model
FlexibleServerCapability
added propertysupported_features
- Enum
IdentityType
added memberSYSTEM_ASSIGNED
- Model
Server
added propertycluster
- Model
ServerSkuCapability
added propertysupported_features
- Model
ServerSkuCapability
added propertysecurity_profile
- Enum
ServerVersion
added memberSEVENTEEN
- Model
ServerVersionCapability
added propertysupported_features
- Enum
SourceType
added memberAPSARA_DB_RDS
- Enum
SourceType
added memberCRUNCHY_POSTGRE_SQL
- Enum
SourceType
added memberDIGITAL_OCEAN_DROPLETS
- Enum
SourceType
added memberDIGITAL_OCEAN_POSTGRE_SQL
- Enum
SourceType
added memberEDB_ORACLE_SERVER
- Enum
SourceType
added memberEDB_POSTGRE_SQL
- Enum
SourceType
added memberHEROKU_POSTGRE_SQL
- Enum
SourceType
added memberHUAWEI_COMPUTE
- Enum
SourceType
added memberHUAWEI_RDS
- Enum
SourceType
added memberPOSTGRE_SQL_COSMOS_DB
- Enum
SourceType
added memberPOSTGRE_SQL_FLEXIBLE_SERVER
- Enum
SourceType
added memberSUPABASE_POSTGRE_SQL
- Enum
StorageType
added memberULTRA_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 memberCUSTOMER_ON_DEMAND
- Model
ServerForUpdate
added propertyadministrator_login
- Model
BackupsOperations
added methodbegin_create
- Model
BackupsOperations
added methodbegin_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 parametergeo_backup_encryption_key_status
- Model
DataEncryption
has a new parametergeo_backup_key_uri
- Model
DataEncryption
has a new parametergeo_backup_user_assigned_identity_id
- Model
DataEncryption
has a new parameterprimary_encryption_key_status
- Model
Storage
has a new parameterauto_grow
- Model
Storage
has a new parameteriops
- Model
Storage
has a new parameteriops_tier
- Model
Storage
has a new parameterthroughput
- Model
Storage
has a new parametertype
- Model
Server
has a new parameterprivate_endpoint_connections
- Model
Server
has a new parameterreplica
- Model
ServerForUpdate
has a new parameterreplica
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
Release history Release notifications | RSS feed
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
Hashes for azure_mgmt_postgresqlflexibleservers-1.1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ff024141cd3b2034ee1253c2bd875c3c400a313a865f9efbe84f255bc04dcad |
|
MD5 | 61c35ba8146762badd614fb62065bc82 |
|
BLAKE2b-256 | f65acdaf9bfdf66a468650eda6150f3dab18f4a34f0f1c8fea3eb0f5516a57a1 |
Hashes for azure_mgmt_postgresqlflexibleservers-1.1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09532252c0f68238cf5830f0ee4e55b0e0de4f988d4a3c3a6a8aab3386578e35 |
|
MD5 | f62d42c0e5447b7a9d0a92d2dd63a73d |
|
BLAKE2b-256 | 2f6a31087ea1aab85c36b6dd2abc9d548f6ee504b1e92751bf31604843a4c72f |