Sdílet prostřednictvím


CassandraResourcesOperationsExtensions.GetCassandraKeyspaceAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraKeyspaceGetResultsInner> GetCassandraKeyspaceAsync (this Microsoft.Azure.Management.CosmosDB.Fluent.ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, System.Threading.CancellationToken cancellationToken = default);
static member GetCassandraKeyspaceAsync : Microsoft.Azure.Management.CosmosDB.Fluent.ICassandraResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraKeyspaceGetResultsInner>
<Extension()>
Public Function GetCassandraKeyspaceAsync (operations As ICassandraResourcesOperations, resourceGroupName As String, accountName As String, keyspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CassandraKeyspaceGetResultsInner)

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

Applies to