Esempio n. 1
0
        /// <summary>
        /// Asynchronously gets the <see cref="ServerSettings"/> from the Splunk
        /// server represented by the current instance.
        /// </summary>
        /// <returns>
        /// An object representing the server settings from the Splunk server
        /// represented by the current instance.
        /// </returns>
        public async Task <ServerSettings> GetSettingsAsync()
        {
            var resource = new ServerSettings(this.Context, this.Namespace);
            await resource.GetAsync();

            return(resource);
        }