コード例 #1
0
        /// <summary>
        /// List all servers which are member of the cluster.
        /// </summary>
        /// <returns>A list of all influxdb servers.</returns>
        public async Task <List <Server> > ListServersAsync()
        {
            InfluxDbApiResponse response = await _influxDbClient.ListServers(NoErrorHandlers);

            return(response.ReadAs <List <Server> >());
        }
コード例 #2
0
 public async Task <InfluxDbApiResponse> ListServers(IEnumerable <ApiResponseErrorHandlingDelegate> errorHandlers)
 {
     return(await _influxDbClient.ListServers(errorHandlers));
 }