StorageProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.largeinstance.models.StorageProfile

Implements

public final class StorageProfile
implements JsonSerializable<StorageProfile>

Specifies the storage settings for the Azure Large Instance disks.

Constructor Summary

Constructor Description
StorageProfile()

Creates an instance of StorageProfile class.

Method Summary

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

Reads an instance of StorageProfile from the JsonReader.

String nfsIpAddress()

Get the nfsIpAddress property: IP Address to connect to storage.

List<Disk> osDisks()

Get the osDisks property: Specifies information about the operating system disk used by Azure Large Instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageProfile withOsDisks(List<Disk> osDisks)

Set the osDisks property: Specifies information about the operating system disk used by Azure Large Instance.

Methods inherited from java.lang.Object

Constructor Details

StorageProfile

public StorageProfile()

Creates an instance of StorageProfile class.

Method Details

fromJson

public static StorageProfile fromJson(JsonReader jsonReader)

Reads an instance of StorageProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageProfile 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 StorageProfile.

nfsIpAddress

public String nfsIpAddress()

Get the nfsIpAddress property: IP Address to connect to storage.

Returns:

the nfsIpAddress value.

osDisks

public List<Disk> osDisks()

Get the osDisks property: Specifies information about the operating system disk used by Azure Large Instance.

Returns:

the osDisks value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOsDisks

public StorageProfile withOsDisks(List<Disk> osDisks)

Set the osDisks property: Specifies information about the operating system disk used by Azure Large Instance.

Parameters:

osDisks - the osDisks value to set.

Returns:

the StorageProfile object itself.

Applies to