Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HardwareProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb

Overview

The hardware profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#vm_sizeString

Returns The size of the VM.

Returns:

  • (String)

    The size of the VM



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb', line 16

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HardwareProfile',
    type: {
      name: 'Composite',
      class_name: 'HardwareProfile',
      model_properties: {
        vm_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmSize',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end