ResourceUsagesListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.models.ResourceUsagesListResult

Implements

public final class ResourceUsagesListResult
implements JsonSerializable<ResourceUsagesListResult>

Result of the request to list resource usages. It contains a list of resource usages & limits and a URL link to get the next set of results.

Constructor Summary

Constructor Description
ResourceUsagesListResult()

Creates an instance of ResourceUsagesListResult class.

Method Summary

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

Reads an instance of ResourceUsagesListResult from the JsonReader.

String nextLink()

Get the nextLink property: URL to get the next set of resource usage list results if there are any.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ResourceUsageInner> value()

Get the value property: List of usages and limits for resources controlled by the Microsoft.StorageCache resource provider.

Methods inherited from java.lang.Object

Constructor Details

ResourceUsagesListResult

public ResourceUsagesListResult()

Creates an instance of ResourceUsagesListResult class.

Method Details

fromJson

public static ResourceUsagesListResult fromJson(JsonReader jsonReader)

Reads an instance of ResourceUsagesListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to get the next set of resource usage list results if there are any.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: List of usages and limits for resources controlled by the Microsoft.StorageCache resource provider.

Returns:

the value value.

Applies to

Azure SDK for Java

Preview