class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::OutputDirectory

Output directory for the job.

Attributes

create_new[RW]

@return [Boolean] True to create new directory. Default is true. If false, then the directory is not created and can be any directory path that the user specifies. Default value: true .

id[RW]

@return [String] The name for the output directory. It will be available for the job as an environment variable under AZ_BATCHAI_OUTPUT_id.

path_prefix[RW]

@return [String] The prefix path where the output directory will be created. NOTE: This is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs.

path_suffix[RW]

@return [String] The suffix path where the output directory will be created. The suffix path where the output directory will be created.

type[RW]

@return [OutputType] An enumeration, which specifies the type of job output directory. Default value is Custom. The possible values are Model, Logs, Summary, and Custom. Users can use multiple enums for a single directory. Eg. outPutType='Model,Logs, Summary'. Possible values include: 'model', 'logs', 'summary', 'custom'. Default value: 'custom' .

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/output_directory.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OutputDirectory',
    type: {
      name: 'Composite',
      class_name: 'OutputDirectory',
      model_properties: {
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        path_prefix: {
          client_side_validation: true,
          required: true,
          serialized_name: 'pathPrefix',
          type: {
            name: 'String'
          }
        },
        path_suffix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pathSuffix',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          default_value: 'custom',
          type: {
            name: 'String'
          }
        },
        create_new: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createNew',
          default_value: true,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end