Class BurstingConstants
java.lang.Object
com.azure.resourcemanager.storage.models.BurstingConstants
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BurstingConstants>
public final class BurstingConstants
extends Object
implements com.azure.json.JsonSerializable<BurstingConstants>
Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage
account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the burstFloorIops property: The guaranteed floor of burst IOPS for small file shares.Get the burstIOScalar property: The scalar against provisioned IOPS in the file share included burst IOPS formula.Get the burstTimeframeSeconds property: The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.static BurstingConstantsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BurstingConstants from the JsonReader.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
-
BurstingConstants
public BurstingConstants()Creates an instance of BurstingConstants class.
-
-
Method Details
-
burstFloorIops
Get the burstFloorIops property: The guaranteed floor of burst IOPS for small file shares.- Returns:
- the burstFloorIops value.
-
burstIOScalar
Get the burstIOScalar property: The scalar against provisioned IOPS in the file share included burst IOPS formula.- Returns:
- the burstIOScalar value.
-
burstTimeframeSeconds
Get the burstTimeframeSeconds property: The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.- Returns:
- the burstTimeframeSeconds 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<BurstingConstants>- Throws:
IOException
-
fromJson
Reads an instance of BurstingConstants from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BurstingConstants 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 BurstingConstants.
-