NetworkWatchersOperationsExtensions.BeginCheckConnectivityAsync Method

Definition

Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityInformationInner> BeginCheckConnectivityAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCheckConnectivityAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectivityInformationInner>
<Extension()>
Public Function BeginCheckConnectivityAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As ConnectivityParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectivityInformationInner)

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the network watcher resource group.

networkWatcherName
String

The name of the network watcher resource.

parameters
ConnectivityParameters

Parameters that determine how the connectivity check will be performed.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to