次の方法で共有


AppServiceEnvironmentResource.GetUsagesAsync メソッド

定義

「App Service Environmentのグローバル使用状況メトリックを取得する」の説明。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages
  • 操作IdAppServiceEnvironments_ListUsages
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota> GetUsagesAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota>
override this.GetUsagesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota>
Public Overridable Function GetUsagesAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CsmUsageQuota)

パラメーター

filter
String

フィルターで指定された使用状況/メトリックのみを返します。 フィルターは odata 構文に準拠しています。 例: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|分|Day]'.

cancellationToken
CancellationToken

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

戻り値

反復処理するために複数の CsmUsageQuota サービス要求を受け取る可能性がある の非同期コレクション。

適用対象