OsDisk Class
- java.
lang. Object - com.
azure. developer. devcenter. models. OsDisk
- com.
Implements
public final class OsDisk
implements JsonSerializable<OsDisk>
Settings for the operating system disk.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Os |
fromJson(JsonReader jsonReader)
Reads an instance of Os |
| Integer |
getDiskSizeInGb()
Get the disk |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static OsDisk fromJson(JsonReader jsonReader)
Reads an instance of OsDisk from the JsonReader.
Parameters:
Returns:
Throws:
getDiskSizeInGb
public Integer getDiskSizeInGb()
Get the diskSizeInGb property: The size of the OS Disk in gigabytes.
Returns: