Class LinuxOsInfo
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.LinuxOsInfo
Information about a Linux OS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the linuxOsState property: The state of the Linux OS (i.e.void
validate()
Validates the instance.withLinuxOsState
(LinuxOsState linuxOsState) Set the linuxOsState property: The state of the Linux OS (i.e.
-
Constructor Details
-
LinuxOsInfo
public LinuxOsInfo()Creates an instance of LinuxOsInfo class.
-
-
Method Details
-
linuxOsState
Get the linuxOsState property: The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).- Returns:
- the linuxOsState value.
-
withLinuxOsState
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.
-