Compartir a través de


ILogSettings Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.LogSettingsTypeConverter))]
public interface ILogSettings : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.LogSettingsTypeConverter))>]
type ILogSettings = interface
    interface IJsonSerializable
Public Interface ILogSettings
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Category

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.

CategoryGroup

Name of a Diagnostic Log category group 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

a value indicating whether this log is enabled.

RetentionPolicyDay

the number of days for the retention in days. A value of 0 will retain the events indefinitely.

RetentionPolicyEnabled

a value indicating whether the retention policy is enabled.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to