Share via


GatewayOperationsExtensions.GetDiagnostics Method (IGatewayOperations, String)

 

The Get Diagnostics operation gets information about the current gateway diagnostics session for the specified virtual network 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 GatewayDiagnosticsStatus GetDiagnostics(
    this IGatewayOperations operations,
    string networkName
)
public:
[ExtensionAttribute]
static GatewayDiagnosticsStatus^ GetDiagnostics(
    IGatewayOperations^ operations,
    String^ networkName
)
static member GetDiagnostics : 
        operations:IGatewayOperations *
        networkName:string -> GatewayDiagnosticsStatus
<ExtensionAttribute>
Public Shared Function GetDiagnostics (
    operations As IGatewayOperations,
    networkName As String
) As GatewayDiagnosticsStatus

Parameters

  • networkName
    Type: System.String

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

Return Value

Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus

The status of a gateway diagnostics operation.

See Also

GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top