Show / Hide Table of Contents

Class ReplicationPolicySummary

The summary of a replication policy.

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

Properties

DestinationBucketName

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

The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.

Remarks

Required

DestinationRegionName

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

The destination region to replicate to, for example "us-ashburn-1".

Remarks

Required

Id

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

The id of the replication policy.

Remarks

Required

Name

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

The name of the policy.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ReplicationPolicySummary.StatusEnum? Status { get; set; }
Property Value
Type Description
ReplicationPolicySummary.StatusEnum?

The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.

Remarks

Required

StatusMessage

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

A human-readable description of the status.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date when the replication policy was created as per RFC 3339.

Remarks

Required

TimeLastSync

Declaration
[Required(ErrorMessage = "TimeLastSync is required.")]
[JsonProperty(PropertyName = "timeLastSync")]
public DateTime? TimeLastSync { get; set; }
Property Value
Type Description
DateTime?

Changes made to the source bucket before this time has been replicated.

Remarks

Required

In this article
Back to top