Class: Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Sku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb

Overview

The purchase SKU for CloudSimple paid resources

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityString

Returns The capacity of the SKU.

Returns:

  • (String)

    The capacity of the SKU



16
17
18
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 16

def capacity
  @capacity
end

#descriptionString

Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, …

Returns:

  • (String)

    dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon®



21
22
23
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 21

def description
  @description
end

#familyString

for the same SKU, then that can be captured here

Returns:

  • (String)

    If the service has different generations of hardware,



25
26
27
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 25

def family
  @family
end

#nameString

Returns The name of the SKU for VMWare CloudSimple Node.

Returns:

  • (String)

    The name of the SKU for VMWare CloudSimple Node



28
29
30
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 28

def name
  @name
end

#tierString

Returns The tier of the SKU.

Returns:

  • (String)

    The tier of the SKU



31
32
33
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 31

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Sku',
    type: {
      name: 'Composite',
      class_name: 'Sku',
      model_properties: {
        capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        family: {
          client_side_validation: true,
          required: false,
          serialized_name: 'family',
          type: {
            name: 'String'
          }
        },
        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'
          }
        }
      }
    }
  }
end