page_type | languages | products | |||
---|---|---|---|---|---|
sample |
|
|
- Python 3.8 or later is required to use this package.
- You must have an Azure subscription, and a Configuration Store to use this package.
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
Install the Azure App Configuration client library for Python with pip:
pip install azure-appconfiguration
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 |