IRetentionPolicy Interface
Definition
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.Api20210501Preview.RetentionPolicyTypeConverter))]
public interface IRetentionPolicy : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.RetentionPolicyTypeConverter))>]
type IRetentionPolicy = interface
interface IJsonSerializable
Public Interface IRetentionPolicy
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
Day |
the number of days for the retention in days. A value of 0 will retain the events indefinitely. |
Enabled |
a value indicating whether the retention policy is enabled. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |