ObjectReplicationPolicyRule Class

Definition

The replication policy rule between two containers.

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

Constructors

ObjectReplicationPolicyRule(String, String)

Initializes a new instance of ObjectReplicationPolicyRule.

Properties

DestinationContainer

Required. Destination container name.

Filters

Optional. An object that defines the filter set.

RuleId

Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.

SourceContainer

Required. Source container name.

Explicit Interface Implementations

IJsonModel<ObjectReplicationPolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ObjectReplicationPolicyRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ObjectReplicationPolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ObjectReplicationPolicyRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ObjectReplicationPolicyRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to