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

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, 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.



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

def capacity
  @capacity
end

#resource_typeString

Returns Resource type that this SKU applies to.

Returns:

  • (String)

    Resource type that this SKU applies to.



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

def resource_type
  @resource_type
end

#skuSkuDescription

Returns Name and tier of the SKU.

Returns:



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

def sku
  @sku
end

Class Method Details

.mapperObject

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



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
64
# File 'lib/generated/azure_mgmt_web/models/sku_info.rb', line 30

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