Class Backup
Database system backup information.
Inherited Members
Namespace: Oci.PsqlService.Models
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class Backup
Properties
BackupSize
Declaration
[Required(ErrorMessage = "BackupSize is required.")]
[JsonProperty(PropertyName = "backupSize")]
public int? BackupSize { get; set; }
Property Value
Type | Description |
---|---|
int? | The size of the backup, in gigabytes. |
Remarks
Required
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 backup. |
Remarks
Required
DbSystemDetails
Declaration
[Required(ErrorMessage = "DbSystemDetails is required.")]
[JsonProperty(PropertyName = "dbSystemDetails")]
public DbSystemDetails DbSystemDetails { get; set; }
Property Value
Type | Description |
---|---|
DbSystemDetails |
Remarks
Required
DbSystemId
Declaration
[JsonProperty(PropertyName = "dbSystemId")]
public string DbSystemId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the backup's source database system. |
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A description for the backup. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly display name for the backup. Avoid entering confidential information. |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[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"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the backup. |
Remarks
Required
LastAcceptedRequestToken
Declaration
[JsonProperty(PropertyName = "lastAcceptedRequestToken")]
public string LastAcceptedRequestToken { get; set; }
Property Value
Type | Description |
---|---|
string | lastAcceptedRequestToken from MP. |
LastCompletedRequestToken
Declaration
[JsonProperty(PropertyName = "lastCompletedRequestToken")]
public string LastCompletedRequestToken { get; set; }
Property Value
Type | Description |
---|---|
string | lastCompletedRequestToken from MP. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Backup.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Backup.LifecycleStateEnum? | The current state of the backup. |
Remarks
Required
RetentionPeriod
Declaration
[JsonProperty(PropertyName = "retentionPeriod")]
public int? RetentionPeriod { get; set; }
Property Value
Type | Description |
---|---|
int? | Backup retention period in days. |
SourceType
Declaration
[JsonProperty(PropertyName = "sourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Backup.SourceTypeEnum? SourceType { get; set; }
Property Value
Type | Description |
---|---|
Backup.SourceTypeEnum? | Specifies whether the backup was created manually, or by a management policy. |
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. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
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 backup request was received, expressed in
RFC 3339 timestamp format.
|
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the backup was updated, expressed in
RFC 3339 timestamp format.
|