次の方法で共有


MonitorExtensions.GetMonitorMetricNamespaces メソッド

定義

リソースのメトリック名前空間を一覧表示します。

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

パラメーター

client
ArmClient

ArmClientメソッドが実行されるインスタンス。

scope
ResourceIdentifier

リソースが適用されるスコープ。

startTime
String

ISO 8601 は、メトリック名前空間のクエリを実行する日付の開始時刻に準拠しています。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象