Delen via


IPerfCounterDataSource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.PerfCounterDataSourceTypeConverter))]
public interface IPerfCounterDataSource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.PerfCounterDataSourceTypeConverter))>]
type IPerfCounterDataSource = interface
    interface IJsonSerializable
Public Interface IPerfCounterDataSource
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

CounterSpecifier

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

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

SamplingFrequencyInSecond

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

Stream

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to