Class: Azure::Compute::Mgmt::V2019_07_01::Models::DedicatedHostInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::DedicatedHostInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb
Overview
The instance view of a dedicated host.
Instance Attribute Summary collapse
-
#asset_id ⇒ String
machine on which the dedicated host resides.
-
#available_capacity ⇒ DedicatedHostAvailableCapacity
dedicated host.
-
#statuses ⇒ Array<InstanceViewStatus>
The resource status information.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DedicatedHostInstanceView class as Ruby Hash.
Instance Attribute Details
#asset_id ⇒ String
machine on which the dedicated host resides.
17 18 19 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb', line 17 def asset_id @asset_id end |
#available_capacity ⇒ DedicatedHostAvailableCapacity
dedicated host.
21 22 23 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb', line 21 def available_capacity @available_capacity end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
24 25 26 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb', line 24 def statuses @statuses end |
Class Method Details
.mapper ⇒ Object
Mapper for DedicatedHostInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedHostInstanceView', type: { name: 'Composite', class_name: 'DedicatedHostInstanceView', model_properties: { asset_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assetId', type: { name: 'String' } }, available_capacity: { client_side_validation: true, required: false, serialized_name: 'availableCapacity', type: { name: 'Composite', class_name: 'DedicatedHostAvailableCapacity' } }, statuses: { client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } } } } } end |