共用方式為


GatewayOperationsExtensions.BeginStartDiagnosticsV2 Method

Definition

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

public static Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse BeginStartDiagnosticsV2 (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters parameters);
static member BeginStartDiagnosticsV2 : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters -> Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse
<Extension()>
Public Function BeginStartDiagnosticsV2 (operations As IGatewayOperations, gatewayId As String, parameters As StartGatewayPublicDiagnosticsParameters) As 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