Class: Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb

Overview

The instance view of a virtual machine.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#boot_diagnosticsBootDiagnosticsInstanceView

feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.

Returns:



54
55
56
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 54

def boot_diagnostics
  @boot_diagnostics
end

#computer_nameString

Returns The computer name assigned to the virtual machine.

Returns:

  • (String)

    The computer name assigned to the virtual machine.



22
23
24
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 22

def computer_name
  @computer_name
end

#disksArray<DiskInstanceView>

Returns The virtual machine disk information.

Returns:



43
44
45
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 43

def disks
  @disks
end

#extensionsArray<VirtualMachineExtensionInstanceView>

information.

Returns:



47
48
49
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 47

def extensions
  @extensions
end

#maintenance_redeploy_statusMaintenanceRedeployStatus

the virtual machine.

Returns:



40
41
42
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 40

def maintenance_redeploy_status
  @maintenance_redeploy_status
end

#os_nameString

Returns The Operating System running on the virtual machine.

Returns:

  • (String)

    The Operating System running on the virtual machine.



25
26
27
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 25

def os_name
  @os_name
end

#os_versionString

machine.

Returns:

  • (String)

    The version of Operating System running on the virtual



29
30
31
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 29

def os_version
  @os_version
end

#platform_fault_domainInteger

Returns Specifies the fault domain of the virtual machine.

Returns:

  • (Integer)

    Specifies the fault domain of the virtual machine.



19
20
21
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 19

def platform_fault_domain
  @platform_fault_domain
end

#platform_update_domainInteger

Returns Specifies the update domain of the virtual machine.

Returns:

  • (Integer)

    Specifies the update domain of the virtual machine.



16
17
18
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 16

def platform_update_domain
  @platform_update_domain
end

#rdp_thumb_printString

Returns The Remote desktop certificate thumbprint.

Returns:

  • (String)

    The Remote desktop certificate thumbprint.



32
33
34
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 32

def rdp_thumb_print
  @rdp_thumb_print
end

#statusesArray<InstanceViewStatus>

Returns The resource status information.

Returns:



57
58
59
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 57

def statuses
  @statuses
end

#vm_agentVirtualMachineAgentInstanceView

virtual machine.

Returns:



36
37
38
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 36

def vm_agent
  @vm_agent
end

Class Method Details

.mapperObject

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



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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 64

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineInstanceView',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineInstanceView',
      model_properties: {
        platform_update_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'platformUpdateDomain',
          type: {
            name: 'Number'
          }
        },
        platform_fault_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'platformFaultDomain',
          type: {
            name: 'Number'
          }
        },
        computer_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'computerName',
          type: {
            name: 'String'
          }
        },
        os_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osName',
          type: {
            name: 'String'
          }
        },
        os_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osVersion',
          type: {
            name: 'String'
          }
        },
        rdp_thumb_print: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rdpThumbPrint',
          type: {
            name: 'String'
          }
        },
        vm_agent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmAgent',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineAgentInstanceView'
          }
        },
        maintenance_redeploy_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maintenanceRedeployStatus',
          type: {
            name: 'Composite',
            class_name: 'MaintenanceRedeployStatus'
          }
        },
        disks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disks',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DiskInstanceViewElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DiskInstanceView'
                }
            }
          }
        },
        extensions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VirtualMachineExtensionInstanceViewElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualMachineExtensionInstanceView'
                }
            }
          }
        },
        boot_diagnostics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bootDiagnostics',
          type: {
            name: 'Composite',
            class_name: 'BootDiagnosticsInstanceView'
          }
        },
        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