Dela via


TrafficSelectorPolicy Class

Definition

An traffic selector policy for a virtual network gateway connection.

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

Constructors

TrafficSelectorPolicy(IEnumerable<String>, IEnumerable<String>)

Initializes a new instance of TrafficSelectorPolicy.

Properties

LocalAddressRanges

A collection of local address spaces in CIDR format.

RemoteAddressRanges

A collection of remote address spaces in CIDR format.

Explicit Interface Implementations

IJsonModel<TrafficSelectorPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TrafficSelectorPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficSelectorPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficSelectorPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TrafficSelectorPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to