Megosztás a következőn keresztül:


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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ExtensionDataSourceTypeConverter))]
public class ExtensionDataSource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IExtensionDataSource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ExtensionDataSourceTypeConverter))>]
type ExtensionDataSource = class
    interface IExtensionDataSource
    interface IJsonSerializable
Public Class ExtensionDataSource
Implements IExtensionDataSource
Inheritance
ExtensionDataSource
Attributes
Implements

Constructors

ExtensionDataSource()

Creates an new ExtensionDataSource instance.

Properties

ExtensionName

The name of the VM extension.

ExtensionSetting

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

InputDataSource

The list of data sources this extension needs data from.

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.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExtensionDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExtensionDataSource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IExtensionDataSource.

FromJsonString(String)

Creates a new instance of ExtensionDataSource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExtensionDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to