Interface Refreshable<T>
- Type Parameters:
T- the fluent type of the resource
- All Known Subinterfaces:
Deployment,DeploymentOperation,ExternalChildResource<FluentModelT,,ParentT> GenericResource,ManagementLock,PolicyAssignment,PolicyDefinition,ResourceGroup
public interface Refreshable<T>
Base class for resources that can be refreshed to get the latest state.
-
Method Summary
Modifier and TypeMethodDescriptionrefresh()Refreshes the resource to sync with Azure.Refreshes the resource to sync with Azure.
-
Method Details
-
refresh
T refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource
-
refreshAsync
Refreshes the resource to sync with Azure.- Returns:
- the Mono to refreshed resource
-