Share via


RouteMapAction Class

Definition

Action to be taken on a route matching a RouteMap criterion.

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

Constructors

RouteMapAction()

Initializes a new instance of RouteMapAction.

Properties

ActionType

Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'.

Parameters

List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added.

Explicit Interface Implementations

IJsonModel<RouteMapAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouteMapAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouteMapAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouteMapAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouteMapAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to