次の方法で共有


IWithPartitionKey<ParentT>.WithPartitionKey メソッド

定義

オーバーロード

WithPartitionKey(ContainerPartitionKey)

コンテナー パーティション キーを指定します。

WithPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

コンテナー パーティション キーを指定します。

WithPartitionKey(ContainerPartitionKey)

コンテナー パーティション キーを指定します。

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

パラメーター

containerPartitionKey
ContainerPartitionKey

コンテナー パーティション キーのオブジェクト全体。

戻り値

定義の次のステージ。

適用対象

WithPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

コンテナー パーティション キーを指定します。

public Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Definition.IWithAttach<ParentT> WithPartitionKey (System.Collections.Generic.IList<string> paths, Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind kind, int? version);
abstract member WithPartitionKey : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKey (paths As IList(Of String), kind As PartitionKind, version As Nullable(Of Integer)) As IWithAttach(Of ParentT)

パラメーター

paths
IList<String>

コンテナー内のどのデータをパーティション分割できるかを使用するパスの一覧。

kind
PartitionKind

パーティション分割に使用されるアルゴリズムの種類を示します。 使用できる値は、'Hash'、'Range' です。

version
Nullable<Int32>

パーティション キー定義のバージョンを示します。

戻り値

定義の次のステージ。

適用対象