Partilhar via


NetworkWatcherResource.GetTopology(TopologyContent, CancellationToken) 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
  • Operação IdNetworkWatchers_GetTopology
public virtual Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology> GetTopology (Azure.ResourceManager.Network.Models.TopologyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTopology : Azure.ResourceManager.Network.Models.TopologyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology>
override this.GetTopology : Azure.ResourceManager.Network.Models.TopologyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.NetworkTopology>
Public Overridable Function GetTopology (content As TopologyContent, Optional cancellationToken As CancellationToken = Nothing) As 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