NetworkWatchersOperationsExtensions.GetNetworkConfigurationDiagnosticAsync Method

Definition

Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkConfigurationDiagnosticResponseInner> GetNetworkConfigurationDiagnosticAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Fluent.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkConfigurationDiagnosticAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.NetworkConfigurationDiagnosticParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkConfigurationDiagnosticResponseInner>
<Extension()>
Public Function GetNetworkConfigurationDiagnosticAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As NetworkConfigurationDiagnosticParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkConfigurationDiagnosticResponseInner)

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkWatcherName
String

The name of the network watcher.

parameters
NetworkConfigurationDiagnosticParameters

Parameters to get network configuration diagnostic.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to