class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::NodeSetup
Use this to prepare the VM. NOTE: The volumes specified in mountVolumes are mounted first and then the setupTask is run. Therefore the setup task can use local mountPaths in its execution.
Attributes
mount_volumes[RW]
@return [MountVolumes] Information on shared volumes to be used by jobs.
setup_task[RW]
@return [SetupTask] Specifies a setup task which can be used to customize the compute nodes of the cluster. The NodeSetup
task runs every time a VM is rebooted. For that reason the task code needs to be idempotent. Generally it is used to either download static data that is required for all jobs that run on the cluster VMs or to download/install software.
Public Class Methods
mapper()
click to toggle source
Mapper for NodeSetup
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/node_setup.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeSetup', type: { name: 'Composite', class_name: 'NodeSetup', model_properties: { setup_task: { client_side_validation: true, required: false, serialized_name: 'setupTask', type: { name: 'Composite', class_name: 'SetupTask' } }, mount_volumes: { client_side_validation: true, required: false, serialized_name: 'mountVolumes', type: { name: 'Composite', class_name: 'MountVolumes' } } } } } end