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
ConstructorsConstructorDescriptionCreates an instance of FileShareRecommendations class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.baseIops()Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.static FileShareRecommendationsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FileShareRecommendations from the JsonReader.ioScalar()Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.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
-
FileShareRecommendations
public FileShareRecommendations()Creates an instance of FileShareRecommendations class.
-
-
Method Details
-
baseIops
Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.- Returns:
- the baseIops value.
-
ioScalar
Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.- Returns:
- the ioScalar value.
-
baseBandwidthMiBPerSec
Get the baseBandwidthMiBPerSec property: The base bandwidth in the file share provisioned bandwidth recommendation formula.- Returns:
- the baseBandwidthMiBPerSec value.
-
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
- Specified by:
toJsonin interfacecom.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.
-