# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Compute module Models # # The instance view of a virtual machine scale set VM. # class VirtualMachineScaleSetVMInstanceView include MsRestAzure include MsRest::JSONable # @return [Integer] The Update Domain count. attr_accessor :platform_update_domain # @return [Integer] The Fault Domain count. attr_accessor :platform_fault_domain # @return [String] The Remote desktop certificate thumbprint. attr_accessor :rdp_thumb_print # @return [VirtualMachineAgentInstanceView] The VM Agent running on the # virtual machine. attr_accessor :vm_agent # @return [Array] The disks information. attr_accessor :disks # @return [Array] The extensions # information. attr_accessor :extensions # @return [VirtualMachineHealthStatus] The health status for the VM. attr_accessor :vm_health # @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging # feature which allows you to view Console Output and Screenshot to # diagnose VM status.

For Linux Virtual Machines, you can easily # view the output of your console log.

For both Windows and # Linux virtual machines, Azure also enables you to see a screenshot of # the VM from the hypervisor. attr_accessor :boot_diagnostics # @return [Array] The resource status information. attr_accessor :statuses # @return [String] The placement group in which the VM is running. If the # VM is deallocated it will not have a placementGroupId. attr_accessor :placement_group_id # # Mapper for VirtualMachineScaleSetVMInstanceView class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { required: false, serialized_name: 'platformUpdateDomain', type: { name: 'Number' } }, platform_fault_domain: { required: false, serialized_name: 'platformFaultDomain', type: { name: 'Number' } }, rdp_thumb_print: { required: false, serialized_name: 'rdpThumbPrint', type: { name: 'String' } }, vm_agent: { required: false, serialized_name: 'vmAgent', type: { name: 'Composite', class_name: 'VirtualMachineAgentInstanceView' } }, disks: { required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { required: false, serialized_name: 'DiskInstanceViewElementType', type: { name: 'Composite', class_name: 'DiskInstanceView' } } } }, extensions: { required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { name: 'Composite', class_name: 'VirtualMachineExtensionInstanceView' } } } }, vm_health: { required: false, read_only: true, serialized_name: 'vmHealth', type: { name: 'Composite', class_name: 'VirtualMachineHealthStatus' } }, boot_diagnostics: { required: false, serialized_name: 'bootDiagnostics', type: { name: 'Composite', class_name: 'BootDiagnosticsInstanceView' } }, statuses: { required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } }, placement_group_id: { required: false, serialized_name: 'placementGroupId', type: { name: 'String' } } } } } end end end end