Skip to content

Commit e69ef90

Browse files
author
SDKAuto
committed
CodeGen from PR 14805 in Azure/azure-rest-api-specs
Merge 6ed401ff03a8bebd29d4f54c0271ceb2728c1ba1 into 831e2d1
1 parent 074f36d commit e69ef90

File tree

23 files changed

+106
-126
lines changed

23 files changed

+106
-126
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"autorest": "3.4.2",
33
"use": [
4-
"@autorest/[email protected].0",
5-
"@autorest/[email protected].1"
4+
"@autorest/[email protected].1",
5+
"@autorest/[email protected].2"
66
],
7-
"commit": "6f3b0ae9e4a5367c910eb573049bf1a75de6e62e",
7+
"commit": "a6fc9f4c3c198c97fe77109bf25b74343cae78c5",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected].1 --version=3.4.2",
9+
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected].2 --version=3.4.2",
1010
"readme": "specification/web/resource-manager/readme.md"
1111
}

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.0.0"
9+
VERSION = "0.42.0"

sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models.py

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,6 @@ def __init__(
278278
class ApiKVReference(msrest.serialization.Model):
279279
"""Description of site key vault references.
280280

281-
Variables are only populated by the server, and will be ignored when sending a request.
282-
283281
:param reference:
284282
:type reference: str
285283
:param status: Possible values include: "Initialized", "Resolved", "InvalidSyntax",
@@ -297,17 +295,14 @@ class ApiKVReference(msrest.serialization.Model):
297295
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
298296
:param details:
299297
:type details: str
300-
:ivar source: Default value: "KeyVault".
301-
:vartype source: str
302-
:ivar location: Default value: "ApplicationSetting".
303-
:vartype location: str
298+
:param source: The only acceptable values to pass in are None and "KeyVault". The default
299+
value is None.
300+
:type source: str
301+
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
302+
default value is None.
303+
:type location: str
304304
"""
305305

306-
_validation = {
307-
'source': {'constant': True},
308-
'location': {'constant': True},
309-
}
310-
311306
_attribute_map = {
312307
'reference': {'key': 'reference', 'type': 'str'},
313308
'status': {'key': 'status', 'type': 'str'},
@@ -320,9 +315,6 @@ class ApiKVReference(msrest.serialization.Model):
320315
'location': {'key': 'location', 'type': 'str'},
321316
}
322317

323-
source = "KeyVault"
324-
location = "ApplicationSetting"
325-
326318
def __init__(
327319
self,
328320
**kwargs
@@ -335,6 +327,8 @@ def __init__(
335327
self.secret_version = kwargs.get('secret_version', None)
336328
self.identity_type = kwargs.get('identity_type', None)
337329
self.details = kwargs.get('details', None)
330+
self.source = kwargs.get('source', None)
331+
self.location = kwargs.get('location', None)
338332

339333

340334
class ApiManagementConfig(msrest.serialization.Model):
@@ -7262,18 +7256,18 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
72627256
:type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType
72637257
:param details:
72647258
:type details: str
7265-
:ivar source: Default value: "KeyVault".
7266-
:vartype source: str
7267-
:ivar location: Default value: "ApplicationSetting".
7268-
:vartype location: str
7259+
:param source: The only acceptable values to pass in are None and "KeyVault". The default
7260+
value is None.
7261+
:type source: str
7262+
:param location: The only acceptable values to pass in are None and "ApplicationSetting". The
7263+
default value is None.
7264+
:type location: str
72697265
"""
72707266

72717267
_validation = {
72727268
'id': {'readonly': True},
72737269
'name': {'readonly': True},
72747270
'type': {'readonly': True},
7275-
'source': {'constant': True},
7276-
'location': {'constant': True},
72777271
}
72787272

72797273
_attribute_map = {
@@ -7292,9 +7286,6 @@ class KeyVaultReferenceResource(ProxyOnlyResource):
72927286
'location': {'key': 'properties.location', 'type': 'str'},
72937287
}
72947288

7295-
source = "KeyVault"
7296-
location = "ApplicationSetting"
7297-
72987289
def __init__(
72997290
self,
73007291
**kwargs
@@ -7307,6 +7298,8 @@ def __init__(
73077298
self.secret_version = kwargs.get('secret_version', None)
73087299
self.identity_type = kwargs.get('identity_type', None)
73097300
self.details = kwargs.get('details', None)
7301+
self.source = kwargs.get('source', None)
7302+
self.location = kwargs.get('location', None)
73107303

73117304

73127305
class LocalizableString(msrest.serialization.Model):

0 commit comments

Comments
 (0)