Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SetupTask
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SetupTask
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb
Overview
Specifies a setup task which can be used to customize the compute nodes of the cluster.
Instance Attribute Summary collapse
-
#command_line ⇒ String
Command Line to start Setup process.
-
#environment_variables ⇒ Array<EnvironmentSetting>
Collection of environment settings.
-
#run_elevated ⇒ Boolean
mode.
-
#std_out_err_path_prefix ⇒ String
stdout and stderror of setup task.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SetupTask class as Ruby Hash.
Instance Attribute Details
#command_line ⇒ String
Returns Command Line to start Setup process.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb', line 17 def command_line @command_line end |
#environment_variables ⇒ Array<EnvironmentSetting>
Returns Collection of environment settings.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb', line 20 def environment_variables @environment_variables end |
#run_elevated ⇒ Boolean
mode. The default value is false. . Default value: false .
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb', line 24 def run_elevated @run_elevated end |
#std_out_err_path_prefix ⇒ String
stdout and stderror of setup task.
28 29 30 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/setup_task.rb', line 28 def std_out_err_path_prefix @std_out_err_path_prefix end |
Class Method Details
.mapper ⇒ Object
Mapper for SetupTask class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# 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 |