class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineInstanceView

The instance view of a virtual machine.

Attributes

assigned_host[RW]

@return [String] Resource id of the dedicated host, on which the 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.

boot_diagnostics[RW]

@return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging 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.

computer_name[RW]

@return [String] The computer name assigned to the virtual machine.

disks[RW]

@return [Array<DiskInstanceView>] The virtual machine disk information.

extensions[RW]

@return [Array<VirtualMachineExtensionInstanceView>] The extensions information.

hyper_vgeneration[RW]

@return [HyperVGenerationType] Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', 'V2'

maintenance_redeploy_status[RW]

@return [MaintenanceRedeployStatus] The Maintenance Operation status on the virtual machine.

os_name[RW]

@return [String] The Operating System running on the virtual machine.

os_version[RW]

@return [String] The version of Operating System running on the virtual machine.

patch_status[RW]

@return [VirtualMachinePatchStatus] [Preview Feature] The status of virtual machine patch operations.

platform_fault_domain[RW]

@return [Integer] Specifies the fault domain of the virtual machine.

platform_update_domain[RW]

@return [Integer] Specifies the update domain of the virtual machine.

rdp_thumb_print[RW]

@return [String] The Remote desktop certificate thumbprint.

statuses[RW]

@return [Array<InstanceViewStatus>] The resource status information.

vm_agent[RW]

@return [VirtualMachineAgentInstanceView] The VM Agent running on the virtual machine.

vm_health[RW]

@return [VirtualMachineHealthStatus] The health status for the VM.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-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