Delen via


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.

public class DateAfterModification : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.DateAfterModification>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.DateAfterModification>
public class DateAfterModification
type DateAfterModification = class
    interface IJsonModel<DateAfterModification>
    interface IPersistableModel<DateAfterModification>
type DateAfterModification = class
Public Class DateAfterModification
Implements IJsonModel(Of DateAfterModification), IPersistableModel(Of DateAfterModification)
Public Class DateAfterModification
Inheritance
DateAfterModification
Implements

Constructors

DateAfterModification()

Initializes a new instance of DateAfterModification.

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.

Explicit Interface Implementations

IJsonModel<DateAfterModification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DateAfterModification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DateAfterModification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DateAfterModification>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DateAfterModification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to