Share via


IGatewayOperations.GetDiagnosticsAsync Method (String, CancellationToken)

 

The Get Diagnostics operation gets information about the current gateway diagnostics session for the specified virtual network in Azure. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

Task<GatewayDiagnosticsStatus> GetDiagnosticsAsync(
    string networkName,
    CancellationToken cancellationToken
)
Task<GatewayDiagnosticsStatus^>^ GetDiagnosticsAsync(
    String^ networkName,
    CancellationToken cancellationToken
)
abstract GetDiagnosticsAsync : 
        networkName:string *
        cancellationToken:CancellationToken -> Task<GatewayDiagnosticsStatus>
Function GetDiagnosticsAsync (
    networkName As String,
    cancellationToken As CancellationToken
) As Task(Of GatewayDiagnosticsStatus)

Parameters

  • networkName
    Type: System.String

    The name of the virtual network for this gateway.

Return Value

Type: System.Threading.Tasks.Task<GatewayDiagnosticsStatus>

The status of a gateway diagnostics operation.

See Also

IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top