class Azure::Network::Mgmt::V2020_07_01::Models::VirtualNetworkGateway
A common class for general resource information.
Attributes
@return [Boolean] ActiveActive flag.
@return [BgpSettings] Virtual network gateway's BGP speaker settings.
@return [AddressSpace] The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
@return [Boolean] Whether BGP is enabled for this virtual network gateway or not.
@return [Boolean] Whether dns forwarding is enabled or not.
@return [Boolean] Whether private IP needs to be enabled on this gateway for connections or not.
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [ExtendedLocation] The extended location of type local virtual network gateway.
@return [SubResource] The reference to the LocalNetworkGateway
resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
@return [VirtualNetworkGatewayType] The type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute', 'LocalGateway'
@return [String] The IP address allocated by the gateway to which dns requests can be sent.
@return [Array<VirtualNetworkGatewayIPConfiguration>] IP configurations for virtual network gateway.
@return [ProvisioningState] The provisioning state of the virtual network gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
@return [String] The resource GUID property of the virtual network gateway resource.
@return [VirtualNetworkGatewaySku] The reference to the VirtualNetworkGatewaySku
resource which represents the SKU selected for Virtual network gateway.
@return [String] MAS FIJI customer vnet resource id. VirtualNetworkGateway
of type local gateway is associated with the customer vnet.
@return [VpnClientConfiguration] The reference to the VpnClientConfiguration
resource which represents the P2S VpnClient configurations.
@return [VpnGatewayGeneration] The generation for this VirtualNetworkGateway
. Must be None if gatewayType is not VPN. Possible values include: 'None', 'Generation1', 'Generation2'
@return [VpnType] The type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'
Public Class Methods
Mapper for VirtualNetworkGateway
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-07-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb, line 100 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { name: 'Composite', class_name: 'VirtualNetworkGateway', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, ip_configurations: { client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { name: 'Composite', class_name: 'VirtualNetworkGatewayIPConfiguration' } } } }, gateway_type: { client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { name: 'String' } }, vpn_type: { client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { name: 'String' } }, vpn_gateway_generation: { client_side_validation: true, required: false, serialized_name: 'properties.vpnGatewayGeneration', type: { name: 'String' } }, enable_bgp: { client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { name: 'Boolean' } }, enable_private_ip_address: { client_side_validation: true, required: false, serialized_name: 'properties.enablePrivateIpAddress', type: { name: 'Boolean' } }, active_active: { client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { name: 'Boolean' } }, gateway_default_site: { client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { name: 'Composite', class_name: 'SubResource' } }, sku: { client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { name: 'Composite', class_name: 'VirtualNetworkGatewaySku' } }, vpn_client_configuration: { client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { name: 'Composite', class_name: 'VpnClientConfiguration' } }, bgp_settings: { client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { name: 'Composite', class_name: 'BgpSettings' } }, custom_routes: { client_side_validation: true, required: false, serialized_name: 'properties.customRoutes', type: { name: 'Composite', class_name: 'AddressSpace' } }, resource_guid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, enable_dns_forwarding: { client_side_validation: true, required: false, serialized_name: 'properties.enableDnsForwarding', type: { name: 'Boolean' } }, inbound_dns_forwarding_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundDnsForwardingEndpoint', type: { name: 'String' } }, virtual_network_extended_location_resource_id: { client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkExtendedLocationResourceId', type: { name: 'String' } }, extended_location: { client_side_validation: true, required: false, serialized_name: 'properties.extendedLocation', type: { name: 'Composite', class_name: 'ExtendedLocation' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end