class Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions

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

Attributes

description[RW]

@return [String] The rule description

display_name[RW]

@return [String] The rule name as it is displayed in UI

help_url[RW]

@return [String] URL which displays additional info about the proactive detection rule

is_enabled_by_default[RW]

@return [Boolean] A flag indicating whether the rule is enabled by default

is_hidden[RW]

@return [Boolean] A flag indicating whether the rule is hidden (from the UI)

is_in_preview[RW]

@return [Boolean] A flag indicating whether the rule is in preview

name[RW]

@return [String] The rule name

supports_email_notifications[RW]

@return [Boolean] A flag indicating whether email notifications are supported for detections for this rule

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions 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_rule_definitions.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInsightsComponentProactiveDetectionConfiguration_RuleDefinitions',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DisplayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Description',
          type: {
            name: 'String'
          }
        },
        help_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HelpUrl',
          type: {
            name: 'String'
          }
        },
        is_hidden: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsHidden',
          type: {
            name: 'Boolean'
          }
        },
        is_enabled_by_default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsEnabledByDefault',
          type: {
            name: 'Boolean'
          }
        },
        is_in_preview: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsInPreview',
          type: {
            name: 'Boolean'
          }
        },
        supports_email_notifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SupportsEmailNotifications',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end