class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::InputDirectory

Input directory for the job.

Attributes

id[RW]

@return [String] The id for the input directory. It will be available 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.

path[RW]

@return [String] The path to the input directory.

Public Class Methods

mapper() click to toggle source

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

# 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