Search

Class AzureWebSiteGetHistoricalUsageMetricsParameters

The Get Web Site Historical Usage Metrics parameters.

Attributes

Name Type Description
endTime Date Optional. The ending time of the metrics to return. If this parameter is not specified, the current time is used.
includeInstanceBreakdown boolean Optional. Flag which specifies if the metrics for each machine instance should be included. For sites that run on more than one machine this could be useful to identify a bad machine.
metricNames Object[] Optional. Specifies a comma-separated list of the names of the metrics to return. If the names parameter is not specified, then all available metrics are returned.
slotView boolean Optional. Flag which specifies if the metrics returned should reflect slot swaps. Let's take for example following case: if production slot has hostname www.contos.com and take traffic for 12 hours and later is swapped with staging slot. Getting metrics with SlotView=false will reflect the swap - e.g. there will be a increase on the staging slot metrics after it goes to production.If SlotView=true is used it will show the metrics for the www.contoso.com regardless which slot was serving at the moment.
startTime Date Optional. The starting time of the metrics to return. If this parameter is not specified, the beginning of the current hour is used.
timeGrain String Optional. The grain at which the metrics are returned. Supported values are PT1M (minute), PT1H (hour), P1D (day).

Methods

Name Returns
AzureWebSiteGetHistoricalUsageMetricsParameters() constructor

Returned by

None

Referenced in

Method Returns
AzureWebsiteOperations.getHistoricalUsageMetrics(String arg0, String arg1, String arg2, AzureWebSiteGetHistoricalUsageMetricsParameters arg3) AzureWebSiteGetHistoricalUsageMetricsResponse