Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::Sku

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

support scale out of environments after they have been created.

Returns:

  • (Integer)

    The capacity of the sku. This value can be changed to



22
23
24
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/sku.rb', line 22

def capacity
  @capacity
end

#nameSkuName

‘S2’

Returns:

  • (SkuName)

    The name of this SKU. Possible values include: ‘S1’,



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

.mapperObject

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