Share via


VirtualNetworkGatewayData Class

Definition

A class representing the VirtualNetworkGateway data model. A common class for general resource information.

public class VirtualNetworkGatewayData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.VirtualNetworkGatewayData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.VirtualNetworkGatewayData>
public class VirtualNetworkGatewayData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData
type VirtualNetworkGatewayData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<VirtualNetworkGatewayData>
    interface IPersistableModel<VirtualNetworkGatewayData>
type VirtualNetworkGatewayData = class
    inherit NetworkTrackedResourceData
Public Class VirtualNetworkGatewayData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of VirtualNetworkGatewayData), IPersistableModel(Of VirtualNetworkGatewayData)
Public Class VirtualNetworkGatewayData
Inherits NetworkTrackedResourceData
Inheritance
VirtualNetworkGatewayData
Implements

Constructors

VirtualNetworkGatewayData()

Initializes a new instance of VirtualNetworkGatewayData.

Properties

Active

ActiveActive flag.

AdminState

Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet.

AllowRemoteVnetTraffic

Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.

AllowVirtualWanTraffic

Configures this gateway to accept traffic from remote Virtual WAN networks.

AutoScaleBounds

The bounds of the autoscale configuration.

BgpSettings

Virtual network gateway's BGP speaker settings.

CustomRoutesAddressPrefixes

A list of address blocks reserved for this virtual network in CIDR notation.

DisableIPSecReplayProtection

disableIPSecReplayProtection flag.

EnableBgp

Whether BGP is enabled for this virtual network gateway or not.

EnableBgpRouteTranslationForNat

EnableBgpRouteTranslationForNat flag.

EnableDnsForwarding

Whether dns forwarding is enabled or not.

EnablePrivateIPAddress

Whether private IP needs to be enabled on this gateway for connections or not.

ETag

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

ExtendedLocation

The extended location of type local virtual network gateway.

GatewayDefaultSiteId

Gets or sets Id.

GatewayType

The type of this virtual network gateway.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
Identity

The identity of the virtual network gateway, if configured.

InboundDnsForwardingEndpoint

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

IPConfigurations

IP configurations for virtual network gateway.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
NatRules

NatRules for virtual network gateway.

ProvisioningState

The provisioning state of the virtual network gateway resource.

ResiliencyModel

Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed.

ResourceGuid

The resource GUID property of the virtual network gateway resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
Sku

The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.

Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
VirtualNetworkGatewayPolicyGroups

The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.

VNetExtendedLocationResourceId

Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.

VpnClientConfiguration

The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

VpnGatewayGeneration

The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.

VpnType

The type of this virtual network gateway.

Explicit Interface Implementations

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IJsonModel<VirtualNetworkGatewayData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualNetworkGatewayData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<VirtualNetworkGatewayData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkGatewayData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualNetworkGatewayData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to