diff --git a/sdk/appconfiguration/azure-appconfiguration/HISTORY.md b/sdk/appconfiguration/azure-appconfiguration/HISTORY.md index 670264ae08d5..a042e5fea819 100644 --- a/sdk/appconfiguration/azure-appconfiguration/HISTORY.md +++ b/sdk/appconfiguration/azure-appconfiguration/HISTORY.md @@ -3,6 +3,9 @@ # Release History ------------------- +## 2019-10-07 Version 1.0.0b4 +- Add conditional operation support +- Add set_read_only and clear_read_only methods ## 2019-09-09 Version 1.0.0b3 - New azure app configuration \ No newline at end of file diff --git a/sdk/appconfiguration/azure-appconfiguration/README.md b/sdk/appconfiguration/azure-appconfiguration/README.md index 9750dc9cd3df..90ad757be2fe 100644 --- a/sdk/appconfiguration/azure-appconfiguration/README.md +++ b/sdk/appconfiguration/azure-appconfiguration/README.md @@ -87,10 +87,9 @@ The following sections provide several code snippets covering some of the most c - [Configuration Setting](#configuration-setting) - [Examples](#examples) - [Create a Configuration Setting](#create-a-configuration-setting) - - [Retrieve a Configuration Setting](#retrieve-a-configuration-setting) - - [Update a Configuration Setting](#update-a-configuration-setting) + - [Get a Configuration Setting](#get-a-configuration-setting) - [Delete a Configuration Setting](#delete-a-configuration-setting) - - [Query Configuration Settings](#query-configuration-settings) + - [List Configuration Settings](#list-configuration-settings) - [Async Client](#async-client) - [Troubleshooting](#troubleshooting) - [Logging](#logging) @@ -120,8 +119,8 @@ config_setting = ConfigurationSetting( returned_config_setting = client.set_configuration_setting(config_setting) ``` -### Retrieve a Configuration Setting -Retrieve a previously stored Configuration Setting. +### Get a Configuration Setting +Get a previously stored Configuration Setting. ```python fetched_config_setting = client.get_configuration_setting( @@ -129,20 +128,6 @@ fetched_config_setting = client.get_configuration_setting( ) ``` -### Update a Configuration Setting -Use set_configuration_setting if you want to update a whole Configuration Setting object to the store. - -Use update_configuration_setting if you want to only update some attributes and leave other attributes as what they're - -```python -# key and label are the identifier of the setting. Only value will be updated. -updated_kv = client.update_configuration_setting( - key="MyKey", - label="MyLabel", - value="my updated value" -) -``` - ### Delete a Configuration Setting Delete an existing Configuration Setting by calling delete_configuration_setting @@ -152,7 +137,7 @@ deleted_config_setting = client.delete_configuration_setting( ) ``` -### Query Configuration Settings +### List Configuration Settings ```python filtered_listed = client.list_configuration_settings( diff --git a/sdk/appconfiguration/azure-appconfiguration/setup.py b/sdk/appconfiguration/azure-appconfiguration/setup.py index e52c9a625acb..b48a84ffbe48 100644 --- a/sdk/appconfiguration/azure-appconfiguration/setup.py +++ b/sdk/appconfiguration/azure-appconfiguration/setup.py @@ -85,8 +85,8 @@ zip_safe=False, packages=find_packages(exclude=exclude_packages), install_requires=[ - "msrest>=0.5.0", - "azure-core<2.0.0,>=1.0.0b2", + "msrest>=0.6.10", + "azure-core<2.0.0,>=1.0.0b4", ], extras_require={ ":python_version<'3.0'": ['azure-nspkg'], diff --git a/shared_requirements.txt b/shared_requirements.txt index 601385e1a452..f234991091e1 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -109,4 +109,6 @@ six>=1.6 #override azure-eventhub azure-core<2.0.0,>=1.0.0b4 #override azure-cosmos azure-core<2.0.0,>=1.0.0b3 #override azure-eventhub-checkpointstoreblob-aio azure-storage-blob<=12.0.0b4,>=12.0.0b2 -#override azure-eventhub-checkpointstoreblob-aio aiohttp<4.0,>=3.0 \ No newline at end of file +#override azure-eventhub-checkpointstoreblob-aio aiohttp<4.0,>=3.0 +#override azure-appconfiguration azure-core<2.0.0,>=1.0.0b4 +#override azure-appconfiguration msrest>=0.6.10 \ No newline at end of file