你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ObjectReplicationPolicyProperties Class

The Storage Account ObjectReplicationPolicy properties.

Constructor

ObjectReplicationPolicyProperties(*args: Any, **kwargs: Any)

Variables

Name Description
policy_id
str

A unique id for object replication policy.

enabled_time

Indicates when the policy is enabled on the source account.

source_account
str

Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. Required.

destination_account
str

Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. Required.

rules

The storage account object replication rules.

metrics

Optional. The object replication policy metrics feature options.

priority_replication

Optional. The object replication policy priority replication feature options.

tags_replication

Optional. The object replication policy tags replication feature options.

Attributes

destination_account

Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. Required.

destination_account: str

enabled_time

Indicates when the policy is enabled on the source account.

enabled_time: datetime | None

metrics

Optional. The object replication policy metrics feature options.

metrics: _models.ObjectReplicationPolicyPropertiesMetrics | None

policy_id

A unique id for object replication policy.

policy_id: str | None

priority_replication

Optional. The object replication policy priority replication feature options.

priority_replication: _models.ObjectReplicationPolicyPropertiesPriorityReplication | None

rules

The storage account object replication rules.

rules: list['_models.ObjectReplicationPolicyRule'] | None

source_account

Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. Required.

source_account: str

tags_replication

Optional. The object replication policy tags replication feature options.

tags_replication: _models.ObjectReplicationPolicyPropertiesTagsReplication | None