java.lang.Object
com.azure.resourcemanager.connectedvmware.models.OsProfile

public final class OsProfile extends Object
Defines the resource properties.
  • Constructor Details

    • OsProfile

      public OsProfile()
  • Method Details

    • computerName

      public String computerName()
      Get the computerName property: Gets or sets computer name.
      Returns:
      the computerName value.
    • withComputerName

      public OsProfile withComputerName(String computerName)
      Set the computerName property: Gets or sets computer name.
      Parameters:
      computerName - the computerName value to set.
      Returns:
      the OsProfile object itself.
    • adminUsername

      public String adminUsername()
      Get the adminUsername property: Gets or sets administrator username.
      Returns:
      the adminUsername value.
    • withAdminUsername

      public OsProfile withAdminUsername(String adminUsername)
      Set the adminUsername property: Gets or sets administrator username.
      Parameters:
      adminUsername - the adminUsername value to set.
      Returns:
      the OsProfile object itself.
    • adminPassword

      public String adminPassword()
      Get the adminPassword property: Gets or sets administrator password.
      Returns:
      the adminPassword value.
    • withAdminPassword

      public OsProfile withAdminPassword(String adminPassword)
      Set the adminPassword property: Gets or sets administrator password.
      Parameters:
      adminPassword - the adminPassword value to set.
      Returns:
      the OsProfile object itself.
    • guestId

      public String guestId()
      Get the guestId property: Gets or sets the guestId.
      Returns:
      the guestId value.
    • withGuestId

      public OsProfile withGuestId(String guestId)
      Set the guestId property: Gets or sets the guestId.
      Parameters:
      guestId - the guestId value to set.
      Returns:
      the OsProfile object itself.
    • allowExtensionOperations

      public Boolean allowExtensionOperations()
      Get the allowExtensionOperations property: Gets or sets a value indicating whether the VM is ready for extension operations.
      Returns:
      the allowExtensionOperations value.
    • osType

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

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

      public String osName()
      Get the osName property: Gets or sets os name.
      Returns:
      the osName 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.
    • windowsConfiguration

      public OsProfileWindowsConfiguration windowsConfiguration()
      Get the windowsConfiguration property: Specifies the windows configuration for update management.
      Returns:
      the windowsConfiguration value.
    • withWindowsConfiguration

      public OsProfile withWindowsConfiguration(OsProfileWindowsConfiguration windowsConfiguration)
      Set the windowsConfiguration property: Specifies the windows configuration for update management.
      Parameters:
      windowsConfiguration - the windowsConfiguration value to set.
      Returns:
      the OsProfile object itself.
    • linuxConfiguration

      public OsProfileLinuxConfiguration linuxConfiguration()
      Get the linuxConfiguration property: Specifies the linux configuration for update management.
      Returns:
      the linuxConfiguration value.
    • withLinuxConfiguration

      public OsProfile withLinuxConfiguration(OsProfileLinuxConfiguration linuxConfiguration)
      Set the linuxConfiguration property: Specifies the linux configuration for update management.
      Parameters:
      linuxConfiguration - the linuxConfiguration value to set.
      Returns:
      the OsProfile object itself.
    • validate

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