Share via


WebSiteGetHistoricalUsageMetricsParameters Class

 

Represents the parameters that are used to retrieve historical usage metrics.

Namespace:   Microsoft.WindowsAzure.Management.WebSites.Models
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetHistoricalUsageMetricsParameters

Syntax

public class WebSiteGetHistoricalUsageMetricsParameters
public ref class WebSiteGetHistoricalUsageMetricsParameters 
type WebSiteGetHistoricalUsageMetricsParameters = class end
Public Class WebSiteGetHistoricalUsageMetricsParameters

Constructors

Name Description
WebSiteGetHistoricalUsageMetricsParameters()

Initializes a new instance of the WebSiteGetHistoricalUsageMetricsParameters class.

Properties

Name Description
EndTime

Gets or sets the ending time of the metrics to return.

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

Gets or sets a comma-separated list of the names of the metrics to return.

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

Gets or sets the starting time of the metrics to return.

TimeGrain

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

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.WebSites.Models Namespace

Return to top