共用方式為


IGatewayOperations.StopDiagnosticsV2Async Method

Definition

The Stop Diagnostics V2 operation begins an asynchronous operation to stopa diagnostics session for the specified virtual network gateway.

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

Parameters

gatewayId
String

The virtual network for this gateway Id.

parameters
StopGatewayPublicDiagnosticsParameters

Parameters supplied to Stop Diagnostics V2 operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to