Class BootVolumeBackup
A point-in-time copy of a boot volume that can then be used to create
a new boot volume or recover a boot volume. For more information, see Overview
of Boot Volume Backups
To use any of the API operations, you must be authorized in an IAM policy.
If you're not authorized, talk to an administrator. If you're an administrator
who needs to write policies to give users access, see Getting Started with
Policies.
Warning: Oracle recommends that you avoid using any confidential information when you
supply string values using the API.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class BootVolumeBackup
Properties
BootVolumeId
Declaration
[JsonProperty(PropertyName = "bootVolumeId")]
public string BootVolumeId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the boot volume. |
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 boot volume backup. |
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. For more information, see Resource Tags.
|
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
Remarks
Required
ExpirationTime
Declaration
[JsonProperty(PropertyName = "expirationTime")]
public DateTime? ExpirationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the volume backup will expire and be automatically deleted. Format defined by RFC3339. This parameter will always be present for backups that were created automatically by a scheduled-backup policy. For manually created backups, it will be absent, signifying that there is no expiration time and the backup will last forever until manually deleted. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no
predefined name, type, or namespace. For more information, see Resource Tags.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the boot volume backup. |
Remarks
Required
ImageId
Declaration
[JsonProperty(PropertyName = "imageId")]
public string ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The image OCID used to create the boot volume the backup is taken from. |
IsIndefiniteRetentionEnabled
Declaration
[JsonProperty(PropertyName = "isIndefiniteRetentionEnabled")]
public bool? IsIndefiniteRetentionEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups. |
IsPreventDeletionEnabled
Declaration
[JsonProperty(PropertyName = "isPreventDeletionEnabled")]
public bool? IsPreventDeletionEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups. |
IsRetentionLockEnabled
Declaration
[JsonProperty(PropertyName = "isRetentionLockEnabled")]
public bool? IsRetentionLockEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field. |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BootVolumeBackup.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| BootVolumeBackup.LifecycleStateEnum? | The current state of a boot volume backup. |
Remarks
Required
RetentionPeriod
Declaration
[JsonProperty(PropertyName = "retentionPeriod")]
public RetentionDuration RetentionPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| RetentionDuration |
SizeInGBs
Declaration
[JsonProperty(PropertyName = "sizeInGBs")]
public long? SizeInGBs { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | The size of the boot volume, in GBs. |
SourceBootVolumeBackupId
Declaration
[JsonProperty(PropertyName = "sourceBootVolumeBackupId")]
public string SourceBootVolumeBackupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the source boot volume backup. |
SourceType
Declaration
[JsonProperty(PropertyName = "sourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BootVolumeBackup.SourceTypeEnum? SourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| BootVolumeBackup.SourceTypeEnum? | Specifies whether the backup was created manually, or via scheduled backup 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: {"foo-namespace": {"bar-key": "value"}} |
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 boot volume backup was created. This is the time the actual point-in-time image of the volume data was taken. Format defined by RFC3339. |
Remarks
Required
TimeRequestReceived
Declaration
[JsonProperty(PropertyName = "timeRequestReceived")]
public DateTime? TimeRequestReceived { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the request to create the boot volume backup was received. Format defined by RFC3339. |
TimeRetentionExpiresAt
Declaration
[JsonProperty(PropertyName = "timeRetentionExpiresAt")]
public DateTime? TimeRetentionExpiresAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups. |
Type
Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BootVolumeBackup.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| BootVolumeBackup.TypeEnum? | The type of a volume backup. |
UniqueSizeInGBs
Declaration
[JsonProperty(PropertyName = "uniqueSizeInGBs")]
public long? UniqueSizeInGBs { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental. |
VolumeGroupBackupId
Declaration
[JsonProperty(PropertyName = "volumeGroupBackupId")]
public string VolumeGroupBackupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the volume group backup associated with the backup. This is an optional field. If it is not present in the response, the backup does not belong to a volume group. |