1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getCbrBackupIdsV3
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getCbrBackupIdsV3

Explore with Pulumi AI

opentelekomcloud 1.36.35 published on Monday, Apr 14, 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 checkpointId = config.requireObject("checkpointId");
const cbrBackups = opentelekomcloud.getCbrBackupIdsV3({
    checkpointId: checkpointId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
checkpoint_id = config.require_object("checkpointId")
cbr_backups = opentelekomcloud.get_cbr_backup_ids_v3(checkpoint_id=checkpoint_id)
Copy
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, "")
		checkpointId := cfg.RequireObject("checkpointId")
		_, err := opentelekomcloud.GetCbrBackupIdsV3(ctx, &opentelekomcloud.GetCbrBackupIdsV3Args{
			CheckpointId: pulumi.StringRef(checkpointId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var checkpointId = config.RequireObject<dynamic>("checkpointId");
    var cbrBackups = Opentelekomcloud.GetCbrBackupIdsV3.Invoke(new()
    {
        CheckpointId = checkpointId,
    });

});
Copy
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.GetCbrBackupIdsV3Args;
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 checkpointId = config.get("checkpointId");
        final var cbrBackups = OpentelekomcloudFunctions.getCbrBackupIdsV3(GetCbrBackupIdsV3Args.builder()
            .checkpointId(checkpointId)
            .build());

    }
}
Copy
configuration:
  checkpointId:
    type: dynamic
variables:
  cbrBackups:
    fn::invoke:
      function: opentelekomcloud:getCbrBackupIdsV3
      arguments:
        checkpointId: ${checkpointId}
Copy

Using getCbrBackupIdsV3

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 getCbrBackupIdsV3(args: GetCbrBackupIdsV3Args, opts?: InvokeOptions): Promise<GetCbrBackupIdsV3Result>
function getCbrBackupIdsV3Output(args: GetCbrBackupIdsV3OutputArgs, opts?: InvokeOptions): Output<GetCbrBackupIdsV3Result>
Copy
def get_cbr_backup_ids_v3(checkpoint_id: Optional[str] = None,
                          id: Optional[str] = None,
                          image_type: Optional[str] = None,
                          name: Optional[str] = None,
                          parent_id: Optional[str] = None,
                          resource_az: Optional[str] = None,
                          resource_id: Optional[str] = None,
                          resource_name: Optional[str] = None,
                          resource_type: Optional[str] = None,
                          status: Optional[str] = None,
                          vault_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCbrBackupIdsV3Result
def get_cbr_backup_ids_v3_output(checkpoint_id: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          image_type: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          parent_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_type: Optional[pulumi.Input[str]] = None,
                          status: Optional[pulumi.Input[str]] = None,
                          vault_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCbrBackupIdsV3Result]
Copy
func GetCbrBackupIdsV3(ctx *Context, args *GetCbrBackupIdsV3Args, opts ...InvokeOption) (*GetCbrBackupIdsV3Result, error)
func GetCbrBackupIdsV3Output(ctx *Context, args *GetCbrBackupIdsV3OutputArgs, opts ...InvokeOption) GetCbrBackupIdsV3ResultOutput
Copy

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

public static class GetCbrBackupIdsV3 
{
    public static Task<GetCbrBackupIdsV3Result> InvokeAsync(GetCbrBackupIdsV3Args args, InvokeOptions? opts = null)
    public static Output<GetCbrBackupIdsV3Result> Invoke(GetCbrBackupIdsV3InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCbrBackupIdsV3Result> getCbrBackupIdsV3(GetCbrBackupIdsV3Args args, InvokeOptions options)
public static Output<GetCbrBackupIdsV3Result> getCbrBackupIdsV3(GetCbrBackupIdsV3Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getCbrBackupIdsV3:getCbrBackupIdsV3
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CheckpointId string
Id string
Specifies the ID of backup.
ImageType string
Specifies the backup type.
Name string
Specifies the backup name
ParentId string
Specifies the ID of parent backup.
ResourceAz string
Specifies the AZ of backup.
ResourceId string
Specifies the backup object ID.
ResourceName string
Specifies the backup resource name.
ResourceType string
Specifies the type of backup objects.
Status string
Specifies the backup status.
VaultId string
Specifies the ID of backup vault.
CheckpointId string
Id string
Specifies the ID of backup.
ImageType string
Specifies the backup type.
Name string
Specifies the backup name
ParentId string
Specifies the ID of parent backup.
ResourceAz string
Specifies the AZ of backup.
ResourceId string
Specifies the backup object ID.
ResourceName string
Specifies the backup resource name.
ResourceType string
Specifies the type of backup objects.
Status string
Specifies the backup status.
VaultId string
Specifies the ID of backup vault.
checkpointId String
id String
Specifies the ID of backup.
imageType String
Specifies the backup type.
name String
Specifies the backup name
parentId String
Specifies the ID of parent backup.
resourceAz String
Specifies the AZ of backup.
resourceId String
Specifies the backup object ID.
resourceName String
Specifies the backup resource name.
resourceType String
Specifies the type of backup objects.
status String
Specifies the backup status.
vaultId String
Specifies the ID of backup vault.
checkpointId string
id string
Specifies the ID of backup.
imageType string
Specifies the backup type.
name string
Specifies the backup name
parentId string
Specifies the ID of parent backup.
resourceAz string
Specifies the AZ of backup.
resourceId string
Specifies the backup object ID.
resourceName string
Specifies the backup resource name.
resourceType string
Specifies the type of backup objects.
status string
Specifies the backup status.
vaultId string
Specifies the ID of backup vault.
checkpoint_id str
id str
Specifies the ID of backup.
image_type str
Specifies the backup type.
name str
Specifies the backup name
parent_id str
Specifies the ID of parent backup.
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_type str
Specifies the type of backup objects.
status str
Specifies the backup status.
vault_id str
Specifies the ID of backup vault.
checkpointId String
id String
Specifies the ID of backup.
imageType String
Specifies the backup type.
name String
Specifies the backup name
parentId String
Specifies the ID of parent backup.
resourceAz String
Specifies the AZ of backup.
resourceId String
Specifies the backup object ID.
resourceName String
Specifies the backup resource name.
resourceType String
Specifies the type of backup objects.
status String
Specifies the backup status.
vaultId String
Specifies the ID of backup vault.

getCbrBackupIdsV3 Result

The following output properties are available:

CheckpointId string
Id string
Ids List<string>
A list of all the backup ids found. This data source will fail if none are found.
ImageType string
Name string
ParentId string
ResourceAz string
ResourceId string
ResourceName string
ResourceType string
Status string
VaultId string
CheckpointId string
Id string
Ids []string
A list of all the backup ids found. This data source will fail if none are found.
ImageType string
Name string
ParentId string
ResourceAz string
ResourceId string
ResourceName string
ResourceType string
Status string
VaultId string
checkpointId String
id String
ids List<String>
A list of all the backup ids found. This data source will fail if none are found.
imageType String
name String
parentId String
resourceAz String
resourceId String
resourceName String
resourceType String
status String
vaultId String
checkpointId string
id string
ids string[]
A list of all the backup ids found. This data source will fail if none are found.
imageType string
name string
parentId string
resourceAz string
resourceId string
resourceName string
resourceType string
status string
vaultId string
checkpoint_id str
id str
ids Sequence[str]
A list of all the backup ids found. This data source will fail if none are found.
image_type str
name str
parent_id str
resource_az str
resource_id str
resource_name str
resource_type str
status str
vault_id str
checkpointId String
id String
ids List<String>
A list of all the backup ids found. This data source will fail if none are found.
imageType String
name String
parentId String
resourceAz String
resourceId String
resourceName String
resourceType String
status String
vaultId String

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud