Class: Azure::Compute::Mgmt::V2019_12_01::Models::SubResourceWithColocationStatus

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

Overview

Model object.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#colocation_statusInstanceViewStatus

in the Proximity Placement Group.

Returns:



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

def colocation_status
  @colocation_status
end

Class Method Details

.mapperObject

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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubResourceWithColocationStatus',
    type: {
      name: 'Composite',
      class_name: 'SubResourceWithColocationStatus',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        colocation_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'colocationStatus',
          type: {
            name: 'Composite',
            class_name: 'InstanceViewStatus'
          }
        }
      }
    }
  }
end