Class VolumeBackupPolicy
A policy for automatically creating volume backups according to a
recurring schedule. Has a set of one or more schedules that control when and
how backups are created.
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 VolumeBackupPolicy
  Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment that contains the volume backup.  | 
      
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.
  | 
      
DestinationRegion
Declaration
[JsonProperty(PropertyName = "destinationRegion")]
public string DestinationRegion { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The paired destination region for copying scheduled backups to. Example   | 
      
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
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 volume backup policy.  | 
      
Remarks
Required
Schedules
Declaration
[Required(ErrorMessage = "Schedules is required.")]
[JsonProperty(PropertyName = "schedules")]
public List<VolumeBackupSchedule> Schedules { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<VolumeBackupSchedule> | The collection of schedules that this policy will apply.  | 
      
Remarks
Required
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 volume backup policy was created. Format defined by RFC3339.  | 
      
Remarks
Required