Condividi tramite


CassandraTableCollection Class

Definition

A class representing a collection of CassandraTableResource and their operations. Each CassandraTableResource in the collection will belong to the same instance of CassandraKeyspaceResource. To get a CassandraTableCollection instance call the GetCassandraTables method from an instance of CassandraKeyspaceResource.

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

Constructors

CassandraTableCollection()

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

Create or update an Azure Cosmos DB Cassandra Table

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_CreateUpdateCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
CreateOrUpdateAsync(WaitUntil, String, CassandraTableCreateOrUpdateContent, CancellationToken)

Create or update an Azure Cosmos DB Cassandra Table

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_CreateUpdateCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
Get(String, CancellationToken)

Gets the Cassandra table under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
GetAll(CancellationToken)

Lists the Cassandra table under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables
  • Operation Id: CassandraResources_ListCassandraTables
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
GetAllAsync(CancellationToken)

Lists the Cassandra table under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables
  • Operation Id: CassandraResources_ListCassandraTables
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
GetAsync(String, CancellationToken)

Gets the Cassandra table under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}
  • Operation Id: CassandraResources_GetCassandraTable
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraTableResource
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<CassandraTableResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CassandraTableResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to