Udostępnij za pośrednictwem


NetworkWatchersOperationsExtensions.CheckConnectivity 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 Microsoft.Azure.Management.Network.Models.ConnectivityInformation CheckConnectivity (this Microsoft.Azure.Management.Network.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Models.ConnectivityParameters parameters);
static member CheckConnectivity : Microsoft.Azure.Management.Network.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Models.ConnectivityParameters -> Microsoft.Azure.Management.Network.Models.ConnectivityInformation
<Extension()>
Public Function CheckConnectivity (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As ConnectivityParameters) As ConnectivityInformation

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.

Returns

Applies to