class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IoTDeviceEntity

Represents an IoT device entity.

Attributes

additional_data[RW]

@return A bag of custom fields that should be part of the entity and will be presented to the user.

device_id[RW]

@return [String] The ID of the IoT Device in the IoT Hub

device_type[RW]

@return [String] The type of the device

edge_id[RW]

@return [String] The ID of the edge device

friendly_name[RW]

@return [String] The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

host_entity_id[RW]

@return [String] The Host entity id of this device

iot_hub_entity_id[RW]

@return [String] The AzureResource entity id of the IoT Hub

iot_security_agent_id[RW]

@return The ID of the security agent running on the device

kind[RW]
threat_intelligence[RW]

@return [Array<ThreatIntelligence>] A list of TI contexts attached to the IoTDevice entity.

vendor[RW]

@return [String] The vendor of the device

Public Class Methods

mapper() click to toggle source

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

# 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
new() click to toggle source
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/io_tdevice_entity.rb, line 16
def initialize
  @kind = "IoTDevice"
end