Show / Hide Table of Contents

Class ReplicationTarget

Replication targets are associated with a primary resource called a {@link Replication} 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. All operations (except DELETE) must be done using the associated replication resource. Deleting a ReplicationTarget allows the target file system to be exported. Deleting a ReplicationTarget does not delete the associated Replication resource, but places it in a FAILED state. For more information, see File System Replication.

Inheritance
object
ReplicationTarget
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class ReplicationTarget

Properties

AvailabilityDomain

Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type Description
string

The availability domain the replication resource is in. May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1

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 ReplicationTarget.DeltaStatusEnum? DeltaStatus { get; set; }
Property Value
Type Description
ReplicationTarget.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. This name is same as the replication display name for the associated resource. Example: My Replication

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 snapshot which was completely applied to the target file system. Empty while the initial snapshot is being applied.

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 ReplicationTarget.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
ReplicationTarget.LifecycleStateEnum?

The current state of this replication.

Remarks

Required

RecoveryPointTime

Declaration
[JsonProperty(PropertyName = "recoveryPointTime")]
public DateTime? RecoveryPointTime { get; set; }
Property Value
Type Description
DateTime?

The snapshotTime of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example: 2021-04-04T20:01:29.100Z

ReplicationId

Declaration
[Required(ErrorMessage = "ReplicationId is required.")]
[JsonProperty(PropertyName = "replicationId")]
public string ReplicationId { get; set; }
Property Value
Type Description
string

The OCID of replication.

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 source filesystem.

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 target filesystem.

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 target was created in target region. in RFC 3339 timestamp format. Example: 2021-01-04T20:01:29.100Z

Remarks

Required

In this article
Back to top