Sdílet prostřednictvím


DateAfterCreation Class

Definition

Object to define snapshot and version action conditions.

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

Constructors

DateAfterCreation(Single)

Initializes a new instance of DateAfterCreation.

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.

Explicit Interface Implementations

IJsonModel<DateAfterCreation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DateAfterCreation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DateAfterCreation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DateAfterCreation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DateAfterCreation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to