PerfCounterDataSource Constructors

Definition

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

streams
IList<String>

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.

samplingFrequencyInSeconds
Nullable<Int32>

The number of seconds between consecutive counter measurements (samples).

counterSpecifiers
IList<String>

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