Dela via


IWithPartitionKey<ParentT>.WithPartitionKey Method

Definition

Overloads

WithPartitionKey(CassandraPartitionKey)

Specifies a Cassandra table partition key.

WithPartitionKey(String)

Specifies a Cassandra partition key.

WithPartitionKey(CassandraPartitionKey)

Specifies a Cassandra table partition key.

public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey (Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraPartitionKey partitionKey);
abstract member WithPartitionKey : Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraPartitionKey -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKey (partitionKey As CassandraPartitionKey) As IWithAttach(Of ParentT)

Parameters

partitionKey
CassandraPartitionKey

The Cassandra table partition key.

Returns

The next stage of the definition.

Applies to

WithPartitionKey(String)

Specifies a Cassandra partition key.

public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey (string name);
abstract member WithPartitionKey : string -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKey (name As String) As IWithAttach(Of ParentT)

Parameters

name
String

The name of the Cassandra partition key.

Returns

The next stage of the definition.

Applies to