Class OSDiskImage
java.lang.Object
com.azure.resourcemanager.compute.models.OSDiskImage
Contains the os disk image information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the operatingSystem property: The operating system of the osDiskImage.voidvalidate()Validates the instance.withOperatingSystem(OperatingSystemTypes operatingSystem) Set the operatingSystem property: The operating system of the osDiskImage.
-
Constructor Details
-
OSDiskImage
public OSDiskImage()
-
-
Method Details
-
operatingSystem
Get the operatingSystem property: The operating system of the osDiskImage.- Returns:
- the operatingSystem value.
-
withOperatingSystem
Set the operatingSystem property: The operating system of the osDiskImage.- Parameters:
operatingSystem- the operatingSystem value to set.- Returns:
- the OSDiskImage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-