class Azure::BatchAI::Mgmt::V2018_05_01::Models::JobPropertiesExecutionInfo

Information about the execution of a job.

Attributes

end_time[RW]

@return [DateTime] End time. The time at which the job completed. This property is only returned if the job is in completed state.

errors[RW]

@return [Array<BatchAIError>] Errors. A collection of errors encountered by the service during job execution.

exit_code[RW]

@return [Integer] Exit code. The exit code of the job. This property is only returned if the job is in completed state.

start_time[RW]

@return [DateTime] Start time. The time at which the job started running. 'Running' corresponds to the running state. If the job has been restarted or retried, this is the most recent time at which the job started running. This property is present only for job that are in the running or completed state.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobProperties_executionInfo',
    type: {
      name: 'Composite',
      class_name: 'JobPropertiesExecutionInfo',
      model_properties: {
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        exit_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'exitCode',
          type: {
            name: 'Number'
          }
        },
        errors: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'errors',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'BatchAIErrorElementType',
                type: {
                  name: 'Composite',
                  class_name: 'BatchAIError'
                }
            }
          }
        }
      }
    }
  }
end