Class CreateReplicationPolicyDetails
The details to create a replication policy.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class CreateReplicationPolicyDetails
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
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. Avoid entering confidential information. |
Remarks
Required