共用方式為


VpnGatewayData Class

Definition

A class representing the VpnGateway data model. VpnGateway Resource.

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

Constructors

VpnGatewayData()

Initializes a new instance of VpnGatewayData.

Properties

BgpSettings

Local network gateway's BGP speaker settings.

Connections

List of all vpn connections to the gateway.

EnableBgpRouteTranslationForNat

Enable BGP routes translation for NAT on this VpnGateway.

ETag

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

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
IPConfigurations

List of all IPs configured on the gateway.

IsRoutingPreferenceInternet

Enable Routing Preference property for the Public IP Interface of the VpnGateway.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
NatRules

List of all the nat Rules associated with the gateway.

ProvisioningState

The provisioning state of the VPN gateway resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
VirtualHubId

Gets or sets Id.

VpnGatewayScaleUnit

The scale unit for this vpn gateway.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from NetworkTrackedResourceData)

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<VpnGatewayData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VpnGatewayData>.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<VpnGatewayData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VpnGatewayData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VpnGatewayData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to