class Azure::BatchAI::Mgmt::V2018_03_01::Models::SetupTask
Specifies a setup task which can be used to customize the compute nodes of the cluster.
Attributes
@return [String] Command Line to start Setup process.
@return [Array<EnvironmentVariable>] Collection of environment variables to be set for setup task.
@return [Boolean] Specifies whether to run the setup task under root account. The default value is false. Note. Non-elevated tasks are run under an account added into sudoer list and can perform sudo when required. Default value: false .
@return [Array<EnvironmentVariableWithSecretValue>] Collection of environment variables with secret values to be set for setup task. Server will never report values of these variables back.
@return [String] The prefix of a path where the Batch AI service will upload the stdout and stderr of the setup task.
@return [String] A path segment appended by Batch AI to stdOutErrPathPrefix to form a path where stdout and stderr of the setup task will be uploaded. Batch AI creates the setup task output directories under an unique path to avoid conflicts between different clusters. You can concatenate stdOutErrPathPrefix and stdOutErrPathSuffix to get the full path to the output directory.
Public Class Methods
Mapper for SetupTask
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/generated/azure_mgmt_batchai/models/setup_task.rb, line 51 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: 'EnvironmentVariableElementType', type: { name: 'Composite', class_name: 'EnvironmentVariable' } } } }, secrets: { client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableWithSecretValueElementType', type: { name: 'Composite', class_name: 'EnvironmentVariableWithSecretValue' } } } }, 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' } }, std_out_err_path_suffix: { client_side_validation: true, required: false, read_only: true, serialized_name: 'stdOutErrPathSuffix', type: { name: 'String' } } } } } end