PerfCounterDataSource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PerfCounterDataSource() |
Initializes a new instance of the PerfCounterDataSource class. |
PerfCounterDataSource(IList<String>, Nullable<Int32>, IList<String>, String) |
Initializes a new instance of the PerfCounterDataSource class. |
PerfCounterDataSource()
Initializes a new instance of the PerfCounterDataSource class.
public PerfCounterDataSource ();
Public Sub New ()
Applies to
PerfCounterDataSource(IList<String>, Nullable<Int32>, IList<String>, String)
Initializes a new instance of the PerfCounterDataSource class.
public PerfCounterDataSource (System.Collections.Generic.IList<string> streams = default, int? samplingFrequencyInSeconds = default, System.Collections.Generic.IList<string> counterSpecifiers = default, string name = default);
new Microsoft.Azure.Management.Monitor.Models.PerfCounterDataSource : System.Collections.Generic.IList<string> * Nullable<int> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.PerfCounterDataSource
Public Sub New (Optional streams As IList(Of String) = Nothing, Optional samplingFrequencyInSeconds As Nullable(Of Integer) = Nothing, Optional counterSpecifiers As IList(Of String) = Nothing, Optional name As String = Nothing)
Parameters
List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
The number of seconds between consecutive counter measurements (samples).
A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'.
- name
- String
A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.
Applies to
Azure SDK for .NET