Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobPreparation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_preparation.rb

Overview

Specifies the settings for job preparation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_lineString

specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node.

Returns:

  • (String)

    The command line to execute. If containerSettings is



18
19
20
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_preparation.rb', line 18

def command_line
  @command_line
end

Class Method Details

.mapperObject

Mapper for JobPreparation class as Ruby Hash. This will be used for serialization/deserialization.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_preparation.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobPreparation',
    type: {
      name: 'Composite',
      class_name: 'JobPreparation',
      model_properties: {
        command_line: {
          client_side_validation: true,
          required: true,
          serialized_name: 'commandLine',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end