Class: Azure::Compute::Mgmt::V2020_12_01::Models::DedicatedHostAllocatableVM
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::DedicatedHostAllocatableVM
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
Overview
Represents the dedicated host unutilized capacity in terms of a specific VM size.
Instance Attribute Summary collapse
-
#count ⇒ Float
the dedicated host's remaining capacity.
-
#vm_size ⇒ String
represented.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DedicatedHostAllocatableVM class as Ruby Hash.
Instance Attribute Details
#count ⇒ Float
the dedicated host's remaining capacity.
22 23 24 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb', line 22 def count @count end |
#vm_size ⇒ String
represented.
18 19 20 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb', line 18 def vm_size @vm_size end |
Class Method Details
.mapper ⇒ Object
Mapper for DedicatedHostAllocatableVM class as Ruby Hash. This will be used for serialization/deserialization.
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 55 56 57 |
# File 'lib/2020-12-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 |