共用方式為


LastAccessTimeTrackingPolicy Class

Definition

The blob service properties for Last access time based tracking policy.

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

Constructors

LastAccessTimeTrackingPolicy(Boolean)

Initializes a new instance of LastAccessTimeTrackingPolicy.

Properties

BlobType

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only.

IsEnabled

When set to true last access time based tracking is enabled.

Name

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only.

TrackingGranularityInDays

The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1.

Explicit Interface Implementations

IJsonModel<LastAccessTimeTrackingPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LastAccessTimeTrackingPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LastAccessTimeTrackingPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LastAccessTimeTrackingPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LastAccessTimeTrackingPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to