Caches Interface

Definition

Resource collection API of Caches.

public interface Caches

Methods

debugInfo(String resourceGroupName, String cacheName)

Tells a Cache to write generate debug info for support to process.

debugInfo(String resourceGroupName, String cacheName, Context context)

Tells a Cache to write generate debug info for support to process.

define(String name)

Begins definition for a new Cache resource.

delete(String resourceGroupName, String cacheName, Context context)

Schedules a Cache for deletion.

deleteById(String id)

Schedules a Cache for deletion.

deleteByIdWithResponse(String id, Context context)

Schedules a Cache for deletion.

deleteByResourceGroup(String resourceGroupName, String cacheName)

Schedules a Cache for deletion.

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.

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.

getById(String id)

Returns a Cache.

getByIdWithResponse(String id, Context context)

Returns a Cache.

getByResourceGroup(String resourceGroupName, String cacheName)

Returns a Cache.

getByResourceGroupWithResponse(String resourceGroupName, String cacheName, Context context)

Returns a Cache.

list()

Returns all Caches the user has access to under a subscription.

list(Context context)

Returns all Caches the user has access to under a subscription.

listByResourceGroup(String resourceGroupName)

Returns all Caches the user has access to under a resource group.

listByResourceGroup(String resourceGroupName, Context context)

Returns all Caches the user has access to under a resource group.

start(String resourceGroupName, String cacheName)

Tells a Stopped state Cache to transition to Active state.

start(String resourceGroupName, String cacheName, Context context)

Tells a Stopped state Cache to transition to Active state.

stop(String resourceGroupName, String cacheName)

Tells an Active Cache to transition to Stopped state.

stop(String resourceGroupName, String cacheName, Context context)

Tells an Active Cache to transition to Stopped state.

upgradeFirmware(String resourceGroupName, String cacheName)

Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.

upgradeFirmware(String resourceGroupName, String cacheName, Context context)

Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.

Applies to