Partilhar via


NetworkWatcherResource.GetTopologyAsync Método

Definição

Obtém a topologia de rede atual por grupo de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology
  • IdNetworkWatchers_GetTopology de operação
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 definem a representação da topologia.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a