Class: Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAlertedDevice
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAlertedDevice
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb
Overview
Statistical information about the number of alerts per device during last set number of days.
Instance Attribute Summary collapse
-
#alerts_count ⇒ Integer
Number of alerts raised for this device.
-
#device_id ⇒ String
Device identifier.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTSecurityAlertedDevice class as Ruby Hash.
Instance Attribute Details
#alerts_count ⇒ Integer
Returns Number of alerts raised for this device.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb', line 20 def alerts_count @alerts_count end |
#device_id ⇒ String
Returns Device identifier.
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb', line 17 def device_id @device_id end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTSecurityAlertedDevice class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 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 |
# File 'lib/2019-08-01/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 |