AccessPolicyOperations interface

Interface representing a AccessPolicy operations.

Properties

beginCreateUpdate
beginCreateUpdateAndWait
beginDelete
beginDeleteAndWait
createUpdate

Adds an access policy to the redis cache

delete

Deletes the access policy from a redis cache

get

Gets the detailed information about an access policy of a redis cache

list

Gets the list of access policies associated with this redis cache

Property Details

beginCreateUpdate

Warning

This API is now deprecated.

use createUpdate instead

beginCreateUpdate: (resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<RedisCacheAccessPolicy>, RedisCacheAccessPolicy>>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<RedisCacheAccessPolicy>, RedisCacheAccessPolicy>>

beginCreateUpdateAndWait

Warning

This API is now deprecated.

use createUpdate instead

beginCreateUpdateAndWait: (resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => Promise<RedisCacheAccessPolicy>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => Promise<RedisCacheAccessPolicy>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => Promise<void>

createUpdate

Adds an access policy to the redis cache

createUpdate: (resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => PollerLike<OperationState<RedisCacheAccessPolicy>, RedisCacheAccessPolicy>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams) => PollerLike<OperationState<RedisCacheAccessPolicy>, RedisCacheAccessPolicy>

delete

Deletes the access policy from a redis cache

delete: (resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the detailed information about an access policy of a redis cache

get: (resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyGetOptionalParams) => Promise<RedisCacheAccessPolicy>

Property Value

(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyGetOptionalParams) => Promise<RedisCacheAccessPolicy>

list

Gets the list of access policies associated with this redis cache

list: (resourceGroupName: string, cacheName: string, options?: AccessPolicyListOptionalParams) => PagedAsyncIterableIterator<RedisCacheAccessPolicy, RedisCacheAccessPolicy[], PageSettings>

Property Value

(resourceGroupName: string, cacheName: string, options?: AccessPolicyListOptionalParams) => PagedAsyncIterableIterator<RedisCacheAccessPolicy, RedisCacheAccessPolicy[], PageSettings>