共用方式為


WebsitesClient.GetWebAppUsageMetrics Method

Definition

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.WebSites.Models.ResourceMetric> GetWebAppUsageMetrics (string resourceGroupName, string webSiteName, string slotName, System.Collections.Generic.IReadOnlyList<string> metricNames, DateTime? startTime, DateTime? endTime, string timeGrain, bool instanceDetails);
member this.GetWebAppUsageMetrics : string * string * string * System.Collections.Generic.IReadOnlyList<string> * Nullable<DateTime> * Nullable<DateTime> * string * bool -> seq<Microsoft.Azure.Management.WebSites.Models.ResourceMetric>
Public Function GetWebAppUsageMetrics (resourceGroupName As String, webSiteName As String, slotName As String, metricNames As IReadOnlyList(Of String), startTime As Nullable(Of DateTime), endTime As Nullable(Of DateTime), timeGrain As String, instanceDetails As Boolean) As IEnumerable(Of ResourceMetric)

Parameters

resourceGroupName
String
webSiteName
String
slotName
String
metricNames
IReadOnlyList<String>
startTime
Nullable<DateTime>
endTime
Nullable<DateTime>
timeGrain
String
instanceDetails
Boolean

Returns

IEnumerable<Microsoft.Azure.Management.WebSites.Models.ResourceMetric>

Applies to