共用方式為


NetworkConfigurationDiagnosticProfile Class

Definition

Parameters to compare with network configuration.

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

Constructors

NetworkConfigurationDiagnosticProfile(NetworkTrafficDirection, String, String, String, String)

Initializes a new instance of NetworkConfigurationDiagnosticProfile.

Properties

Destination

Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.

DestinationPort

Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).

Direction

The direction of the traffic.

Protocol

Protocol to be verified on. Accepted values are '*', TCP, UDP.

Source

Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkConfigurationDiagnosticProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkConfigurationDiagnosticProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkConfigurationDiagnosticProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkConfigurationDiagnosticProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkConfigurationDiagnosticProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to