Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::InputDirectory
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::InputDirectory
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/input_directory.rb
Overview
Input directory for the job.
Instance Attribute Summary collapse
-
#id ⇒ String
for the job as an environment variable under AZ_BATCHAI_INPUT_id.
-
#path ⇒ String
The path to the input directory.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InputDirectory class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
for the job as an environment variable under AZ_BATCHAI_INPUT_id. The service will also provide the following environment variable: AZ_BATCHAI_PREV_OUTPUT_Name. The value of the variable will be populated if the job is being retried after a previous failure, otherwise it will be set to nothing.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/input_directory.rb', line 21 def id @id end |
#path ⇒ String
Returns The path to the input directory.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/input_directory.rb', line 24 def path @path end |
Class Method Details
.mapper ⇒ Object
Mapper for InputDirectory class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 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 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/input_directory.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InputDirectory', type: { name: 'Composite', class_name: 'InputDirectory', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, path: { client_side_validation: true, required: true, serialized_name: 'path', type: { name: 'String' } } } } } end |