Class VirtualMachineScaleSetVMInstanceViewInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetVMInstanceViewInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetVMInstanceViewInner>
public final class VirtualMachineScaleSetVMInstanceViewInner
extends Object
implements com.azure.json.JsonSerializable<VirtualMachineScaleSetVMInstanceViewInner>
The instance view of a virtual machine scale set VM.
-
Method Summary
Modifier and TypeMethodDescriptionGet the assignedHost property: 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.Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.Get the computerName property: Specifies the host OS name of the virtual machine.disks()Get the disks property: The disks information.Get the extensions property: The extensions information.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetVMInstanceViewInner from the JsonReader.Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine [V1, V2].Get the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.osName()Get the osName property: The Operating System running on the hybrid machine.Get the osVersion property: The version of Operating System running on the hybrid machine.Get the placementGroupId property: The placement group in which the VM is running.Get the platformFaultDomain property: The Fault Domain count.Get the platformUpdateDomain property: The Update Domain count.Get the rdpThumbPrint property: The Remote desktop certificate thumbprint.statuses()Get the statuses property: The resource status information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vmAgent()Get the vmAgent property: The VM Agent running on the virtual machine.vmHealth()Get the vmHealth property: The health status for the VM.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
platformUpdateDomain
Get the platformUpdateDomain property: The Update Domain count.- Returns:
- the platformUpdateDomain value.
-
platformFaultDomain
Get the platformFaultDomain property: The Fault Domain count.- Returns:
- the platformFaultDomain value.
-
rdpThumbPrint
Get the rdpThumbPrint property: The Remote desktop certificate thumbprint.- Returns:
- the rdpThumbPrint value.
-
vmAgent
Get the vmAgent property: The VM Agent running on the virtual machine.- Returns:
- the vmAgent value.
-
maintenanceRedeployStatus
Get the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.- Returns:
- the maintenanceRedeployStatus value.
-
disks
Get the disks property: The disks information.- Returns:
- the disks value.
-
extensions
Get the extensions property: The extensions information.- Returns:
- the extensions value.
-
vmHealth
Get the vmHealth property: The health status for the VM.- Returns:
- the vmHealth value.
-
bootDiagnostics
Get the bootDiagnostics property: 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.- Returns:
- the bootDiagnostics value.
-
statuses
Get the statuses property: The resource status information.- Returns:
- the statuses value.
-
assignedHost
Get the assignedHost property: 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.- Returns:
- the assignedHost value.
-
placementGroupId
Get the placementGroupId property: The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.- Returns:
- the placementGroupId value.
-
computerName
Get the computerName property: Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://learn.microsoft.com/previous-versions/azure/virtual-machines/linux/infrastructure-example?toc=%2Fazure%2Fvirtual-machines%2Flinux%2Ftoc.json#1-naming-conventions).- Returns:
- the computerName value.
-
osName
Get the osName property: The Operating System running on the hybrid machine.- Returns:
- the osName value.
-
osVersion
Get the osVersion property: The version of Operating System running on the hybrid machine.- Returns:
- the osVersion value.
-
hyperVGeneration
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine [V1, V2].- Returns:
- the hyperVGeneration value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualMachineScaleSetVMInstanceViewInner>- Throws:
IOException
-
fromJson
public static VirtualMachineScaleSetVMInstanceViewInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineScaleSetVMInstanceViewInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineScaleSetVMInstanceViewInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the VirtualMachineScaleSetVMInstanceViewInner.
-