다음을 통해 공유


NetworkWatchersOperationsExtensions.GetTopologyAsync Method

Definition

Gets the current network topology by resource group.

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

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