AllowedLocationBackupPoliciesResource


List backup policies allowed in a location


Returns the list of all backup policies available to an enterprise in a location. To manage backups, see the backup resources for the datacenter such as {@link BackupManagerResource}

GET https://example.com/api/cloud/locations/{location}/backuppolicies

Roles : [ROLE_PHYS_DC_ALLOW_BACKUP_CONFIG, ROLE_VAPP_MANAGE_BACKUP]

Parameter Type Default Value Description
startwith Integer 0 The first element to be retrieved of the filtered search
by String name Order by
has String If present filter to apply in the search.
limit Integer 25 The number of entities to retrieve
asc Boolean true If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)

Accept : backuppolicies

Error Codes

  • LOCATION-4 - The location does not exist

Example

Get a backup policy allowed in a location


Returns a backup policy available to an enterprise in a location. To manage backups, see the backup resources for the datacenter such as {@link BackupManagerResource}

GET https://example.com/api/cloud/locations/{location}/backuppolicies/{backuppolicy}

Roles : [ROLE_PHYS_DC_ALLOW_BACKUP_CONFIG, ROLE_VAPP_MANAGE_BACKUP]

Accept : backuppolicy

Error Codes

  • BC-23 - The requested backup policy does not exist
  • LOCATION-4 - The location does not exist

Example