CreateVolumeBackupPolicy

post

/20160918/volumeBackupPolicies

Create a new user defined backup policy.

Request

Supported Media Types
Header Parameters
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
  • Minimum Length: 1
    Maximum Length: 64
    A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
Body ()
Request to create a new scheduled backup policy.
Root Schema : CreateVolumeBackupPolicyDetails
Type: object
Specifies the properties for creating a backup policy.
Show Source
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : schedules
Type: array
The collection of schedules for the volume backup policy.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace.
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : VolumeBackupSchedule
Type: object
Defines the backup frequency and retention period for a volume backup policy.
Show Source
  • Allowed Values: [ "FULL", "INCREMENTAL" ]
    The type of volume backup to create.
  • Minimum Value: 1
    Maximum Value: 31
    The day of the month to schedule the volume backup.
  • Allowed Values: [ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
    The day of the week to schedule the volume backup.
  • Minimum Value: 0
    Maximum Value: 23
    The hour of the day to schedule the volume backup.
  • Allowed Values: [ "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" ]
    The month of the year to schedule the volume backup.
  • Minimum Value: 0
    Maximum Value: 31532400
    Multiple Of: 3600
    The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset.
  • Allowed Values: [ "STRUCTURED", "NUMERIC_SECONDS" ]
    Indicates how the offset is defined. If value is STRUCTURED, then hourOfDay, dayOfWeek, dayOfMonth, and month fields are used and offsetSeconds will be ignored in requests and users should ignore its value from the responses. hourOfDay is applicable for periods ONE_DAY, ONE_WEEK, ONE_MONTH and ONE_YEAR. dayOfWeek is applicable for period ONE_WEEK. dayOfMonth is applicable for periods ONE_MONTH and ONE_YEAR. 'month' is applicable for period 'ONE_YEAR'. They will be ignored in the requests for inapplicable periods. If value is NUMERIC_SECONDS, then offsetSeconds will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses. For clients using older versions of Apis and not sending offsetType in their requests, the behaviour is just like NUMERIC_SECONDS.
  • Allowed Values: [ "ONE_HOUR", "ONE_DAY", "ONE_WEEK", "ONE_MONTH", "ONE_YEAR" ]
    The volume backup frequency.
  • Minimum Value: 3600
    Maximum Value: 1576800000
    Multiple Of: 3600
    How long, in seconds, to keep the volume backups created by this schedule.
  • Default Value: UTC
    Allowed Values: [ "UTC", "REGIONAL_DATA_CENTER_TIME" ]
    Specifies what time zone is the schedule in
Back to Top

Response

Supported Media Types

200 Response

The policy is being created.
Headers
  • For optimistic concurrency control. See if-match.
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : VolumeBackupPolicy
Type: object
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. Avoid entering confidential information when you supply string values using the API.
Show Source
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : schedules
Type: array
The collection of schedules that this policy will apply.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace.
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : VolumeBackupSchedule
Type: object
Defines the backup frequency and retention period for a volume backup policy.
Show Source
  • Allowed Values: [ "FULL", "INCREMENTAL" ]
    The type of volume backup to create.
  • Minimum Value: 1
    Maximum Value: 31
    The day of the month to schedule the volume backup.
  • Allowed Values: [ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
    The day of the week to schedule the volume backup.
  • Minimum Value: 0
    Maximum Value: 23
    The hour of the day to schedule the volume backup.
  • Allowed Values: [ "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" ]
    The month of the year to schedule the volume backup.
  • Minimum Value: 0
    Maximum Value: 31532400
    Multiple Of: 3600
    The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset.
  • Allowed Values: [ "STRUCTURED", "NUMERIC_SECONDS" ]
    Indicates how the offset is defined. If value is STRUCTURED, then hourOfDay, dayOfWeek, dayOfMonth, and month fields are used and offsetSeconds will be ignored in requests and users should ignore its value from the responses. hourOfDay is applicable for periods ONE_DAY, ONE_WEEK, ONE_MONTH and ONE_YEAR. dayOfWeek is applicable for period ONE_WEEK. dayOfMonth is applicable for periods ONE_MONTH and ONE_YEAR. 'month' is applicable for period 'ONE_YEAR'. They will be ignored in the requests for inapplicable periods. If value is NUMERIC_SECONDS, then offsetSeconds will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses. For clients using older versions of Apis and not sending offsetType in their requests, the behaviour is just like NUMERIC_SECONDS.
  • Allowed Values: [ "ONE_HOUR", "ONE_DAY", "ONE_WEEK", "ONE_MONTH", "ONE_YEAR" ]
    The volume backup frequency.
  • Minimum Value: 3600
    Maximum Value: 1576800000
    Multiple Of: 3600
    How long, in seconds, to keep the volume backups created by this schedule.
  • Default Value: UTC
    Allowed Values: [ "UTC", "REGIONAL_DATA_CENTER_TIME" ]
    Specifies what time zone is the schedule in

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

409 Response

Conflict
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
Back to Top