Table of Contents

Interface ICassandraKeyspace

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

A Cassandra keyspace.

public interface ICassandraKeyspace : IBeta, IHasInner<CassandraKeyspaceGetResultsInner>, IExternalChildResource<ICassandraKeyspace, ICosmosDBAccount>, IChildResource<ICosmosDBAccount>, IHasName, IIndexable, IHasParent<ICosmosDBAccount>, IRefreshable<ICassandraKeyspace>

Properties

CassandraKeyspaceId

Gets name of the Cosmos DB Cassandra keyspace.

string CassandraKeyspaceId { get; }

Property Value

string

_etag

Gets a system generated property representing the resource etag required for optimistic concurrency control.

string _etag { get; }

Property Value

string

_rid

Gets a system generated property. A unique identifier.

string _rid { get; }

Property Value

string

_ts

Gets a system generated property that denotes the last updated timestamp of the resource.

object _ts { get; }

Property Value

object

Methods

GetCassandraTable(string)

ICassandraTable GetCassandraTable(string name)

Parameters

name string

The name of the Cassandra table.

Returns

ICassandraTable

The specific Cassandra table.

GetCassandraTableAsync(string, CancellationToken)

Task<ICassandraTable> GetCassandraTableAsync(string name, CancellationToken cancellationToken = default)

Parameters

name string

The name of the Cassandra table.

cancellationToken CancellationToken

Returns

Task<ICassandraTable>

The specific Cassandra table.

GetThroughputSettings()

ThroughputSettingsGetPropertiesResource GetThroughputSettings()

Returns

ThroughputSettingsGetPropertiesResource

The throughput settings of the Cassandra keyspace.

GetThroughputSettingsAsync(CancellationToken)

Task<ThroughputSettingsGetPropertiesResource> GetThroughputSettingsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<ThroughputSettingsGetPropertiesResource>

The throughput settings of the Cassandra keyspace.

ListCassandraTables()

IEnumerable<ICassandraTable> ListCassandraTables()

Returns

IEnumerable<ICassandraTable>

All Cassandra tables in the DB.

ListCassandraTablesAsync(CancellationToken)

Task<IEnumerable<ICassandraTable>> ListCassandraTablesAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IEnumerable<ICassandraTable>>

All Cassandra tables in the DB.