Caches Interface
public interface Caches
Resource collection API of Caches.
Method Summary
Method Details
debugInfo
public abstract void debugInfo(String resourceGroupName, String cacheName)
Tells a cache to write generate debug info for support to process.
Parameters:
debugInfo
public abstract void debugInfo(String resourceGroupName, String cacheName, Context context)
Tells a cache to write generate debug info for support to process.
Parameters:
define
public abstract Cache.DefinitionStages.Blank define(String name)
Begins definition for a new Cache resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String cacheName, Context context)
Schedules a cache for deletion.
Parameters:
deleteById
public abstract void deleteById(String id)
Schedules a cache for deletion.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Schedules a cache for deletion.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String cacheName)
Schedules a cache for deletion.
Parameters:
flush
public abstract void flush(String resourceGroupName, String cacheName)
Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.
Parameters:
flush
public abstract void flush(String resourceGroupName, String cacheName, Context context)
Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.
Parameters:
getById
public abstract Cache getById(String id)
Returns a cache.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Returns a cache.
Parameters:
Returns:
getByResourceGroup
public abstract Cache getByResourceGroup(String resourceGroupName, String cacheName)
Returns a cache.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Returns a cache.
Parameters:
Returns:
list
public abstract PagedIterable
Returns all caches the user has access to under a subscription.
Returns:
list
public abstract PagedIterable
Returns all caches the user has access to under a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Returns all caches the user has access to under a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Returns all caches the user has access to under a resource group.
Parameters:
Returns:
pausePrimingJob
public abstract void pausePrimingJob(String resourceGroupName, String cacheName)
Schedule a priming job to be paused.
Parameters:
pausePrimingJob
public abstract void pausePrimingJob(String resourceGroupName, String cacheName, PrimingJobIdParameter primingJobId, Context context)
Schedule a priming job to be paused.
Parameters:
resumePrimingJob
public abstract void resumePrimingJob(String resourceGroupName, String cacheName)
Resumes a paused priming job.
Parameters:
resumePrimingJob
public abstract void resumePrimingJob(String resourceGroupName, String cacheName, PrimingJobIdParameter primingJobId, Context context)
Resumes a paused priming job.
Parameters:
spaceAllocation
public abstract void spaceAllocation(String resourceGroupName, String cacheName)
Update cache space allocation.
Parameters:
spaceAllocation
public abstract void spaceAllocation(String resourceGroupName, String cacheName, List
Update cache space allocation.
Parameters:
start
public abstract void start(String resourceGroupName, String cacheName)
Tells a Stopped state cache to transition to Active state.
Parameters:
start
public abstract void start(String resourceGroupName, String cacheName, Context context)
Tells a Stopped state cache to transition to Active state.
Parameters:
startPrimingJob
public abstract void startPrimingJob(String resourceGroupName, String cacheName)
Create a priming job. This operation is only allowed when the cache is healthy.
Parameters:
startPrimingJob
public abstract void startPrimingJob(String resourceGroupName, String cacheName, PrimingJob primingjob, Context context)
Create a priming job. This operation is only allowed when the cache is healthy.
Parameters:
stop
public abstract void stop(String resourceGroupName, String cacheName)
Tells an Active cache to transition to Stopped state.
Parameters:
stop
public abstract void stop(String resourceGroupName, String cacheName, Context context)
Tells an Active cache to transition to Stopped state.
Parameters:
stopPrimingJob
public abstract void stopPrimingJob(String resourceGroupName, String cacheName)
Schedule a priming job for deletion.
Parameters:
stopPrimingJob
public abstract void stopPrimingJob(String resourceGroupName, String cacheName, PrimingJobIdParameter primingJobId, Context context)
Schedule a priming job for deletion.
Parameters:
upgradeFirmware
public abstract void upgradeFirmware(String resourceGroupName, String cacheName)
Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
Parameters:
upgradeFirmware
public abstract void upgradeFirmware(String resourceGroupName, String cacheName, Context context)
Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for