Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.BootDiagnosticsInstanceView; import com.microsoft.azure.management.compute.DiskInstanceView; import com.microsoft.azure.management.compute.InstanceViewStatus; import com.microsoft.azure.management.compute.MaintenanceRedeployStatus; import com.microsoft.azure.management.compute.VirtualMachineAgentInstanceView; import com.microsoft.azure.management.compute.VirtualMachineExtensionInstanceView; import com.microsoft.azure.management.compute.VirtualMachineInstanceView; import com.microsoft.azure.management.resources.fluentcore.model.implementation.WrapperImpl; import java.util.List;
The implementation of ComputeUsage.
/** * The implementation of ComputeUsage. */
@LangDefinition class VirtualMachineInstanceViewImpl extends WrapperImpl<VirtualMachineInstanceViewInner> implements VirtualMachineInstanceView { VirtualMachineInstanceViewImpl(VirtualMachineInstanceViewInner innerObject) { super(innerObject); }
Get specifies the update domain of the virtual machine.
Returns:the platformUpdateDomain value
/** * Get specifies the update domain of the virtual machine. * * @return the platformUpdateDomain value */
@Override public int platformUpdateDomain() { return inner().platformUpdateDomain() == null ? 0 : inner().platformUpdateDomain(); }
Get specifies the fault domain of the virtual machine.
Returns:the platformFaultDomain value
/** * Get specifies the fault domain of the virtual machine. * * @return the platformFaultDomain value */
@Override public int platformFaultDomain() { return inner().platformFaultDomain() == null ? 0 : inner().platformFaultDomain(); }
Get the computer name assigned to the virtual machine.
Returns:the computerName value
/** * Get the computer name assigned to the virtual machine. * * @return the computerName value */
@Override public String computerName() { return inner().computerName(); }
Get the Operating System running on the virtual machine.
Returns:the osName value
/** * Get the Operating System running on the virtual machine. * * @return the osName value */
@Override public String osName() { return inner().osName(); }
Get the version of Operating System running on the virtual machine.
Returns:the osVersion value
/** * Get the version of Operating System running on the virtual machine. * * @return the osVersion value */
@Override public String osVersion() { return inner().osVersion(); }
Get the Remote desktop certificate thumbprint.
Returns:the rdpThumbPrint value
/** * Get the Remote desktop certificate thumbprint. * * @return the rdpThumbPrint value */
@Override public String rdpThumbPrint() { return inner().rdpThumbPrint(); }
Get the VM Agent running on the virtual machine.
Returns:the vmAgent value
/** * Get the VM Agent running on the virtual machine. * * @return the vmAgent value */
@Override public VirtualMachineAgentInstanceView vmAgent() { return inner().vmAgent(); }
Get the Maintenance Operation status on the virtual machine.
Returns:the maintenanceRedeployStatus value
/** * Get the Maintenance Operation status on the virtual machine. * * @return the maintenanceRedeployStatus value */
@Override public MaintenanceRedeployStatus maintenanceRedeployStatus() { return inner().maintenanceRedeployStatus(); }
Get the virtual machine disk information.
Returns:the disks value
/** * Get the virtual machine disk information. * * @return the disks value */
@Override public List<DiskInstanceView> disks() { return inner().disks(); }
Get the extensions information.
Returns:the extensions value
/** * Get the extensions information. * * @return the extensions value */
@Override public List<VirtualMachineExtensionInstanceView> extensions() { return inner().extensions(); }
Get 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
/** * Get boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. &lt;br&gt;&lt;br&gt; You can easily view the output of your console log. &lt;br&gt;&lt;br&gt; Azure also enables you to see a screenshot of the VM from the hypervisor. * * @return the bootDiagnostics value */
@Override public BootDiagnosticsInstanceView bootDiagnostics() { return inner().bootDiagnostics(); }
Get the resource status information.
Returns:the statuses value
/** * Get the resource status information. * * @return the statuses value */
@Override public List<InstanceViewStatus> statuses() { return inner().statuses(); } }