Share via


ObjectReplicationPolicyFilter Class

Definition

Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.

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

Constructors

ObjectReplicationPolicyFilter()

Initializes a new instance of ObjectReplicationPolicyFilter.

Properties

MinCreationTime

Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z.

PrefixMatch

Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.

Explicit Interface Implementations

IJsonModel<ObjectReplicationPolicyFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ObjectReplicationPolicyFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ObjectReplicationPolicyFilter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ObjectReplicationPolicyFilter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ObjectReplicationPolicyFilter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to