Partager via


DateAfterCreation Class

Definition

Object to define snapshot and version action conditions.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DateAfterCreationTypeConverter))]
public class DateAfterCreation : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDateAfterCreation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DateAfterCreationTypeConverter))>]
type DateAfterCreation = class
    interface IDateAfterCreation
    interface IJsonSerializable
Public Class DateAfterCreation
Implements IDateAfterCreation
Inheritance
DateAfterCreation
Attributes
Implements

Constructors

DateAfterCreation()

Creates an new DateAfterCreation instance.

Properties

DaysAfterCreationGreaterThan

Value indicating the age in days after creation

DaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DateAfterCreation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DateAfterCreation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDateAfterCreation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DateAfterCreation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to