IWithClusterKey<ParentT>.WithClusterKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithClusterKey(ClusterKey) |
Specifies a Cassandra table cluster key. |
WithClusterKey(String, String) |
Specifies a Cassandra cluster key. |
WithClusterKey(ClusterKey)
Specifies a Cassandra table cluster key.
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithClusterKey (Microsoft.Azure.Management.CosmosDB.Fluent.Models.ClusterKey clusterKey);
abstract member WithClusterKey : Microsoft.Azure.Management.CosmosDB.Fluent.Models.ClusterKey -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithClusterKey (clusterKey As ClusterKey) As IWithAttach(Of ParentT)
Parameters
- clusterKey
- ClusterKey
The Cassandra table cluster key.
Returns
The next stage of the definition.
Applies to
WithClusterKey(String, String)
Specifies a Cassandra cluster key.
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithClusterKey (string name, string orderBy);
abstract member WithClusterKey : string * string -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithClusterKey (name As String, orderBy As String) As IWithAttach(Of ParentT)
Parameters
- name
- String
The name of the Cassandra cluster key.
- orderBy
- String
The order of the Cassandra cluster key. Only support "Asc" and "Desc" in api-version 2019-08-01.
Returns
The next stage of the definition.