Create backup deletion item
Create a backup deletion item and add to the backup deletion request
Path Parameters
- backup_deletion_id string required
Creates backup deletion items with the specified backup deletion ID.
- application/json
Request Body required
- items object[] required
Narrows down the results to only the items that satisfy the filter criteria. The following table lists the supported filter fields for this resource and the filter conditions that can be applied on those fields:
For more information about filtering, refer to the Filtering section of this guide.Field Filter Condition Description from_date $gte Filter backups whose start timestamp is "greater than or equal to" a given timestamp. to_date $lte Filter backups whose start timestamp is "less than or equal to" a given timestamp. older_than_in_days $eq Filter backups whose start timestamp is on or before the given number of days. datasource_type $eq Filter backups whose data source type is equal to the specified string. The only supported value is `AWS`. entity_types $in Filter backups with entity types. Possible values include `EC2`, `EBS`, `RDS_INSTANCE`, `RDS_CLUSTER`, `EC2_MSSQL_DATABASE`, `DYNAMODB` and `LOCAL_PROTECTION_GROUP`. asset_ids $in Filter backups with these clumio asset ids. Max 4000 allowed. backup_type $eq Filter backups with the given backup type. Possible values are `aws_ebs_volume_clumio_backup`, `aws_ebs_volume_aws_snapshot`, `aws_ec2_instance_clumio_backup`, `aws_ec2_instance_aws_snapshot`, `aws_rds_resource_rolling_backup`, `aws_rds_resource_granular_backup`, `aws_dynamodb_snapshot`, `aws_dynamodb_backup`, `protection_group_backup`, `protection_group_s3_asset_backup`, `ec2_mssql_database_backup` and `ec2_mssql_vss_snapshot`. assets $in Filter backups with these asset UUIDs. Every field shown below is required, including the nested parent_entity. {"assets":{"$in":[{"id":"asset-uuid", "name":"asset-name", "native_id":"native-id", "parent_entity":{"type":"aws_environment", "value":"parent-display-value", "id":"parent-native-id"}}]}}protection_status $eq Filter backups whose protection status is equal to the specified string. asset_status $eq Filter backups whose asset status is equal to the specified string. Possible values are `active` and `inactive`. aws_account_id $eq Filter backups whose AWS Account ID is equal to the specified string. aws_region $eq Filter backups whose AWS region is equal to the specified string. mssql_host_id $eq Filter backups whose MSSQL host ID is equal to the specified string. Applies to the `EC2_MSSQL_DATABASE` entity type. protection_group_id $eq Filter S3 Assets whose Protection Group Id is equal the specified string.
- 202
- default
Success
- application/api.clumio.backup-deletion=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
Embedded responses related to the resource.
items object[]
A collection of requested items.
asset_count int64Preview of asset count with provided filters
asset_ids string[]Filter backups whose clumio asset IDs is provided in list. Used for bulk asset ID upload.
asset_status stringPossible values: [
active,inactive]Filter backups whose asset status is equal to the specified string.
assets object[]
Filter backups whose asset ID is provided in below interface.
id stringThe Clumio-assigned ID of the asset
name stringThe name of the asset
native_id stringThe native ID of the asset
parent_entity object
ParentInfo is metadata of parent connection of asset provided by UI
id stringThe native ID of the parent
type stringPossible values: [
aws_environment]The Parent type. The only supported value is
aws_environment.value stringThe display value of the parent
aws_account_id stringFilter backups whose AWS Account ID is equal to the specified string.
aws_region stringFilter backups whose AWS region is equal to the specified string.
backup_count int64Preview of backup count with provided filters
backup_deletion_item_id stringUnique ID for this backup deletion item
backup_type stringFilter backups with the given backup type. Possible values are
aws_ebs_volume_clumio_backup,aws_ebs_volume_aws_snapshot,aws_ec2_instance_clumio_backup,aws_ec2_instance_aws_snapshot,aws_rds_resource_rolling_backup,aws_rds_resource_granular_backup,aws_dynamodb_snapshot,aws_dynamodb_backup,protection_group_backup,protection_group_s3_asset_backup,ec2_mssql_database_backupandec2_mssql_vss_snapshot.created_timestamp stringCreation time of this cart item, represented in RFC-3339 format.
datasource_type stringPossible values: [
AWS]Filter backups whose data source type is equal to the specified string. The only supported value is
AWS.entity_types string[]Possible values: [
EC2,EBS,RDS_INSTANCE,RDS_CLUSTER,EC2_MSSQL_DATABASE,DYNAMODB,LOCAL_PROTECTION_GROUP]Filter backups with entity types.
from_date stringFilter backups entries whose start timestamp is "greater than or equal to" a given timestamp.
mssql_host_id stringFilter backups whose MSSQL host ID is equal to the specified string. Applies to the
EC2_MSSQL_DATABASEentity type.older_than_in_days int64Filter backups entries whose start timestamp is on or before the given number of days.
preview_status stringPossible values: [
not_initialised,in_progress,available,failed]Indication whether preview of 'asset_count' and 'backup_count' is available or still processing.
preview_task_id stringTask ID of preview of cart item
protection_group_id stringFilter S3 Assets whose Protection Group Id is equal the specified string.
protection_status stringFilter backups whose protection status is equal to the specified string.
to_date stringFilter backups entries whose start timestamp is "less than or equal to" a given timestamp.
- backup_deletion_id string
ID for the created Backup Deletion
{
"_embedded": {
"items": [
{
"asset_count": 0,
"asset_ids": [
"string"
],
"asset_status": "active",
"assets": [
{
"id": "string",
"name": "string",
"native_id": "string",
"parent_entity": {
"id": "string",
"type": "aws_environment",
"value": "string"
}
}
],
"aws_account_id": "string",
"aws_region": "string",
"backup_count": 0,
"backup_deletion_item_id": "string",
"backup_type": "string",
"created_timestamp": "string",
"datasource_type": "AWS",
"entity_types": [
"EC2"
],
"from_date": "string",
"mssql_host_id": "string",
"older_than_in_days": 0,
"preview_status": "not_initialised",
"preview_task_id": "string",
"protection_group_id": "string",
"protection_status": "string",
"to_date": "string"
}
]
},
"backup_deletion_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}