Class OSDisk
java.lang.Object
com.azure.resourcemanager.batch.models.OSDisk
Settings for the operating system disk of the virtual machine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.void
validate()
Validates the instance.withEphemeralOSDiskSettings
(DiffDiskSettings ephemeralOSDiskSettings) Set the ephemeralOSDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
-
Constructor Details
-
OSDisk
public OSDisk()Creates an instance of OSDisk class.
-
-
Method Details
-
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
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.
-