ExtensionDataSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.ExtensionDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.ExtensionDataSource>
type ExtensionDataSource = class
interface IJsonModel<ExtensionDataSource>
interface IPersistableModel<ExtensionDataSource>
Public Class ExtensionDataSource
Implements IJsonModel(Of ExtensionDataSource), IPersistableModel(Of ExtensionDataSource)
- Inheritance
-
ExtensionDataSource
- Implements
Constructors
ExtensionDataSource(String) |
Initializes a new instance of ExtensionDataSource. |
Properties
ExtensionName |
The name of the VM extension. |
ExtensionSettings |
The extension settings. The format is specific for particular extension. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
InputDataSources |
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. |
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. |
Explicit Interface Implementations
IJsonModel<ExtensionDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ExtensionDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ExtensionDataSource>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ExtensionDataSource>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ExtensionDataSource>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET