다음을 통해 공유


AccountUsage Class

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

Implements

public final class AccountUsage
implements JsonSerializable<AccountUsage>

Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.

Constructor Summary

Constructor Description
AccountUsage()

Creates an instance of AccountUsage class.

Method Summary

Modifier and Type Method and Description
static AccountUsage fromJson(JsonReader jsonReader)

Reads an instance of AccountUsage from the JsonReader.

AccountUsageElements liveShares()

Get the liveShares property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.

AccountUsageElements softDeletedShares()

Get the softDeletedShares property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AccountUsage

public AccountUsage()

Creates an instance of AccountUsage class.

Method Details

fromJson

public static AccountUsage fromJson(JsonReader jsonReader)

Reads an instance of AccountUsage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccountUsage 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 AccountUsage.

liveShares

public AccountUsageElements liveShares()

Get the liveShares property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.

Returns:

the liveShares value.

softDeletedShares

public AccountUsageElements softDeletedShares()

Get the softDeletedShares property: Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.

Returns:

the softDeletedShares value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to