共用方式為


GatewayOperationsExtensions.GetDiagnosticsAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus> GetDiagnosticsAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName);
static member GetDiagnosticsAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus>
<Extension()>
Public Function GetDiagnosticsAsync (operations As IGatewayOperations, networkName As String) As Task(Of GatewayDiagnosticsStatus)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

networkName
String

Required. The name of the virtual network for this gateway.

Returns

The status of a gateway diagnostics operation.

Applies to