ExtensionDataSource Class

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.

All required parameters must be populated in order to send to server.

Constructor

ExtensionDataSource(*, extension_name: str, streams: List[str | _models.KnownExtensionDataSourceStreams] | None = None, extension_settings: MutableMapping[str, Any] | None = None, input_data_sources: List[str] | None = None, name: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
streams

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.

Default value: None
extension_name
str

The name of the VM extension. Required.

extension_settings

The extension settings. The format is specific for particular extension.

Default value: None
input_data_sources

The list of data sources this extension needs data from.

Default value: None
name
str

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

Default value: None

Variables

Name Description
streams

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.

extension_name
str

The name of the VM extension. Required.

extension_settings
<xref:JSON>

The extension settings. The format is specific for particular extension.

input_data_sources

The list of data sources this extension needs data from.

name
str

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