Share via


VirtualNetworkGateway Class

Definition

A common class for general resource information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkGateway : Microsoft.Azure.Management.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkGateway = class
    inherit Resource
Public Class VirtualNetworkGateway
Inherits Resource
Inheritance
VirtualNetworkGateway
Attributes

Constructors

VirtualNetworkGateway()

Initializes a new instance of the VirtualNetworkGateway class.

VirtualNetworkGateway(String, String, String, String, IDictionary<String, String>, IList<VirtualNetworkGatewayIPConfiguration>, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkGatewaySku, VpnClientConfiguration, IList<VirtualNetworkGatewayPolicyGroup>, BgpSettings, AddressSpace, String, String, Nullable<Boolean>, String, String, IList<VirtualNetworkGatewayNatRule>, Nullable<Boolean>, ExtendedLocation, String)

Initializes a new instance of the VirtualNetworkGateway class.

Properties

ActiveActive

Gets or sets activeActive flag.

BgpSettings

Gets or sets virtual network gateway's BGP speaker settings.

CustomRoutes

Gets or sets the reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.

DisableIPSecReplayProtection

Gets or sets disableIPSecReplayProtection flag.

EnableBgp

Gets or sets whether BGP is enabled for this virtual network gateway or not.

EnableBgpRouteTranslationForNat

Gets or sets enableBgpRouteTranslationForNat flag.

EnableDnsForwarding

Gets or sets whether dns forwarding is enabled or not.

EnablePrivateIpAddress

Gets or sets whether private IP needs to be enabled on this gateway for connections or not.

Etag

Gets a unique read-only string that changes whenever the resource is updated.

ExtendedLocation

Gets or sets the extended location of type local virtual network gateway.

GatewayDefaultSite

Gets or sets 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.

GatewayType

Gets or sets the type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute', 'LocalGateway'

Id

Gets or sets resource ID.

(Inherited from Resource)
InboundDnsForwardingEndpoint

Gets the IP address allocated by the gateway to which dns requests can be sent.

IpConfigurations

Gets or sets IP configurations for virtual network gateway.

Location

Gets or sets resource location.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
NatRules

Gets or sets natRules for virtual network gateway.

ProvisioningState

Gets the provisioning state of the virtual network gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the virtual network gateway resource.

Sku

Gets or sets the reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
VirtualNetworkGatewayPolicyGroups

Gets or sets the reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.

VNetExtendedLocationResourceId

Gets or sets customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.

VpnClientConfiguration

Gets or sets the reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

VpnGatewayGeneration

Gets or sets the generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: 'None', 'Generation1', 'Generation2'

VpnType

Gets or sets the type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'

Methods

Validate()

Validate the object.

Applies to