java.lang.Object
com.azure.resourcemanager.devtestlabs.models.LinuxOsInfo

public final class LinuxOsInfo extends Object
Information about a Linux OS.
  • Constructor Details

    • LinuxOsInfo

      public LinuxOsInfo()
      Creates an instance of LinuxOsInfo class.
  • Method Details

    • linuxOsState

      public LinuxOsState linuxOsState()
      Get the linuxOsState property: The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
      Returns:
      the linuxOsState value.
    • withLinuxOsState

      public LinuxOsInfo withLinuxOsState(LinuxOsState linuxOsState)
      Set the linuxOsState property: The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
      Parameters:
      linuxOsState - the linuxOsState value to set.
      Returns:
      the LinuxOsInfo object itself.
    • validate

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