GatewayOperationsExtensions.StopDiagnosticsAsync 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 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)
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> StopDiagnosticsAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.StopGatewayPublicDiagnosticsParameters parameters);
static member StopDiagnosticsAsync : 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 StopDiagnosticsAsync (operations As IGatewayOperations, networkName As String, parameters As StopGatewayPublicDiagnosticsParameters) As Task(Of GatewayOperationResponse)
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- networkName
- String
Required. The name of the virtual network for this gateway.
- parameters
- StopGatewayPublicDiagnosticsParameters
Required. Parameters supplied to Stop Diagnostics operation.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET