共用方式為


GatewayOperationsExtensions.BeginStartDiagnostics Method

Definition

The Begin Start Diagnostics operation begins an asynchronous operation to starta 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 Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse BeginStartDiagnostics (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters parameters);
static member BeginStartDiagnostics : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters -> Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse
<Extension()>
Public Function BeginStartDiagnostics (operations As IGatewayOperations, networkName As String, parameters As StartGatewayPublicDiagnosticsParameters) As 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
StartGatewayPublicDiagnosticsParameters

Required. Parameters supplied to the Begin Start Diagnostics operation.

Returns

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

Applies to