Class: Azure::ARM::Web::Models::SkuInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/sku_info.rb

Overview

Sku discovery information

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacitySkuCapacity

Returns Min, max, and default scale values of the sku.

Returns:

  • (SkuCapacity)

    Min, max, and default scale values of the sku



22
23
24
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 22

def capacity
  @capacity
end

#resource_typeString

Returns Resource type that this sku applies to.

Returns:

  • (String)

    Resource type that this sku applies to



16
17
18
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 16

def resource_type
  @resource_type
end

#skuSkuDescription

Returns Name and tier of the sku.

Returns:



19
20
21
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 19

def sku
  @sku
end

Class Method Details

.mapperObject

Mapper for SkuInfo 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
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'SkuInfo',
    type: {
      name: 'Composite',
      class_name: 'SkuInfo',
      model_properties: {
        resource_type: {
          required: false,
          serialized_name: 'resourceType',
          type: {
            name: 'String'
          }
        },
        sku: {
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'SkuDescription'
          }
        },
        capacity: {
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'Composite',
            class_name: 'SkuCapacity'
          }
        }
      }
    }
  }
end