Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobPropertiesExecutionInfo
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobPropertiesExecutionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb
Overview
Contains information about the execution of a job in the Azure Batch service.
Instance Attribute Summary collapse
-
#end_time ⇒ DateTime
is only returned if the job is in completed state.
-
#errors ⇒ Array<BatchAIError>
encountered by the service during job execution.
-
#exit_code ⇒ Integer
returned if the job is in completed state.
-
#start_time ⇒ DateTime
corresponds to the running state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobPropertiesExecutionInfo class as Ruby Hash.
Instance Attribute Details
#end_time ⇒ DateTime
is only returned if the job is in completed state.
25 26 27 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb', line 25 def end_time @end_time end |
#errors ⇒ Array<BatchAIError>
encountered by the service during job execution.
33 34 35 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb', line 33 def errors @errors end |
#exit_code ⇒ Integer
returned if the job is in completed state.
29 30 31 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb', line 29 def exit_code @exit_code end |
#start_time ⇒ DateTime
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.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb', line 21 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for JobPropertiesExecutionInfo class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_properties_execution_info.rb', line 40 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, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, exit_code: { client_side_validation: true, required: false, serialized_name: 'exitCode', type: { name: 'Number' } }, errors: { client_side_validation: true, required: false, serialized_name: 'errors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'BatchAIErrorElementType', type: { name: 'Composite', class_name: 'BatchAIError' } } } } } } } end |