Class AccountUsageElements
java.lang.Object
com.azure.resourcemanager.storage.models.AccountUsageElements
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AccountUsageElements>
public final class AccountUsageElements
extends Object
implements com.azure.json.JsonSerializable<AccountUsageElements>
Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares
in the account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the fileShareCount property: The total number of file shares.static AccountUsageElementsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AccountUsageElements from the JsonReader.Get the provisionedBandwidthMiBPerSec property: The total provisioned bandwidth in mebibytes per second.Get the provisionedIops property: The total provisioned IOPS.Get the provisionedStorageGiB property: The total provisioned storage quota in gibibytes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AccountUsageElements
public AccountUsageElements()Creates an instance of AccountUsageElements class.
-
-
Method Details
-
provisionedStorageGiB
Get the provisionedStorageGiB property: The total provisioned storage quota in gibibytes.- Returns:
- the provisionedStorageGiB value.
-
provisionedIops
Get the provisionedIops property: The total provisioned IOPS.- Returns:
- the provisionedIops value.
-
provisionedBandwidthMiBPerSec
Get the provisionedBandwidthMiBPerSec property: The total provisioned bandwidth in mebibytes per second.- Returns:
- the provisionedBandwidthMiBPerSec value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AccountUsageElements>- Throws:
IOException
-
fromJson
public static AccountUsageElements fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.