共用方式為


GatewayOperationsExtensions.GetDiagnosticsV2Async Method

Definition

The Get Diagnostics V2 operation gets information about the current virtual network gateway diagnostics session

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

Parameters

operations
IGatewayOperations

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

gatewayId
String

Required. The virtual network gateway Id.

Returns

The status of a gateway diagnostics operation.

Applies to