Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobCreateParameters
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb
Overview
Parameters supplied to the Create operation.
Instance Attribute Summary collapse
-
#caffe2settings ⇒ Caffe2Settings
Specifies the settings for Caffe2 job.
-
#caffe_settings ⇒ CaffeSettings
Specifies the settings for Caffe job.
-
#chainer_settings ⇒ ChainerSettings
Specifies the settings for Chainer job.
-
#cluster ⇒ ResourceId
will run.
-
#cntk_settings ⇒ CNTKsettings
Cognitive Toolkit) job.
-
#constraints ⇒ JobBasePropertiesConstraints
Job.
-
#container_settings ⇒ ContainerSettings
specified container.
-
#custom_toolkit_settings ⇒ CustomToolkitSettings
kit job.
-
#environment_variables ⇒ Array<EnvironmentSetting>
set on the job.
-
#experiment_name ⇒ String
Describe the experiment information of the job.
-
#input_directories ⇒ Array<InputDirectory>
for the Job.
-
#job_preparation ⇒ JobPreparation
before tool kit is launched.
-
#location ⇒ String
The region in which to create the job.
-
#node_count ⇒ Integer
will be gang scheduled on that many compute nodes.
-
#output_directories ⇒ Array<OutputDirectory>
directories where the models will be created.
-
#priority ⇒ Integer
with the job.
-
#std_out_err_path_prefix ⇒ String
and stderror of the job.
-
#tags ⇒ Hash{String => String}
with the job.
-
#tensor_flow_settings ⇒ TensorFlowSettings
job.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobCreateParameters class as Ruby Hash.
Instance Attribute Details
#caffe2settings ⇒ Caffe2Settings
Returns Specifies the settings for Caffe2 job.
57 58 59 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 57 def caffe2settings @caffe2settings end |
#caffe_settings ⇒ CaffeSettings
Returns Specifies the settings for Caffe job.
54 55 56 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 54 def caffe_settings @caffe_settings end |
#chainer_settings ⇒ ChainerSettings
Returns Specifies the settings for Chainer job.
60 61 62 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 60 def chainer_settings @chainer_settings end |
#cluster ⇒ ResourceId
will run.
33 34 35 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 33 def cluster @cluster end |
#cntk_settings ⇒ CNTKsettings
Cognitive Toolkit) job.
47 48 49 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 47 def cntk_settings @cntk_settings end |
#constraints ⇒ JobBasePropertiesConstraints
Job.
93 94 95 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 93 def constraints @constraints end |
#container_settings ⇒ ContainerSettings
specified container. If the container was downloaded as part of cluster setup then the same container image will be used. If not provided, the job will run on the VM.
43 44 45 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 43 def container_settings @container_settings end |
#custom_toolkit_settings ⇒ CustomToolkitSettings
kit job.
64 65 66 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 64 def custom_toolkit_settings @custom_toolkit_settings end |
#environment_variables ⇒ Array<EnvironmentSetting>
set on the job. Batch AI service sets the following environment variables for all jobs: AZ_BATCHAI_INPUT_id, AZ_BATCHAI_OUTPUT_id, AZ_BATCHAI_NUM_GPUS_PER_NODE. For distributed TensorFlow jobs, following additional environment variables are set by the Batch AI Service: AZ_BATCHAI_PS_HOSTS, AZ_BATCHAI_WORKER_HOSTS
89 90 91 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 89 def environment_variables @environment_variables end |
#experiment_name ⇒ String
Returns Describe the experiment information of the job.
23 24 25 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 23 def experiment_name @experiment_name end |
#input_directories ⇒ Array<InputDirectory>
for the Job.
77 78 79 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 77 def input_directories @input_directories end |
#job_preparation ⇒ JobPreparation
before tool kit is launched. The specified actions will run on all the nodes that are part of the job
69 70 71 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 69 def job_preparation @job_preparation end |
#location ⇒ String
Returns The region in which to create the job.
16 17 18 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 16 def location @location end |
#node_count ⇒ Integer
will be gang scheduled on that many compute nodes
37 38 39 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 37 def node_count @node_count end |
#output_directories ⇒ Array<OutputDirectory>
directories where the models will be created. .
81 82 83 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 81 def output_directories @output_directories end |
#priority ⇒ Integer
with the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. Default value: 0 .
29 30 31 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 29 def priority @priority end |
#std_out_err_path_prefix ⇒ String
and stderror of the job.
73 74 75 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 73 def std_out_err_path_prefix @std_out_err_path_prefix end |
#tags ⇒ Hash{String => String}
with the job.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 20 def @tags end |
#tensor_flow_settings ⇒ TensorFlowSettings
job.
51 52 53 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 51 def tensor_flow_settings @tensor_flow_settings end |
Class Method Details
.mapper ⇒ Object
Mapper for JobCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_create_parameters.rb', line 100 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobCreateParameters', type: { name: 'Composite', class_name: 'JobCreateParameters', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, experiment_name: { client_side_validation: true, required: false, serialized_name: 'properties.experimentName', type: { name: 'String' } }, priority: { client_side_validation: true, required: false, serialized_name: 'properties.priority', default_value: 0, type: { name: 'Number' } }, cluster: { client_side_validation: true, required: true, serialized_name: 'properties.cluster', type: { name: 'Composite', class_name: 'ResourceId' } }, node_count: { client_side_validation: true, required: true, serialized_name: 'properties.nodeCount', type: { name: 'Number' } }, container_settings: { client_side_validation: true, required: false, serialized_name: 'properties.containerSettings', type: { name: 'Composite', class_name: 'ContainerSettings' } }, cntk_settings: { client_side_validation: true, required: false, serialized_name: 'properties.cntkSettings', type: { name: 'Composite', class_name: 'CNTKsettings' } }, tensor_flow_settings: { client_side_validation: true, required: false, serialized_name: 'properties.tensorFlowSettings', type: { name: 'Composite', class_name: 'TensorFlowSettings' } }, caffe_settings: { client_side_validation: true, required: false, serialized_name: 'properties.caffeSettings', type: { name: 'Composite', class_name: 'CaffeSettings' } }, caffe2settings: { client_side_validation: true, required: false, serialized_name: 'properties.caffe2Settings', type: { name: 'Composite', class_name: 'Caffe2Settings' } }, chainer_settings: { client_side_validation: true, required: false, serialized_name: 'properties.chainerSettings', type: { name: 'Composite', class_name: 'ChainerSettings' } }, custom_toolkit_settings: { client_side_validation: true, required: false, serialized_name: 'properties.customToolkitSettings', type: { name: 'Composite', class_name: 'CustomToolkitSettings' } }, job_preparation: { client_side_validation: true, required: false, serialized_name: 'properties.jobPreparation', type: { name: 'Composite', class_name: 'JobPreparation' } }, std_out_err_path_prefix: { client_side_validation: true, required: true, serialized_name: 'properties.stdOutErrPathPrefix', type: { name: 'String' } }, input_directories: { client_side_validation: true, required: false, serialized_name: 'properties.inputDirectories', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InputDirectoryElementType', type: { name: 'Composite', class_name: 'InputDirectory' } } } }, output_directories: { client_side_validation: true, required: false, serialized_name: 'properties.outputDirectories', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'OutputDirectoryElementType', type: { name: 'Composite', class_name: 'OutputDirectory' } } } }, environment_variables: { client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EnvironmentSettingElementType', type: { name: 'Composite', class_name: 'EnvironmentSetting' } } } }, constraints: { client_side_validation: true, required: false, serialized_name: 'properties.constraints', type: { name: 'Composite', class_name: 'JobBasePropertiesConstraints' } } } } } end |