Compartir a través de


ContainerAppLogsConfiguration Class

Definition

Configuration of application logs.

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

Constructors

ContainerAppLogsConfiguration()

Initializes a new instance of ContainerAppLogsConfiguration.

Properties

Destination

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

LogAnalyticsConfiguration

Log Analytics configuration, must only be provided when destination is configured as 'log-analytics'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppLogsConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppLogsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppLogsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppLogsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppLogsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to