Skip to main content

Microsoft Azure Redis Enterprise Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Redis Enterprise 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-redisenterprise
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.redisenterprise import RedisEnterpriseManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = RedisEnterpriseManagementClient(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

3.1.0b1 (2024-05-20)

Features Added

  • Added operation DatabasesOperations.begin_force_link_to_replication_group
  • Added operation DatabasesOperations.begin_upgrade_db_redis_version
  • Model Database has a new parameter defer_upgrade
  • Model Database has a new parameter redis_version
  • Model DatabaseUpdate has a new parameter defer_upgrade
  • Model DatabaseUpdate has a new parameter redis_version

3.0.0 (2024-03-04)

Features Added

  • Added operation DatabasesOperations.begin_flush
  • Model Cluster has a new parameter encryption
  • Model Cluster has a new parameter identity
  • Model ClusterUpdate has a new parameter encryption
  • Model ClusterUpdate has a new parameter identity

Breaking Changes

  • Renamed operation PrivateEndpointConnectionsOperations.delete to PrivateEndpointConnectionsOperations.begin_delete

2.1.0b2 (2023-04-20)

Features Added

  • Added operation DatabasesOperations.begin_flush
  • Added operation group SkusOperations
  • Model Cluster has a new parameter encryption
  • Model Cluster has a new parameter identity
  • Model Cluster has a new parameter system_data
  • Model ClusterUpdate has a new parameter encryption
  • Model ClusterUpdate has a new parameter identity
  • Model Database has a new parameter system_data
  • Model PrivateEndpointConnection has a new parameter system_data
  • Model PrivateLinkResource has a new parameter system_data
  • Model ProxyResource has a new parameter system_data
  • Model Resource has a new parameter system_data
  • Model TrackedResource has a new parameter system_data

2.1.0b1 (2022-11-22)

Other Changes

  • Added generated samples in github repo
  • Drop support for python<3.7.0

2.0.0 (2022-04-04)

Features

  • Added operation DatabasesOperations.begin_force_unlink
  • Model Database has a new parameter geo_replication
  • Model DatabaseUpdate has a new parameter geo_replication

Breaking changes

  • Model ImportClusterParameters has a new required parameter sas_uris
  • Model ImportClusterParameters no longer has parameter sas_uri

1.0.0 (2021-02-22)

Features

  • Model Database has a new parameter persistence
  • Model DatabaseUpdate has a new parameter persistence
  • Added operation PrivateLinkResourcesOperations.list_by_cluster
  • Added operation group OperationsStatusOperations

Breaking changes

  • Removed operation PrivateLinkResourcesOperations.list_by_redis_enterprise_cache
  • Removed operation group GetOperations

1.0.0b1 (2021-02-02)

  • Initial Release

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

azure-mgmt-redisenterprise-3.1.0b1.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file azure-mgmt-redisenterprise-3.1.0b1.tar.gz.

File metadata

File hashes

Hashes for azure-mgmt-redisenterprise-3.1.0b1.tar.gz
Algorithm Hash digest
SHA256 56af439a7d849804826437c101cdc18ee505e3870a77e38d0db3624dc2bf181f
MD5 2609a9d02dbbbaeaec600256e2ad9799
BLAKE2b-256 772fb664e038c2fcb5e84ebc7d7dc31dd3968cff306dc9ec7709f8a2e27565b5

See more details on using hashes here.

File details

Details for the file azure_mgmt_redisenterprise-3.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_redisenterprise-3.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8b1035bd0edac680dd4de77d8ff46527fea0bce3c4bdb11eaf26f38b42f44f
MD5 7618652db2fe7eb6a382c54982f458b5
BLAKE2b-256 226d78774c59d1f65c53762f6d177af1170eb4119feaeec9da244e485187a0c8

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