IGatewayOperations.GetDiagnosticsV2Async(String, CancellationToken) 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 Get Diagnostics V2 operation gets information about the current virtual network gateway diagnostics session
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus> GetDiagnosticsV2Async (string gatewayId, System.Threading.CancellationToken cancellationToken);
abstract member GetDiagnosticsV2Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus>
Public Function GetDiagnosticsV2Async (gatewayId As String, cancellationToken As CancellationToken) As Task(Of GatewayDiagnosticsStatus)
Parameters
- gatewayId
- String
The virtual network gateway Id.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The status of a gateway diagnostics operation.