共用方式為


VpnGatewayNatRuleData Class

Definition

A class representing the VpnGatewayNatRule data model. VpnGatewayNatRule Resource.

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

Constructors

VpnGatewayNatRuleData()

Initializes a new instance of VpnGatewayNatRuleData.

Properties

EgressVpnSiteLinkConnections

List of egress VpnSiteLinkConnections.

ETag

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

ExternalMappings

The private IP address external mapping for NAT.

Id

Resource ID.

(Inherited from NetworkResourceData)
IngressVpnSiteLinkConnections

List of ingress VpnSiteLinkConnections.

InternalMappings

The private IP address internal mapping for NAT.

IPConfigurationId

The IP Configuration ID this NAT rule applies to.

Mode

The Source NAT direction of a VPN NAT.

Name

Resource name.

(Inherited from NetworkResourceData)
ProvisioningState

The provisioning state of the NAT Rule resource.

ResourceType

Resource type.

(Inherited from NetworkResourceData)
VpnNatRuleType

The type of NAT rule for VPN NAT.

Methods

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

Explicit Interface Implementations

IJsonModel<NetworkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkResourceData)
IJsonModel<VpnGatewayNatRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VpnGatewayNatRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from NetworkResourceData)
IPersistableModel<VpnGatewayNatRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VpnGatewayNatRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VpnGatewayNatRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to