Class Replication
Replications are the primary resource that governs the policy of cross-region replication between source
and target file systems. Replications are associated with a secondary resource called a {@link ReplicationTarget}
located in another availability domain in the same or different region.
The replication retrieves the delta of data between two snapshots of a source file system
and sends it to the associated ReplicationTarget, which applies it to the target
file system. For more information, see File System Replication.
Inherited Members
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class ReplicationProperties
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The availability domain that contains the replication. May be unset as a blank or  | 
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment that contains the replication. | 
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} | 
DeltaProgress
Declaration
[JsonProperty(PropertyName = "deltaProgress")]
public long? DeltaProgress { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | Percentage progress of the current replication cycle. | 
DeltaStatus
Declaration
[JsonProperty(PropertyName = "deltaStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Replication.DeltaStatusEnum? DeltaStatus { get; set; }Property Value
| Type | Description | 
|---|---|
| Replication.DeltaStatusEnum? | The current state of the snapshot during replication operations. | 
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly name. It does not have to be unique, and it is changeable.
Avoid entering confidential information.
 | 
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the replication. | 
Remarks
Required
LastSnapshotId
Declaration
[JsonProperty(PropertyName = "lastSnapshotId")]
public string LastSnapshotId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete. | 
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Additional information about the current 'lifecycleState'. | 
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Replication.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| Replication.LifecycleStateEnum? | The current lifecycle state of the replication. | 
Remarks
Required
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }Property Value
| Type | Description | 
|---|---|
| List<ResourceLock> | Locks associated with this resource. | 
RecoveryPointTime
Declaration
[JsonProperty(PropertyName = "recoveryPointTime")]
public DateTime? RecoveryPointTime { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The {@link #snapshotTime(SnapshotTimeRequest) snapshotTime} of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example: 2021-04-04T20:01:29.100Z | 
ReplicationInterval
Declaration
[JsonProperty(PropertyName = "replicationInterval")]
public long? ReplicationInterval { get; set; }Property Value
| Type | Description | 
|---|---|
| long? | Duration in minutes between replication snapshots. | 
ReplicationTargetId
Declaration
[Required(ErrorMessage = "ReplicationTargetId is required.")]
[JsonProperty(PropertyName = "replicationTargetId")]
public string ReplicationTargetId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the {@link ReplicationTarget}. | 
Remarks
Required
SourceId
Declaration
[Required(ErrorMessage = "SourceId is required.")]
[JsonProperty(PropertyName = "sourceId")]
public string SourceId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the source file system. | 
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. System tags are applied to resources by internal OCI services. | 
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the target file system. | 
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time the replication was created
in RFC 3339 timestamp format.
 | 
Remarks
Required