CacheRulesOperations interface
表示 CacheRules 操作的接口。
属性
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create | 使用指定参数为容器注册表创建缓存规则。 |
| delete | |
| get | 获取指定缓存规则资源的属性。 |
| list | 列出指定容器注册表的所有缓存规则资源。 |
| update | 使用指定的参数更新容器注册表的缓存规则。 |
属性详细信息
beginCreate
警告
现已弃用此 API。
use create instead
beginCreate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>
beginCreateAndWait
警告
现已弃用此 API。
use create instead
beginCreateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<CacheRule>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<CacheRule>
beginDelete
警告
现已弃用此 API。
use delete instead
beginDelete: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
警告
现已弃用此 API。
use delete instead
beginDeleteAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<void>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<void>
beginUpdate
警告
现已弃用此 API。
use update instead
beginUpdate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>
beginUpdateAndWait
警告
现已弃用此 API。
use update instead
beginUpdateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<CacheRule>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<CacheRule>
create
使用指定参数为容器注册表创建缓存规则。
create: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>
delete
delete: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取指定缓存规则资源的属性。
get: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams) => Promise<CacheRule>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams) => Promise<CacheRule>
list
列出指定容器注册表的所有缓存规则资源。
list: (resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams) => PagedAsyncIterableIterator<CacheRule, CacheRule[], PageSettings>
属性值
(resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams) => PagedAsyncIterableIterator<CacheRule, CacheRule[], PageSettings>
update
使用指定的参数更新容器注册表的缓存规则。
update: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>
属性值
(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>