Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::Sku
- Inherits:
-
Object
- Object
- Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/sku.rb
Overview
The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate.
Instance Attribute Summary collapse
-
#capacity ⇒ Integer
support scale out of environments after they have been created.
-
#name ⇒ SkuName
‘S2’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
support scale out of environments after they have been created.
22 23 24 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/sku.rb', line 22 def capacity @capacity end |
#name ⇒ SkuName
‘S2’
18 19 20 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/sku.rb', line 18 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for Sku 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 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/sku.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Sku', type: { name: 'Composite', class_name: 'Sku', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'Enum', module: 'SkuName' } }, capacity: { client_side_validation: true, required: true, serialized_name: 'capacity', constraints: { InclusiveMaximum: 10, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end |