Class FileShareRecommendations

java.lang.Object
com.azure.resourcemanager.storage.models.FileShareRecommendations
All Implemented Interfaces:
com.azure.json.JsonSerializable<FileShareRecommendations>

public final class FileShareRecommendations extends Object implements com.azure.json.JsonSerializable<FileShareRecommendations>
Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of FileShareRecommendations class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the bandwidthScalar property: The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.
    Get the baseBandwidthMiBPerSec property: The base bandwidth in the file share provisioned bandwidth recommendation formula.
    Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of FileShareRecommendations from the JsonReader.
    Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • FileShareRecommendations

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

    • baseIops

      public Integer baseIops()
      Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.
      Returns:
      the baseIops value.
    • ioScalar

      public Double ioScalar()
      Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.
      Returns:
      the ioScalar value.
    • baseBandwidthMiBPerSec

      public Integer baseBandwidthMiBPerSec()
      Get the baseBandwidthMiBPerSec property: The base bandwidth in the file share provisioned bandwidth recommendation formula.
      Returns:
      the baseBandwidthMiBPerSec value.
    • bandwidthScalar

      public Double bandwidthScalar()
      Get the bandwidthScalar property: The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.
      Returns:
      the bandwidthScalar 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<FileShareRecommendations>
      Throws:
      IOException
    • fromJson

      public static FileShareRecommendations fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FileShareRecommendations from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FileShareRecommendations 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 FileShareRecommendations.