Partager via


IisLogsDataSource Class

Definition

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

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

Constructors

IisLogsDataSource()

Creates an new IisLogsDataSource instance.

Properties

LogDirectory

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.

Stream

IIS streams

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IisLogsDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IisLogsDataSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IisLogsDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to