Compartir a través de


NetworkWatcherResource.GetTopologyAsync Método

Definición

Obtiene la topología de red actual por grupo de recursos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology
  • IdNetworkWatchers_GetTopology de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology>> GetTopologyAsync (Azure.ResourceManager.Network.Models.TopologyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTopologyAsync : Azure.ResourceManager.Network.Models.TopologyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology>>
override this.GetTopologyAsync : Azure.ResourceManager.Network.Models.TopologyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology>>
Public Overridable Function GetTopologyAsync (content As TopologyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkTopology))

Parámetros

content
TopologyContent

Parámetros que definen la representación de la topología.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a