Class NodeSetup

java.lang.Object
com.microsoft.azure.management.batchai.NodeSetup

public class NodeSetup extends Object
Node setup settings.
  • Constructor Details

    • NodeSetup

      public NodeSetup()
  • Method Details

    • setupTask

      public SetupTask setupTask()
      Get setup task to run on cluster nodes when nodes got created or rebooted. The setup task code needs to be idempotent. Generally the setup task is used to download static data that is required for all jobs that run on the cluster VMs and/or to download/install software.
      Returns:
      the setupTask value
    • withSetupTask

      public NodeSetup withSetupTask(SetupTask setupTask)
      Set setup task to run on cluster nodes when nodes got created or rebooted. The setup task code needs to be idempotent. Generally the setup task is used to download static data that is required for all jobs that run on the cluster VMs and/or to download/install software.
      Parameters:
      setupTask - the setupTask value to set
      Returns:
      the NodeSetup object itself.
    • mountVolumes

      public MountVolumes mountVolumes()
      Get mount volumes to be available to setup task and all jobs executing on the cluster. The volumes will be mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT environment variable.
      Returns:
      the mountVolumes value
    • withMountVolumes

      public NodeSetup withMountVolumes(MountVolumes mountVolumes)
      Set mount volumes to be available to setup task and all jobs executing on the cluster. The volumes will be mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT environment variable.
      Parameters:
      mountVolumes - the mountVolumes value to set
      Returns:
      the NodeSetup object itself.
    • performanceCountersSettings

      public PerformanceCountersSettings performanceCountersSettings()
      Get settings for performance counters collecting and uploading.
      Returns:
      the performanceCountersSettings value
    • withPerformanceCountersSettings

      public NodeSetup withPerformanceCountersSettings(PerformanceCountersSettings performanceCountersSettings)
      Set settings for performance counters collecting and uploading.
      Parameters:
      performanceCountersSettings - the performanceCountersSettings value to set
      Returns:
      the NodeSetup object itself.