Azure App Configuration Data Library Python Samples

Prerequisites

To create a Configuration Store, you can either use Azure Portal or if you are using Azure CLI you can simply run the following snippet in your console:

az appconfig create --name <config-store-name> --resource-group <resource-group-name> --location eastus

Setup

Install the Azure App Configuration client library for Python with pip:

pip install azure-appconfiguration

Contents

File Description
hello_world_sample.py / hello_world_sample_async.py demos set/get/delete operations
hello_world_advanced_sample.py / hello_world_advanced_sample_async.py demos add/set with label/list operations
conditional_operation_sample.py / conditional_operation_sample_async.py demos conditional set/get/delete operations
read_only_sample.py / read_only_sample_async.py demos set_read_only operations
list_revision_sample.py / list_revision_sample_async.py demos list revision operations
sync_token_samples.py / sync_token_sample_async.py demos the update_sync_token method
snapshot_samples.py / snapshot_samples_async.py demos create/get/archive/recover/list operations on configuration setting snapshot