GatewayOperationsExtensions.GetDiagnosticsAsync 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 Task<GatewayDiagnosticsStatus> GetDiagnosticsAsync(
this IGatewayOperations operations,
string networkName
)
public:
[ExtensionAttribute]
static Task<GatewayDiagnosticsStatus^>^ GetDiagnosticsAsync(
IGatewayOperations^ operations,
String^ networkName
)
static member GetDiagnosticsAsync :
operations:IGatewayOperations *
networkName:string -> Task<GatewayDiagnosticsStatus>
<ExtensionAttribute>
Public Shared Function GetDiagnosticsAsync (
operations As IGatewayOperations,
networkName As String
) As Task(Of GatewayDiagnosticsStatus)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperationsReference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
networkName
Type: System.StringRequired. The name of the virtual network for this gateway.
Return Value
Type: System.Threading.Tasks.Task<GatewayDiagnosticsStatus>
The status of a gateway diagnostics operation.
See Also
GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace
Return to top