1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getCbrBackupV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getCbrBackupV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for CBR backups you can get at documentation portal

    Use this data source to get details about backup resources from OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const backupId = config.requireObject("backupId");
    const cbrBackup = opentelekomcloud.getCbrBackupV3({
        id: backupId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    backup_id = config.require_object("backupId")
    cbr_backup = opentelekomcloud.get_cbr_backup_v3(id=backup_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		backupId := cfg.RequireObject("backupId")
    		_, err := opentelekomcloud.GetCbrBackupV3(ctx, &opentelekomcloud.GetCbrBackupV3Args{
    			Id: pulumi.StringRef(backupId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var backupId = config.RequireObject<dynamic>("backupId");
        var cbrBackup = Opentelekomcloud.GetCbrBackupV3.Invoke(new()
        {
            Id = backupId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetCbrBackupV3Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var backupId = config.get("backupId");
            final var cbrBackup = OpentelekomcloudFunctions.getCbrBackupV3(GetCbrBackupV3Args.builder()
                .id(backupId)
                .build());
    
        }
    }
    
    configuration:
      backupId:
        type: dynamic
    variables:
      cbrBackup:
        fn::invoke:
          function: opentelekomcloud:getCbrBackupV3
          arguments:
            id: ${backupId}
    

    Using getCbrBackupV3

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCbrBackupV3(args: GetCbrBackupV3Args, opts?: InvokeOptions): Promise<GetCbrBackupV3Result>
    function getCbrBackupV3Output(args: GetCbrBackupV3OutputArgs, opts?: InvokeOptions): Output<GetCbrBackupV3Result>
    def get_cbr_backup_v3(auto_trigger: Optional[bool] = None,
                          bootable: Optional[bool] = None,
                          checkpoint_id: Optional[str] = None,
                          contain_system_disk: Optional[bool] = None,
                          created_at: Optional[str] = None,
                          description: Optional[str] = None,
                          encrypted: Optional[bool] = None,
                          expired_at: Optional[str] = None,
                          id: Optional[str] = None,
                          image_type: Optional[str] = None,
                          incremental: Optional[bool] = None,
                          name: Optional[str] = None,
                          parent_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          provider_id: Optional[str] = None,
                          resource_az: Optional[str] = None,
                          resource_id: Optional[str] = None,
                          resource_name: Optional[str] = None,
                          resource_size: Optional[float] = None,
                          resource_type: Optional[str] = None,
                          snapshot_id: Optional[str] = None,
                          status: Optional[str] = None,
                          support_lld: Optional[bool] = None,
                          supported_restore_mode: Optional[str] = None,
                          system_disk: Optional[bool] = None,
                          updated_at: Optional[str] = None,
                          vault_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCbrBackupV3Result
    def get_cbr_backup_v3_output(auto_trigger: Optional[pulumi.Input[bool]] = None,
                          bootable: Optional[pulumi.Input[bool]] = None,
                          checkpoint_id: Optional[pulumi.Input[str]] = None,
                          contain_system_disk: Optional[pulumi.Input[bool]] = None,
                          created_at: Optional[pulumi.Input[str]] = None,
                          description: Optional[pulumi.Input[str]] = None,
                          encrypted: Optional[pulumi.Input[bool]] = None,
                          expired_at: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          image_type: Optional[pulumi.Input[str]] = None,
                          incremental: Optional[pulumi.Input[bool]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          parent_id: Optional[pulumi.Input[str]] = None,
                          project_id: Optional[pulumi.Input[str]] = None,
                          provider_id: Optional[pulumi.Input[str]] = None,
                          resource_az: Optional[pulumi.Input[str]] = None,
                          resource_id: Optional[pulumi.Input[str]] = None,
                          resource_name: Optional[pulumi.Input[str]] = None,
                          resource_size: Optional[pulumi.Input[float]] = None,
                          resource_type: Optional[pulumi.Input[str]] = None,
                          snapshot_id: Optional[pulumi.Input[str]] = None,
                          status: Optional[pulumi.Input[str]] = None,
                          support_lld: Optional[pulumi.Input[bool]] = None,
                          supported_restore_mode: Optional[pulumi.Input[str]] = None,
                          system_disk: Optional[pulumi.Input[bool]] = None,
                          updated_at: Optional[pulumi.Input[str]] = None,
                          vault_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCbrBackupV3Result]
    func GetCbrBackupV3(ctx *Context, args *GetCbrBackupV3Args, opts ...InvokeOption) (*GetCbrBackupV3Result, error)
    func GetCbrBackupV3Output(ctx *Context, args *GetCbrBackupV3OutputArgs, opts ...InvokeOption) GetCbrBackupV3ResultOutput

    > Note: This function is named GetCbrBackupV3 in the Go SDK.

    public static class GetCbrBackupV3 
    {
        public static Task<GetCbrBackupV3Result> InvokeAsync(GetCbrBackupV3Args args, InvokeOptions? opts = null)
        public static Output<GetCbrBackupV3Result> Invoke(GetCbrBackupV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCbrBackupV3Result> getCbrBackupV3(GetCbrBackupV3Args args, InvokeOptions options)
    public static Output<GetCbrBackupV3Result> getCbrBackupV3(GetCbrBackupV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getCbrBackupV3:getCbrBackupV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutoTrigger bool
    Specifies whether the backup is automatically generated.
    Bootable bool
    Specifies whether the backup is a system disk backup.
    CheckpointId string
    ContainSystemDisk bool
    CreatedAt string
    The time the backup was created.
    Description string
    Backup description.
    Encrypted bool
    Specifies whether the backup is encrypted.
    ExpiredAt string
    The time the backup will be expired.
    Id string
    Specifies the ID of backup.
    ImageType string
    Specifies the backup type.
    Incremental bool
    Specifies whether the backup is an incremental backup.
    Name string
    Specifies the backup name
    ParentId string
    Specifies the ID of parent backup.
    ProjectId string
    The project ID of backup.
    ProviderId string
    Backup provider ID which is used to distinguish backup objects.
    ResourceAz string
    Specifies the AZ of backup.
    ResourceId string
    Specifies the backup object ID.
    ResourceName string
    Specifies the backup resource name.
    ResourceSize double
    Backup size in GB.
    ResourceType string
    Specifies the type of backup objects.
    SnapshotId string
    The snapshot ID of the disk backup.
    Status string
    Specifies the backup status.
    SupportLld bool
    Specifies whether to allow lazyloading for fast restoration.
    SupportedRestoreMode string
    Restoration mode of the backup.
    SystemDisk bool
    Specifies whether a disk is a system disk.
    UpdatedAt string
    Indicates the update time.
    VaultId string
    Specifies the ID of backup vault.
    AutoTrigger bool
    Specifies whether the backup is automatically generated.
    Bootable bool
    Specifies whether the backup is a system disk backup.
    CheckpointId string
    ContainSystemDisk bool
    CreatedAt string
    The time the backup was created.
    Description string
    Backup description.
    Encrypted bool
    Specifies whether the backup is encrypted.
    ExpiredAt string
    The time the backup will be expired.
    Id string
    Specifies the ID of backup.
    ImageType string
    Specifies the backup type.
    Incremental bool
    Specifies whether the backup is an incremental backup.
    Name string
    Specifies the backup name
    ParentId string
    Specifies the ID of parent backup.
    ProjectId string
    The project ID of backup.
    ProviderId string
    Backup provider ID which is used to distinguish backup objects.
    ResourceAz string
    Specifies the AZ of backup.
    ResourceId string
    Specifies the backup object ID.
    ResourceName string
    Specifies the backup resource name.
    ResourceSize float64
    Backup size in GB.
    ResourceType string
    Specifies the type of backup objects.
    SnapshotId string
    The snapshot ID of the disk backup.
    Status string
    Specifies the backup status.
    SupportLld bool
    Specifies whether to allow lazyloading for fast restoration.
    SupportedRestoreMode string
    Restoration mode of the backup.
    SystemDisk bool
    Specifies whether a disk is a system disk.
    UpdatedAt string
    Indicates the update time.
    VaultId string
    Specifies the ID of backup vault.
    autoTrigger Boolean
    Specifies whether the backup is automatically generated.
    bootable Boolean
    Specifies whether the backup is a system disk backup.
    checkpointId String
    containSystemDisk Boolean
    createdAt String
    The time the backup was created.
    description String
    Backup description.
    encrypted Boolean
    Specifies whether the backup is encrypted.
    expiredAt String
    The time the backup will be expired.
    id String
    Specifies the ID of backup.
    imageType String
    Specifies the backup type.
    incremental Boolean
    Specifies whether the backup is an incremental backup.
    name String
    Specifies the backup name
    parentId String
    Specifies the ID of parent backup.
    projectId String
    The project ID of backup.
    providerId String
    Backup provider ID which is used to distinguish backup objects.
    resourceAz String
    Specifies the AZ of backup.
    resourceId String
    Specifies the backup object ID.
    resourceName String
    Specifies the backup resource name.
    resourceSize Double
    Backup size in GB.
    resourceType String
    Specifies the type of backup objects.
    snapshotId String
    The snapshot ID of the disk backup.
    status String
    Specifies the backup status.
    supportLld Boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode String
    Restoration mode of the backup.
    systemDisk Boolean
    Specifies whether a disk is a system disk.
    updatedAt String
    Indicates the update time.
    vaultId String
    Specifies the ID of backup vault.
    autoTrigger boolean
    Specifies whether the backup is automatically generated.
    bootable boolean
    Specifies whether the backup is a system disk backup.
    checkpointId string
    containSystemDisk boolean
    createdAt string
    The time the backup was created.
    description string
    Backup description.
    encrypted boolean
    Specifies whether the backup is encrypted.
    expiredAt string
    The time the backup will be expired.
    id string
    Specifies the ID of backup.
    imageType string
    Specifies the backup type.
    incremental boolean
    Specifies whether the backup is an incremental backup.
    name string
    Specifies the backup name
    parentId string
    Specifies the ID of parent backup.
    projectId string
    The project ID of backup.
    providerId string
    Backup provider ID which is used to distinguish backup objects.
    resourceAz string
    Specifies the AZ of backup.
    resourceId string
    Specifies the backup object ID.
    resourceName string
    Specifies the backup resource name.
    resourceSize number
    Backup size in GB.
    resourceType string
    Specifies the type of backup objects.
    snapshotId string
    The snapshot ID of the disk backup.
    status string
    Specifies the backup status.
    supportLld boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode string
    Restoration mode of the backup.
    systemDisk boolean
    Specifies whether a disk is a system disk.
    updatedAt string
    Indicates the update time.
    vaultId string
    Specifies the ID of backup vault.
    auto_trigger bool
    Specifies whether the backup is automatically generated.
    bootable bool
    Specifies whether the backup is a system disk backup.
    checkpoint_id str
    contain_system_disk bool
    created_at str
    The time the backup was created.
    description str
    Backup description.
    encrypted bool
    Specifies whether the backup is encrypted.
    expired_at str
    The time the backup will be expired.
    id str
    Specifies the ID of backup.
    image_type str
    Specifies the backup type.
    incremental bool
    Specifies whether the backup is an incremental backup.
    name str
    Specifies the backup name
    parent_id str
    Specifies the ID of parent backup.
    project_id str
    The project ID of backup.
    provider_id str
    Backup provider ID which is used to distinguish backup objects.
    resource_az str
    Specifies the AZ of backup.
    resource_id str
    Specifies the backup object ID.
    resource_name str
    Specifies the backup resource name.
    resource_size float
    Backup size in GB.
    resource_type str
    Specifies the type of backup objects.
    snapshot_id str
    The snapshot ID of the disk backup.
    status str
    Specifies the backup status.
    support_lld bool
    Specifies whether to allow lazyloading for fast restoration.
    supported_restore_mode str
    Restoration mode of the backup.
    system_disk bool
    Specifies whether a disk is a system disk.
    updated_at str
    Indicates the update time.
    vault_id str
    Specifies the ID of backup vault.
    autoTrigger Boolean
    Specifies whether the backup is automatically generated.
    bootable Boolean
    Specifies whether the backup is a system disk backup.
    checkpointId String
    containSystemDisk Boolean
    createdAt String
    The time the backup was created.
    description String
    Backup description.
    encrypted Boolean
    Specifies whether the backup is encrypted.
    expiredAt String
    The time the backup will be expired.
    id String
    Specifies the ID of backup.
    imageType String
    Specifies the backup type.
    incremental Boolean
    Specifies whether the backup is an incremental backup.
    name String
    Specifies the backup name
    parentId String
    Specifies the ID of parent backup.
    projectId String
    The project ID of backup.
    providerId String
    Backup provider ID which is used to distinguish backup objects.
    resourceAz String
    Specifies the AZ of backup.
    resourceId String
    Specifies the backup object ID.
    resourceName String
    Specifies the backup resource name.
    resourceSize Number
    Backup size in GB.
    resourceType String
    Specifies the type of backup objects.
    snapshotId String
    The snapshot ID of the disk backup.
    status String
    Specifies the backup status.
    supportLld Boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode String
    Restoration mode of the backup.
    systemDisk Boolean
    Specifies whether a disk is a system disk.
    updatedAt String
    Indicates the update time.
    vaultId String
    Specifies the ID of backup vault.

    getCbrBackupV3 Result

    The following output properties are available:

    AutoTrigger bool
    Specifies whether the backup is automatically generated.
    Bootable bool
    Specifies whether the backup is a system disk backup.
    CheckpointId string
    ContainSystemDisk bool
    CreatedAt string
    The time the backup was created.
    Description string
    Backup description.
    Encrypted bool
    Specifies whether the backup is encrypted.
    ExpiredAt string
    The time the backup will be expired.
    Id string
    ImageType string
    Incremental bool
    Specifies whether the backup is an incremental backup.
    Name string
    ParentId string
    ProjectId string
    The project ID of backup.
    ProviderId string
    Backup provider ID which is used to distinguish backup objects.
    ResourceAz string
    ResourceId string
    ResourceName string
    ResourceSize double
    Backup size in GB.
    ResourceType string
    SnapshotId string
    The snapshot ID of the disk backup.
    Status string
    SupportLld bool
    Specifies whether to allow lazyloading for fast restoration.
    SupportedRestoreMode string
    Restoration mode of the backup.
    SystemDisk bool
    Specifies whether a disk is a system disk.
    UpdatedAt string
    Indicates the update time.
    VaultId string
    AutoTrigger bool
    Specifies whether the backup is automatically generated.
    Bootable bool
    Specifies whether the backup is a system disk backup.
    CheckpointId string
    ContainSystemDisk bool
    CreatedAt string
    The time the backup was created.
    Description string
    Backup description.
    Encrypted bool
    Specifies whether the backup is encrypted.
    ExpiredAt string
    The time the backup will be expired.
    Id string
    ImageType string
    Incremental bool
    Specifies whether the backup is an incremental backup.
    Name string
    ParentId string
    ProjectId string
    The project ID of backup.
    ProviderId string
    Backup provider ID which is used to distinguish backup objects.
    ResourceAz string
    ResourceId string
    ResourceName string
    ResourceSize float64
    Backup size in GB.
    ResourceType string
    SnapshotId string
    The snapshot ID of the disk backup.
    Status string
    SupportLld bool
    Specifies whether to allow lazyloading for fast restoration.
    SupportedRestoreMode string
    Restoration mode of the backup.
    SystemDisk bool
    Specifies whether a disk is a system disk.
    UpdatedAt string
    Indicates the update time.
    VaultId string
    autoTrigger Boolean
    Specifies whether the backup is automatically generated.
    bootable Boolean
    Specifies whether the backup is a system disk backup.
    checkpointId String
    containSystemDisk Boolean
    createdAt String
    The time the backup was created.
    description String
    Backup description.
    encrypted Boolean
    Specifies whether the backup is encrypted.
    expiredAt String
    The time the backup will be expired.
    id String
    imageType String
    incremental Boolean
    Specifies whether the backup is an incremental backup.
    name String
    parentId String
    projectId String
    The project ID of backup.
    providerId String
    Backup provider ID which is used to distinguish backup objects.
    resourceAz String
    resourceId String
    resourceName String
    resourceSize Double
    Backup size in GB.
    resourceType String
    snapshotId String
    The snapshot ID of the disk backup.
    status String
    supportLld Boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode String
    Restoration mode of the backup.
    systemDisk Boolean
    Specifies whether a disk is a system disk.
    updatedAt String
    Indicates the update time.
    vaultId String
    autoTrigger boolean
    Specifies whether the backup is automatically generated.
    bootable boolean
    Specifies whether the backup is a system disk backup.
    checkpointId string
    containSystemDisk boolean
    createdAt string
    The time the backup was created.
    description string
    Backup description.
    encrypted boolean
    Specifies whether the backup is encrypted.
    expiredAt string
    The time the backup will be expired.
    id string
    imageType string
    incremental boolean
    Specifies whether the backup is an incremental backup.
    name string
    parentId string
    projectId string
    The project ID of backup.
    providerId string
    Backup provider ID which is used to distinguish backup objects.
    resourceAz string
    resourceId string
    resourceName string
    resourceSize number
    Backup size in GB.
    resourceType string
    snapshotId string
    The snapshot ID of the disk backup.
    status string
    supportLld boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode string
    Restoration mode of the backup.
    systemDisk boolean
    Specifies whether a disk is a system disk.
    updatedAt string
    Indicates the update time.
    vaultId string
    auto_trigger bool
    Specifies whether the backup is automatically generated.
    bootable bool
    Specifies whether the backup is a system disk backup.
    checkpoint_id str
    contain_system_disk bool
    created_at str
    The time the backup was created.
    description str
    Backup description.
    encrypted bool
    Specifies whether the backup is encrypted.
    expired_at str
    The time the backup will be expired.
    id str
    image_type str
    incremental bool
    Specifies whether the backup is an incremental backup.
    name str
    parent_id str
    project_id str
    The project ID of backup.
    provider_id str
    Backup provider ID which is used to distinguish backup objects.
    resource_az str
    resource_id str
    resource_name str
    resource_size float
    Backup size in GB.
    resource_type str
    snapshot_id str
    The snapshot ID of the disk backup.
    status str
    support_lld bool
    Specifies whether to allow lazyloading for fast restoration.
    supported_restore_mode str
    Restoration mode of the backup.
    system_disk bool
    Specifies whether a disk is a system disk.
    updated_at str
    Indicates the update time.
    vault_id str
    autoTrigger Boolean
    Specifies whether the backup is automatically generated.
    bootable Boolean
    Specifies whether the backup is a system disk backup.
    checkpointId String
    containSystemDisk Boolean
    createdAt String
    The time the backup was created.
    description String
    Backup description.
    encrypted Boolean
    Specifies whether the backup is encrypted.
    expiredAt String
    The time the backup will be expired.
    id String
    imageType String
    incremental Boolean
    Specifies whether the backup is an incremental backup.
    name String
    parentId String
    projectId String
    The project ID of backup.
    providerId String
    Backup provider ID which is used to distinguish backup objects.
    resourceAz String
    resourceId String
    resourceName String
    resourceSize Number
    Backup size in GB.
    resourceType String
    snapshotId String
    The snapshot ID of the disk backup.
    status String
    supportLld Boolean
    Specifies whether to allow lazyloading for fast restoration.
    supportedRestoreMode String
    Restoration mode of the backup.
    systemDisk Boolean
    Specifies whether a disk is a system disk.
    updatedAt String
    Indicates the update time.
    vaultId String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud