Condividi tramite


RoutingPolicy Class

Definition

The routing policy object used in a RoutingIntent resource.

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

Constructors

RoutingPolicy(String, IEnumerable<String>, String)

Initializes a new instance of RoutingPolicy.

Properties

Destinations

List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).

Name

The unique name for the routing policy.

NextHop

The next hop resource id on which this routing policy is applicable to.

Explicit Interface Implementations

IJsonModel<RoutingPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoutingPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoutingPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoutingPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoutingPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to