Class OciCacheBackup
OCI Cache cluster backup information
Inherited Members
Namespace: Oci.RedisService.Models
Assembly: OCI.DotNetSDK.Redis.dll
Syntax
public class OciCacheBackup
Properties
BackupSizeInGBs
Declaration
[Required(ErrorMessage = "BackupSizeInGBs is required.")]
[JsonProperty(PropertyName = "backupSizeInGBs")]
public float? BackupSizeInGBs { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | Backup size in GB. |
Remarks
Required
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 OciCacheBackup.BackupTypeEnum? BackupType { get; set; }
Property Value
| Type | Description |
|---|---|
| OciCacheBackup.BackupTypeEnum? | Backup Type. |
ClusterMemoryInGBs
Declaration
[JsonProperty(PropertyName = "clusterMemoryInGBs")]
public float? ClusterMemoryInGBs { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | The amount of memory allocated to the cluster, in gigabytes. |
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 | Backup compartment identifier |
Remarks
Required
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"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Backup description |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Backup display name |
Remarks
Required
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"} |
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. |
ShardCount
Declaration
[JsonProperty(PropertyName = "shardCount")]
public int? ShardCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED. |
SoftwareVersion
Declaration
[Required(ErrorMessage = "SoftwareVersion is required.")]
[JsonProperty(PropertyName = "softwareVersion")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RedisCluster.SoftwareVersionEnum? SoftwareVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| RedisCluster.SoftwareVersionEnum? | The OCI Cache engine version that the cluster is running. |
Remarks
Required
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
[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. |
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. |