Share via


ClusterLogAnalyticsProfile Class

Definition

Cluster log analytics profile to enable or disable OMS agent for cluster.

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

Constructors

ClusterLogAnalyticsProfile(Boolean)

Initializes a new instance of ClusterLogAnalyticsProfile.

Properties

ApplicationLogs

Collection of logs to be enabled or disabled for log analytics.

IsEnabled

True if log analytics is enabled for the cluster, otherwise false.

IsMetricsEnabled

True if metrics are enabled, otherwise false.

Explicit Interface Implementations

IJsonModel<ClusterLogAnalyticsProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClusterLogAnalyticsProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterLogAnalyticsProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterLogAnalyticsProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClusterLogAnalyticsProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to