RetentionPolicyParameters Class

Definition

Parameters that define the retention policy for flow log.

public class RetentionPolicyParameters : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.RetentionPolicyParameters>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.RetentionPolicyParameters>
public class RetentionPolicyParameters
type RetentionPolicyParameters = class
    interface IJsonModel<RetentionPolicyParameters>
    interface IPersistableModel<RetentionPolicyParameters>
type RetentionPolicyParameters = class
Public Class RetentionPolicyParameters
Implements IJsonModel(Of RetentionPolicyParameters), IPersistableModel(Of RetentionPolicyParameters)
Public Class RetentionPolicyParameters
Inheritance
RetentionPolicyParameters
Implements

Constructors

RetentionPolicyParameters()

Initializes a new instance of RetentionPolicyParameters.

Properties

Days

Number of days to retain flow log records.

Enabled

Flag to enable/disable retention.

Explicit Interface Implementations

IJsonModel<RetentionPolicyParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RetentionPolicyParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RetentionPolicyParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RetentionPolicyParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RetentionPolicyParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to