Megosztás a következőn keresztül:


RedisCacheAccessPolicyAssignmentCollection Class

Definition

A class representing a collection of RedisCacheAccessPolicyAssignmentResource and their operations. Each RedisCacheAccessPolicyAssignmentResource in the collection will belong to the same instance of RedisResource. To get a RedisCacheAccessPolicyAssignmentCollection instance call the GetRedisCacheAccessPolicyAssignments method from an instance of RedisResource.

public class RedisCacheAccessPolicyAssignmentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Redis.RedisCacheAccessPolicyAssignmentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Redis.RedisCacheAccessPolicyAssignmentResource>
type RedisCacheAccessPolicyAssignmentCollection = class
    inherit ArmCollection
    interface seq<RedisCacheAccessPolicyAssignmentResource>
    interface IEnumerable
    interface IAsyncEnumerable<RedisCacheAccessPolicyAssignmentResource>
Public Class RedisCacheAccessPolicyAssignmentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of RedisCacheAccessPolicyAssignmentResource), IEnumerable(Of RedisCacheAccessPolicyAssignmentResource)
Inheritance
RedisCacheAccessPolicyAssignmentCollection
Implements

Constructors

RedisCacheAccessPolicyAssignmentCollection()

Initializes a new instance of the RedisCacheAccessPolicyAssignmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, RedisCacheAccessPolicyAssignmentData, CancellationToken)

Adds the access policy assignment to the specified users

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_CreateUpdate
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, RedisCacheAccessPolicyAssignmentData, CancellationToken)

Adds the access policy assignment to the specified users

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_CreateUpdate
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
Get(String, CancellationToken)

Gets the list of assignments for an access policy of a redis cache

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
GetAll(CancellationToken)

Gets the list of access policy assignments associated with this redis cache

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments
  • Operation Id: AccessPolicyAssignment_List
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
GetAllAsync(CancellationToken)

Gets the list of access policy assignments associated with this redis cache

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments
  • Operation Id: AccessPolicyAssignment_List
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
GetAsync(String, CancellationToken)

Gets the list of assignments for an access policy of a redis cache

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-03-01
  • Resource: RedisCacheAccessPolicyAssignmentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<RedisCacheAccessPolicyAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RedisCacheAccessPolicyAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to