Sha256: c39fc1ce4bf86934cdc31361d865208ca287f335d6d36756f72679ebaddf4984

Contents?: true

Size: 1.29 KB

Versions: 2

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::V2018_12_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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb
azure_mgmt_batch-0.18.0 lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb