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

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

vartype streams: list[str or ~$(python-base-namespace).v2019_11_01_preview.models.KnownExtensionDataSourceStreams]

ivar extension_name: Required. The name of the VM extension.

vartype extension_name: str

ivar extension_settings: The extension settings. The format is specific for particular extension.

vartype extension_settings: any

ivar input_data_sources: The list of data sources this extension needs data from.

vartype input_data_sources: list[str]

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

vartype name: str

Inheritance
ExtensionDataSource

Constructor

ExtensionDataSource(*, extension_name: str, streams: Optional[List[Union[str, azure.mgmt.monitor.v2019_11_01_preview.models._monitor_management_client_enums.KnownExtensionDataSourceStreams]]] = None, extension_settings: Optional[Any] = None, input_data_sources: Optional[List[str]] = None, name: Optional[str] = None, **kwargs)