class Azure::Batch::Mgmt::V2018_12_01::Models::TaskSchedulingPolicy
Specifies how tasks should be distributed across compute nodes.
Attributes
node_fill_type[RW]
@return [ComputeNodeFillType] How tasks should be distributed across compute nodes. Possible values include: 'Spread', 'Pack'
Public Class Methods
mapper()
click to toggle source
Mapper for TaskSchedulingPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb, line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TaskSchedulingPolicy', type: { name: 'Composite', class_name: 'TaskSchedulingPolicy', model_properties: { node_fill_type: { client_side_validation: true, required: true, serialized_name: 'nodeFillType', type: { name: 'Enum', module: 'ComputeNodeFillType' } } } } } end