Class: Azure::Compute::Mgmt::V2020_12_01::Models::DedicatedHostAvailableCapacity

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb

Overview

Dedicated host unutilized capacity.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allocatable_vmsArray<DedicatedHostAllocatableVM>

the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.

Returns:



18
19
20
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb', line 18

def allocatable_vms
  @allocatable_vms
end

Class Method Details

.mapperObject

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



25
26
27
28
29
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
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DedicatedHostAvailableCapacity',
    type: {
      name: 'Composite',
      class_name: 'DedicatedHostAvailableCapacity',
      model_properties: {
        allocatable_vms: {
          client_side_validation: true,
          required: false,
          serialized_name: 'allocatableVMs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DedicatedHostAllocatableVMElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DedicatedHostAllocatableVM'
                }
            }
          }
        }
      }
    }
  }
end