Sha256: 61aa1d6e98699ea665f346679ae23b40fa77267d1b93e7a85934c95b31bfa1de

Contents?: true

Size: 1.29 KB

Versions: 6

Compression:

Stored size: 1.29 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2017_09_01
  module Models
    #
    # Specifies how tasks should be distributed across compute nodes.
    #
    #
    class TaskSchedulingPolicy

      include MsRestAzure

      # @return [ComputeNodeFillType] How tasks should be distributed across
      # compute nodes. Possible values include: 'Spread', 'Pack'
      attr_accessor :node_fill_type


      #
      # Mapper for TaskSchedulingPolicy class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.18.0 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.17.2 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.17.1 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.17.0 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.16.0 lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb