Udostępnij przez


FileServiceUsageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.FileServiceUsageProperties

Implements

public final class FileServiceUsageProperties
implements JsonSerializable<FileServiceUsageProperties>

File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula.

Constructor Summary

Constructor Description
FileServiceUsageProperties()

Creates an instance of FileServiceUsageProperties class.

Method Summary

Modifier and Type Method and Description
BurstingConstants 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.

FileShareLimits fileShareLimits()

Get the fileShareLimits property: Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.

FileShareRecommendations fileShareRecommendations()

Get the fileShareRecommendations property: Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.

static FileServiceUsageProperties fromJson(JsonReader jsonReader)

Reads an instance of FileServiceUsageProperties from the JsonReader.

AccountLimits storageAccountLimits()

Get the storageAccountLimits property: Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.

AccountUsage 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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FileServiceUsageProperties

public FileServiceUsageProperties()

Creates an instance of FileServiceUsageProperties class.

Method Details

burstingConstants

public BurstingConstants 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.

fileShareLimits

public FileShareLimits fileShareLimits()

Get the fileShareLimits property: Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.

Returns:

the fileShareLimits value.

fileShareRecommendations

public FileShareRecommendations fileShareRecommendations()

Get the fileShareRecommendations property: Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.

Returns:

the fileShareRecommendations value.

fromJson

public static FileServiceUsageProperties fromJson(JsonReader jsonReader)

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.

storageAccountLimits

public AccountLimits storageAccountLimits()

Get the storageAccountLimits property: Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.

Returns:

the storageAccountLimits value.

storageAccountUsage

public AccountUsage 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to