Compartilhar via


AppLogsConfiguration Class

Definition

Configuration of application logs

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AppLogsConfigurationTypeConverter))]
public class AppLogsConfiguration : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AppLogsConfigurationTypeConverter))>]
type AppLogsConfiguration = class
    interface IAppLogsConfiguration
    interface IJsonSerializable
Public Class AppLogsConfiguration
Implements IAppLogsConfiguration
Inheritance
AppLogsConfiguration
Attributes
Implements

Constructors

AppLogsConfiguration()

Creates an new AppLogsConfiguration instance.

Properties

Destination

Logs destination, can be 'log-analytics', 'azure-monitor' or 'none'

LogAnalyticConfigurationCustomerId

Log analytics customer id

LogAnalyticConfigurationSharedKey

Log analytics customer key

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AppLogsConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AppLogsConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppLogsConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AppLogsConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to