class Azure::BatchAI::Mgmt::V2018_05_01::Models::JobPropertiesConstraints

Constraints associated with the Job.

Attributes

max_wall_clock_time[RW]

@return [Duration] Max wall clock time. Max time the job can run. Default value: 1 week. Default value: Date.parse('7.00:00:00') .

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/job_properties_constraints.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobProperties_constraints',
    type: {
      name: 'Composite',
      class_name: 'JobPropertiesConstraints',
      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