共用方式為


IGatewayOperations.GetDiagnosticsV2Async(String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus> GetDiagnosticsV2Async (string gatewayId, System.Threading.CancellationToken cancellationToken);
abstract member GetDiagnosticsV2Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus>
Public Function GetDiagnosticsV2Async (gatewayId As String, cancellationToken As CancellationToken) As Task(Of GatewayDiagnosticsStatus)

Parameters

gatewayId
String

The virtual network gateway Id.

cancellationToken
CancellationToken

Cancellation token.

Returns

The status of a gateway diagnostics operation.

Applies to