Class: Azure::Compute::Mgmt::V2020_12_01::Models::DedicatedHostGroupInstanceView

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#hostsArray<DedicatedHostInstanceViewWithName>

view of the dedicated hosts under the dedicated host group.

Returns:



18
19
20
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb', line 18

def hosts
  @hosts
end

Class Method Details

.mapperObject

Mapper for DedicatedHostGroupInstanceView 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-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DedicatedHostGroupInstanceView',
    type: {
      name: 'Composite',
      class_name: 'DedicatedHostGroupInstanceView',
      model_properties: {
        hosts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hosts',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DedicatedHostInstanceViewWithNameElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DedicatedHostInstanceViewWithName'
                }
            }
          }
        }
      }
    }
  }
end