Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb
Overview
The instance view of a virtual machine.
Instance Attribute Summary collapse
-
#assigned_host ⇒ String
virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.
-
#boot_diagnostics ⇒ BootDiagnosticsInstanceView
feature which allows you to view Console Output and Screenshot to diagnose VM status.
-
#computer_name ⇒ String
The computer name assigned to the virtual machine.
-
#disks ⇒ Array<DiskInstanceView>
The virtual machine disk information.
-
#extensions ⇒ Array<VirtualMachineExtensionInstanceView>
information.
-
#hyper_vgeneration ⇒ HyperVGenerationType
associated with a resource.
-
#maintenance_redeploy_status ⇒ MaintenanceRedeployStatus
the virtual machine.
-
#os_name ⇒ String
The Operating System running on the virtual machine.
-
#os_version ⇒ String
machine.
-
#patch_status ⇒ VirtualMachinePatchStatus
operations.
-
#platform_fault_domain ⇒ Integer
Specifies the fault domain of the virtual machine.
-
#platform_update_domain ⇒ Integer
Specifies the update domain of the virtual machine.
-
#rdp_thumb_print ⇒ String
The Remote desktop certificate thumbprint.
-
#statuses ⇒ Array<InstanceViewStatus>
The resource status information.
-
#vm_agent ⇒ VirtualMachineAgentInstanceView
virtual machine.
-
#vm_health ⇒ VirtualMachineHealthStatus
The health status for the VM.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineInstanceView class as Ruby Hash.
Instance Attribute Details
#assigned_host ⇒ String
virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled.
Minimum api-version: 2020-06-01.
67 68 69 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 67 def assigned_host @assigned_host end |
#boot_diagnostics ⇒ BootDiagnosticsInstanceView
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.
61 62 63 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 61 def boot_diagnostics @boot_diagnostics end |
#computer_name ⇒ String
Returns The computer name assigned to the virtual machine.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 22 def computer_name @computer_name end |
#disks ⇒ Array<DiskInstanceView>
Returns The virtual machine disk information.
47 48 49 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 47 def disks @disks end |
#extensions ⇒ Array<VirtualMachineExtensionInstanceView>
information.
51 52 53 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 51 def extensions @extensions end |
#hyper_vgeneration ⇒ HyperVGenerationType
associated with a resource. Possible values include: 'V1', 'V2'
33 34 35 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 33 def hyper_vgeneration @hyper_vgeneration end |
#maintenance_redeploy_status ⇒ MaintenanceRedeployStatus
the virtual machine.
44 45 46 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 44 def maintenance_redeploy_status @maintenance_redeploy_status end |
#os_name ⇒ String
Returns The Operating System running on the virtual machine.
25 26 27 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 25 def os_name @os_name end |
#os_version ⇒ String
machine.
29 30 31 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 29 def os_version @os_version end |
#patch_status ⇒ VirtualMachinePatchStatus
operations.
74 75 76 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 74 def patch_status @patch_status end |
#platform_fault_domain ⇒ Integer
Returns Specifies the fault domain of the virtual machine.
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 19 def platform_fault_domain @platform_fault_domain end |
#platform_update_domain ⇒ Integer
Returns Specifies the update domain of the virtual machine.
16 17 18 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 16 def platform_update_domain @platform_update_domain end |
#rdp_thumb_print ⇒ String
Returns The Remote desktop certificate thumbprint.
36 37 38 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 36 def rdp_thumb_print @rdp_thumb_print end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
70 71 72 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 70 def statuses @statuses end |
#vm_agent ⇒ VirtualMachineAgentInstanceView
virtual machine.
40 41 42 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 40 def vm_agent @vm_agent end |
#vm_health ⇒ VirtualMachineHealthStatus
Returns The health status for the VM.
54 55 56 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 54 def vm_health @vm_health end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
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 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb', line 81 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' } }, hyper_vgeneration: { client_side_validation: true, required: false, serialized_name: 'hyperVGeneration', 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' } } } }, vm_health: { client_side_validation: true, required: false, read_only: true, serialized_name: 'vmHealth', type: { name: 'Composite', class_name: 'VirtualMachineHealthStatus' } }, boot_diagnostics: { client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { name: 'Composite', class_name: 'BootDiagnosticsInstanceView' } }, assigned_host: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assignedHost', type: { name: 'String' } }, 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' } } } }, patch_status: { client_side_validation: true, required: false, serialized_name: 'patchStatus', type: { name: 'Composite', class_name: 'VirtualMachinePatchStatus' } } } } } end |