共用方式為


IisLogsDataSource Class

Definition

Enables IIS logs to be collected by this data collection rule.

public class IisLogsDataSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.IisLogsDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.IisLogsDataSource>
type IisLogsDataSource = class
    interface IJsonModel<IisLogsDataSource>
    interface IPersistableModel<IisLogsDataSource>
Public Class IisLogsDataSource
Implements IJsonModel(Of IisLogsDataSource), IPersistableModel(Of IisLogsDataSource)
Inheritance
IisLogsDataSource
Implements

Constructors

IisLogsDataSource(IEnumerable<String>)

Initializes a new instance of IisLogsDataSource.

Properties

LogDirectories

Absolute paths file location.

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

IIS streams.

Explicit Interface Implementations

IJsonModel<IisLogsDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<IisLogsDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IisLogsDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IisLogsDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<IisLogsDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to