Share via


NetworkFabricPortCondition Class

Definition

Port condition that needs to be matched.

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

Constructors

NetworkFabricPortCondition(Layer4Protocol)

Initializes a new instance of NetworkFabricPortCondition.

Properties

Layer4Protocol

Layer4 protocol type that needs to be matched.

PortGroupNames

List of the port Group Names that need to be matched.

Ports

List of the Ports that need to be matched.

PortType

Port type that needs to be matched.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkFabricPortCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkFabricPortCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkFabricPortCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkFabricPortCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkFabricPortCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to