class Azure::EdgeGateway::Mgmt::V2019_03_01::Models::IoTDeviceInfo

Metadata of IoT device/IoT Edge device to be configured.

Attributes

authentication[RW]

@return [Authentication] IoT device authentication info.

device_id[RW]

@return [String] ID of the IoT device/edge device.

io_thost_hub[RW]

@return [String] Host name for the IoT hub associated to the device.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IoTDeviceInfo',
    type: {
      name: 'Composite',
      class_name: 'IoTDeviceInfo',
      model_properties: {
        device_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'deviceId',
          type: {
            name: 'String'
          }
        },
        io_thost_hub: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ioTHostHub',
          type: {
            name: 'String'
          }
        },
        authentication: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authentication',
          type: {
            name: 'Composite',
            class_name: 'Authentication'
          }
        }
      }
    }
  }
end