你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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