class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::JobBasePropertiesConstraints
Constraints associated with the Job
.
Attributes
max_wall_clock_time[RW]
@return [Duration] Max time the job can run. Default Value = 1 week. Default value: Date.parse('7.00:00:00') .
Public Class Methods
mapper()
click to toggle source
Mapper for JobBasePropertiesConstraints
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/job_base_properties_constraints.rb, line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobBaseProperties_constraints', type: { name: 'Composite', class_name: 'JobBasePropertiesConstraints', model_properties: { max_wall_clock_time: { client_side_validation: true, required: false, serialized_name: 'maxWallClockTime', default_value: Date.parse('7.00:00:00'), type: { name: 'TimeSpan' } } } } } end