java.lang.Object
com.azure.resourcemanager.batch.models.OSDisk

public final class OSDisk extends Object
Settings for the operating system disk of the virtual machine.
  • Constructor Details

    • OSDisk

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

    • ephemeralOSDiskSettings

      public DiffDiskSettings ephemeralOSDiskSettings()
      Get the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
      Returns:
      the ephemeralOSDiskSettings value.
    • withEphemeralOSDiskSettings

      public OSDisk withEphemeralOSDiskSettings(DiffDiskSettings ephemeralOSDiskSettings)
      Set the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
      Parameters:
      ephemeralOSDiskSettings - the ephemeralOSDiskSettings value to set.
      Returns:
      the OSDisk object itself.
    • validate

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