共用方式為


IPsecPolicy Class

Definition

An IPSec Policy configuration for a virtual network gateway connection.

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

Constructors

IPsecPolicy(Int32, Int32, IPsecEncryption, IPsecIntegrity, IkeEncryption, IkeIntegrity, DHGroup, PfsGroup)

Initializes a new instance of IPsecPolicy.

Properties

DhGroup

The DH Group used in IKE Phase 1 for initial SA.

IkeEncryption

The IKE encryption algorithm (IKE phase 2).

IkeIntegrity

The IKE integrity algorithm (IKE phase 2).

IPsecEncryption

The IPSec encryption algorithm (IKE phase 1).

IPsecIntegrity

The IPSec integrity algorithm (IKE phase 1).

PfsGroup

The Pfs Group used in IKE Phase 2 for new child SA.

SaDataSizeKilobytes

The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.

SaLifeTimeSeconds

The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IPsecPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IPsecPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IPsecPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IPsecPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IPsecPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to