Class: Azure::Synapse::Mgmt::V2019_06_01_preview::Models::AutoScaleProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/auto_scale_properties.rb

Overview

Auto-scaling properties of a Big Data pool powered by Apache Spark

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

pool.

Returns:

  • (Boolean)

    Whether automatic scaling is enabled for the Big Data



23
24
25
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/auto_scale_properties.rb', line 23

def enabled
  @enabled
end

#max_node_countInteger

support.

Returns:

  • (Integer)

    The maximum number of nodes the Big Data pool can



27
28
29
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/auto_scale_properties.rb', line 27

def max_node_count
  @max_node_count
end

#min_node_countInteger

support.

Returns:

  • (Integer)

    The minimum number of nodes the Big Data pool can



19
20
21
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/auto_scale_properties.rb', line 19

def min_node_count
  @min_node_count
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/auto_scale_properties.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AutoScaleProperties',
    type: {
      name: 'Composite',
      class_name: 'AutoScaleProperties',
      model_properties: {
        min_node_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'minNodeCount',
          type: {
            name: 'Number'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        max_node_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxNodeCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end