共用方式為


GatewayOperationsExtensions.BeginStartDiagnosticsAsync 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginStartDiagnosticsAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters parameters);
static member BeginStartDiagnosticsAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function BeginStartDiagnosticsAsync (operations As IGatewayOperations, networkName As String, parameters As StartGatewayPublicDiagnosticsParameters) As Task(Of 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