ObjectReplicationPolicyRule Class

The replication policy rule between two containers.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.storage._serialization.Model
ObjectReplicationPolicyRule

Constructor

ObjectReplicationPolicyRule(*, source_container: str, destination_container: str, rule_id: str | None = None, filters: _models.ObjectReplicationPolicyFilter | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
rule_id
str

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

source_container
str

Required. Source container name. Required.

destination_container
str

Required. Destination container name. Required.

filters

Optional. An object that defines the filter set.

Variables

Name Description
rule_id
str

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

source_container
str

Required. Source container name. Required.

destination_container
str

Required. Destination container name. Required.

filters

Optional. An object that defines the filter set.