Aracılığıyla paylaş


DateAfterModification Class

Definition

Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan.

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

Constructors

DateAfterModification()

Creates an new DateAfterModification instance.

Properties

DaysAfterCreationGreaterThan

Value indicating the age in days after blob creation.

DaysAfterLastAccessTimeGreaterThan

Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy

DaysAfterLastTierChangeGreaterThan

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

DaysAfterModificationGreaterThan

Value indicating the age in days after last modification

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DateAfterModification.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DateAfterModification.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DateAfterModification into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to