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

AzureRetentionRule Class

Definition

Azure retention rule

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureRetentionRuleTypeConverter))]
public class AzureRetentionRule : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureRetentionRuleTypeConverter))>]
type AzureRetentionRule = class
    interface IAzureRetentionRule
    interface IJsonSerializable
    interface IBasePolicyRule
    interface IValidates
Public Class AzureRetentionRule
Implements IAzureRetentionRule, IValidates
Inheritance
AzureRetentionRule
Attributes
Implements

Constructors

AzureRetentionRule()

Creates an new AzureRetentionRule instance.

Properties

IsDefault
Lifecycle
Name
ObjectType

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureRetentionRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureRetentionRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureRetentionRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to