OSDiskImage Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. OSDiskImage
- com.
Implements
public final class OSDiskImage
implements JsonSerializable<OSDiskImage>
Contains the os disk image information.
Constructor Summary
Constructor | Description |
---|---|
OSDiskImage() |
Creates an instance of OSDisk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
OSDisk |
fromJson(JsonReader jsonReader)
Reads an instance of OSDisk |
Operating |
operatingSystem()
Get the operating |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
OSDisk |
withOperatingSystem(OperatingSystemTypes operatingSystem)
Set the operating |
Methods inherited from java.lang.Object
Constructor Details
OSDiskImage
public OSDiskImage()
Creates an instance of OSDiskImage class.
Method Details
fromJson
public static OSDiskImage fromJson(JsonReader jsonReader)
Reads an instance of OSDiskImage from the JsonReader.
Parameters:
Returns:
Throws:
operatingSystem
public OperatingSystemTypes operatingSystem()
Get the operatingSystem property: The operating system of the osDiskImage.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOperatingSystem
public OSDiskImage withOperatingSystem(OperatingSystemTypes operatingSystem)
Set the operatingSystem property: The operating system of the osDiskImage.
Parameters:
Returns:
Applies to
Azure SDK for Java