AdminApiClientGetServerRoleAsync 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 public virtual Task<GetServerRoleResponse> GetServerRoleAsync()
Public Overridable Function GetServerRoleAsync As Task(Of GetServerRoleResponse)
public:
virtual Task<GetServerRoleResponse^>^ GetServerRoleAsync()
abstract GetServerRoleAsync : unit -> Task<GetServerRoleResponse>
override GetServerRoleAsync : unit -> Task<GetServerRoleResponse>
Return Value
Type:
TaskGetServerRoleResponseImplements
IAdminApiClientGetServerRoleAsyncRemarks
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