Freigeben über


MonitorExtensions.GetMonitorMetricNamespacesAsync Methode

Definition

Listet die Metriknamespaces für die Ressource auf.

  • Anforderungspfad/{resourceUri}/providers/microsoft.insights/metricNamespaces
  • Vorgangs-IdMetricNamespaces_List
public static Azure.AsyncPageable<Azure.ResourceManager.Monitor.Models.MonitorMetricNamespace> GetMonitorMetricNamespacesAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string startTime = default, System.Threading.CancellationToken cancellationToken = default);
static member GetMonitorMetricNamespacesAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.Models.MonitorMetricNamespace>
<Extension()>
Public Function GetMonitorMetricNamespacesAsync (client As ArmClient, scope As ResourceIdentifier, Optional startTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MonitorMetricNamespace)

Parameter

client
ArmClient

Der ArmClient instance die -Methode ausgeführt wird.

scope
ResourceIdentifier

Der Bereich, für den die Ressource gilt.

startTime
String

Die ISO 8601-konforme Datumsstartzeit, ab der Metriknamespaces abfragt werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: