Megosztás a következőn keresztül:


NetworkWatcherResource.GetNetworkConfigurationDiagnostic 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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic
  • Operation Id: NetworkWatchers_GetNetworkConfigurationDiagnostic
  • Default Api Version: 2024-03-01
  • Resource: NetworkWatcherResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticResponse> GetNetworkConfigurationDiagnostic (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkConfigurationDiagnostic : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticResponse>
override this.GetNetworkConfigurationDiagnostic : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticResponse>
Public Overridable Function GetNetworkConfigurationDiagnostic (waitUntil As WaitUntil, content As NetworkConfigurationDiagnosticContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkConfigurationDiagnosticResponse)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
NetworkConfigurationDiagnosticContent

Parameters to get network configuration diagnostic.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to