Share via


NetworkConfigurationDiagnosticProfile Constructor

Definition

Initializes a new instance of NetworkConfigurationDiagnosticProfile.

public NetworkConfigurationDiagnosticProfile (Azure.ResourceManager.Network.Models.NetworkTrafficDirection direction, string protocol, string source, string destination, string destinationPort);
new Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile : Azure.ResourceManager.Network.Models.NetworkTrafficDirection * string * string * string * string -> Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile
Public Sub New (direction As NetworkTrafficDirection, protocol As String, source As String, destination As String, destinationPort As String)

Parameters

direction
NetworkTrafficDirection

The direction of the traffic.

protocol
String

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

source
String

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

destination
String

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

destinationPort
String

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

Exceptions

protocol, source, destination or destinationPort is null.

Applies to