diff --git a/sdk/appservice/azure-mgmt-web/_meta.json b/sdk/appservice/azure-mgmt-web/_meta.json index b048c8461f24..4a8689971c9f 100644 --- a/sdk/appservice/azure-mgmt-web/_meta.json +++ b/sdk/appservice/azure-mgmt-web/_meta.json @@ -1,11 +1,11 @@ { "autorest": "3.4.2", "use": [ - "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/python@5.8.1", + "@autorest/modelerfour@4.19.2" ], - "commit": "6f3b0ae9e4a5367c910eb573049bf1a75de6e62e", + "commit": "d9249ed91d16c8ff8bf81e2df13e54bd0439bb64", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "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/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "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/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/web/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models.py index fbea109c29d2..f0b031966cea 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models.py @@ -278,8 +278,6 @@ def __init__( class ApiKVReference(msrest.serialization.Model): """Description of site key vault references. - Variables are only populated by the server, and will be ignored when sending a request. - :param reference: :type reference: str :param status: Possible values include: "Initialized", "Resolved", "InvalidSyntax", @@ -297,17 +295,14 @@ class ApiKVReference(msrest.serialization.Model): :type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str - :ivar location: Default value: "ApplicationSetting". - :vartype location: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str + :param location: The only acceptable values to pass in are None and "ApplicationSetting". The + default value is None. + :type location: str """ - _validation = { - 'source': {'constant': True}, - 'location': {'constant': True}, - } - _attribute_map = { 'reference': {'key': 'reference', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, @@ -320,9 +315,6 @@ class ApiKVReference(msrest.serialization.Model): 'location': {'key': 'location', 'type': 'str'}, } - source = "KeyVault" - location = "ApplicationSetting" - def __init__( self, **kwargs @@ -335,6 +327,8 @@ def __init__( self.secret_version = kwargs.get('secret_version', None) self.identity_type = kwargs.get('identity_type', None) self.details = kwargs.get('details', None) + self.source = kwargs.get('source', None) + self.location = kwargs.get('location', None) class ApiManagementConfig(msrest.serialization.Model): @@ -7262,18 +7256,18 @@ class KeyVaultReferenceResource(ProxyOnlyResource): :type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str - :ivar location: Default value: "ApplicationSetting". - :vartype location: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str + :param location: The only acceptable values to pass in are None and "ApplicationSetting". The + default value is None. + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, - 'location': {'constant': True}, } _attribute_map = { @@ -7292,9 +7286,6 @@ class KeyVaultReferenceResource(ProxyOnlyResource): 'location': {'key': 'properties.location', 'type': 'str'}, } - source = "KeyVault" - location = "ApplicationSetting" - def __init__( self, **kwargs @@ -7307,6 +7298,8 @@ def __init__( self.secret_version = kwargs.get('secret_version', None) self.identity_type = kwargs.get('identity_type', None) self.details = kwargs.get('details', None) + self.source = kwargs.get('source', None) + self.location = kwargs.get('location', None) class LocalizableString(msrest.serialization.Model): diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py index 806acb3d6063..2ce966c83db1 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py @@ -313,8 +313,6 @@ def __init__( class ApiKVReference(msrest.serialization.Model): """Description of site key vault references. - Variables are only populated by the server, and will be ignored when sending a request. - :param reference: :type reference: str :param status: Possible values include: "Initialized", "Resolved", "InvalidSyntax", @@ -332,17 +330,14 @@ class ApiKVReference(msrest.serialization.Model): :type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str - :ivar location: Default value: "ApplicationSetting". - :vartype location: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str + :param location: The only acceptable values to pass in are None and "ApplicationSetting". The + default value is None. + :type location: str """ - _validation = { - 'source': {'constant': True}, - 'location': {'constant': True}, - } - _attribute_map = { 'reference': {'key': 'reference', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, @@ -355,9 +350,6 @@ class ApiKVReference(msrest.serialization.Model): 'location': {'key': 'location', 'type': 'str'}, } - source = "KeyVault" - location = "ApplicationSetting" - def __init__( self, *, @@ -368,6 +360,8 @@ def __init__( secret_version: Optional[str] = None, identity_type: Optional[Union[str, "ManagedServiceIdentityType"]] = None, details: Optional[str] = None, + source: Optional[str] = None, + location: Optional[str] = None, **kwargs ): super(ApiKVReference, self).__init__(**kwargs) @@ -378,6 +372,8 @@ def __init__( self.secret_version = secret_version self.identity_type = identity_type self.details = details + self.source = source + self.location = location class ApiManagementConfig(msrest.serialization.Model): @@ -8004,18 +8000,18 @@ class KeyVaultReferenceResource(ProxyOnlyResource): :type identity_type: str or ~azure.mgmt.web.v2019_08_01.models.ManagedServiceIdentityType :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str - :ivar location: Default value: "ApplicationSetting". - :vartype location: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str + :param location: The only acceptable values to pass in are None and "ApplicationSetting". The + default value is None. + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, - 'location': {'constant': True}, } _attribute_map = { @@ -8034,9 +8030,6 @@ class KeyVaultReferenceResource(ProxyOnlyResource): 'location': {'key': 'properties.location', 'type': 'str'}, } - source = "KeyVault" - location = "ApplicationSetting" - def __init__( self, *, @@ -8048,6 +8041,8 @@ def __init__( secret_version: Optional[str] = None, identity_type: Optional[Union[str, "ManagedServiceIdentityType"]] = None, details: Optional[str] = None, + source: Optional[str] = None, + location: Optional[str] = None, **kwargs ): super(KeyVaultReferenceResource, self).__init__(kind=kind, **kwargs) @@ -8058,6 +8053,8 @@ def __init__( self.secret_version = secret_version self.identity_type = identity_type self.details = details + self.source = source + self.location = location class LocalizableString(msrest.serialization.Model): diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models.py index 555f480224de..76cc2afdc378 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models.py @@ -8991,8 +8991,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: Default value: "ClientSecretPost". - :vartype method: str + :param method: The only acceptable values to pass in are None and "ClientSecretPost". The + default value is None. + :type method: str :param client_secret_setting_name: :type client_secret_setting_name: str """ @@ -9001,7 +9002,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -9013,13 +9013,12 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(**kwargs) + self.method = kwargs.get('method', None) self.client_secret_setting_name = kwargs.get('client_secret_setting_name', None) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py index 6a8c229f9832..1f479b98b4eb 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py @@ -9909,8 +9909,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: Default value: "ClientSecretPost". - :vartype method: str + :param method: The only acceptable values to pass in are None and "ClientSecretPost". The + default value is None. + :type method: str :param client_secret_setting_name: :type client_secret_setting_name: str """ @@ -9919,7 +9920,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -9931,16 +9931,16 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, *, kind: Optional[str] = None, + method: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(kind=kind, **kwargs) + self.method = method self.client_secret_setting_name = client_secret_setting_name diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models.py index eace9dd21636..bbe19901d635 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models.py @@ -9360,8 +9360,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :vartype type: str :ivar system_data: The system metadata relating to this resource. :vartype system_data: ~azure.mgmt.web.v2020_09_01.models.SystemData - :ivar method: Default value: "ClientSecretPost". - :vartype method: str + :param method: The only acceptable values to pass in are None and "ClientSecretPost". The + default value is None. + :type method: str :param client_secret_setting_name: :type client_secret_setting_name: str """ @@ -9371,7 +9372,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'system_data': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -9384,13 +9384,12 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(**kwargs) + self.method = kwargs.get('method', None) self.client_secret_setting_name = kwargs.get('client_secret_setting_name', None) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py index 26734765f690..dde4be72d5b9 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py @@ -10287,8 +10287,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :vartype type: str :ivar system_data: The system metadata relating to this resource. :vartype system_data: ~azure.mgmt.web.v2020_09_01.models.SystemData - :ivar method: Default value: "ClientSecretPost". - :vartype method: str + :param method: The only acceptable values to pass in are None and "ClientSecretPost". The + default value is None. + :type method: str :param client_secret_setting_name: :type client_secret_setting_name: str """ @@ -10298,7 +10299,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'system_data': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -10311,16 +10311,16 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, *, kind: Optional[str] = None, + method: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(kind=kind, **kwargs) + self.method = method self.client_secret_setting_name = client_secret_setting_name diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models.py index b5ec0fd0c1c0..d4c1e71f5add 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models.py @@ -343,8 +343,9 @@ class ApiKVReference(ProxyOnlyResource): :type identity_type: ~azure.mgmt.web.v2020_12_01.models.ManagedServiceIdentity :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str :param active_version: :type active_version: str """ @@ -353,7 +354,6 @@ class ApiKVReference(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, } _attribute_map = { @@ -372,8 +372,6 @@ class ApiKVReference(ProxyOnlyResource): 'active_version': {'key': 'properties.activeVersion', 'type': 'str'}, } - source = "KeyVault" - def __init__( self, **kwargs @@ -386,6 +384,7 @@ def __init__( self.secret_version = kwargs.get('secret_version', None) self.identity_type = kwargs.get('identity_type', None) self.details = kwargs.get('details', None) + self.source = kwargs.get('source', None) self.active_version = kwargs.get('active_version', None) @@ -9841,9 +9840,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: The method that should be used to authenticate the user. Default value: - "ClientSecretPost". - :vartype method: str + :param method: The method that should be used to authenticate the user. The only acceptable + values to pass in are None and "ClientSecretPost". The default value is None. + :type method: str :param client_secret_setting_name: The app setting that contains the client secret for the custom Open ID Connect provider. :type client_secret_setting_name: str @@ -9853,7 +9852,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -9865,13 +9863,12 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(**kwargs) + self.method = kwargs.get('method', None) self.client_secret_setting_name = kwargs.get('client_secret_setting_name', None) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py index 4732ccbb0c25..b817ad585630 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py @@ -381,8 +381,9 @@ class ApiKVReference(ProxyOnlyResource): :type identity_type: ~azure.mgmt.web.v2020_12_01.models.ManagedServiceIdentity :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str :param active_version: :type active_version: str """ @@ -391,7 +392,6 @@ class ApiKVReference(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, } _attribute_map = { @@ -410,8 +410,6 @@ class ApiKVReference(ProxyOnlyResource): 'active_version': {'key': 'properties.activeVersion', 'type': 'str'}, } - source = "KeyVault" - def __init__( self, *, @@ -423,6 +421,7 @@ def __init__( secret_version: Optional[str] = None, identity_type: Optional["ManagedServiceIdentity"] = None, details: Optional[str] = None, + source: Optional[str] = None, active_version: Optional[str] = None, **kwargs ): @@ -434,6 +433,7 @@ def __init__( self.secret_version = secret_version self.identity_type = identity_type self.details = details + self.source = source self.active_version = active_version @@ -10802,9 +10802,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: The method that should be used to authenticate the user. Default value: - "ClientSecretPost". - :vartype method: str + :param method: The method that should be used to authenticate the user. The only acceptable + values to pass in are None and "ClientSecretPost". The default value is None. + :type method: str :param client_secret_setting_name: The app setting that contains the client secret for the custom Open ID Connect provider. :type client_secret_setting_name: str @@ -10814,7 +10814,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -10826,16 +10825,16 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, *, kind: Optional[str] = None, + method: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(kind=kind, **kwargs) + self.method = method self.client_secret_setting_name = client_secret_setting_name diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py index cac9f5d10f8b..5c14e0d8303d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models.py index 2b65332fadf3..d4683631b0f3 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models.py @@ -343,8 +343,9 @@ class ApiKVReference(ProxyOnlyResource): :type identity_type: ~azure.mgmt.web.v2021_01_01.models.ManagedServiceIdentity :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str :param active_version: :type active_version: str """ @@ -353,7 +354,6 @@ class ApiKVReference(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, } _attribute_map = { @@ -372,8 +372,6 @@ class ApiKVReference(ProxyOnlyResource): 'active_version': {'key': 'properties.activeVersion', 'type': 'str'}, } - source = "KeyVault" - def __init__( self, **kwargs @@ -386,6 +384,7 @@ def __init__( self.secret_version = kwargs.get('secret_version', None) self.identity_type = kwargs.get('identity_type', None) self.details = kwargs.get('details', None) + self.source = kwargs.get('source', None) self.active_version = kwargs.get('active_version', None) @@ -10192,9 +10191,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: The method that should be used to authenticate the user. Default value: - "ClientSecretPost". - :vartype method: str + :param method: The method that should be used to authenticate the user. The only acceptable + values to pass in are None and "ClientSecretPost". The default value is None. + :type method: str :param client_secret_setting_name: The app setting that contains the client secret for the custom Open ID Connect provider. :type client_secret_setting_name: str @@ -10204,7 +10203,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -10216,13 +10214,12 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(**kwargs) + self.method = kwargs.get('method', None) self.client_secret_setting_name = kwargs.get('client_secret_setting_name', None) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py index 89ccfc4fb0da..67bda0739556 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py @@ -381,8 +381,9 @@ class ApiKVReference(ProxyOnlyResource): :type identity_type: ~azure.mgmt.web.v2021_01_01.models.ManagedServiceIdentity :param details: :type details: str - :ivar source: Default value: "KeyVault". - :vartype source: str + :param source: The only acceptable values to pass in are None and "KeyVault". The default + value is None. + :type source: str :param active_version: :type active_version: str """ @@ -391,7 +392,6 @@ class ApiKVReference(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'constant': True}, } _attribute_map = { @@ -410,8 +410,6 @@ class ApiKVReference(ProxyOnlyResource): 'active_version': {'key': 'properties.activeVersion', 'type': 'str'}, } - source = "KeyVault" - def __init__( self, *, @@ -423,6 +421,7 @@ def __init__( secret_version: Optional[str] = None, identity_type: Optional["ManagedServiceIdentity"] = None, details: Optional[str] = None, + source: Optional[str] = None, active_version: Optional[str] = None, **kwargs ): @@ -434,6 +433,7 @@ def __init__( self.secret_version = secret_version self.identity_type = identity_type self.details = details + self.source = source self.active_version = active_version @@ -11193,9 +11193,9 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str - :ivar method: The method that should be used to authenticate the user. Default value: - "ClientSecretPost". - :vartype method: str + :param method: The method that should be used to authenticate the user. The only acceptable + values to pass in are None and "ClientSecretPost". The default value is None. + :type method: str :param client_secret_setting_name: The app setting that contains the client secret for the custom Open ID Connect provider. :type client_secret_setting_name: str @@ -11205,7 +11205,6 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'method': {'constant': True}, } _attribute_map = { @@ -11217,16 +11216,16 @@ class OpenIdConnectClientCredential(ProxyOnlyResource): 'client_secret_setting_name': {'key': 'properties.clientSecretSettingName', 'type': 'str'}, } - method = "ClientSecretPost" - def __init__( self, *, kind: Optional[str] = None, + method: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs ): super(OpenIdConnectClientCredential, self).__init__(kind=kind, **kwargs) + self.method = method self.client_secret_setting_name = client_secret_setting_name