共用方式為


VpnNatRuleMapping Class

Definition

Vpn NatRule mapping.

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

Constructors

VpnNatRuleMapping()

Initializes a new instance of VpnNatRuleMapping.

Properties

AddressSpace

Address space for Vpn NatRule mapping.

PortRange

Port range for Vpn NatRule mapping.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VpnNatRuleMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VpnNatRuleMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VpnNatRuleMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VpnNatRuleMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VpnNatRuleMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to