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

CacheOperationsExtensions 类

定义

CacheOperations 的扩展方法。

public static class CacheOperationsExtensions
type CacheOperationsExtensions = class
Public Module CacheOperationsExtensions
继承
CacheOperationsExtensions

方法

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)

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

适用于