RetentionPolicyParameters Class
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.
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>
type RetentionPolicyParameters = class
interface IJsonModel<RetentionPolicyParameters>
interface IPersistableModel<RetentionPolicyParameters>
Public Class RetentionPolicyParameters
Implements IJsonModel(Of RetentionPolicyParameters), IPersistableModel(Of 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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |