GetServerRoleResponse Class |
Namespace: ArangoDBNetStandard.AdminApi.Models
The GetServerRoleResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| GetServerRoleResponse | Initializes a new instance of the GetServerRoleResponse class |
| Name | Description | |
|---|---|---|
| Code |
The HTTP status code.
(Inherited from ResponseBase.) | |
| Error |
Always false.
(Inherited from ResponseBase.) | |
| Role |
The server's role.
Possible values for role are:
SINGLE: the server is a standalone server without clustering.
COORDINATOR: the server is a Coordinator in a cluster.
PRIMARY: the server is a DB-Server in a cluster.
SECONDARY: this role is not used anymore.
AGENT: the server is an Agency node in a cluster.
UNDEFINED: the server is in a cluster, but its role cannot be determined.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |