diff --git a/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection.py b/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection.py index 2be27718772f..8db4f14440bb 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection.py +++ b/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection.py @@ -50,6 +50,9 @@ class VpnConnection(SubResource): :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security :type enable_internet_security: bool + :param use_local_azure_ip_address: Use local azure ip to initiate + connection + :type use_local_azure_ip_address: bool :param provisioning_state: The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :type provisioning_state: str or @@ -82,6 +85,7 @@ class VpnConnection(SubResource): 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -101,6 +105,7 @@ def __init__(self, **kwargs): self.ipsec_policies = kwargs.get('ipsec_policies', None) self.enable_rate_limiting = kwargs.get('enable_rate_limiting', None) self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.use_local_azure_ip_address = kwargs.get('use_local_azure_ip_address', None) self.provisioning_state = kwargs.get('provisioning_state', None) self.name = kwargs.get('name', None) self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection_py3.py b/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection_py3.py index a1285baeea48..26ff43fae326 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/vpn_connection_py3.py @@ -50,6 +50,9 @@ class VpnConnection(SubResource): :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security :type enable_internet_security: bool + :param use_local_azure_ip_address: Use local azure ip to initiate + connection + :type use_local_azure_ip_address: bool :param provisioning_state: The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :type provisioning_state: str or @@ -82,12 +85,13 @@ class VpnConnection(SubResource): 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, enable_internet_security: bool=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, enable_internet_security: bool=None, use_local_azure_ip_address: bool=None, provisioning_state=None, name: str=None, **kwargs) -> None: super(VpnConnection, self).__init__(id=id, **kwargs) self.remote_vpn_site = remote_vpn_site self.routing_weight = routing_weight @@ -101,6 +105,7 @@ def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=No self.ipsec_policies = ipsec_policies self.enable_rate_limiting = enable_rate_limiting self.enable_internet_security = enable_internet_security + self.use_local_azure_ip_address = use_local_azure_ip_address self.provisioning_state = provisioning_state self.name = name self.etag = None