class Azure::Compute::Mgmt::V2019_03_01::Models::DedicatedHostAvailableCapacity

Dedicated host unutilized capacity.

Attributes

allocatable_vms[RW]

@return [Array<DedicatedHostAllocatableVM>] The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-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