Share via


NetworkWatchersOperationsExtensions.GetTopologyAsync Method

Definition

Gets the current network topology by resource group.

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

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkWatcherName
String

The name of the network watcher.

parameters
TopologyParameters

Parameters that define the representation of topology.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to