Show / Hide Table of Contents

    Class RuleDataSource

    The resource from which the rule collects its data.

    Inheritance
    Object
    RuleDataSource
    RuleManagementEventDataSource
    RuleMetricDataSource
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    public class RuleDataSource

    Constructors

    RuleDataSource()

    Initializes a new instance of the RuleDataSource class.

    Declaration
    public RuleDataSource ();

    RuleDataSource(String)

    Initializes a new instance of the RuleDataSource class.

    Declaration
    public RuleDataSource (string resourceUri = null);
    Parameters
    String resourceUri

    the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

    Properties

    ResourceUri

    Gets or sets the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="resourceUri")]
    public string ResourceUri { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net