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

ContextCachesOperations interface

表示上下文缓存操作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
checkNameAvailability

检查上下文缓存资源名称的可用性。

createOrUpdate

创建或更新上下文缓存。

delete

删除上下文缓存。

get

获取上下文缓存。

listByResourceGroup

按资源组列出上下文缓存。

listBySubscription

按订阅列表上下文缓存。

update

更新上下文缓存。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ContextCache>, ContextCache>>

属性值

(resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ContextCache>, ContextCache>>

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise<ContextCache>

属性值

(resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise<ContextCache>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

beginUpdate: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ContextCache>, ContextCache>>

属性值

(resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ContextCache>, ContextCache>>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

beginUpdateAndWait: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise<ContextCache>

属性值

(resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise<ContextCache>

checkNameAvailability

检查上下文缓存资源名称的可用性。

checkNameAvailability: (body: ContextCacheCheckNameAvailabilityParameters, options?: ContextCachesCheckNameAvailabilityOptionalParams) => Promise<ContextCacheCheckNameAvailabilityResult>

属性值

(body: ContextCacheCheckNameAvailabilityParameters, options?: ContextCachesCheckNameAvailabilityOptionalParams) => Promise<ContextCacheCheckNameAvailabilityResult>

createOrUpdate

创建或更新上下文缓存。

createOrUpdate: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ContextCache>, ContextCache>

属性值

(resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ContextCache>, ContextCache>

delete

删除上下文缓存。

delete: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

获取上下文缓存。

get: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesGetOptionalParams) => Promise<ContextCache>

属性值

(resourceGroupName: string, contextCacheName: string, options?: ContextCachesGetOptionalParams) => Promise<ContextCache>

listByResourceGroup

按资源组列出上下文缓存。

listByResourceGroup: (resourceGroupName: string, options?: ContextCachesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<ContextCache, ContextCache[], PageSettings>

属性值

(resourceGroupName: string, options?: ContextCachesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<ContextCache, ContextCache[], PageSettings>

listBySubscription

按订阅列表上下文缓存。

listBySubscription: (options?: ContextCachesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<ContextCache, ContextCache[], PageSettings>

属性值

(options?: ContextCachesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<ContextCache, ContextCache[], PageSettings>

update

更新上下文缓存。

update: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => PollerLike<OperationState<ContextCache>, ContextCache>

属性值

(resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => PollerLike<OperationState<ContextCache>, ContextCache>