Click or drag to resize

IAdminApiClientGetServerRoleAsync Method

Retrieves the role of the server in a cluster. GET /_admin/server/role

Namespace:  ArangoDBNetStandard.AdminApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
Task<GetServerRoleResponse> GetServerRoleAsync()

Return Value

Type: TaskGetServerRoleResponse
Remarks
For further information see https://www.arangodb.com/docs/stable/http/administration-and-monitoring.html#return-the-role-of-a-server-in-a-cluster
See Also