Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ILogSettings Interface
Definition
- Assembly:
- Az.DiagnosticSetting.private.dll
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.LogSettingsTypeConverter))]
public interface ILogSettings : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.LogSettingsTypeConverter))>]
type ILogSettings = interface
interface IJsonSerializable
Public Interface ILogSettings
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |
