Share via


RuleMetricDataSource Class

 

A rule metric data source.

Namespace:   Microsoft.Azure.Management.Insights.Models
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Azure.Management.Insights.Models.RuleDataSource
    Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource

Syntax

public class RuleMetricDataSource : RuleDataSource
public ref class RuleMetricDataSource : RuleDataSource
type RuleMetricDataSource = 
    class
        inherit RuleDataSource
    end
Public Class RuleMetricDataSource
    Inherits RuleDataSource

Constructors

Name Description
System_CAPS_pubmethod RuleMetricDataSource()

Initializes a new instance of the RuleMetricDataSource class.

Properties

Name Description
System_CAPS_pubproperty MetricName

Optional. The name of the metric that defines what the rule monitors.

System_CAPS_pubproperty MetricNamespace

Optional. Only should be present for availability level metrics, where the value must be WindowsAzure.Availability.

System_CAPS_pubproperty ResourceUri

Optional. The resource identifier of the resource the rule monitors.

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.Azure.Management.Insights.Models Namespace

Return to top