Share via


Refreshable<T> Interface

Type Parameters

T

the fluent type of the resource

public interface Refreshable<T>

Base class for resources that can be refreshed to get the latest state.

Method Summary

Modifier and Type Method and Description
abstract T refresh()

Refreshes the resource to sync with Azure.

abstract Mono<T> refreshAsync()

Refreshes the resource to sync with Azure.

Method Details

refresh

public abstract T refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource

refreshAsync

public abstract Mono<T> refreshAsync()

Refreshes the resource to sync with Azure.

Returns:

the Mono to refreshed resource

Applies to