Interface CacheContract
-
public interface CacheContract
An immutable client-side representation of CacheContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CacheContract.Definition
The entirety of the CacheContract definition.static interface
CacheContract.DefinitionStages
The CacheContract definition stages.static interface
CacheContract.Update
The template for CacheContract update.static interface
CacheContract.UpdateStages
The CacheContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
connectionString()
Gets the connectionString property: Runtime connection string to cache.String
description()
Gets the description property: Cache description.String
id()
Gets the id property: Fully qualified resource Id for the resource.CacheContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.CacheContractInner object.String
name()
Gets the name property: The name of the resource.CacheContract
refresh()
Refreshes the resource to sync with Azure.CacheContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
resourceId()
Gets the resourceId property: Original uri of entity in external system cache points to.String
type()
Gets the type property: The type of the resource.CacheContract.Update
update()
Begins update for the CacheContract resource.String
useFromLocation()
Gets the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
description
String description()
Gets the description property: Cache description.- Returns:
- the description value.
-
connectionString
String connectionString()
Gets the connectionString property: Runtime connection string to cache.- Returns:
- the connectionString value.
-
useFromLocation
String useFromLocation()
Gets the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).- Returns:
- the useFromLocation value.
-
resourceId
String resourceId()
Gets the resourceId property: Original uri of entity in external system cache points to.- Returns:
- the resourceId value.
-
innerModel
CacheContractInner innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.CacheContractInner object.- Returns:
- the inner object.
-
update
CacheContract.Update update()
Begins update for the CacheContract resource.- Returns:
- the stage of resource update.
-
refresh
CacheContract refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
CacheContract refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-