AzureRetentionRule 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.
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. |