IGatewayOperations.BeginStartDiagnosticsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginStartDiagnosticsAsync (string networkName, Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginStartDiagnosticsAsync : string * Microsoft.WindowsAzure.Management.Network.Models.StartGatewayPublicDiagnosticsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginStartDiagnosticsAsync (networkName As String, parameters As StartGatewayPublicDiagnosticsParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)
Parameters
- networkName
- String
The name of the virtual network for this gateway.
- parameters
- StartGatewayPublicDiagnosticsParameters
Parameters supplied to the Begin Start Diagnostics operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET