DevBoxStorageProfile Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevBoxStorageProfile

Implements

public final class DevBoxStorageProfile
implements JsonSerializable<DevBoxStorageProfile>

Storage settings for the Dev Box's disks.

Method Summary

Modifier and Type Method and Description
static DevBoxStorageProfile fromJson(JsonReader jsonReader)

Reads an instance of DevBoxStorageProfile from the JsonReader.

OsDisk getOsDisk()

Get the osDisk property: Settings for the operating system disk.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevBoxStorageProfile fromJson(JsonReader jsonReader)

Reads an instance of DevBoxStorageProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DevBoxStorageProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DevBoxStorageProfile.

getOsDisk

public OsDisk getOsDisk()

Get the osDisk property: Settings for the operating system disk.

Returns:

the osDisk value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to