Freigeben über


NetworkWatcherResource.GetTopology(TopologyContent, CancellationToken) Methode

Definition

Ruft die aktuelle Netzwerktopologie nach Ressourcengruppe ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topologie
  • Vorgang 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)

Parameter

content
TopologyContent

Parameter, die die Darstellung der Topologie definieren.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: