Class: Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityDeviceAlert

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb

Overview

Statistical information about the number of alerts per alert type during last set number of days

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#alert_display_nameString

Returns Display name of the alert.

Returns:

  • (String)

    Display name of the alert



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 17

def alert_display_name
  @alert_display_name
end

#alerts_countInteger

Returns Number of alerts raised for this alert type.

Returns:

  • (Integer)

    Number of alerts raised for this alert type.



24
25
26
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 24

def alerts_count
  @alerts_count
end

#reported_severityReportedSeverity

include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’

Returns:



21
22
23
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 21

def reported_severity
  @reported_severity
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
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
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IoTSecurityDeviceAlert',
    type: {
      name: 'Composite',
      class_name: 'IoTSecurityDeviceAlert',
      model_properties: {
        alert_display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertDisplayName',
          type: {
            name: 'String'
          }
        },
        reported_severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reportedSeverity',
          type: {
            name: 'String'
          }
        },
        alerts_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertsCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end