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 Details

    • AccountUsageElements

      public AccountUsageElements()
      Creates an instance of AccountUsageElements class.
  • Method Details

    • fileShareCount

      public Integer fileShareCount()
      Get the fileShareCount property: The total number of file shares.
      Returns:
      the fileShareCount value.
    • provisionedStorageGiB

      public Integer provisionedStorageGiB()
      Get the provisionedStorageGiB property: The total provisioned storage quota in gibibytes.
      Returns:
      the provisionedStorageGiB value.
    • provisionedIops

      public Integer provisionedIops()
      Get the provisionedIops property: The total provisioned IOPS.
      Returns:
      the provisionedIops value.
    • provisionedBandwidthMiBPerSec

      public Integer 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.