GatewayOperationsExtensions.GetDiagnostics 方法 (IGatewayOperations, String)

 

获取诊断操作在 Azure 中获取有关当前为指定的虚拟网络网关诊断会话的信息。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Network
程序集:  Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)

语法

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

参数

  • networkName
    Type: System.String

    必需。 此网关的虚拟网络的的名称。

返回值

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

网关诊断操作的状态。

请参阅

GatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间

返回页首