Class: Azure::Automation::Mgmt::V2015_10_31::Models::Sku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb

Overview

The account SKU.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityInteger

Returns Gets or sets the SKU capacity.

Returns:

  • (Integer)

    Gets or sets the SKU capacity.



23
24
25
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb', line 23

def capacity
  @capacity
end

#familyString

Returns Gets or sets the SKU family.

Returns:

  • (String)

    Gets or sets the SKU family.



20
21
22
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb', line 20

def family
  @family
end

#nameSkuNameEnum

Possible values include: ‘Free’, ‘Basic’

Returns:

  • (SkuNameEnum)

    Gets or sets the SKU name of the account.



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb', line 17

def name
  @name
end

Class Method Details

.mapperObject

Mapper for Sku 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
65
66
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/sku.rb', line 30

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: 'String'
          }
        },
        family: {
          client_side_validation: true,
          required: false,
          serialized_name: 'family',
          type: {
            name: 'String'
          }
        },
        capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end