Share via


GatewayOperationsExtensions.StopDiagnosticsAsync Method (IGatewayOperations, String, StopGatewayPublicDiagnosticsParameters)

 

The Stop Diagnostics operation begins an asynchronous operation to stopa diagnostics session for the specified virtual network gateway in Azure. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

public static Task<GatewayOperationResponse> StopDiagnosticsAsync(
    this IGatewayOperations operations,
    string networkName,
    StopGatewayPublicDiagnosticsParameters parameters
)
public:
[ExtensionAttribute]
static Task<GatewayOperationResponse^>^ StopDiagnosticsAsync(
    IGatewayOperations^ operations,
    String^ networkName,
    StopGatewayPublicDiagnosticsParameters^ parameters
)
static member StopDiagnosticsAsync : 
        operations:IGatewayOperations *
        networkName:string *
        parameters:StopGatewayPublicDiagnosticsParameters -> Task<GatewayOperationResponse>
<ExtensionAttribute>
Public Shared Function StopDiagnosticsAsync (
    operations As IGatewayOperations,
    networkName As String,
    parameters As StopGatewayPublicDiagnosticsParameters
) As Task(Of GatewayOperationResponse)

Parameters

  • networkName
    Type: System.String

    Required. The name of the virtual network for this gateway.

Return Value

Type: System.Threading.Tasks.Task<GatewayOperationResponse>

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

See Also

GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top