class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SetupTask
Specifies a setup task which can be used to customize the compute nodes of the cluster.
Attributes
command_line[RW]
@return [String] Command Line to start Setup process.
environment_variables[RW]
@return [Array<EnvironmentSetting>] Collection of environment settings.
run_elevated[RW]
@return [Boolean] Specifies whether to run the setup task in elevated mode. The default value is false. . Default value: false .
std_out_err_path_prefix[RW]
@return [String] The path where the Batch AI service will upload the stdout and stderror of setup task.
Public Class Methods
mapper()
click to toggle source
Mapper for SetupTask
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SetupTask', type: { name: 'Composite', class_name: 'SetupTask', model_properties: { command_line: { client_side_validation: true, required: true, serialized_name: 'commandLine', type: { name: 'String' } }, environment_variables: { client_side_validation: true, required: false, serialized_name: 'environmentVariables', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EnvironmentSettingElementType', type: { name: 'Composite', class_name: 'EnvironmentSetting' } } } }, run_elevated: { client_side_validation: true, required: false, serialized_name: 'runElevated', default_value: false, type: { name: 'Boolean' } }, std_out_err_path_prefix: { client_side_validation: true, required: true, serialized_name: 'stdOutErrPathPrefix', type: { name: 'String' } } } } } end