From 4cb60587a73b1f31e968ddc4dedb0148c47703e6 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 7 Sep 2018 20:54:48 +0000 Subject: [PATCH] Generated from 98064b55169341fc56e378f831415245a0e55210 vtapswaggerupdate --- .../mgmt/network/v2018_08_01/models/network_interface.py | 6 ++++++ .../network/v2018_08_01/models/network_interface_py3.py | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface.py index 0bda2f53ff41..bf030be81d63 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface.py @@ -42,6 +42,10 @@ class NetworkInterface(Resource): interface. :type ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceIPConfiguration] + :param tap_configurations: A list of TapConfigurations of the network + interface. + :type tap_configurations: + list[~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. :type dns_settings: ~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceDnsSettings @@ -88,6 +92,7 @@ class NetworkInterface(Resource): 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, 'interface_endpoint': {'key': 'properties.interfaceEndpoint', 'type': 'InterfaceEndpoint'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'tap_configurations': {'key': 'properties.tapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'NetworkInterfaceDnsSettings'}, 'mac_address': {'key': 'properties.macAddress', 'type': 'str'}, 'primary': {'key': 'properties.primary', 'type': 'bool'}, @@ -106,6 +111,7 @@ def __init__(self, **kwargs): self.network_security_group = kwargs.get('network_security_group', None) self.interface_endpoint = kwargs.get('interface_endpoint', None) self.ip_configurations = kwargs.get('ip_configurations', None) + self.tap_configurations = kwargs.get('tap_configurations', None) self.dns_settings = kwargs.get('dns_settings', None) self.mac_address = kwargs.get('mac_address', None) self.primary = kwargs.get('primary', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface_py3.py index d92bd774beda..06946eb14a2e 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_interface_py3.py @@ -42,6 +42,10 @@ class NetworkInterface(Resource): interface. :type ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceIPConfiguration] + :param tap_configurations: A list of TapConfigurations of the network + interface. + :type tap_configurations: + list[~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. :type dns_settings: ~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceDnsSettings @@ -88,6 +92,7 @@ class NetworkInterface(Resource): 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, 'interface_endpoint': {'key': 'properties.interfaceEndpoint', 'type': 'InterfaceEndpoint'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'tap_configurations': {'key': 'properties.tapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'NetworkInterfaceDnsSettings'}, 'mac_address': {'key': 'properties.macAddress', 'type': 'str'}, 'primary': {'key': 'properties.primary', 'type': 'bool'}, @@ -100,12 +105,13 @@ class NetworkInterface(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_machine=None, network_security_group=None, interface_endpoint=None, ip_configurations=None, dns_settings=None, mac_address: str=None, primary: bool=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, linked_resource_type: str=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_machine=None, network_security_group=None, interface_endpoint=None, ip_configurations=None, tap_configurations=None, dns_settings=None, mac_address: str=None, primary: bool=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, linked_resource_type: str=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, **kwargs) -> None: super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) self.virtual_machine = virtual_machine self.network_security_group = network_security_group self.interface_endpoint = interface_endpoint self.ip_configurations = ip_configurations + self.tap_configurations = tap_configurations self.dns_settings = dns_settings self.mac_address = mac_address self.primary = primary