Show / Hide Table of Contents

Class OciCacheBackupSummary

Summary of the OCI Cache Backup.

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

Properties

BackupSizeInGBs

Declaration
[JsonProperty(PropertyName = "backupSizeInGBs")]
public float? BackupSizeInGBs { get; set; }
Property Value
Type Description
float?

Backup size in GB.

BackupSource

Declaration
[JsonProperty(PropertyName = "backupSource")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OciCacheBackup.BackupSourceEnum? BackupSource { get; set; }
Property Value
Type Description
OciCacheBackup.BackupSourceEnum?

Specifies whether the backup was created from a replica or primary node

BackupType

Declaration
[JsonProperty(PropertyName = "backupType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OciCacheBackupSummary.BackupTypeEnum? BackupType { get; set; }
Property Value
Type Description
OciCacheBackupSummary.BackupTypeEnum?

Backup Type.

ClusterMode

Declaration
[Required(ErrorMessage = "ClusterMode is required.")]
[JsonProperty(PropertyName = "clusterMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RedisCluster.ClusterModeEnum? ClusterMode { get; set; }
Property Value
Type Description
RedisCluster.ClusterModeEnum?

Specifies whether the cluster is sharded or non-sharded.

Remarks

Required

CompartmentId

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

Compartment identifier

Remarks

Required

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

DisplayName

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

Backup identifier, can be renamed

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

Unique identifier that is immutable on creation

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OciCacheBackup.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
OciCacheBackup.LifecycleStateEnum?

The current state of the backup.

Remarks

Required

RetentionPeriodInDays

Declaration
[JsonProperty(PropertyName = "retentionPeriodInDays")]
public int? RetentionPeriodInDays { get; set; }
Property Value
Type Description
int?

Backup retention period in days.

SourceClusterId

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

The source OCI Cache Cluster OCID.

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>>

Usage of system tag keys. These predefined keys are scoped to namespaces. 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 was created. An RFC3339 formatted datetime string.

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. An RFC3339 formatted datetime string.

In this article
Back to top