WebSiteGetHistoricalUsageMetricsParameters Class

Definition

Parameters supplied to the Get Historical Usage Metrics Web Site operation.

public class WebSiteGetHistoricalUsageMetricsParameters
type WebSiteGetHistoricalUsageMetricsParameters = class
Public Class WebSiteGetHistoricalUsageMetricsParameters
Inheritance
WebSiteGetHistoricalUsageMetricsParameters

Constructors

WebSiteGetHistoricalUsageMetricsParameters()

Initializes a new instance of the WebSiteGetHistoricalUsageMetricsParameters class.

Properties

EndTime

Optional. The ending time of the metrics to return. If this parameter is not specified, the current time is used.

IncludeInstanceBreakdown

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

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

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

Optional. The starting time of the metrics to return. If this parameter is not specified, the beginning of the current hour is used.

TimeGrain

Optional. The grain at which the metrics are returned. Supported values are PT1M (minute), PT1H (hour), P1D (day).

Applies to