共用方式為


ExtensionDataSource Class

Definition

Definition of which data will be collected from a separate VM extension that integrates with the Azure Monitor Agent. Collected from either Windows and Linux machines, depending on which extension is defined.

public class ExtensionDataSource
type ExtensionDataSource = class
Public Class ExtensionDataSource
Inheritance
ExtensionDataSource

Constructors

ExtensionDataSource()

Initializes a new instance of the ExtensionDataSource class.

ExtensionDataSource(String, IList<String>, Object, IList<String>, String)

Initializes a new instance of the ExtensionDataSource class.

Properties

ExtensionName

Gets or sets the name of the VM extension.

ExtensionSettings

Gets or sets the extension settings. The format is specific for particular extension.

InputDataSources

Gets or sets the list of data sources this extension needs data from.

Name

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

Streams

Gets or sets 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

Validate()

Validate the object.

Applies to