DiskDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.DiskDetails

Implements

public final class DiskDetails
implements JsonSerializable<DiskDetails>

The supported disk size details for a disk type.

Method Summary

Modifier and Type Method and Description
String diskTier()

Get the diskTier property: The disk tier, e.g.

static DiskDetails fromJson(JsonReader jsonReader)

Reads an instance of DiskDetails from the JsonReader.

Long iopsReadWrite()

Get the iopsReadWrite property: The disk Iops.

Long maximumSupportedDiskCount()

Get the maximumSupportedDiskCount property: The maximum supported disk count.

Long mbpsReadWrite()

Get the mbpsReadWrite property: The disk provisioned throughput in MBps.

Long minimumSupportedDiskCount()

Get the minimumSupportedDiskCount property: The minimum supported disk count.

Long sizeGB()

Get the sizeGB property: The disk size in GB.

DiskSku sku()

Get the sku property: The type of disk sku.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

diskTier

public String diskTier()

Get the diskTier property: The disk tier, e.g. P10, E10.

Returns:

the diskTier value.

fromJson

public static DiskDetails fromJson(JsonReader jsonReader)

Reads an instance of DiskDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

iopsReadWrite

public Long iopsReadWrite()

Get the iopsReadWrite property: The disk Iops.

Returns:

the iopsReadWrite value.

maximumSupportedDiskCount

public Long maximumSupportedDiskCount()

Get the maximumSupportedDiskCount property: The maximum supported disk count.

Returns:

the maximumSupportedDiskCount value.

mbpsReadWrite

public Long mbpsReadWrite()

Get the mbpsReadWrite property: The disk provisioned throughput in MBps.

Returns:

the mbpsReadWrite value.

minimumSupportedDiskCount

public Long minimumSupportedDiskCount()

Get the minimumSupportedDiskCount property: The minimum supported disk count.

Returns:

the minimumSupportedDiskCount value.

sizeGB

public Long sizeGB()

Get the sizeGB property: The disk size in GB.

Returns:

the sizeGB value.

sku

public DiskSku sku()

Get the sku property: The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to