Class FileServiceUsageProperties
java.lang.Object
com.azure.resourcemanager.storage.models.FileServiceUsageProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FileServiceUsageProperties>
public final class FileServiceUsageProperties
extends Object
implements com.azure.json.JsonSerializable<FileServiceUsageProperties>
File service usage in storage account including account limits, file share limits and constants used in
recommendations and bursting formula.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FileServiceUsageProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the burstingConstants property: Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.Get the fileShareLimits property: Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.Get the fileShareRecommendations property: Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.static FileServiceUsagePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FileServiceUsageProperties from the JsonReader.Get the storageAccountLimits property: Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.Get the storageAccountUsage property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.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
-
FileServiceUsageProperties
public FileServiceUsageProperties()Creates an instance of FileServiceUsageProperties class.
-
-
Method Details
-
storageAccountLimits
Get the storageAccountLimits property: Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.- Returns:
- the storageAccountLimits value.
-
burstingConstants
Get the burstingConstants property: Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.- Returns:
- the burstingConstants value.
-
storageAccountUsage
Get the storageAccountUsage property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.- Returns:
- the storageAccountUsage 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<FileServiceUsageProperties>- Throws:
IOException
-
fromJson
public static FileServiceUsageProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FileServiceUsageProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FileServiceUsageProperties 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 FileServiceUsageProperties.
-