java.lang.Object
com.azure.core.management.ProxyResource

public final class IoTRole extends RoleInner
Compute role.
  • Constructor Details

    • IoTRole

      public IoTRole()
      Creates an instance of IoTRole class.
  • Method Details

    • hostPlatform

      public PlatformType hostPlatform()
      Get the hostPlatform property: Host OS supported by the IoT role.
      Returns:
      the hostPlatform value.
    • withHostPlatform

      public IoTRole withHostPlatform(PlatformType hostPlatform)
      Set the hostPlatform property: Host OS supported by the IoT role.
      Parameters:
      hostPlatform - the hostPlatform value to set.
      Returns:
      the IoTRole object itself.
    • ioTDeviceDetails

      public IoTDeviceInfo ioTDeviceDetails()
      Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.
      Returns:
      the ioTDeviceDetails value.
    • withIoTDeviceDetails

      public IoTRole withIoTDeviceDetails(IoTDeviceInfo ioTDeviceDetails)
      Set the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.
      Parameters:
      ioTDeviceDetails - the ioTDeviceDetails value to set.
      Returns:
      the IoTRole object itself.
    • ioTEdgeDeviceDetails

      public IoTDeviceInfo ioTEdgeDeviceDetails()
      Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.
      Returns:
      the ioTEdgeDeviceDetails value.
    • withIoTEdgeDeviceDetails

      public IoTRole withIoTEdgeDeviceDetails(IoTDeviceInfo ioTEdgeDeviceDetails)
      Set the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.
      Parameters:
      ioTEdgeDeviceDetails - the ioTEdgeDeviceDetails value to set.
      Returns:
      the IoTRole object itself.
    • shareMappings

      public List<MountPointMap> shareMappings()
      Get the shareMappings property: Mount points of shares in role(s).
      Returns:
      the shareMappings value.
    • withShareMappings

      public IoTRole withShareMappings(List<MountPointMap> shareMappings)
      Set the shareMappings property: Mount points of shares in role(s).
      Parameters:
      shareMappings - the shareMappings value to set.
      Returns:
      the IoTRole object itself.
    • roleStatus

      public RoleStatus roleStatus()
      Get the roleStatus property: Role status.
      Returns:
      the roleStatus value.
    • withRoleStatus

      public IoTRole withRoleStatus(RoleStatus roleStatus)
      Set the roleStatus property: Role status.
      Parameters:
      roleStatus - the roleStatus value to set.
      Returns:
      the IoTRole object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class RoleInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.