Class: Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostAvailableCapacity
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostAvailableCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
Overview
Dedicated host unutilized capacity.
Instance Attribute Summary collapse
-
#allocatable_vms ⇒ Array<DedicatedHostAllocatableVM>
the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DedicatedHostAvailableCapacity class as Ruby Hash.
Instance Attribute Details
#allocatable_vms ⇒ Array<DedicatedHostAllocatableVM>
the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
18 19 20 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb', line 18 def allocatable_vms @allocatable_vms end |
Class Method Details
.mapper ⇒ Object
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-06-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 |