Interface IWithClusterKey<ParentT>
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of a Cassandra table definition allowing to specify cluster keys.
public interface IWithClusterKey<ParentT>
Type Parameters
ParentT
The stage of the parent definition to return to after attaching this definition.
Methods
WithClusterKey(ClusterKey)
Specifies a Cassandra table cluster key.
IWithAttach<ParentT> WithClusterKey(ClusterKey clusterKey)
Parameters
clusterKey
ClusterKeyThe Cassandra table cluster key.
Returns
- IWithAttach<ParentT>
The next stage of the definition.
WithClusterKey(string, string)
Specifies a Cassandra cluster key.
IWithAttach<ParentT> WithClusterKey(string name, string orderBy)
Parameters
name
stringThe name of the Cassandra cluster key.
orderBy
stringThe order of the Cassandra cluster key. Only support "Asc" and "Desc" in api-version 2019-08-01.
Returns
- IWithAttach<ParentT>
The next stage of the definition.
WithClusterKeys(IList<ClusterKey>)
Appends all cluster keys.
IWithAttach<ParentT> WithClusterKeys(IList<ClusterKey> clusterKeys)
Parameters
clusterKeys
IList<ClusterKey>The list of the Cassandra table cluster key.
Returns
- IWithAttach<ParentT>
The next stage of the definition.