ObjectReplicationPolicy interface
The replication policy between two storage accounts. Multiple rules can be defined in one policy.
- Extends
Properties
destination |
Required. Destination account name. |
enabled |
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. |
policy |
A unique id for object replication policy. NOTE: This property will not be serialized. It can only be populated by the server. |
rules | The storage account object replication rules. |
source |
Required. Source account name. |
Inherited Properties
id | 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. |
name | The name of the resource NOTE: This property will not be serialized. It can only be populated by the server. |
type | 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. |
Property Details
destinationAccount
Required. Destination account name.
destinationAccount?: string
Property Value
string
enabledTime
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.
enabledTime?: Date
Property Value
Date
policyId
A unique id for object replication policy. NOTE: This property will not be serialized. It can only be populated by the server.
policyId?: string
Property Value
string
rules
The storage account object replication rules.
rules?: ObjectReplicationPolicyRule[]
Property Value
sourceAccount
Required. Source account name.
sourceAccount?: string
Property Value
string
Inherited Property Details
id
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.
id?: string
Property Value
string
Inherited From Resource.id
name
The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From Resource.name
type
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.
type?: string
Property Value
string
Inherited From Resource.type