Freigeben über


NetworkTapRuleAction Class

Definition

Action that need to performed.

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

Constructors

NetworkTapRuleAction()

Initializes a new instance of NetworkTapRuleAction.

Properties

DestinationId

Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.

IsTimestampEnabled

The parameter to enable or disable the timestamp.

MatchConfigurationName

The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.

TapRuleActionType

Type of actions that can be performed.

Truncate

Truncate. 0 indicates do not truncate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkTapRuleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkTapRuleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkTapRuleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkTapRuleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkTapRuleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to