IGatewayOperations.BeginStartDiagnosticsAsync Method (String, StartGatewayPublicDiagnosticsParameters, CancellationToken)
The Begin Start Diagnostics operation begins an asynchronous operation to starta diagnostics session for the specified virtual network gateway in Azure. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
Task<GatewayOperationResponse> BeginStartDiagnosticsAsync(
string networkName,
StartGatewayPublicDiagnosticsParameters parameters,
CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginStartDiagnosticsAsync(
String^ networkName,
StartGatewayPublicDiagnosticsParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginStartDiagnosticsAsync :
networkName:string *
parameters:StartGatewayPublicDiagnosticsParameters *
cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginStartDiagnosticsAsync (
networkName As String,
parameters As StartGatewayPublicDiagnosticsParameters,
cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParametersParameters supplied to the Begin Start Diagnostics operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top