Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ExpansionResultAggregation

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

Overview

Information of a specific aggregation in the expansion result.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aggregation_typeString

field name)

Returns:

  • (String)

    The common type of the aggregation. (for e.g. entity



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

def aggregation_type
  @aggregation_type
end

#countInteger

aggregationType if given) in the expansion result.

Returns:

  • (Integer)

    Total number of aggregations of the given kind (and



21
22
23
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_result_aggregation.rb', line 21

def count
  @count
end

#display_nameString

Returns The display name of the aggregation by type.

Returns:

  • (String)

    The display name of the aggregation by type.



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

def display_name
  @display_name
end

#entity_kindEntityKind

include: ‘Account’, ‘Host’, ‘File’, ‘AzureResource’, ‘CloudApplication’, ‘DnsResolution’, ‘FileHash’, ‘Ip’, ‘Malware’, ‘Process’, ‘RegistryKey’, ‘RegistryValue’, ‘SecurityGroup’, ‘Url’, ‘IoTDevice’, ‘SecurityAlert’, ‘Bookmark’

Returns:

  • (EntityKind)

    The kind of the aggregated entity. Possible values



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

def entity_kind
  @entity_kind
end

Class Method Details

.mapperObject

Mapper for ExpansionResultAggregation 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
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/expansion_result_aggregation.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpansionResultAggregation',
    type: {
      name: 'Composite',
      class_name: 'ExpansionResultAggregation',
      model_properties: {
        aggregation_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aggregationType',
          type: {
            name: 'String'
          }
        },
        count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'count',
          type: {
            name: 'Number'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        entity_kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'entityKind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end