Udostępnij za pośrednictwem


RouteConfiguration Class

Definition

Base class for all types of Route. Please note RouteConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ForwardingConfiguration and RedirectConfiguration.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.FrontDoor.Models.UnknownRouteConfiguration))]
public abstract class RouteConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.FrontDoor.Models.RouteConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.FrontDoor.Models.RouteConfiguration>
public abstract class RouteConfiguration
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.FrontDoor.Models.UnknownRouteConfiguration))>]
type RouteConfiguration = class
    interface IJsonModel<RouteConfiguration>
    interface IPersistableModel<RouteConfiguration>
type RouteConfiguration = class
Public MustInherit Class RouteConfiguration
Implements IJsonModel(Of RouteConfiguration), IPersistableModel(Of RouteConfiguration)
Public MustInherit Class RouteConfiguration
Inheritance
RouteConfiguration
Derived
Attributes
Implements

Constructors

RouteConfiguration()

Initializes a new instance of RouteConfiguration.

Explicit Interface Implementations

IJsonModel<RouteConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouteConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouteConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouteConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouteConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to