diff --git a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration.py index f729fc3eb1ab..c9be3f68e0fa 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration.py +++ b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration.py @@ -34,6 +34,9 @@ class NetworkInterfaceIPConfiguration(SubResource): ~azure.mgmt.network.v2015_06_15.models.IPAllocationMethod :param subnet: :type subnet: ~azure.mgmt.network.v2015_06_15.models.Subnet + :param primary: Gets whether this is a primary customer address on the + network interface. + :type primary: bool :param public_ip_address: :type public_ip_address: ~azure.mgmt.network.v2015_06_15.models.PublicIPAddress @@ -54,6 +57,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, @@ -67,6 +71,7 @@ def __init__(self, **kwargs): self.private_ip_address = kwargs.get('private_ip_address', None) self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) self.subnet = kwargs.get('subnet', None) + self.primary = kwargs.get('primary', None) self.public_ip_address = kwargs.get('public_ip_address', None) self.provisioning_state = kwargs.get('provisioning_state', None) self.name = kwargs.get('name', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration_py3.py b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration_py3.py index 712cbe84962e..e88cb35e893f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/network_interface_ip_configuration_py3.py @@ -34,6 +34,9 @@ class NetworkInterfaceIPConfiguration(SubResource): ~azure.mgmt.network.v2015_06_15.models.IPAllocationMethod :param subnet: :type subnet: ~azure.mgmt.network.v2015_06_15.models.Subnet + :param primary: Gets whether this is a primary customer address on the + network interface. + :type primary: bool :param public_ip_address: :type public_ip_address: ~azure.mgmt.network.v2015_06_15.models.PublicIPAddress @@ -54,19 +57,21 @@ class NetworkInterfaceIPConfiguration(SubResource): 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_rules=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_rules=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, primary: bool=None, public_ip_address=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None: super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) self.load_balancer_backend_address_pools = load_balancer_backend_address_pools self.load_balancer_inbound_nat_rules = load_balancer_inbound_nat_rules self.private_ip_address = private_ip_address self.private_ip_allocation_method = private_ip_allocation_method self.subnet = subnet + self.primary = primary self.public_ip_address = public_ip_address self.provisioning_state = provisioning_state self.name = name