ICollectionApiClientGetCollectionShardsWithDetailsAsync Method |
Returns the shard ids of a collection.
This method is only available in a cluster Coordinator.
The response also contains shard IDs as object attribute
keys, and the responsible servers for each shard mapped
to them. The leader shards will be first in the arrays.
GET /_api/collection/{collection-name}/shards?details=true
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<GetCollectionShardsDetailedResponse> GetCollectionShardsWithDetailsAsync(
string collectionName
)
Function GetCollectionShardsWithDetailsAsync (
collectionName As String
) As Task(Of GetCollectionShardsDetailedResponse)
Task<GetCollectionShardsDetailedResponse^>^ GetCollectionShardsWithDetailsAsync(
String^ collectionName
)
abstract GetCollectionShardsWithDetailsAsync :
collectionName : string -> Task<GetCollectionShardsDetailedResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection.
Return Value
Type:
TaskGetCollectionShardsDetailedResponseSee Also