Table of Contents

Class CassandraResourcesOperationsExtensions

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Extension methods for CassandraResourcesOperations.

public static class CassandraResourcesOperationsExtensions
Inheritance
CassandraResourcesOperationsExtensions
Inherited Members

Methods

BeginCreateUpdateCassandraKeyspaceAsync(ICassandraResourcesOperations, string, string, string, CassandraKeyspaceCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Cassandra keyspace

public static Task<CassandraKeyspaceGetResultsInner> BeginCreateUpdateCassandraKeyspaceAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

createUpdateCassandraKeyspaceParameters CassandraKeyspaceCreateUpdateParameters

The parameters to provide for the current Cassandra keyspace.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraKeyspaceGetResultsInner>

BeginCreateUpdateCassandraTableAsync(ICassandraResourcesOperations, string, string, string, string, CassandraTableCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Cassandra Table

public static Task<CassandraTableGetResultsInner> BeginCreateUpdateCassandraTableAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

createUpdateCassandraTableParameters CassandraTableCreateUpdateParameters

The parameters to provide for the current Cassandra Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraTableGetResultsInner>

BeginDeleteCassandraKeyspaceAsync(ICassandraResourcesOperations, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Cassandra keyspace.

public static Task BeginDeleteCassandraKeyspaceAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

BeginDeleteCassandraTableAsync(ICassandraResourcesOperations, string, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Cassandra table.

public static Task BeginDeleteCassandraTableAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

BeginUpdateCassandraKeyspaceThroughputAsync(ICassandraResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Cassandra Keyspace

public static Task<ThroughputSettingsGetResultsInner> BeginUpdateCassandraKeyspaceThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The RUs per second of the parameters to provide for the current Cassandra Keyspace.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

BeginUpdateCassandraTableThroughputAsync(ICassandraResourcesOperations, string, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Cassandra table

public static Task<ThroughputSettingsGetResultsInner> BeginUpdateCassandraTableThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The RUs per second of the parameters to provide for the current Cassandra table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

CreateUpdateCassandraKeyspaceAsync(ICassandraResourcesOperations, string, string, string, CassandraKeyspaceCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Cassandra keyspace

public static Task<CassandraKeyspaceGetResultsInner> CreateUpdateCassandraKeyspaceAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

createUpdateCassandraKeyspaceParameters CassandraKeyspaceCreateUpdateParameters

The parameters to provide for the current Cassandra keyspace.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraKeyspaceGetResultsInner>

CreateUpdateCassandraTableAsync(ICassandraResourcesOperations, string, string, string, string, CassandraTableCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Cassandra Table

public static Task<CassandraTableGetResultsInner> CreateUpdateCassandraTableAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

createUpdateCassandraTableParameters CassandraTableCreateUpdateParameters

The parameters to provide for the current Cassandra Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraTableGetResultsInner>

DeleteCassandraKeyspaceAsync(ICassandraResourcesOperations, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Cassandra keyspace.

public static Task DeleteCassandraKeyspaceAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

DeleteCassandraTableAsync(ICassandraResourcesOperations, string, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Cassandra table.

public static Task DeleteCassandraTableAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

GetCassandraKeyspaceAsync(ICassandraResourcesOperations, string, string, string, CancellationToken)

Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.

public static Task<CassandraKeyspaceGetResultsInner> GetCassandraKeyspaceAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraKeyspaceGetResultsInner>

GetCassandraKeyspaceThroughputAsync(ICassandraResourcesOperations, string, string, string, CancellationToken)

Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.

public static Task<ThroughputSettingsGetResultsInner> GetCassandraKeyspaceThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

GetCassandraTableAsync(ICassandraResourcesOperations, string, string, string, string, CancellationToken)

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

public static Task<CassandraTableGetResultsInner> GetCassandraTableAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<CassandraTableGetResultsInner>

GetCassandraTableThroughputAsync(ICassandraResourcesOperations, string, string, string, string, CancellationToken)

Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.

public static Task<ThroughputSettingsGetResultsInner> GetCassandraTableThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

ListCassandraKeyspacesAsync(ICassandraResourcesOperations, string, string, CancellationToken)

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

public static Task<IEnumerable<CassandraKeyspaceGetResultsInner>> ListCassandraKeyspacesAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<CassandraKeyspaceGetResultsInner>>

ListCassandraTablesAsync(ICassandraResourcesOperations, string, string, string, CancellationToken)

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

public static Task<IEnumerable<CassandraTableGetResultsInner>> ListCassandraTablesAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<CassandraTableGetResultsInner>>

UpdateCassandraKeyspaceThroughputAsync(ICassandraResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Cassandra Keyspace

public static Task<ThroughputSettingsGetResultsInner> UpdateCassandraKeyspaceThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The RUs per second of the parameters to provide for the current Cassandra Keyspace.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

UpdateCassandraTableThroughputAsync(ICassandraResourcesOperations, string, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Cassandra table

public static Task<ThroughputSettingsGetResultsInner> UpdateCassandraTableThroughputAsync(this ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

keyspaceName string

Cosmos DB keyspace name.

tableName string

Cosmos DB table name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The RUs per second of the parameters to provide for the current Cassandra table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>