Share via


MetricDefinition.PrimaryAggregation Property

Optional. Metric primary aggregation specifies the default type for the metrics. This indicates if the metric is of type average, total, minimum or maximum.

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

Usage

'Usage
Dim instance As MetricDefinition
Dim value As String

value = instance.PrimaryAggregation

instance.PrimaryAggregation = value

Syntax

'Declaration
Public Property PrimaryAggregation As String
public string PrimaryAggregation { get; set; }
public:
property String^ PrimaryAggregation {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_PrimaryAggregation ()

/** @property */
public void set_PrimaryAggregation (String value)
public function get PrimaryAggregation () : String

public function set PrimaryAggregation (value : String)

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.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

MetricDefinition Class
MetricDefinition Members
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models Namespace