PerfCounterDataSourceArgs

data class PerfCounterDataSourceArgs(val counterSpecifiers: Output<List<String>>? = null, val name: Output<String>? = null, val samplingFrequencyInSeconds: Output<Int>? = null, val streams: Output<List<Either<String, KnownPerfCounterDataSourceStreams>>>? = null) : ConvertibleToJava<PerfCounterDataSourceArgs>

Definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present.

Constructors

Link copied to clipboard
constructor(counterSpecifiers: Output<List<String>>? = null, name: Output<String>? = null, samplingFrequencyInSeconds: Output<Int>? = null, streams: Output<List<Either<String, KnownPerfCounterDataSourceStreams>>>? = null)

Properties

Link copied to clipboard
val counterSpecifiers: Output<List<String>>? = null

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'.

Link copied to clipboard
val name: Output<String>? = null

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

Link copied to clipboard
val samplingFrequencyInSeconds: Output<Int>? = null

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

Link copied to clipboard
val streams: Output<List<Either<String, KnownPerfCounterDataSourceStreams>>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): PerfCounterDataSourceArgs