Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::IoTSecurityDeviceAlert
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2017_08_01_preview::Models::IoTSecurityDeviceAlert
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb
Overview
Statistic information about the number of alerts per alert type during the last period
Instance Attribute Summary collapse
-
#alert_display_name ⇒ String
Display name of the alert.
-
#alerts_count ⇒ Integer
The number of alerts raised for this alert type.
-
#reported_severity ⇒ ReportedSeverity
values include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTSecurityDeviceAlert class as Ruby Hash.
Instance Attribute Details
#alert_display_name ⇒ String
Returns Display name of the alert.
17 18 19 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 17 def alert_display_name @alert_display_name end |
#alerts_count ⇒ Integer
Returns the number of alerts raised for this alert type.
24 25 26 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 24 def alerts_count @alerts_count end |
#reported_severity ⇒ ReportedSeverity
values include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’
21 22 23 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb', line 21 def reported_severity @reported_severity end |
Class Method Details
.mapper ⇒ Object
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/2017-08-01-preview/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 |