Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineScaleSetVMInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineScaleSetVMInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb
Overview
The instance view of a virtual machine scale set VM.
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.
-
#disks ⇒ Array<DiskInstanceView>
The disks information.
-
#extensions ⇒ Array<VirtualMachineExtensionInstanceView>
information.
-
#maintenance_redeploy_status ⇒ MaintenanceRedeployStatus
the virtual machine.
-
#placement_group_id ⇒ String
VM is deallocated it will not have a placementGroupId.
-
#platform_fault_domain ⇒ Integer
The Fault Domain count.
-
#platform_update_domain ⇒ Integer
The Update Domain count.
-
#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 VirtualMachineScaleSetVMInstanceView 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.
56 57 58 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 56 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.
47 48 49 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 47 def boot_diagnostics @boot_diagnostics end |
#disks ⇒ Array<DiskInstanceView>
Returns The disks information.
33 34 35 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 33 def disks @disks end |
#extensions ⇒ Array<VirtualMachineExtensionInstanceView>
information.
37 38 39 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 37 def extensions @extensions end |
#maintenance_redeploy_status ⇒ MaintenanceRedeployStatus
the virtual machine.
30 31 32 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 30 def maintenance_redeploy_status @maintenance_redeploy_status end |
#placement_group_id ⇒ String
VM is deallocated it will not have a placementGroupId.
60 61 62 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 60 def placement_group_id @placement_group_id end |
#platform_fault_domain ⇒ Integer
Returns The Fault Domain count.
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 19 def platform_fault_domain @platform_fault_domain end |
#platform_update_domain ⇒ Integer
Returns The Update Domain count.
16 17 18 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 16 def platform_update_domain @platform_update_domain end |
#rdp_thumb_print ⇒ String
Returns The Remote desktop certificate thumbprint.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 22 def rdp_thumb_print @rdp_thumb_print end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
50 51 52 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 50 def statuses @statuses end |
#vm_agent ⇒ VirtualMachineAgentInstanceView
virtual machine.
26 27 28 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 26 def vm_agent @vm_agent end |
#vm_health ⇒ VirtualMachineHealthStatus
Returns The health status for the VM.
40 41 42 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 40 def vm_health @vm_health end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetVMInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
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 203 204 205 206 207 208 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb', line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetVMInstanceView', 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' } }, 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' } }, 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' } } } }, assigned_host: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assignedHost', type: { name: 'String' } }, placement_group_id: { client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { name: 'String' } } } } } end |