Package version:

Interface ObjectReplicationPolicy

The replication policy between two storage accounts. Multiple rules can be defined in one policy.

interface ObjectReplicationPolicy {
    destinationAccount?: string;
    enabledTime?: any;
    id?: string;
    metrics?: ObjectReplicationPolicyPropertiesMetrics;
    name?: string;
    policyId?: string;
    rules?: ObjectReplicationPolicyRule[];
    sourceAccount?: string;
    type?: string;
}

Hierarchy (view full)

Properties

destinationAccount?: string

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

enabledTime?: any

Indicates when the policy is enabled on the source account. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

Optional. The object replication policy metrics feature options.

name?: string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

policyId?: string

A unique id for object replication policy. NOTE: This property will not be serialized. It can only be populated by the server.

The storage account object replication rules.

sourceAccount?: string

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

type?: string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.