RoutingPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type RoutingPolicy = class
interface IJsonModel<RoutingPolicy>
interface IPersistableModel<RoutingPolicy>
Public Class RoutingPolicy
Implements IJsonModel(Of RoutingPolicy), IPersistableModel(Of 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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |