Class: Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-08-01/generated/azure_mgmt_analysis_services/models/resource_sku.rb

Overview

Represents the SKU name and Azure pricing tier for Analysis Services resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

Default value: 1 .

Returns:

  • (Integer)

    The number of instances in the read only query pool.



25
26
27
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/resource_sku.rb', line 25

def capacity
  @capacity
end

#nameString

Returns Name of the SKU level.

Returns:

  • (String)

    Name of the SKU level.



17
18
19
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/resource_sku.rb', line 17

def name
  @name
end

#tierSkuTier

applies. Possible values include: ‘Development’, ‘Basic’, ‘Standard’

Returns:

  • (SkuTier)

    The name of the Azure pricing tier to which the SKU



21
22
23
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/resource_sku.rb', line 21

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
66
67
68
69
70
71
72
73
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/resource_sku.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceSku',
    type: {
      name: 'Composite',
      class_name: 'ResourceSku',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        tier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tier',
          type: {
            name: 'String'
          }
        },
        capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacity',
          default_value: 1,
          constraints: {
            InclusiveMaximum: 8,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end