class Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentProactiveDetectionConfiguration

Properties that define a ProactiveDetection configuration.

Attributes

custom_emails[RW]

@return [Array<String>] Custom email addresses for this rule notifications

enabled[RW]

@return [Boolean] A flag that indicates whether this rule is enabled by the user

last_updated_time[RW]

@return [String] The last time this rule was updated

name[RW]

@return [String] The rule name

rule_definitions[RW]

@return

ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

Static definitions of the ProactiveDetection configuration rule (same values for all components).

send_emails_to_subscription_owners[RW]

@return [Boolean] A flag that indicated whether notifications on this rule should be sent to subscription owners

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationInsightsComponentProactiveDetectionConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_proactive_detection_configuration.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInsightsComponentProactiveDetectionConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInsightsComponentProactiveDetectionConfiguration',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Enabled',
          type: {
            name: 'Boolean'
          }
        },
        send_emails_to_subscription_owners: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SendEmailsToSubscriptionOwners',
          type: {
            name: 'Boolean'
          }
        },
        custom_emails: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CustomEmails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        last_updated_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastUpdatedTime',
          type: {
            name: 'String'
          }
        },
        rule_definitions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RuleDefinitions',
          type: {
            name: 'Composite',
            class_name: 'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions'
          }
        }
      }
    }
  }
end