Freigeben über


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
System_CAPS_pubmethod WebSiteGetHistoricalUsageMetricsParameters()

Initializes a new instance of the WebSiteGetHistoricalUsageMetricsParameters class.

Properties

Name Description
System_CAPS_pubproperty EndTime

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

System_CAPS_pubproperty 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.

System_CAPS_pubproperty MetricNames

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

System_CAPS_pubproperty 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.

System_CAPS_pubproperty StartTime

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

System_CAPS_pubproperty TimeGrain

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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