Skip to content

Commit

Permalink
CodeGen from PR 13088 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ec3b1d04640f3c28d4e14f3b1791220f180c8a1b into 34dcf04f0ee453fa739ec2f790376a8decb5a3ab
  • Loading branch information
SDKAuto committed Feb 22, 2021
1 parent 09521df commit d86ff09
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19733,11 +19733,13 @@ class VirtualNetworkGateway(Resource):
:ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns
requests can be sent.
:vartype inbound_dns_forwarding_endpoint: str
:param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id.
:param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id.
VirtualNetworkGateway of type local gateway is associated with the customer vnet.
:type virtual_network_extended_location_resource_id: str
:param extended_location: The extended location of type local virtual network gateway.
:type extended_location: ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation
:type v_net_extended_location_resource_id: str
:param virtual_network_extended_location: The extended location of type local virtual network
gateway.
:type virtual_network_extended_location:
~azure.mgmt.network.v2020_08_01.models.ExtendedLocation
"""

_validation = {
Expand Down Expand Up @@ -19772,8 +19774,8 @@ class VirtualNetworkGateway(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'},
'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'},
'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'},
'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'},
'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'},
'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'},
}

def __init__(
Expand All @@ -19798,8 +19800,8 @@ def __init__(
self.provisioning_state = None
self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None)
self.inbound_dns_forwarding_endpoint = None
self.virtual_network_extended_location_resource_id = kwargs.get('virtual_network_extended_location_resource_id', None)
self.extended_location = kwargs.get('extended_location', None)
self.v_net_extended_location_resource_id = kwargs.get('v_net_extended_location_resource_id', None)
self.virtual_network_extended_location = kwargs.get('virtual_network_extended_location', None)


class VirtualNetworkGatewayConnection(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21939,11 +21939,13 @@ class VirtualNetworkGateway(Resource):
:ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns
requests can be sent.
:vartype inbound_dns_forwarding_endpoint: str
:param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id.
:param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id.
VirtualNetworkGateway of type local gateway is associated with the customer vnet.
:type virtual_network_extended_location_resource_id: str
:param extended_location: The extended location of type local virtual network gateway.
:type extended_location: ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation
:type v_net_extended_location_resource_id: str
:param virtual_network_extended_location: The extended location of type local virtual network
gateway.
:type virtual_network_extended_location:
~azure.mgmt.network.v2020_08_01.models.ExtendedLocation
"""

_validation = {
Expand Down Expand Up @@ -21978,8 +21980,8 @@ class VirtualNetworkGateway(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'},
'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'},
'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'},
'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'},
'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'},
'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'},
}

def __init__(
Expand All @@ -22001,8 +22003,8 @@ def __init__(
bgp_settings: Optional["BgpSettings"] = None,
custom_routes: Optional["AddressSpace"] = None,
enable_dns_forwarding: Optional[bool] = None,
virtual_network_extended_location_resource_id: Optional[str] = None,
extended_location: Optional["ExtendedLocation"] = None,
v_net_extended_location_resource_id: Optional[str] = None,
virtual_network_extended_location: Optional["ExtendedLocation"] = None,
**kwargs
):
super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs)
Expand All @@ -22023,8 +22025,8 @@ def __init__(
self.provisioning_state = None
self.enable_dns_forwarding = enable_dns_forwarding
self.inbound_dns_forwarding_endpoint = None
self.virtual_network_extended_location_resource_id = virtual_network_extended_location_resource_id
self.extended_location = extended_location
self.v_net_extended_location_resource_id = v_net_extended_location_resource_id
self.virtual_network_extended_location = virtual_network_extended_location


class VirtualNetworkGatewayConnection(Resource):
Expand Down

0 comments on commit d86ff09

Please sign in to comment.