GatewayOperationsExtensions.StopDiagnosticsV2Async Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Stop Diagnostics V2 operation begins an asynchronous operation to stopa diagnostics session for the specified virtual network gateway.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> StopDiagnosticsV2Async (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, Microsoft.WindowsAzure.Management.Network.Models.StopGatewayPublicDiagnosticsParameters parameters);
static member StopDiagnosticsV2Async : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.StopGatewayPublicDiagnosticsParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function StopDiagnosticsV2Async (operations As IGatewayOperations, gatewayId As String, parameters As StopGatewayPublicDiagnosticsParameters) As Task(Of GatewayOperationResponse)
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- gatewayId
- String
Required. The virtual network for this gateway Id.
- parameters
- StopGatewayPublicDiagnosticsParameters
Required. Parameters supplied to Stop Diagnostics V2 operation.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET