ObjectReplicationPolicy Class
The replication policy between two storage accounts. Multiple rules can be defined in one policy.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2022_05_01.models._models_py3.ResourceObjectReplicationPolicy
Constructor
ObjectReplicationPolicy(*, source_account: str | None = None, destination_account: str | None = None, rules: List[_models.ObjectReplicationPolicyRule] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
source_account
|
Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. |
destination_account
|
Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. |
rules
|
The storage account object replication rules. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
policy_id
|
A unique id for object replication policy. |
enabled_time
|
Indicates when the policy is enabled on the source account. |
source_account
|
Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. |
destination_account
|
Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. |
rules
|
The storage account object replication rules. |
Azure SDK for Python