CreateVolumeBackupPolicy

POST {{baseUrl}}/volumeBackupPolicies

Creates a new user defined backup policy.

For more information about Oracle defined backup policies and user defined backup policies, see Policy-Based Backups.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "destinationRegion"=>"sunt aliquip ut", "displayName"=>"incididunt labore", "schedules"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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).
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{&quot;id&quot;:&quot;officia ut fugiat&quot;,&quot;displayName&quot;:&quot;exercitation nulla occaecat&quot;,&quot;schedules&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;timeCreated&quot;:&quot;2016-12-05T11:20:37.905Z&quot;,&quot;compartmentId&quot;:&quot;cupidatat Lorem dolor laboris&quot;,&quot;definedTags&quot;:{},&quot;destinationRegion&quot;:&quot;et ipsum anim in&quot;,&quot;freeformTags&quot;:{}}