Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::GroupingConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb

Overview

Grouping configuration property bag.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Returns Grouping enabled.

Returns:

  • (Boolean)

    Grouping enabled



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 16

def enabled
  @enabled
end

#entities_matching_methodEntitiesMatchingMethod

values include: ‘All’, ‘None’, ‘Custom’

Returns:



27
28
29
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 27

def entities_matching_method
  @entities_matching_method
end

#group_by_entitiesArray<GroupingEntityType>

(when entitiesMatchingMethod is Custom)

Returns:



31
32
33
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 31

def group_by_entities
  @group_by_entities
end

#lookback_durationDuration

lookback duration (in ISO 8601 duration format)

Returns:

  • (Duration)

    Limit the group to alerts created within the



23
24
25
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 23

def lookback_duration
  @lookback_duration
end

#reopen_closed_incidentBoolean

Returns Re-open closed matching incidents.

Returns:

  • (Boolean)

    Re-open closed matching incidents



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 19

def reopen_closed_incident
  @reopen_closed_incident
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/grouping_configuration.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GroupingConfiguration',
    type: {
      name: 'Composite',
      class_name: 'GroupingConfiguration',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        reopen_closed_incident: {
          client_side_validation: true,
          required: true,
          serialized_name: 'reopenClosedIncident',
          type: {
            name: 'Boolean'
          }
        },
        lookback_duration: {
          client_side_validation: true,
          required: true,
          serialized_name: 'lookbackDuration',
          type: {
            name: 'TimeSpan'
          }
        },
        entities_matching_method: {
          client_side_validation: true,
          required: true,
          serialized_name: 'entitiesMatchingMethod',
          type: {
            name: 'String'
          }
        },
        group_by_entities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByEntities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'GroupingEntityTypeElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end