Class: Azure::Batch::Mgmt::V2018_12_01::Models::TaskSchedulingPolicy
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2018_12_01::Models::TaskSchedulingPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
Overview
Specifies how tasks should be distributed across compute nodes.
Instance Attribute Summary collapse
-
#node_fill_type ⇒ ComputeNodeFillType
compute nodes.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TaskSchedulingPolicy class as Ruby Hash.
Instance Attribute Details
#node_fill_type ⇒ ComputeNodeFillType
compute nodes. Possible values include: ‘Spread’, ‘Pack’
18 19 20 |
# File 'lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb', line 18 def node_fill_type @node_fill_type end |
Class Method Details
.mapper ⇒ Object
Mapper for TaskSchedulingPolicy class as Ruby Hash. This will be used for serialization/deserialization.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# 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 |