Class NodeSetup
java.lang.Object
com.microsoft.azure.management.batchai.NodeSetup
Node setup settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet mount volumes to be available to setup task and all jobs executing on the cluster.Get settings for performance counters collecting and uploading.Get setup task to run on cluster nodes when nodes got created or rebooted.withMountVolumes
(MountVolumes mountVolumes) Set mount volumes to be available to setup task and all jobs executing on the cluster.withPerformanceCountersSettings
(PerformanceCountersSettings performanceCountersSettings) Set settings for performance counters collecting and uploading.withSetupTask
(SetupTask setupTask) Set setup task to run on cluster nodes when nodes got created or rebooted.
-
Constructor Details
-
NodeSetup
public NodeSetup()
-
-
Method Details
-
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
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
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
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
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.
-