Class: Azure::Security::Mgmt::V2020_08_06_preview::Models::IotAlertModel

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb

Overview

IoT alert

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#alert_typeString

Returns The type name of the alert.

Returns:

  • (String)

    The type name of the alert



23
24
25
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 23

def alert_type
  @alert_type
end

#compromised_entityString

Returns Display name of the main entity being reported on.

Returns:

  • (String)

    Display name of the main entity being reported on



20
21
22
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 20

def compromised_entity
  @compromised_entity
end

#end_time_utcString

event or activity included in the alert)

Returns:

  • (String)

    The impact end time of the alert (the time of the last



31
32
33
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 31

def end_time_utc
  @end_time_utc
end

#entitiesObject

Returns A list of entities related to the alert.

Returns:

  • A list of entities related to the alert



34
35
36
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 34

def entities
  @entities
end

#extended_propertiesObject

Returns A bag of fields which extends the alert information.

Returns:

  • A bag of fields which extends the alert information



37
38
39
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 37

def extended_properties
  @extended_properties
end

#start_time_utcString

first event or activity included in the alert)

Returns:

  • (String)

    The impact start time of the alert (the time of the



27
28
29
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 27

def start_time_utc
  @start_time_utc
end

#system_alert_idString

within the scope of a product

Returns:

  • (String)

    Holds the product canonical identifier of the alert



17
18
19
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 17

def system_alert_id
  @system_alert_id
end

Class Method Details

.mapperObject

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



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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IotAlertModel',
    type: {
      name: 'Composite',
      class_name: 'IotAlertModel',
      model_properties: {
        system_alert_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.systemAlertId',
          type: {
            name: 'String'
          }
        },
        compromised_entity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.compromisedEntity',
          type: {
            name: 'String'
          }
        },
        alert_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.alertType',
          type: {
            name: 'String'
          }
        },
        start_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startTimeUtc',
          type: {
            name: 'String'
          }
        },
        end_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endTimeUtc',
          type: {
            name: 'String'
          }
        },
        entities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.entities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        extended_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.extendedProperties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end