Class VirtualMachineInventoryItem


  • public final class VirtualMachineInventoryItem
    extends InventoryItemProperties
    The Virtual machine inventory item.
    • Constructor Detail

      • VirtualMachineInventoryItem

        public VirtualMachineInventoryItem()
    • Method Detail

      • osType

        public OsType osType()
        Get the osType property: Gets or sets the type of the os.
        Returns:
        the osType value.
      • osName

        public String osName()
        Get the osName property: Gets or sets os name.
        Returns:
        the osName value.
      • powerState

        public String powerState()
        Get the powerState property: Gets the power state of the virtual machine.
        Returns:
        the powerState value.
      • ipAddresses

        public List<String> ipAddresses()
        Get the ipAddresses property: Gets or sets the nic ip addresses.
        Returns:
        the ipAddresses value.
      • withIpAddresses

        public VirtualMachineInventoryItem withIpAddresses​(List<String> ipAddresses)
        Set the ipAddresses property: Gets or sets the nic ip addresses.
        Parameters:
        ipAddresses - the ipAddresses value to set.
        Returns:
        the VirtualMachineInventoryItem object itself.
      • cloud

        public InventoryItemDetails cloud()
        Get the cloud property: Cloud inventory resource details where the VM is present.
        Returns:
        the cloud value.
      • withCloud

        public VirtualMachineInventoryItem withCloud​(InventoryItemDetails cloud)
        Set the cloud property: Cloud inventory resource details where the VM is present.
        Parameters:
        cloud - the cloud value to set.
        Returns:
        the VirtualMachineInventoryItem object itself.