Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IoTDeviceEntity
- Inherits:
-
Entity
- Object
- Entity
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IoTDeviceEntity
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb
Overview
Represents an IoT device entity.
Instance Attribute Summary collapse
-
#additional_data ⇒ Object
will be presented to the user.
-
#device_id ⇒ String
The ID of the IoT Device in the IoT Hub.
-
#device_type ⇒ String
The type of the device.
-
#edge_id ⇒ String
The ID of the edge device.
-
#friendly_name ⇒ String
readable description of the graph item instance.
-
#host_entity_id ⇒ String
The Host entity id of this device.
-
#iot_hub_entity_id ⇒ String
The AzureResource entity id of the IoT Hub.
-
#iot_security_agent_id ⇒ Object
The ID of the security agent running on the device.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#threat_intelligence ⇒ Array<ThreatIntelligence>
the IoTDevice entity.
-
#vendor ⇒ String
The vendor of the device.
Attributes inherited from Entity
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTDeviceEntity class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ IoTDeviceEntity
constructor
A new instance of IoTDeviceEntity.
Constructor Details
#initialize ⇒ IoTDeviceEntity
Returns a new instance of IoTDeviceEntity.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 16 def initialize @kind = "IoTDevice" end |
Instance Attribute Details
#additional_data ⇒ Object
will be presented to the user.
24 25 26 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 24 def additional_data @additional_data end |
#device_id ⇒ String
Returns The ID of the IoT Device in the IoT Hub.
32 33 34 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 32 def device_id @device_id end |
#device_type ⇒ String
Returns The type of the device.
38 39 40 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 38 def device_type @device_type end |
#edge_id ⇒ String
Returns The ID of the edge device.
44 45 46 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 44 def edge_id @edge_id end |
#friendly_name ⇒ String
readable description of the graph item instance. This property is optional and might be system generated.
29 30 31 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 29 def friendly_name @friendly_name end |
#host_entity_id ⇒ String
Returns The Host entity id of this device.
50 51 52 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 50 def host_entity_id @host_entity_id end |
#iot_hub_entity_id ⇒ String
Returns The AzureResource entity id of the IoT Hub.
47 48 49 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 47 def iot_hub_entity_id @iot_hub_entity_id end |
#iot_security_agent_id ⇒ Object
Returns The ID of the security agent running on the device.
35 36 37 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 35 def iot_security_agent_id @iot_security_agent_id end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 20 def kind @kind end |
#threat_intelligence ⇒ Array<ThreatIntelligence>
the IoTDevice entity.
54 55 56 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 54 def threat_intelligence @threat_intelligence end |
#vendor ⇒ String
Returns The vendor of the device.
41 42 43 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 41 def vendor @vendor end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTDeviceEntity class as Ruby Hash. This will be used for serialization/deserialization.
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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb', line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IoTDevice', type: { name: 'Composite', class_name: 'IoTDeviceEntity', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, additional_data: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalData', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, friendly_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.friendlyName', type: { name: 'String' } }, device_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deviceId', type: { name: 'String' } }, iot_security_agent_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.iotSecurityAgentId', type: { name: 'String' } }, device_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deviceType', type: { name: 'String' } }, vendor: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vendor', type: { name: 'String' } }, edge_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.edgeId', type: { name: 'String' } }, iot_hub_entity_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.iotHubEntityId', type: { name: 'String' } }, host_entity_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostEntityId', type: { name: 'String' } }, threat_intelligence: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.threatIntelligence', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ThreatIntelligenceElementType', type: { name: 'Composite', class_name: 'ThreatIntelligence' } } } } } } } end |