class Azure::Security::Mgmt::V2019_08_01::Models::IotAlert

IoT alert

Attributes

alert_type[RW]

@return [String] The type name of the alert

compromised_entity[RW]

@return [String] Display name of the main entity being reported on

end_time_utc[RW]

@return [String] The impact end time of the alert (the time of the last event or activity included in the alert)

entities[RW]

@return A list of entities related to the alert

extended_properties[RW]

@return A bag of fields which extends the alert information

start_time_utc[RW]

@return [String] The impact start time of the alert (the time of the first event or activity included in the alert)

system_alert_id[RW]

@return [String] Holds the product canonical identifier of the alert within the scope of a product

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_security/models/iot_alert.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IotAlert',
    type: {
      name: 'Composite',
      class_name: 'IotAlert',
      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