Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 5.54 KB

File metadata and controls

67 lines (55 loc) · 5.54 KB
page_type languages products
sample
python
azure
azure-app-configuration

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 how to add/update/retrieve/delete configuration settings
conditional_operation_sample.py / conditional_operation_sample_async.py demos how to conditional set/get/delete configuration settings
read_only_sample.py / read_only_sample_async.py demos how to set and clear read-only for configuration settings
list_configuration_settings_sample.py / list_configuration_settings_sample_async.py demos how to list configuration settings with optional filters
list_labels_sample.py / list_labels_sample_async.py demos how to list labels
list_revision_sample.py / list_revision_sample_async.py demos how to get configuration setting revision history
sync_token_sample.py / sync_token_sample_async.py demos how to update sync_token for an AzureAppConfigurationClient
snapshot_sample.py / snapshot_sample_async.py demos how to create/retrieve/archive/recover/list configuration settings snapshot and list configuration settings of a snapshot
send_request_sample.py / send_request_sample_async.py demos how to make custom HTTP requests through a client pipeline