class Azure::Compute::Mgmt::V2019_03_01::Models::DedicatedHostAllocatableVM
Represents the dedicated host unutilized capacity in terms of a specific VM size.
Attributes
count[RW]
@return [Float] Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
vm_size[RW]
@return [String] VM size in terms of which the unutilized capacity is represented.
Public Class Methods
mapper()
click to toggle source
Mapper for DedicatedHostAllocatableVM
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedHostAllocatableVM', type: { name: 'Composite', class_name: 'DedicatedHostAllocatableVM', model_properties: { vm_size: { client_side_validation: true, required: false, serialized_name: 'vmSize', type: { name: 'String' } }, count: { client_side_validation: true, required: false, serialized_name: 'count', type: { name: 'Double' } } } } } end