Udostępnij za pośrednictwem


LogSettings Class

Definition

Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log.

public class LogSettings
type LogSettings = class
Public Class LogSettings
Inheritance
LogSettings

Constructors

LogSettings()

Initializes a new instance of the LogSettings class.

LogSettings(Boolean, String, RetentionPolicy)

Initializes a new instance of the LogSettings class.

Properties

Category

Gets or sets name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.

Enabled

Gets or sets a value indicating whether this log is enabled.

RetentionPolicy

Gets or sets the retention policy for this log.

Methods

Validate()

Validate the object.

Applies to