Class: Azure::Kusto::Mgmt::V2018_09_07_privatepreview::Models::AzureCapacity
- Inherits:
-
Object
- Object
- Azure::Kusto::Mgmt::V2018_09_07_privatepreview::Models::AzureCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#default ⇒ Integer
The default capacity that would be used.
-
#maximum ⇒ Integer
Maximum allowed capacity.
-
#minimum ⇒ Integer
Minimum allowed capacity.
-
#scale_type ⇒ AzureScaleType
‘automatic’, ‘manual’, ‘none’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureCapacity class as Ruby Hash.
Instance Attribute Details
#default ⇒ Integer
Returns The default capacity that would be used.
27 28 29 |
# File 'lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb', line 27 def default @default end |
#maximum ⇒ Integer
Returns Maximum allowed capacity.
24 25 26 |
# File 'lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb', line 24 def maximum @maximum end |
#minimum ⇒ Integer
Returns Minimum allowed capacity.
21 22 23 |
# File 'lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb', line 21 def minimum @minimum end |
#scale_type ⇒ AzureScaleType
‘automatic’, ‘manual’, ‘none’
18 19 20 |
# File 'lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb', line 18 def scale_type @scale_type end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureCapacity 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 71 72 73 74 75 76 77 78 |
# File 'lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/models/azure_capacity.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureCapacity', type: { name: 'Composite', class_name: 'AzureCapacity', model_properties: { scale_type: { client_side_validation: true, required: true, serialized_name: 'scaleType', type: { name: 'String' } }, minimum: { client_side_validation: true, required: true, serialized_name: 'minimum', type: { name: 'Number' } }, maximum: { client_side_validation: true, required: true, serialized_name: 'maximum', type: { name: 'Number' } }, default: { client_side_validation: true, required: true, serialized_name: 'default', type: { name: 'Number' } } } } } end |