Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-network] Add new optional param enableInternetSecurity and new Reset API for P2SVpnGateway resource #1486

Open
wants to merge 2 commits into
base: sdkAutomation/azure-mgmt-network
Choose a base branch
from
Open
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
@@ -921,7 +921,6 @@
RouteNextHopType,
PublicIPAddressSkuName,
DdosSettingsProtectionCoverage,
VirtualNetworkPeeringState,
TransportProtocol,
ApplicationGatewayCookieBasedAffinity,
ApplicationGatewayBackendHealthServerHealth,
@@ -1004,6 +1003,7 @@
PublicIPPrefixSkuName,
SecurityProviderName,
SecurityPartnerProviderConnectionStatus,
VirtualNetworkPeeringState,
VirtualNetworkGatewayType,
VpnType,
VpnGatewayGeneration,
@@ -1546,7 +1546,6 @@
'RouteNextHopType',
'PublicIPAddressSkuName',
'DdosSettingsProtectionCoverage',
'VirtualNetworkPeeringState',
'TransportProtocol',
'ApplicationGatewayCookieBasedAffinity',
'ApplicationGatewayBackendHealthServerHealth',
@@ -1629,6 +1628,7 @@
'PublicIPPrefixSkuName',
'SecurityProviderName',
'SecurityPartnerProviderConnectionStatus',
'VirtualNetworkPeeringState',
'VirtualNetworkGatewayType',
'VpnType',
'VpnGatewayGeneration',
Original file line number Diff line number Diff line change
@@ -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)


Original file line number Diff line number Diff line change
@@ -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


Original file line number Diff line number Diff line change
@@ -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"
@@ -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"