Skip to content

Commit 12aa2b4

Browse files
shawncxSDK Automationmsxichen
authored
Release sdk 690 (Azure#13208)
* Generated from 5107876b1a1a064e036101a08ae2dbc5b8507b37 Add publicNetworkAccess property to ConfigurationStorePropertiesUpdateParameters * update changelog and version * update test recording Co-authored-by: SDK Automation <[email protected]> Co-authored-by: xichen <[email protected]>
1 parent 396e794 commit 12aa2b4

File tree

5 files changed

+53
-33
lines changed

5 files changed

+53
-33
lines changed

sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 0.6.0 (2020-08-19)
4+
5+
**Features**
6+
7+
- Model ConfigurationStoreUpdateParameters has a new parameter public_network_access
8+
39
## 0.5.0 (2020-07-01)
410

511
**Features**

sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ class ConfigurationStoreUpdateParameters(Model):
241241
242242
:param encryption: The encryption settings of the configuration store.
243243
:type encryption: ~azure.mgmt.appconfiguration.models.EncryptionProperties
244+
:param public_network_access: Control permission for data plane traffic
245+
coming from public networks while private endpoint is enabled. Possible
246+
values include: 'Enabled', 'Disabled'
247+
:type public_network_access: str or
248+
~azure.mgmt.appconfiguration.models.PublicNetworkAccess
244249
:param identity: The managed identity information for the configuration
245250
store.
246251
:type identity: ~azure.mgmt.appconfiguration.models.ResourceIdentity
@@ -252,6 +257,7 @@ class ConfigurationStoreUpdateParameters(Model):
252257

253258
_attribute_map = {
254259
'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'},
260+
'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'},
255261
'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
256262
'sku': {'key': 'sku', 'type': 'Sku'},
257263
'tags': {'key': 'tags', 'type': '{str}'},
@@ -260,6 +266,7 @@ class ConfigurationStoreUpdateParameters(Model):
260266
def __init__(self, **kwargs):
261267
super(ConfigurationStoreUpdateParameters, self).__init__(**kwargs)
262268
self.encryption = kwargs.get('encryption', None)
269+
self.public_network_access = kwargs.get('public_network_access', None)
263270
self.identity = kwargs.get('identity', None)
264271
self.sku = kwargs.get('sku', None)
265272
self.tags = kwargs.get('tags', None)

sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models_py3.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ class ConfigurationStoreUpdateParameters(Model):
241241
242242
:param encryption: The encryption settings of the configuration store.
243243
:type encryption: ~azure.mgmt.appconfiguration.models.EncryptionProperties
244+
:param public_network_access: Control permission for data plane traffic
245+
coming from public networks while private endpoint is enabled. Possible
246+
values include: 'Enabled', 'Disabled'
247+
:type public_network_access: str or
248+
~azure.mgmt.appconfiguration.models.PublicNetworkAccess
244249
:param identity: The managed identity information for the configuration
245250
store.
246251
:type identity: ~azure.mgmt.appconfiguration.models.ResourceIdentity
@@ -252,14 +257,16 @@ class ConfigurationStoreUpdateParameters(Model):
252257

253258
_attribute_map = {
254259
'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'},
260+
'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'},
255261
'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
256262
'sku': {'key': 'sku', 'type': 'Sku'},
257263
'tags': {'key': 'tags', 'type': '{str}'},
258264
}
259265

260-
def __init__(self, *, encryption=None, identity=None, sku=None, tags=None, **kwargs) -> None:
266+
def __init__(self, *, encryption=None, public_network_access=None, identity=None, sku=None, tags=None, **kwargs) -> None:
261267
super(ConfigurationStoreUpdateParameters, self).__init__(**kwargs)
262268
self.encryption = encryption
269+
self.public_network_access = public_network_access
263270
self.identity = identity
264271
self.sku = sku
265272
self.tags = tags

sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "0.5.0"
12+
VERSION = "0.6.0"
1313

sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,38 @@ interactions:
1414
Content-Type:
1515
- application/json; charset=utf-8
1616
User-Agent:
17-
- python/3.8.2 (Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29) msrest/0.6.16
18-
msrest_azure/0.6.3 azure-mgmt-appconfiguration/0.5.0 Azure-SDK-For-Python
17+
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.17 msrest_azure/0.6.3
18+
azure-mgmt-appconfiguration/0.6.0 Azure-SDK-For-Python
1919
accept-language:
2020
- en-US
2121
method: PUT
2222
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myConfigStore?api-version=2020-06-01
2323
response:
2424
body:
25-
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Creating","creationDate":"2020-07-01T05:08:12.3956086+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":null,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myConfigStore","name":"myConfigStore","location":"westus","tags":{}}'
25+
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Creating","creationDate":"2020-08-19T07:40:33.4890704+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":null,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myConfigStore","name":"myConfigStore","location":"westus","tags":{}}'
2626
headers:
2727
azure-asyncoperation:
28-
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/844d38f7-53db-ae21-de5e-79d46ca440d3?api-version=2020-06-01
28+
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/be96149a-d233-62e9-084f-23a497db5b5c?api-version=2020-06-01
2929
cache-control:
3030
- no-cache
3131
content-length:
3232
- '492'
3333
content-type:
3434
- application/json; charset=utf-8
3535
date:
36-
- Wed, 01 Jul 2020 05:08:14 GMT
36+
- Wed, 19 Aug 2020 07:40:34 GMT
3737
expires:
3838
- '-1'
3939
pragma:
4040
- no-cache
4141
server:
42-
- openresty/1.15.8.1
42+
- nginx/1.17.10
4343
strict-transport-security:
4444
- max-age=31536000; includeSubDomains
4545
x-content-type-options:
4646
- nosniff
4747
x-ms-ratelimit-remaining-subscription-writes:
48-
- '1198'
48+
- '1172'
4949
status:
5050
code: 201
5151
message: Created
@@ -59,30 +59,30 @@ interactions:
5959
Connection:
6060
- keep-alive
6161
User-Agent:
62-
- python/3.8.2 (Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29) msrest/0.6.16
63-
msrest_azure/0.6.3 azure-mgmt-appconfiguration/0.5.0 Azure-SDK-For-Python
62+
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.17 msrest_azure/0.6.3
63+
azure-mgmt-appconfiguration/0.6.0 Azure-SDK-For-Python
6464
method: GET
65-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/844d38f7-53db-ae21-de5e-79d46ca440d3?api-version=2020-06-01
65+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/be96149a-d233-62e9-084f-23a497db5b5c?api-version=2020-06-01
6666
response:
6767
body:
68-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/844d38f7-53db-ae21-de5e-79d46ca440d3","name":"844d38f7-53db-ae21-de5e-79d46ca440d3","status":"Succeeded","error":null}'
68+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/be96149a-d233-62e9-084f-23a497db5b5c","name":"be96149a-d233-62e9-084f-23a497db5b5c","status":"Succeeded","error":null}'
6969
headers:
7070
azure-asyncoperation:
71-
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/844d38f7-53db-ae21-de5e-79d46ca440d3?api-version=2020-06-01
71+
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/be96149a-d233-62e9-084f-23a497db5b5c?api-version=2020-06-01
7272
cache-control:
7373
- no-cache
7474
content-length:
7575
- '248'
7676
content-type:
7777
- application/json; charset=utf-8
7878
date:
79-
- Wed, 01 Jul 2020 05:08:24 GMT
79+
- Wed, 19 Aug 2020 07:40:45 GMT
8080
expires:
8181
- '-1'
8282
pragma:
8383
- no-cache
8484
server:
85-
- openresty/1.15.8.1
85+
- nginx/1.17.10
8686
strict-transport-security:
8787
- max-age=31536000; includeSubDomains
8888
transfer-encoding:
@@ -104,13 +104,13 @@ interactions:
104104
Connection:
105105
- keep-alive
106106
User-Agent:
107-
- python/3.8.2 (Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29) msrest/0.6.16
108-
msrest_azure/0.6.3 azure-mgmt-appconfiguration/0.5.0 Azure-SDK-For-Python
107+
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.17 msrest_azure/0.6.3
108+
azure-mgmt-appconfiguration/0.6.0 Azure-SDK-For-Python
109109
method: GET
110110
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myConfigStore?api-version=2020-06-01
111111
response:
112112
body:
113-
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Succeeded","creationDate":"2020-07-01T05:08:18+00:00","endpoint":"https://myconfigstore.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myconfigstore","name":"myConfigStore","location":"westus","tags":{"my_tag":"myTagValue"}}'
113+
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Succeeded","creationDate":"2020-08-19T07:40:35+00:00","endpoint":"https://myconfigstore.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myconfigstore","name":"myConfigStore","location":"westus","tags":{"my_tag":"myTagValue"}}'
114114
headers:
115115
cache-control:
116116
- no-cache
@@ -119,15 +119,15 @@ interactions:
119119
content-type:
120120
- application/json; charset=utf-8
121121
date:
122-
- Wed, 01 Jul 2020 05:08:25 GMT
122+
- Wed, 19 Aug 2020 07:40:45 GMT
123123
etag:
124-
- W/"0800d473-0000-0700-0000-5efc1a420000"
124+
- W/"0a00b17c-0000-0700-0000-5f3cd7720000"
125125
expires:
126126
- '-1'
127127
pragma:
128128
- no-cache
129129
server:
130-
- openresty/1.15.8.1
130+
- nginx/1.17.10
131131
strict-transport-security:
132132
- max-age=31536000; includeSubDomains
133133
transfer-encoding:
@@ -149,15 +149,15 @@ interactions:
149149
Connection:
150150
- keep-alive
151151
User-Agent:
152-
- python/3.8.2 (Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29) msrest/0.6.16
153-
msrest_azure/0.6.3 azure-mgmt-appconfiguration/0.5.0 Azure-SDK-For-Python
152+
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.17 msrest_azure/0.6.3
153+
azure-mgmt-appconfiguration/0.6.0 Azure-SDK-For-Python
154154
accept-language:
155155
- en-US
156156
method: GET
157157
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myConfigStore?api-version=2020-06-01
158158
response:
159159
body:
160-
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Succeeded","creationDate":"2020-07-01T05:08:18+00:00","endpoint":"https://myconfigstore.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myconfigstore","name":"myConfigStore","location":"westus","tags":{"my_tag":"myTagValue"}}'
160+
string: '{"type":"Microsoft.AppConfiguration/configurationStores","properties":{"provisioningState":"Succeeded","creationDate":"2020-08-19T07:40:35+00:00","endpoint":"https://myconfigstore.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_appconfiguration_test_appconfiguration39c8158a/providers/Microsoft.AppConfiguration/configurationStores/myconfigstore","name":"myConfigStore","location":"westus","tags":{"my_tag":"myTagValue"}}'
161161
headers:
162162
cache-control:
163163
- no-cache
@@ -166,15 +166,15 @@ interactions:
166166
content-type:
167167
- application/json; charset=utf-8
168168
date:
169-
- Wed, 01 Jul 2020 05:08:25 GMT
169+
- Wed, 19 Aug 2020 07:40:45 GMT
170170
etag:
171-
- W/"0800d473-0000-0700-0000-5efc1a420000"
171+
- W/"0a00b17c-0000-0700-0000-5f3cd7720000"
172172
expires:
173173
- '-1'
174174
pragma:
175175
- no-cache
176176
server:
177-
- openresty/1.15.8.1
177+
- nginx/1.17.10
178178
strict-transport-security:
179179
- max-age=31536000; includeSubDomains
180180
transfer-encoding:
@@ -198,8 +198,8 @@ interactions:
198198
Content-Length:
199199
- '0'
200200
User-Agent:
201-
- python/3.8.2 (Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29) msrest/0.6.16
202-
msrest_azure/0.6.3 azure-mgmt-appconfiguration/0.5.0 Azure-SDK-For-Python
201+
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.17 msrest_azure/0.6.3
202+
azure-mgmt-appconfiguration/0.6.0 Azure-SDK-For-Python
203203
accept-language:
204204
- en-US
205205
method: DELETE
@@ -213,19 +213,19 @@ interactions:
213213
content-length:
214214
- '0'
215215
date:
216-
- Wed, 01 Jul 2020 05:08:30 GMT
216+
- Wed, 19 Aug 2020 07:40:50 GMT
217217
expires:
218218
- '-1'
219219
pragma:
220220
- no-cache
221221
server:
222-
- openresty/1.15.8.1
222+
- nginx/1.17.10
223223
strict-transport-security:
224224
- max-age=31536000; includeSubDomains
225225
x-content-type-options:
226226
- nosniff
227227
x-ms-ratelimit-remaining-subscription-deletes:
228-
- '14998'
228+
- '14993'
229229
status:
230230
code: 200
231231
message: OK

0 commit comments

Comments
 (0)