你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICacheOperations 接口

定义

CacheOperations 操作。

public interface ICacheOperations
type ICacheOperations = interface
Public Interface ICacheOperations

方法

CreateOrUpdateWithHttpMessagesAsync(String, String, String, CacheContract, String, Dictionary<String,List<String>>, CancellationToken)

创建或更新要在 API 管理实例中使用的外部缓存。 https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external

DeleteWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

删除特定的缓存。

GetEntityTagWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

获取实体状态 (Etag) 由其标识符指定的缓存版本。

GetWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

获取由其标识符指定的缓存的详细信息。

ListByServiceNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

列出指定服务实例中所有外部缓存的集合。

ListByServiceWithHttpMessagesAsync(String, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

列出指定服务实例中所有外部缓存的集合。

UpdateWithHttpMessagesAsync(String, String, String, CacheUpdateParameters, String, Dictionary<String,List<String>>, CancellationToken)

汇报由其标识符指定的缓存的详细信息。

扩展方法

CreateOrUpdate(ICacheOperations, String, String, String, CacheContract, String)

创建或更新要在 API 管理实例中使用的外部缓存。 https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external

CreateOrUpdateAsync(ICacheOperations, String, String, String, CacheContract, String, CancellationToken)

创建或更新要在 API 管理实例中使用的外部缓存。 https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external

Delete(ICacheOperations, String, String, String, String)

删除特定的缓存。

DeleteAsync(ICacheOperations, String, String, String, String, CancellationToken)

删除特定的缓存。

Get(ICacheOperations, String, String, String)

获取由其标识符指定的缓存的详细信息。

GetAsync(ICacheOperations, String, String, String, CancellationToken)

获取由其标识符指定的缓存的详细信息。

GetEntityTag(ICacheOperations, String, String, String)

获取实体状态 (Etag) 由其标识符指定的缓存版本。

GetEntityTagAsync(ICacheOperations, String, String, String, CancellationToken)

获取实体状态 (Etag) 由其标识符指定的缓存版本。

ListByService(ICacheOperations, String, String, Nullable<Int32>, Nullable<Int32>)

列出指定服务实例中所有外部缓存的集合。

ListByServiceAsync(ICacheOperations, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

列出指定服务实例中所有外部缓存的集合。

ListByServiceNext(ICacheOperations, String)

列出指定服务实例中所有外部缓存的集合。

ListByServiceNextAsync(ICacheOperations, String, CancellationToken)

列出指定服务实例中所有外部缓存的集合。

Update(ICacheOperations, String, String, String, CacheUpdateParameters, String)

汇报由其标识符指定的缓存的详细信息。

UpdateAsync(ICacheOperations, String, String, String, CacheUpdateParameters, String, CancellationToken)

汇报由其标识符指定的缓存的详细信息。

适用于