Class: Azure::Security::Mgmt::V2020_08_06_preview::Models::IotAlertModel
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_08_06_preview::Models::IotAlertModel
- 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
-
#alert_type ⇒ String
The type name of the alert.
-
#compromised_entity ⇒ String
Display name of the main entity being reported on.
-
#end_time_utc ⇒ String
event or activity included in the alert).
-
#entities ⇒ Object
A list of entities related to the alert.
-
#extended_properties ⇒ Object
A bag of fields which extends the alert information.
-
#start_time_utc ⇒ String
first event or activity included in the alert).
-
#system_alert_id ⇒ String
within the scope of a product.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IotAlertModel class as Ruby Hash.
Instance Attribute Details
#alert_type ⇒ String
Returns 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_entity ⇒ String
Returns 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_utc ⇒ String
event or activity included in the alert)
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 |
#entities ⇒ Object
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_properties ⇒ Object
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_utc ⇒ String
first event or activity included in the alert)
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_id ⇒ String
within the scope of a product
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
.mapper ⇒ Object
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 |