Class OSDiskImage

java.lang.Object
com.azure.resourcemanager.compute.models.OSDiskImage

public final class OSDiskImage extends Object
Contains the os disk image information.
  • Constructor Details

    • OSDiskImage

      public OSDiskImage()
  • Method Details

    • operatingSystem

      public OperatingSystemTypes operatingSystem()
      Get the operatingSystem property: The operating system of the osDiskImage.
      Returns:
      the operatingSystem value.
    • withOperatingSystem

      public OSDiskImage withOperatingSystem(OperatingSystemTypes operatingSystem)
      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.