你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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