class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTRole

Compute role.

Attributes

host_platform[RW]

@return [PlatformType] Host OS supported by the IoT role. Possible values include: 'Windows', 'Linux'

io_tdevice_details[RW]

@return [IoTDeviceInfo] IoT device metadata to which data box edge device needs to be connected.

io_tedge_device_details[RW]

@return [IoTDeviceInfo] IoT edge device to which the IoT role needs to be configured.

kind[RW]
role_status[RW]

@return [RoleStatus] Role status. Possible values include: 'Enabled', 'Disabled'

share_mappings[RW]

@return [Array<MountPointMap>] Mount points of shares in role(s).

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IOT',
    type: {
      name: 'Composite',
      class_name: 'IoTRole',
      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'
          }
        },
        host_platform: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.hostPlatform',
          type: {
            name: 'String'
          }
        },
        io_tdevice_details: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.ioTDeviceDetails',
          type: {
            name: 'Composite',
            class_name: 'IoTDeviceInfo'
          }
        },
        io_tedge_device_details: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.ioTEdgeDeviceDetails',
          type: {
            name: 'Composite',
            class_name: 'IoTDeviceInfo'
          }
        },
        share_mappings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.shareMappings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MountPointMapElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MountPointMap'
                }
            }
          }
        },
        role_status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.roleStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/io_trole.rb, line 16
def initialize
  @kind = "IOT"
end