共用方式為


GatewayOperationsExtensions.BeginStartDiagnosticsV2Async Method

Definition

The Begin Start Diagnostics V2 operation begins an asynchronous operation to starta diagnostics session for the specified virtual network gateway.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginStartDiagnosticsV2Async (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters parameters);
static member BeginStartDiagnosticsV2Async : 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 BeginStartDiagnosticsV2Async (operations As IGatewayOperations, gatewayId As String, parameters As StartGatewayPublicDiagnosticsParameters) As Task(Of GatewayOperationResponse)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

gatewayId
String

Required. The virtual network for this gateway Id.

parameters
StartGatewayPublicDiagnosticsParameters

Required. Parameters supplied to the Begin Start Diagnostics V2 operation.

Returns

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

Applies to