Udostępnij za pośrednictwem


IGatewayOperations.BeginStartDiagnosticsV2Async Method

Definition

The Begin Start Diagnostics V2 operation begins an asynchronous operation to starta diagnostics session for the specified virtual network gateway.

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

Parameters

gatewayId
String

The virtual network for this gateway Id.

parameters
StartGatewayPublicDiagnosticsParameters

Parameters supplied to the Begin Start Diagnostics V2 operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response including an HTTP status code and request ID.

Applies to