ObjectReplicationPolicy interface

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

Extends

Properties

destinationAccount

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

enabledTime

Indicates when the policy is enabled on the source account.

metrics

Optional. The object replication policy metrics feature options.

policyId

A unique id for object replication policy.

priorityReplication

Optional. The object replication policy priority replication feature options.

rules

The storage account object replication rules.

sourceAccount

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

tagsReplication

Optional. The object replication policy tags replication feature options.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

destinationAccount

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

destinationAccount?: string

Property Value

string

enabledTime

Indicates when the policy is enabled on the source account.

enabledTime?: Date

Property Value

Date

metrics

Optional. The object replication policy metrics feature options.

metrics?: ObjectReplicationPolicyPropertiesMetrics

Property Value

policyId

A unique id for object replication policy.

policyId?: string

Property Value

string

priorityReplication

Optional. The object replication policy priority replication feature options.

priorityReplication?: ObjectReplicationPolicyPropertiesPriorityReplication

Property Value

rules

The storage account object replication rules.

rules?: ObjectReplicationPolicyRule[]

Property Value

sourceAccount

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

sourceAccount?: string

Property Value

string

tagsReplication

Optional. The object replication policy tags replication feature options.

tagsReplication?: ObjectReplicationPolicyPropertiesTagsReplication

Property Value

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type