Partager via


BurstingConstants Class

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

Implements

public final class BurstingConstants
implements 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

Constructor Description
BurstingConstants()

Creates an instance of BurstingConstants class.

Method Summary

Modifier and Type Method and Description
Integer burstFloorIops()

Get the burstFloorIops property: The guaranteed floor of burst IOPS for small file shares.

Double burstIOScalar()

Get the burstIOScalar property: The scalar against provisioned IOPS in the file share included burst IOPS formula.

Integer burstTimeframeSeconds()

Get the burstTimeframeSeconds property: The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.

static BurstingConstants fromJson(JsonReader jsonReader)

Reads an instance of BurstingConstants from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BurstingConstants

public BurstingConstants()

Creates an instance of BurstingConstants class.

Method Details

burstFloorIops

public Integer burstFloorIops()

Get the burstFloorIops property: The guaranteed floor of burst IOPS for small file shares.

Returns:

the burstFloorIops value.

burstIOScalar

public Double burstIOScalar()

Get the burstIOScalar property: The scalar against provisioned IOPS in the file share included burst IOPS formula.

Returns:

the burstIOScalar value.

burstTimeframeSeconds

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

fromJson

public static BurstingConstants fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to