共用方式為


VirtualNetworkGatewayNatRuleData Class

Definition

A class representing the VirtualNetworkGatewayNatRule data model. VirtualNetworkGatewayNatRule Resource.

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

Constructors

VirtualNetworkGatewayNatRuleData()

Initializes a new instance of VirtualNetworkGatewayNatRuleData.

Properties

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)
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.

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkGatewayNatRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualNetworkGatewayNatRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to