Class VirtualMachineInventoryItem

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
com.azure.resourcemanager.connectedvmware.models.VirtualMachineInventoryItem

public final class VirtualMachineInventoryItem extends InventoryItemProperties
The VM inventory item.
  • Constructor Details

    • VirtualMachineInventoryItem

      public VirtualMachineInventoryItem()
  • Method Details

    • osType

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

      public VirtualMachineInventoryItem withOsType(OsType osType)
      Set the osType property: Gets or sets the type of the os.
      Parameters:
      osType - the osType value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • osName

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

      public VirtualMachineInventoryItem withOsName(String osName)
      Set the osName property: Gets or sets os name.
      Parameters:
      osName - the osName value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • 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.
    • folderPath

      public String folderPath()
      Get the folderPath property: Gets or sets the folder path of the vm.
      Returns:
      the folderPath value.
    • withFolderPath

      public VirtualMachineInventoryItem withFolderPath(String folderPath)
      Set the folderPath property: Gets or sets the folder path of the vm.
      Parameters:
      folderPath - the folderPath value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • host

      public InventoryItemDetails host()
      Get the host property: Host inventory resource details.
      Returns:
      the host value.
    • withHost

      Set the host property: Host inventory resource details.
      Parameters:
      host - the host value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • resourcePool

      public InventoryItemDetails resourcePool()
      Get the resourcePool property: ResourcePool inventory resource details.
      Returns:
      the resourcePool value.
    • withResourcePool

      public VirtualMachineInventoryItem withResourcePool(InventoryItemDetails resourcePool)
      Set the resourcePool property: ResourcePool inventory resource details.
      Parameters:
      resourcePool - the resourcePool value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • instanceUuid

      public String instanceUuid()
      Get the instanceUuid property: Gets or sets the instance uuid of the vm.
      Returns:
      the instanceUuid value.
    • withInstanceUuid

      public VirtualMachineInventoryItem withInstanceUuid(String instanceUuid)
      Set the instanceUuid property: Gets or sets the instance uuid of the vm.
      Parameters:
      instanceUuid - the instanceUuid value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • smbiosUuid

      public String smbiosUuid()
      Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.
      Returns:
      the smbiosUuid value.
    • withSmbiosUuid

      public VirtualMachineInventoryItem withSmbiosUuid(String smbiosUuid)
      Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.
      Parameters:
      smbiosUuid - the smbiosUuid value to set.
      Returns:
      the VirtualMachineInventoryItem object itself.
    • powerState

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

      public String toolsRunningStatus()
      Get the toolsRunningStatus property: Gets or sets the current running status of VMware Tools running in the guest operating system.
      Returns:
      the toolsRunningStatus value.
    • toolsVersionStatus

      public String toolsVersionStatus()
      Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.
      Returns:
      the toolsVersionStatus value.
    • toolsVersion

      public String toolsVersion()
      Get the toolsVersion property: Gets or sets the current version of VMware Tools.
      Returns:
      the toolsVersion value.
    • withManagedResourceId

      public VirtualMachineInventoryItem withManagedResourceId(String managedResourceId)
      Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.
      Overrides:
      withManagedResourceId in class InventoryItemProperties
      Parameters:
      managedResourceId - the managedResourceId value to set.
      Returns:
      the InventoryItemProperties object itself.
    • withMoRefId

      public VirtualMachineInventoryItem withMoRefId(String moRefId)
      Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
      Overrides:
      withMoRefId in class InventoryItemProperties
      Parameters:
      moRefId - the moRefId value to set.
      Returns:
      the InventoryItemProperties object itself.
    • withMoName

      public VirtualMachineInventoryItem withMoName(String moName)
      Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.
      Overrides:
      withMoName in class InventoryItemProperties
      Parameters:
      moName - the moName value to set.
      Returns:
      the InventoryItemProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class InventoryItemProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.