Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleTimeAndCapacity
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleTimeAndCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb
Overview
Time and capacity request parameters
Instance Attribute Summary collapse
-
#max_instance_count ⇒ Integer
The maximum instance count of the cluster.
-
#min_instance_count ⇒ Integer
The minimum instance count of the cluster.
-
#time ⇒ String
24-hour time in the form xx:xx.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoscaleTimeAndCapacity class as Ruby Hash.
Instance Attribute Details
#max_instance_count ⇒ Integer
Returns The maximum instance count of the cluster.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb', line 22 def max_instance_count @max_instance_count end |
#min_instance_count ⇒ Integer
Returns The minimum instance count of the cluster.
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb', line 19 def min_instance_count @min_instance_count end |
#time ⇒ String
Returns 24-hour time in the form xx:xx.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb', line 16 def time @time end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoscaleTimeAndCapacity class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 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 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoscaleTimeAndCapacity', type: { name: 'Composite', class_name: 'AutoscaleTimeAndCapacity', model_properties: { time: { client_side_validation: true, required: false, serialized_name: 'time', type: { name: 'String' } }, min_instance_count: { client_side_validation: true, required: false, serialized_name: 'minInstanceCount', type: { name: 'Number' } }, max_instance_count: { client_side_validation: true, required: false, serialized_name: 'maxInstanceCount', type: { name: 'Number' } } } } } end |