/// <summary>
 /// Initializes a new instance of the LogSearchRuleResourceInner class.
 /// </summary>
 /// <param name="source">Data Source against which rule will Query
 /// Data</param>
 /// <param name="action">Action needs to be taken on rule
 /// execution.</param>
 /// <param name="description">The description of the Log Search
 /// rule.</param>
 /// <param name="enabled">The flag which indicates whether the Log
 /// Search rule is enabled. Value should be true or false. Possible
 /// values include: 'true', 'false'</param>
 /// <param name="lastUpdatedTime">Last time the rule was updated in
 /// IS08601 format.</param>
 /// <param name="provisioningState">Provisioning state of the scheduled
 /// query rule. Possible values include: 'Succeeded', 'Deploying',
 /// 'Canceled', 'Failed'</param>
 /// <param name="schedule">Schedule (Frequency, Time Window) for rule.
 /// Required for action type - AlertingAction</param>
 public LogSearchRuleResourceInner(string location, Source source, Action action, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string description = default(string), Enabled enabled = default(Enabled), System.DateTime?lastUpdatedTime = default(System.DateTime?), ProvisioningState provisioningState = default(ProvisioningState), Schedule schedule = default(Schedule))
     : base(location, id, name, type, tags)
 {
     Description       = description;
     Enabled           = enabled;
     LastUpdatedTime   = lastUpdatedTime;
     ProvisioningState = provisioningState;
     Source            = source;
     Schedule          = schedule;
     Action            = action;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LogSearchRuleResourcePatch class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="enabled">The flag which indicates whether the Log
 /// Search rule is enabled. Value should be true or false. Possible
 /// values include: 'true', 'false'</param>
 public LogSearchRuleResourcePatch(IDictionary <string, string> tags = default(IDictionary <string, string>), Enabled enabled = default(Enabled))
 {
     Tags    = tags;
     Enabled = enabled;
     CustomInit();
 }