CollectionApiClientPutDocumentShardAsync Method |
Returns the responsible shard for a document.
This method is only available in a cluster.
PUT /_api/collection/{collection-name}/responsibleShard
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<PutDocumentShardResponse> PutDocumentShardAsync(
string collectionName,
Dictionary<string, Object> body
)
Public Overridable Function PutDocumentShardAsync (
collectionName As String,
body As Dictionary(Of String, Object)
) As Task(Of PutDocumentShardResponse)
public:
virtual Task<PutDocumentShardResponse^>^ PutDocumentShardAsync(
String^ collectionName,
Dictionary<String^, Object^>^ body
)
abstract PutDocumentShardAsync :
collectionName : string *
body : Dictionary<string, Object> -> Task<PutDocumentShardResponse>
override PutDocumentShardAsync :
collectionName : string *
body : Dictionary<string, Object> -> Task<PutDocumentShardResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection. - body
- Type: System.Collections.GenericDictionaryString, Object
Body of the request consisting of key/value
pairs with at least the collection’s shard
key attributes set to some values.
Return Value
Type:
TaskPutDocumentShardResponseImplements
ICollectionApiClientPutDocumentShardAsync(String, DictionaryString, Object)See Also