Share via


RetentionPolicyParameters Class

Definition

Parameters that define the retention policy for flow log.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RetentionPolicyParametersTypeConverter))]
public class RetentionPolicyParameters : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRetentionPolicyParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RetentionPolicyParametersTypeConverter))>]
type RetentionPolicyParameters = class
    interface IRetentionPolicyParameters
    interface IJsonSerializable
Public Class RetentionPolicyParameters
Implements IRetentionPolicyParameters
Inheritance
RetentionPolicyParameters
Attributes
Implements

Constructors

RetentionPolicyParameters()

Creates an new RetentionPolicyParameters instance.

Properties

Day

Number of days to retain flow log records.

Enabled

Flag to enable/disable retention.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RetentionPolicyParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RetentionPolicyParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRetentionPolicyParameters.

FromJsonString(String)

Creates a new instance of RetentionPolicyParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RetentionPolicyParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to