Share via


CacheRulesOperations interface

Interface representing a CacheRules operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

Creates a cache rule for a container registry with the specified parameters.

delete
get

Gets the properties of the specified cache rule resource.

list

Lists all cache rule resources for the specified container registry.

update

Updates a cache rule for a container registry with the specified parameters.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<CacheRule>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise<CacheRule>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CacheRule>, CacheRule>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<CacheRule>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise<CacheRule>

create

Creates a cache rule for a container registry with the specified parameters.

create: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>

Property Value

(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>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the properties of the specified cache rule resource.

get: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams) => Promise<CacheRule>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams) => Promise<CacheRule>

list

Lists all cache rule resources for the specified container registry.

list: (resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams) => PagedAsyncIterableIterator<CacheRule, CacheRule[], PageSettings>

Property Value

(resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams) => PagedAsyncIterableIterator<CacheRule, CacheRule[], PageSettings>

update

Updates a cache rule for a container registry with the specified parameters.

update: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>

Property Value

(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => PollerLike<OperationState<CacheRule>, CacheRule>