Share via


CosmosDBTableRoleAssignmentCollection Class

Definition

A class representing a collection of CosmosDBTableRoleAssignmentResource and their operations. Each CosmosDBTableRoleAssignmentResource in the collection will belong to the same instance of CosmosDBAccountResource. To get a CosmosDBTableRoleAssignmentCollection instance call the GetCosmosDBTableRoleAssignments method from an instance of CosmosDBAccountResource.

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

Constructors

CosmosDBTableRoleAssignmentCollection()

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

Creates or updates an Azure Cosmos DB Table Role Assignment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_CreateUpdateTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, CosmosDBTableRoleAssignmentData, CancellationToken)

Creates or updates an Azure Cosmos DB Table Role Assignment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_CreateUpdateTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
Get(String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB Table Role Assignment with the given Id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
GetAll(CancellationToken)

Retrieves the list of all Azure Cosmos DB Table Role Assignments.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments
  • Operation Id: TableResources_ListTableRoleAssignments
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
GetAllAsync(CancellationToken)

Retrieves the list of all Azure Cosmos DB Table Role Assignments.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments
  • Operation Id: TableResources_ListTableRoleAssignments
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
GetAsync(String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB Table Role Assignment with the given Id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tableRoleAssignments/{roleAssignmentId}
  • Operation Id: TableResources_GetTableRoleAssignment
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableRoleAssignmentResource
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<CosmosDBTableRoleAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CosmosDBTableRoleAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to