AccountUsageElements Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.AccountUsageElements

Implements

public final class AccountUsageElements
implements JsonSerializable<AccountUsageElements>

Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.

Method Summary

Modifier and Type Method and Description
Integer fileShareCount()

Get the fileShareCount property: The total number of file shares.

static AccountUsageElements fromJson(JsonReader jsonReader)

Reads an instance of AccountUsageElements from the JsonReader.

Integer provisionedBandwidthMiBPerSec()

Get the provisionedBandwidthMiBPerSec property: The total provisioned bandwidth in mebibytes per second.

Integer provisionedIops()

Get the provisionedIops property: The total provisioned IOPS.

Integer provisionedStorageGiB()

Get the provisionedStorageGiB property: The total provisioned storage quota in gibibytes.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fileShareCount

public Integer fileShareCount()

Get the fileShareCount property: The total number of file shares.

Returns:

the fileShareCount value.

fromJson

public static AccountUsageElements fromJson(JsonReader jsonReader)

Reads an instance of AccountUsageElements from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisionedBandwidthMiBPerSec

public Integer provisionedBandwidthMiBPerSec()

Get the provisionedBandwidthMiBPerSec property: The total provisioned bandwidth in mebibytes per second.

Returns:

the provisionedBandwidthMiBPerSec value.

provisionedIops

public Integer provisionedIops()

Get the provisionedIops property: The total provisioned IOPS.

Returns:

the provisionedIops value.

provisionedStorageGiB

public Integer provisionedStorageGiB()

Get the provisionedStorageGiB property: The total provisioned storage quota in gibibytes.

Returns:

the provisionedStorageGiB value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to