Class CreateLongTermBackupDetails
Describes the parameters required to create an on demand long term backup.
Inherited Members
Namespace: Oci.RecoveryService.Models
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class CreateLongTermBackupDetails
Properties
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. Example: {"foo-namespace": {"bar-key": "value"}}. For more information, see Resource Tags |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A user provided name for the long term backup. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
ProtectedDatabaseId
Declaration
[Required(ErrorMessage = "ProtectedDatabaseId is required.")]
[JsonProperty(PropertyName = "protectedDatabaseId")]
public string ProtectedDatabaseId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the protected database for which you want to create the long-term backup. |
Remarks
Required
RetentionPeriod
Declaration
[Required(ErrorMessage = "RetentionPeriod is required.")]
[JsonProperty(PropertyName = "retentionPeriod")]
public List<RetentionPeriodValue> RetentionPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| List<RetentionPeriodValue> | The maximum period to retain the long-term backup. Specify the retention period type and the duration for the long-term backup. If you have chosen the retention period type as 'DAYS', then specify a duration ranging from 90 days to 3650 days. If you have chosen the retention period type as 'YEARS', then specify a duration ranging from 1 year to 10 years. |
Remarks
Required
RetentionPointInTime
Declaration
[JsonProperty(PropertyName = "retentionPointInTime")]
public DateTime? RetentionPointInTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | An RFC3339 formatted datetime string that indicates the desired target point in time in the database at which you want to create the long-term backup. For example, if you want the long-term backup to include all the changes until May 22 at 9:10 PM, then specify the value as, '2020-05-22T21:10:00.000Z'. If you want to specify the target point as an SCN value instead of the target time, then use the databaseSCN parameter. |
RetentionScn
Declaration
[JsonProperty(PropertyName = "retentionScn")]
public int? RetentionScn { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The desired target point (SCN) at which you want to create the long-term backup of the database.For example, specify the value as 1000 if you want to create the long-term backup until SCN 1000. If you want to specify the target point as a time expression instead of the SCN value, then use the longTermRetentionPointInTime parameter. |