class Azure::DataBoxEdge::Mgmt::V2019_08_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.

io_thost_hub_id[RW]

@return [String] Id 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-08-01/generated/azure_mgmt_databoxedge/models/io_tdevice_info.rb, line 32
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'
          }
        },
        io_thost_hub_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ioTHostHubId',
          type: {
            name: 'String'
          }
        },
        authentication: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authentication',
          type: {
            name: 'Composite',
            class_name: 'Authentication'
          }
        }
      }
    }
  }
end