Share via


StaticRoute Class

Definition

List of all Static Routes.

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

Constructors

StaticRoute()

Initializes a new instance of StaticRoute.

Properties

AddressPrefixes

List of all address prefixes.

Name

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIPAddress

The ip address of the next hop.

Explicit Interface Implementations

IJsonModel<StaticRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StaticRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StaticRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to