Share via


Layer2Configuration Class

Definition

Common properties for Layer2 Configuration.

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

Constructors

Layer2Configuration()

Initializes a new instance of Layer2Configuration.

Properties

Interfaces

List of network device interfaces resource IDs.

Mtu

MTU of the packets between PE & CE.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<Layer2Configuration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<Layer2Configuration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<Layer2Configuration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<Layer2Configuration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<Layer2Configuration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to