Class: Azure::ARM::Web::Models::GlobalCsmSkuDescription

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb

Overview

A Global SKU Description.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capabilitiesArray<Capability>

manager enabled?

Returns:

  • (Array<Capability>)

    Capabilities of the SKU, e.g., is traffic



30
31
32
# File 'lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb', line 30

def capabilities
  @capabilities
end

#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/global_csm_sku_description.rb', line 23

def capacity
  @capacity
end

#locationsArray<String>

Returns Locations of the SKU.

Returns:

  • (Array<String>)

    Locations of the SKU.



26
27
28
# File 'lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb', line 26

def locations
  @locations
end

#nameString

Returns Name of the resource SKU.

Returns:

  • (String)

    Name of the resource SKU.



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

def name
  @name
end

#tierString

Returns Service Tier of the resource SKU.

Returns:

  • (String)

    Service Tier of the resource SKU.



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

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb', line 37

def self.mapper()
  {
    required: false,
    serialized_name: 'GlobalCsmSkuDescription',
    type: {
      name: 'Composite',
      class_name: 'GlobalCsmSkuDescription',
      model_properties: {
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        tier: {
          required: false,
          serialized_name: 'tier',
          type: {
            name: 'String'
          }
        },
        capacity: {
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'Composite',
            class_name: 'SkuCapacity'
          }
        },
        locations: {
          required: false,
          serialized_name: 'locations',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        capabilities: {
          required: false,
          serialized_name: 'capabilities',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'CapabilityElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Capability'
                }
            }
          }
        }
      }
    }
  }
end