CollectionApiClientGetCollectionShardsWithDetailsAsync 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 public virtual Task<GetCollectionShardsDetailedResponse> GetCollectionShardsWithDetailsAsync(
string collectionName
)
Public Overridable Function GetCollectionShardsWithDetailsAsync (
collectionName As String
) As Task(Of GetCollectionShardsDetailedResponse)
public:
virtual Task<GetCollectionShardsDetailedResponse^>^ GetCollectionShardsWithDetailsAsync(
String^ collectionName
)
abstract GetCollectionShardsWithDetailsAsync :
collectionName : string -> Task<GetCollectionShardsDetailedResponse>
override GetCollectionShardsWithDetailsAsync :
collectionName : string -> Task<GetCollectionShardsDetailedResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection.
Return Value
Type:
TaskGetCollectionShardsDetailedResponseImplements
ICollectionApiClientGetCollectionShardsWithDetailsAsync(String)See Also