Class VirtualMachineScaleSetVMInstanceViewInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetVMInstanceViewInner
-
public final class VirtualMachineScaleSetVMInstanceViewInner extends Object
The instance view of a virtual machine scale set VM.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetVMInstanceViewInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassignedHost()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.BootDiagnosticsInstanceViewbootDiagnostics()Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.List<DiskInstanceView>disks()Get the disks property: The disks information.List<VirtualMachineExtensionInstanceView>extensions()Get the extensions property: The extensions information.MaintenanceRedeployStatusmaintenanceRedeployStatus()Get the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.StringplacementGroupId()Get the placementGroupId property: The placement group in which the VM is running.IntegerplatformFaultDomain()Get the platformFaultDomain property: The Fault Domain count.IntegerplatformUpdateDomain()Get the platformUpdateDomain property: The Update Domain count.StringrdpThumbPrint()Get the rdpThumbPrint property: The Remote desktop certificate thumbprint.List<InstanceViewStatus>statuses()Get the statuses property: The resource status information.voidvalidate()Validates the instance.VirtualMachineAgentInstanceViewvmAgent()Get the vmAgent property: The VM Agent running on the virtual machine.VirtualMachineHealthStatusvmHealth()Get the vmHealth property: The health status for the VM.VirtualMachineScaleSetVMInstanceViewInnerwithBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.VirtualMachineScaleSetVMInstanceViewInnerwithDisks(List<DiskInstanceView> disks)Set the disks property: The disks information.VirtualMachineScaleSetVMInstanceViewInnerwithExtensions(List<VirtualMachineExtensionInstanceView> extensions)Set the extensions property: The extensions information.VirtualMachineScaleSetVMInstanceViewInnerwithMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)Set the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.VirtualMachineScaleSetVMInstanceViewInnerwithPlacementGroupId(String placementGroupId)Set the placementGroupId property: The placement group in which the VM is running.VirtualMachineScaleSetVMInstanceViewInnerwithPlatformFaultDomain(Integer platformFaultDomain)Set the platformFaultDomain property: The Fault Domain count.VirtualMachineScaleSetVMInstanceViewInnerwithPlatformUpdateDomain(Integer platformUpdateDomain)Set the platformUpdateDomain property: The Update Domain count.VirtualMachineScaleSetVMInstanceViewInnerwithRdpThumbPrint(String rdpThumbPrint)Set the rdpThumbPrint property: The Remote desktop certificate thumbprint.VirtualMachineScaleSetVMInstanceViewInnerwithStatuses(List<InstanceViewStatus> statuses)Set the statuses property: The resource status information.VirtualMachineScaleSetVMInstanceViewInnerwithVmAgent(VirtualMachineAgentInstanceView vmAgent)Set the vmAgent property: The VM Agent running on the virtual machine.
-
-
-
Method Detail
-
platformUpdateDomain
public Integer platformUpdateDomain()
Get the platformUpdateDomain property: The Update Domain count.- Returns:
- the platformUpdateDomain value.
-
withPlatformUpdateDomain
public VirtualMachineScaleSetVMInstanceViewInner withPlatformUpdateDomain(Integer platformUpdateDomain)
Set the platformUpdateDomain property: The Update Domain count.- Parameters:
platformUpdateDomain- the platformUpdateDomain value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
platformFaultDomain
public Integer platformFaultDomain()
Get the platformFaultDomain property: The Fault Domain count.- Returns:
- the platformFaultDomain value.
-
withPlatformFaultDomain
public VirtualMachineScaleSetVMInstanceViewInner withPlatformFaultDomain(Integer platformFaultDomain)
Set the platformFaultDomain property: The Fault Domain count.- Parameters:
platformFaultDomain- the platformFaultDomain value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
rdpThumbPrint
public String rdpThumbPrint()
Get the rdpThumbPrint property: The Remote desktop certificate thumbprint.- Returns:
- the rdpThumbPrint value.
-
withRdpThumbPrint
public VirtualMachineScaleSetVMInstanceViewInner withRdpThumbPrint(String rdpThumbPrint)
Set the rdpThumbPrint property: The Remote desktop certificate thumbprint.- Parameters:
rdpThumbPrint- the rdpThumbPrint value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
vmAgent
public VirtualMachineAgentInstanceView vmAgent()
Get the vmAgent property: The VM Agent running on the virtual machine.- Returns:
- the vmAgent value.
-
withVmAgent
public VirtualMachineScaleSetVMInstanceViewInner withVmAgent(VirtualMachineAgentInstanceView vmAgent)
Set the vmAgent property: The VM Agent running on the virtual machine.- Parameters:
vmAgent- the vmAgent value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
maintenanceRedeployStatus
public MaintenanceRedeployStatus maintenanceRedeployStatus()
Get the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.- Returns:
- the maintenanceRedeployStatus value.
-
withMaintenanceRedeployStatus
public VirtualMachineScaleSetVMInstanceViewInner withMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)
Set the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.- Parameters:
maintenanceRedeployStatus- the maintenanceRedeployStatus value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
disks
public List<DiskInstanceView> disks()
Get the disks property: The disks information.- Returns:
- the disks value.
-
withDisks
public VirtualMachineScaleSetVMInstanceViewInner withDisks(List<DiskInstanceView> disks)
Set the disks property: The disks information.- Parameters:
disks- the disks value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
extensions
public List<VirtualMachineExtensionInstanceView> extensions()
Get the extensions property: The extensions information.- Returns:
- the extensions value.
-
withExtensions
public VirtualMachineScaleSetVMInstanceViewInner withExtensions(List<VirtualMachineExtensionInstanceView> extensions)
Set the extensions property: The extensions information.- Parameters:
extensions- the extensions value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
vmHealth
public VirtualMachineHealthStatus vmHealth()
Get the vmHealth property: The health status for the VM.- Returns:
- the vmHealth value.
-
bootDiagnostics
public BootDiagnosticsInstanceView bootDiagnostics()
Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.- Returns:
- the bootDiagnostics value.
-
withBootDiagnostics
public VirtualMachineScaleSetVMInstanceViewInner withBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)
Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.- Parameters:
bootDiagnostics- the bootDiagnostics value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
statuses
public List<InstanceViewStatus> statuses()
Get the statuses property: The resource status information.- Returns:
- the statuses value.
-
withStatuses
public VirtualMachineScaleSetVMInstanceViewInner withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information.- Parameters:
statuses- the statuses value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
assignedHost
public String 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. <br><br>Minimum api-version: 2020-06-01.- Returns:
- the assignedHost value.
-
placementGroupId
public String 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.
-
withPlacementGroupId
public VirtualMachineScaleSetVMInstanceViewInner withPlacementGroupId(String placementGroupId)
Set the placementGroupId property: The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.- Parameters:
placementGroupId- the placementGroupId value to set.- Returns:
- the VirtualMachineScaleSetVMInstanceViewInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-