1. Registry
  2. Packages
  3. Qdrant-Cloud Provider
  4. API Docs
  5. ServerlessBackup
Viewing docs for qdrant-cloud 1.30.0
published on Thursday, Oct 8, 2026 by qdrant
qdrant-cloud
Viewing docs for qdrant-cloud 1.30.0
published on Thursday, Oct 8, 2026 by qdrant

    Serverless Backup Resource (one-off backup of a serverless space)

    Create ServerlessBackup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServerlessBackup(name: string, args: ServerlessBackupArgs, opts?: CustomResourceOptions);
    @overload
    def ServerlessBackup(resource_name: str,
                         args: ServerlessBackupArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerlessBackup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         space_id: Optional[str] = None,
                         account_id: Optional[str] = None,
                         collection_name: Optional[str] = None,
                         retention_period: Optional[str] = None,
                         timeouts: Optional[ServerlessBackupTimeoutsArgs] = None)
    func NewServerlessBackup(ctx *Context, name string, args ServerlessBackupArgs, opts ...ResourceOption) (*ServerlessBackup, error)
    public ServerlessBackup(string name, ServerlessBackupArgs args, CustomResourceOptions? opts = null)
    public ServerlessBackup(String name, ServerlessBackupArgs args)
    public ServerlessBackup(String name, ServerlessBackupArgs args, CustomResourceOptions options)
    
    type: qdrant-cloud:ServerlessBackup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "qdrant-cloud_serverless_backup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ServerlessBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerlessBackupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerlessBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerlessBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerlessBackupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serverlessBackupResource = new QdrantCloud.ServerlessBackup("serverlessBackupResource", new()
    {
        SpaceId = "string",
        AccountId = "string",
        CollectionName = "string",
        RetentionPeriod = "string",
        Timeouts = new QdrantCloud.Inputs.ServerlessBackupTimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := qdrantcloud.NewServerlessBackup(ctx, "serverlessBackupResource", &qdrantcloud.ServerlessBackupArgs{
    	SpaceId:         pulumi.String("string"),
    	AccountId:       pulumi.String("string"),
    	CollectionName:  pulumi.String("string"),
    	RetentionPeriod: pulumi.String("string"),
    	Timeouts: &qdrantcloud.ServerlessBackupTimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    resource "qdrant-cloud_serverless_backup" "serverlessBackupResource" {
      lifecycle {
        create_before_destroy = true
      }
      space_id         = "string"
      account_id       = "string"
      collection_name  = "string"
      retention_period = "string"
      _ {
        timeouts = {
          create = "string"
        }
      }
    }
    
    var serverlessBackupResource = new ServerlessBackup("serverlessBackupResource", ServerlessBackupArgs.builder()
        .spaceId("string")
        .accountId("string")
        .collectionName("string")
        .retentionPeriod("string")
        .timeouts(ServerlessBackupTimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    serverless_backup_resource = qdrant_cloud.ServerlessBackup("serverlessBackupResource",
        space_id="string",
        account_id="string",
        collection_name="string",
        retention_period="string",
        timeouts={
            "create": "string",
        })
    
    const serverlessBackupResource = new qdrant_cloud.ServerlessBackup("serverlessBackupResource", {
        spaceId: "string",
        accountId: "string",
        collectionName: "string",
        retentionPeriod: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: qdrant-cloud:ServerlessBackup
    properties:
        accountId: string
        collectionName: string
        retentionPeriod: string
        spaceId: string
        timeouts:
            create: string
    

    ServerlessBackup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServerlessBackup resource accepts the following input properties:

    SpaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    AccountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    CollectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    RetentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    Timeouts Pulumi.QdrantCloud.Inputs.ServerlessBackupTimeouts
    SpaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    AccountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    CollectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    RetentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    Timeouts ServerlessBackupTimeoutsArgs
    space_id string
    Serverless Backup Schema ID of the serverless space to back up field
    account_id string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    collection_name string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    retention_period string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    timeouts object
    spaceId String
    Serverless Backup Schema ID of the serverless space to back up field
    accountId String
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    collectionName String
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    retentionPeriod String
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    timeouts ServerlessBackupTimeouts
    spaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    accountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    collectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    retentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    timeouts ServerlessBackupTimeouts
    space_id str
    Serverless Backup Schema ID of the serverless space to back up field
    account_id str
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    collection_name str
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    retention_period str
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    timeouts ServerlessBackupTimeoutsArgs
    spaceId String
    Serverless Backup Schema ID of the serverless space to back up field
    accountId String
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    collectionName String
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    retentionPeriod String
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServerlessBackup resource produces the following output properties:

    BackupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    CreatedAt string
    Serverless Backup Schema Creation time field
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Serverless Backup Schema Name of the backup (generated) field
    Stats List<Pulumi.QdrantCloud.Outputs.ServerlessBackupStat>
    Serverless Backup Schema Statistics of the backup field
    Status string
    Serverless Backup Schema Current status of the backup field
    BackupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    CreatedAt string
    Serverless Backup Schema Creation time field
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Serverless Backup Schema Name of the backup (generated) field
    Stats []ServerlessBackupStat
    Serverless Backup Schema Statistics of the backup field
    Status string
    Serverless Backup Schema Current status of the backup field
    backup_schedule_id string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    created_at string
    Serverless Backup Schema Creation time field
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Serverless Backup Schema Name of the backup (generated) field
    stats list(object)
    Serverless Backup Schema Statistics of the backup field
    status string
    Serverless Backup Schema Current status of the backup field
    backupScheduleId String
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    createdAt String
    Serverless Backup Schema Creation time field
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Serverless Backup Schema Name of the backup (generated) field
    stats List<ServerlessBackupStat>
    Serverless Backup Schema Statistics of the backup field
    status String
    Serverless Backup Schema Current status of the backup field
    backupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    createdAt string
    Serverless Backup Schema Creation time field
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Serverless Backup Schema Name of the backup (generated) field
    stats ServerlessBackupStat[]
    Serverless Backup Schema Statistics of the backup field
    status string
    Serverless Backup Schema Current status of the backup field
    backup_schedule_id str
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    created_at str
    Serverless Backup Schema Creation time field
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Serverless Backup Schema Name of the backup (generated) field
    stats Sequence[ServerlessBackupStat]
    Serverless Backup Schema Statistics of the backup field
    status str
    Serverless Backup Schema Current status of the backup field
    backupScheduleId String
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    createdAt String
    Serverless Backup Schema Creation time field
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Serverless Backup Schema Name of the backup (generated) field
    stats List<Property Map>
    Serverless Backup Schema Statistics of the backup field
    status String
    Serverless Backup Schema Current status of the backup field

    Look up Existing ServerlessBackup Resource

    Get an existing ServerlessBackup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServerlessBackupState, opts?: CustomResourceOptions): ServerlessBackup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            backup_schedule_id: Optional[str] = None,
            collection_name: Optional[str] = None,
            created_at: Optional[str] = None,
            name: Optional[str] = None,
            retention_period: Optional[str] = None,
            space_id: Optional[str] = None,
            stats: Optional[Sequence[ServerlessBackupStatArgs]] = None,
            status: Optional[str] = None,
            timeouts: Optional[ServerlessBackupTimeoutsArgs] = None) -> ServerlessBackup
    func GetServerlessBackup(ctx *Context, name string, id IDInput, state *ServerlessBackupState, opts ...ResourceOption) (*ServerlessBackup, error)
    public static ServerlessBackup Get(string name, Input<string> id, ServerlessBackupState? state, CustomResourceOptions? opts = null)
    public static ServerlessBackup get(String name, Output<String> id, ServerlessBackupState state, CustomResourceOptions options)
    resources:  _:    type: qdrant-cloud:ServerlessBackup    get:      id: ${id}
    import {
      to = qdrant-cloud_serverless_backup.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    BackupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    CollectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    CreatedAt string
    Serverless Backup Schema Creation time field
    Name string
    Serverless Backup Schema Name of the backup (generated) field
    RetentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    SpaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    Stats List<Pulumi.QdrantCloud.Inputs.ServerlessBackupStat>
    Serverless Backup Schema Statistics of the backup field
    Status string
    Serverless Backup Schema Current status of the backup field
    Timeouts Pulumi.QdrantCloud.Inputs.ServerlessBackupTimeouts
    AccountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    BackupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    CollectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    CreatedAt string
    Serverless Backup Schema Creation time field
    Name string
    Serverless Backup Schema Name of the backup (generated) field
    RetentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    SpaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    Stats []ServerlessBackupStatArgs
    Serverless Backup Schema Statistics of the backup field
    Status string
    Serverless Backup Schema Current status of the backup field
    Timeouts ServerlessBackupTimeoutsArgs
    account_id string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    backup_schedule_id string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    collection_name string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    created_at string
    Serverless Backup Schema Creation time field
    name string
    Serverless Backup Schema Name of the backup (generated) field
    retention_period string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    space_id string
    Serverless Backup Schema ID of the serverless space to back up field
    stats list(object)
    Serverless Backup Schema Statistics of the backup field
    status string
    Serverless Backup Schema Current status of the backup field
    timeouts object
    accountId String
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    backupScheduleId String
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    collectionName String
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    createdAt String
    Serverless Backup Schema Creation time field
    name String
    Serverless Backup Schema Name of the backup (generated) field
    retentionPeriod String
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    spaceId String
    Serverless Backup Schema ID of the serverless space to back up field
    stats List<ServerlessBackupStat>
    Serverless Backup Schema Statistics of the backup field
    status String
    Serverless Backup Schema Current status of the backup field
    timeouts ServerlessBackupTimeouts
    accountId string
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    backupScheduleId string
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    collectionName string
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    createdAt string
    Serverless Backup Schema Creation time field
    name string
    Serverless Backup Schema Name of the backup (generated) field
    retentionPeriod string
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    spaceId string
    Serverless Backup Schema ID of the serverless space to back up field
    stats ServerlessBackupStat[]
    Serverless Backup Schema Statistics of the backup field
    status string
    Serverless Backup Schema Current status of the backup field
    timeouts ServerlessBackupTimeouts
    account_id str
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    backup_schedule_id str
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    collection_name str
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    created_at str
    Serverless Backup Schema Creation time field
    name str
    Serverless Backup Schema Name of the backup (generated) field
    retention_period str
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    space_id str
    Serverless Backup Schema ID of the serverless space to back up field
    stats Sequence[ServerlessBackupStatArgs]
    Serverless Backup Schema Statistics of the backup field
    status str
    Serverless Backup Schema Current status of the backup field
    timeouts ServerlessBackupTimeoutsArgs
    accountId String
    Serverless Backup Schema Account ID (defaults to the provider account ID) field
    backupScheduleId String
    Serverless Backup Schema ID of the backup schedule that created the backup (empty for manual backups) field
    collectionName String
    Serverless Backup Schema Name of the collection to back up. If unset, the entire space is backed up field
    createdAt String
    Serverless Backup Schema Creation time field
    name String
    Serverless Backup Schema Name of the backup (generated) field
    retentionPeriod String
    Serverless Backup Schema Retention period of the backup, as a Go duration string between 24h and 8760h. If unset, the backup is retained indefinitely field
    spaceId String
    Serverless Backup Schema ID of the serverless space to back up field
    stats List<Property Map>
    Serverless Backup Schema Statistics of the backup field
    status String
    Serverless Backup Schema Current status of the backup field
    timeouts Property Map

    Supporting Types

    ServerlessBackupStat, ServerlessBackupStatArgs

    CollectionCount float64
    Duration string
    SizeBytes float64
    TotalPoints float64

    ServerlessBackupTimeouts, ServerlessBackupTimeoutsArgs

    Create string
    Create string
    create string
    create String
    create string
    create str
    create String

    Import

    qdrant-cloud_serverless_backup can be imported using the backup ID, e.g.

    $ pulumi import qdrant-cloud:index/serverlessBackup:ServerlessBackup example 12345678-0000-0000-0000-1234567890ab
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    qdrant-cloud qdrant/terraform-provider-qdrant-cloud
    License
    Notes
    This Pulumi package is based on the qdrant-cloud Terraform Provider.
    qdrant-cloud
    Viewing docs for qdrant-cloud 1.30.0
    published on Thursday, Oct 8, 2026 by qdrant

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial