ObjectReplicationPolicyRule Class

The replication policy rule between two containers.

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

Inheritance
ObjectReplicationPolicyRule

Constructor

ObjectReplicationPolicyRule(*, source_container: str, destination_container: str, rule_id: typing.Union[str, NoneType] = None, filters: typing.Union[_ForwardRef('ObjectReplicationPolicyFilter'), NoneType] = None, **kwargs)

Parameters

rule_id
str
Required

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

Required. Required. Source container name.

destination_container
str
Required

Required. Required. Destination container name.

filters
ObjectReplicationPolicyFilter
Required

Optional. An object that defines the filter set.