class Azure::Security::Mgmt::V2017_08_01_preview::Models::IoTSecurityAlertedDevice

Statistic information about the number of alerts per device during the last period

Attributes

alerts_count[RW]

@return [Integer] the number of alerts raised for this device

device_id[RW]

@return [String] Name of the alert type

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IoTSecurityAlertedDevice',
    type: {
      name: 'Composite',
      class_name: 'IoTSecurityAlertedDevice',
      model_properties: {
        device_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deviceId',
          type: {
            name: 'String'
          }
        },
        alerts_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertsCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end