다음을 통해 공유


FileShareRecommendations Class

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

Implements

public final class FileShareRecommendations
implements JsonSerializable<FileShareRecommendations>

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

Constructor Summary

Constructor Description
FileShareRecommendations()

Creates an instance of FileShareRecommendations class.

Method Summary

Modifier and Type Method and Description
Double bandwidthScalar()

Get the bandwidthScalar property: The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.

Integer baseBandwidthMiBPerSec()

Get the baseBandwidthMiBPerSec property: The base bandwidth in the file share provisioned bandwidth recommendation formula.

Integer baseIops()

Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.

static FileShareRecommendations fromJson(JsonReader jsonReader)

Reads an instance of FileShareRecommendations from the JsonReader.

Double ioScalar()

Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FileShareRecommendations

public FileShareRecommendations()

Creates an instance of FileShareRecommendations class.

Method Details

bandwidthScalar

public Double bandwidthScalar()

Get the bandwidthScalar property: The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.

Returns:

the bandwidthScalar value.

baseBandwidthMiBPerSec

public Integer baseBandwidthMiBPerSec()

Get the baseBandwidthMiBPerSec property: The base bandwidth in the file share provisioned bandwidth recommendation formula.

Returns:

the baseBandwidthMiBPerSec value.

baseIops

public Integer baseIops()

Get the baseIops property: The base IOPS in the file share provisioned IOPS recommendation formula.

Returns:

the baseIops value.

fromJson

public static FileShareRecommendations fromJson(JsonReader jsonReader)

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.

ioScalar

public Double ioScalar()

Get the ioScalar property: The scalar for IO in the file share provisioned IOPS recommendation formula.

Returns:

the ioScalar value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to