Freigeben über


NetworkWatchersOperationsExtensions.GetTroubleshootingResultAsync Methode

Definition

Rufen Sie das letzte abgeschlossene Problembehandlungsergebnis für eine angegebene Ressource ab.

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

Parameter

operations
INetworkWatchersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name der Netzwerküberwachungsressource.

parameters
QueryTroubleshootingParameters

Parameter, die die Ressource definieren, um das Problembehandlungsergebnis abzufragen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: