Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,6 @@
RouteNextHopType,
PublicIPAddressSkuName,
DdosSettingsProtectionCoverage,
VirtualNetworkPeeringState,
TransportProtocol,
ApplicationGatewayCookieBasedAffinity,
ApplicationGatewayBackendHealthServerHealth,
Expand Down Expand Up @@ -1004,6 +1003,7 @@
PublicIPPrefixSkuName,
SecurityProviderName,
SecurityPartnerProviderConnectionStatus,
VirtualNetworkPeeringState,
VirtualNetworkGatewayType,
VpnType,
VpnGatewayGeneration,
Expand Down Expand Up @@ -1546,7 +1546,6 @@
'RouteNextHopType',
'PublicIPAddressSkuName',
'DdosSettingsProtectionCoverage',
'VirtualNetworkPeeringState',
'TransportProtocol',
'ApplicationGatewayCookieBasedAffinity',
'ApplicationGatewayBackendHealthServerHealth',
Expand Down Expand Up @@ -1629,6 +1628,7 @@
'PublicIPPrefixSkuName',
'SecurityProviderName',
'SecurityPartnerProviderConnectionStatus',
'VirtualNetworkPeeringState',
'VirtualNetworkGatewayType',
'VpnType',
'VpnGatewayGeneration',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9546,31 +9546,37 @@ def __init__(self, **kwargs):
class LoadBalancerBackendAddress(Model):
"""Load balancer backend addresses.

Variables are only populated by the server, and will be ignored when
sending a request.

:param virtual_network: Reference to an existing virtual network.
:type virtual_network:
~azure.mgmt.network.v2020_04_01.models.VirtualNetwork
:type virtual_network: ~azure.mgmt.network.v2020_04_01.models.SubResource
:param ip_address: IP Address belonging to the referenced virtual network.
:type ip_address: str
:param network_interface_ip_configuration: Reference to IP address defined
:ivar network_interface_ip_configuration: Reference to IP address defined
in network interfaces.
:type network_interface_ip_configuration:
~azure.mgmt.network.v2020_04_01.models.NetworkInterfaceIPConfiguration
:vartype network_interface_ip_configuration:
~azure.mgmt.network.v2020_04_01.models.SubResource
:param name: Name of the backend address.
:type name: str
"""

_validation = {
'network_interface_ip_configuration': {'readonly': True},
}

_attribute_map = {
'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'VirtualNetwork'},
'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'},
'ip_address': {'key': 'properties.ipAddress', 'type': 'str'},
'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'},
'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'},
'name': {'key': 'name', 'type': 'str'},
}

def __init__(self, **kwargs):
super(LoadBalancerBackendAddress, self).__init__(**kwargs)
self.virtual_network = kwargs.get('virtual_network', None)
self.ip_address = kwargs.get('ip_address', None)
self.network_interface_ip_configuration = kwargs.get('network_interface_ip_configuration', None)
self.network_interface_ip_configuration = None
self.name = kwargs.get('name', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9546,31 +9546,37 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, fro
class LoadBalancerBackendAddress(Model):
"""Load balancer backend addresses.

Variables are only populated by the server, and will be ignored when
sending a request.

:param virtual_network: Reference to an existing virtual network.
:type virtual_network:
~azure.mgmt.network.v2020_04_01.models.VirtualNetwork
:type virtual_network: ~azure.mgmt.network.v2020_04_01.models.SubResource
:param ip_address: IP Address belonging to the referenced virtual network.
:type ip_address: str
:param network_interface_ip_configuration: Reference to IP address defined
:ivar network_interface_ip_configuration: Reference to IP address defined
in network interfaces.
:type network_interface_ip_configuration:
~azure.mgmt.network.v2020_04_01.models.NetworkInterfaceIPConfiguration
:vartype network_interface_ip_configuration:
~azure.mgmt.network.v2020_04_01.models.SubResource
:param name: Name of the backend address.
:type name: str
"""

_validation = {
'network_interface_ip_configuration': {'readonly': True},
}

_attribute_map = {
'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'VirtualNetwork'},
'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'},
'ip_address': {'key': 'properties.ipAddress', 'type': 'str'},
'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'},
'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'},
'name': {'key': 'name', 'type': 'str'},
}

def __init__(self, *, virtual_network=None, ip_address: str=None, network_interface_ip_configuration=None, name: str=None, **kwargs) -> None:
def __init__(self, *, virtual_network=None, ip_address: str=None, name: str=None, **kwargs) -> None:
super(LoadBalancerBackendAddress, self).__init__(**kwargs)
self.virtual_network = virtual_network
self.ip_address = ip_address
self.network_interface_ip_configuration = network_interface_ip_configuration
self.network_interface_ip_configuration = None
self.name = name


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ class DdosSettingsProtectionCoverage(str, Enum):
standard = "Standard"


class VirtualNetworkPeeringState(str, Enum):

initiated = "Initiated"
connected = "Connected"
disconnected = "Disconnected"


class TransportProtocol(str, Enum):

udp = "Udp"
Expand Down Expand Up @@ -678,6 +671,13 @@ class SecurityPartnerProviderConnectionStatus(str, Enum):
not_connected = "NotConnected"


class VirtualNetworkPeeringState(str, Enum):

initiated = "Initiated"
connected = "Connected"
disconnected = "Disconnected"


class VirtualNetworkGatewayType(str, Enum):

vpn = "Vpn"
Expand Down