Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::RoleInstanceInstanceView

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

Overview

The instance view of the role instance.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#platform_fault_domainInteger

Returns The Fault Domain.

Returns:

  • (Integer)

    The Fault Domain.



19
20
21
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb', line 19

def platform_fault_domain
  @platform_fault_domain
end

#platform_update_domainInteger

Returns The Update Domain.

Returns:

  • (Integer)

    The Update Domain.



16
17
18
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb', line 16

def platform_update_domain
  @platform_update_domain
end

#private_idString

the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.

Returns:

  • (String)

    Specifies a unique identifier generated internally for



25
26
27
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb', line 25

def private_id
  @private_id
end

#statusesArray<ResourceInstanceViewStatus>

Returns:



28
29
30
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb', line 28

def statuses
  @statuses
end

Class Method Details

.mapperObject

Mapper for RoleInstanceInstanceView class as Ruby Hash. This will be used for serialization/deserialization.



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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoleInstanceInstanceView',
    type: {
      name: 'Composite',
      class_name: 'RoleInstanceInstanceView',
      model_properties: {
        platform_update_domain: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'platformUpdateDomain',
          type: {
            name: 'Number'
          }
        },
        platform_fault_domain: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'platformFaultDomain',
          type: {
            name: 'Number'
          }
        },
        private_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'privateId',
          type: {
            name: 'String'
          }
        },
        statuses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'statuses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ResourceInstanceViewStatusElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceInstanceViewStatus'
                }
            }
          }
        }
      }
    }
  }
end