/*
* Copyright 2013 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
namespace Splunk
{
///
/// The class extends the
/// class for creation
/// properties.
///
public class WindowsWmiInputArgs : Args
{
///
/// Required. Sets a valid Windows Management Instrumentation (WMI)
/// class name.
///
public string Classes
{
set
{
this["classes"] = value;
}
}
///
/// Sets a value indicating whether this collection is disabled.
///
public bool Disabled
{
set
{
this["disabled"] = value;
}
}
///
/// Sets the fields that you want to gather from the given class.
///
public string[] Fields
{
set
{
this["fields"] = value;
}
}
///
/// Sets the index in which to store the gathered data.
///
public string Index
{
set
{
this["index"] = value;
}
}
///
/// Sets the instances of the given class for which data is gathered.
///
public string[] Instances
{
set
{
this["instances"] = value;
}
}
///
/// Required. Sets the frequency, in seconds, at which the WMI
/// provider(s) are queried.
///
public int Interval
{
set
{
this["interval"] = value;
}
}
///
/// Required. Sets the host from which WMI data is gathered.
///
///
/// To specify additional hosts to be monitored via WMI, use the
/// parameter.
///
public string LookupHost
{
set
{
this["lookup_host"] = value;
}
}
///
/// Sets a comma-separated list of additional servers from which you
/// want to gather data.
///
public string Server
{
set
{
this["server"] = value;
}
}
}
}