你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServiceEnvironmentsOperationsExtensions.ListUsages 方法

定义

获取应用服务环境的全局使用情况指标。

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota> ListUsages (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string filter = default);
static member ListUsages : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.CsmUsageQuota>
<Extension()>
Public Function ListUsages (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, Optional filter As String = Nothing) As IPage(Of CsmUsageQuota)

参数

operations
IAppServiceEnvironmentsOperations

此扩展方法的操作组。

resourceGroupName
String

资源所属的资源组的名称。

name
String

应用服务环境的名称。

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]'。

返回

注解

获取应用服务环境的全局使用情况指标的说明。

适用于