Table of Contents

Interface IWithClusterKey

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

The stage of a Cassandra table update allowing to specify cluster keys.

public interface IWithClusterKey

Methods

WithClusterKey(ClusterKey)

Specifies a Cassandra table cluster key.

IUpdate WithClusterKey(ClusterKey clusterKey)

Parameters

clusterKey ClusterKey

The Cassandra table cluster key.

Returns

IUpdate

The next stage of the update.

WithClusterKey(string, string)

Specifies a Cassandra cluster key.

IUpdate WithClusterKey(string name, string orderBy)

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

IUpdate

The next stage of the update.

WithClusterKeysAppend(IList<ClusterKey>)

Appends all cluster keys.

IUpdate WithClusterKeysAppend(IList<ClusterKey> clusterKeys)

Parameters

clusterKeys IList<ClusterKey>

The list of the Cassandra table cluster key.

Returns

IUpdate

The next stage of the update.

WithClusterKeysReplace(IList<ClusterKey>)

Replaces the cluster keys.

IUpdate WithClusterKeysReplace(IList<ClusterKey> clusterKeys)

Parameters

clusterKeys IList<ClusterKey>

The list of the Cassandra table cluster key.

Returns

IUpdate

The next stage of the update.

WithoutClusterKey(string)

Removes a Cassandra cluster key.

IUpdate WithoutClusterKey(string name)

Parameters

name string

The name of the Cassandra cluster key.

Returns

IUpdate

The next stage of the update.

WithoutClusterKeys()

Removes all cluster keys.

IUpdate WithoutClusterKeys()

Returns

IUpdate

The next stage of the update.