Skip to main content

Create Storage policy for a plan

Select

SaaS
Customer Managed

Create Storage Policy for a plan.

Path Parameters
  • planId int32 required
Request Body
  • name string

    Name of the storage policy to create

  • copies object[]

    List of copies to create

  • backupDestinationName string required

    Backup destination details. Enter the name during creation.

  • storagePool object required
  • id int32
  • name string
  • region object
  • id int32
  • name string
  • sourceCopy object
  • id int32
  • name string
  • retentionPeriodDays int32

    Possible values: >= 1 and <= 9999

    Retention period in days. -1 can be specified for infinite retention.

  • overrideRetentionSettings boolean

    Tells if this copy should use storage pool retention period days or the retention defined for this copy. Set as true to use retention defined on this copy.

  • storagePolicy object
  • id int32
  • name string
Responses

Success


Schema
  • id int32
  • copies object[]
  • id int32
  • name string
  • error object
  • errorMessage string
  • errorCode int32
Loading...