Delen via


AccessPolicyAssignmentCollection Class

Definition

A class representing a collection of AccessPolicyAssignmentResource and their operations. Each AccessPolicyAssignmentResource in the collection will belong to the same instance of RedisEnterpriseDatabaseResource. To get an AccessPolicyAssignmentCollection instance call the GetAccessPolicyAssignments method from an instance of RedisEnterpriseDatabaseResource.

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

Constructors

AccessPolicyAssignmentCollection()

Initializes a new instance of the AccessPolicyAssignmentCollection 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, AccessPolicyAssignmentData, CancellationToken)

Creates/Updates a particular access policy assignment for a database

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_CreateUpdate
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, AccessPolicyAssignmentData, CancellationToken)

Creates/Updates a particular access policy assignment for a database

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_CreateUpdate
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
Get(String, CancellationToken)

Gets information about access policy assignment for database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
GetAll(CancellationToken)

Gets all access policy assignments..

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments
  • Operation Id: AccessPolicyAssignment_List
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
GetAllAsync(CancellationToken)

Gets all access policy assignments..

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments
  • Operation Id: AccessPolicyAssignment_List
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
GetAsync(String, CancellationToken)

Gets information about access policy assignment for database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}
  • Operation Id: AccessPolicyAssignment_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: AccessPolicyAssignmentResource
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<AccessPolicyAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AccessPolicyAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to