IGatewayOperations.StopDiagnosticsAsync Method (String, StopGatewayPublicDiagnosticsParameters, CancellationToken)
The Stop Diagnostics operation begins an asynchronous operation to stopa diagnostics session for the specified virtual network gateway in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Function StopDiagnosticsAsync ( networkName As String, parameters As StopGatewayPublicDiagnosticsParameters, cancellationToken As CancellationToken ) As Task(Of GatewayOperationResponse)
Parameters
- networkName
-
Type:
System.String
The name of the virtual network for this gateway.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Network.Models.StopGatewayPublicDiagnosticsParameters
Parameters supplied to Stop Diagnostics operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of GatewayOperationResponse)A standard service response including an HTTP status code and request ID.
Show: