opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getCbrBackupIdsV3
Explore with Pulumi AI
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 checkpointId = config.requireObject("checkpointId");
const cbrBackups = opentelekomcloud.getCbrBackupIdsV3({
checkpointId: checkpointId,
});
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)
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
})
}
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,
});
});
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());
}
}
configuration:
checkpointId:
type: dynamic
variables:
cbrBackups:
fn::invoke:
function: opentelekomcloud:getCbrBackupIdsV3
arguments:
checkpointId: ${checkpointId}
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>
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]
func GetCbrBackupIdsV3(ctx *Context, args *GetCbrBackupIdsV3Args, opts ...InvokeOption) (*GetCbrBackupIdsV3Result, error)
func GetCbrBackupIdsV3Output(ctx *Context, args *GetCbrBackupIdsV3OutputArgs, opts ...InvokeOption) GetCbrBackupIdsV3ResultOutput
> 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)
}
public static CompletableFuture<GetCbrBackupIdsV3Result> getCbrBackupIdsV3(GetCbrBackupIdsV3Args args, InvokeOptions options)
public static Output<GetCbrBackupIdsV3Result> getCbrBackupIdsV3(GetCbrBackupIdsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCbrBackupIdsV3:getCbrBackupIdsV3
arguments:
# arguments dictionary
The following arguments are supported:
- Checkpoint
Id string - Id string
- Specifies the ID of backup.
- Image
Type string - Specifies the backup type.
- Name string
- Specifies the backup name
- Parent
Id string - Specifies the ID of parent backup.
- Resource
Az string - Specifies the AZ of backup.
- Resource
Id string - Specifies the backup object ID.
- Resource
Name string - Specifies the backup resource name.
- Resource
Type string - Specifies the type of backup objects.
- Status string
- Specifies the backup status.
- Vault
Id string - Specifies the ID of backup vault.
- Checkpoint
Id string - Id string
- Specifies the ID of backup.
- Image
Type string - Specifies the backup type.
- Name string
- Specifies the backup name
- Parent
Id string - Specifies the ID of parent backup.
- Resource
Az string - Specifies the AZ of backup.
- Resource
Id string - Specifies the backup object ID.
- Resource
Name string - Specifies the backup resource name.
- Resource
Type string - Specifies the type of backup objects.
- Status string
- Specifies the backup status.
- Vault
Id string - Specifies the ID of backup vault.
- checkpoint
Id String - id String
- Specifies the ID of backup.
- image
Type String - Specifies the backup type.
- name String
- Specifies the backup name
- parent
Id String - Specifies the ID of parent backup.
- resource
Az String - Specifies the AZ of backup.
- resource
Id String - Specifies the backup object ID.
- resource
Name String - Specifies the backup resource name.
- resource
Type String - Specifies the type of backup objects.
- status String
- Specifies the backup status.
- vault
Id String - Specifies the ID of backup vault.
- checkpoint
Id string - id string
- Specifies the ID of backup.
- image
Type string - Specifies the backup type.
- name string
- Specifies the backup name
- parent
Id string - Specifies the ID of parent backup.
- resource
Az string - Specifies the AZ of backup.
- resource
Id string - Specifies the backup object ID.
- resource
Name string - Specifies the backup resource name.
- resource
Type string - Specifies the type of backup objects.
- status string
- Specifies the backup status.
- vault
Id 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.
- checkpoint
Id String - id String
- Specifies the ID of backup.
- image
Type String - Specifies the backup type.
- name String
- Specifies the backup name
- parent
Id String - Specifies the ID of parent backup.
- resource
Az String - Specifies the AZ of backup.
- resource
Id String - Specifies the backup object ID.
- resource
Name String - Specifies the backup resource name.
- resource
Type String - Specifies the type of backup objects.
- status String
- Specifies the backup status.
- vault
Id String - Specifies the ID of backup vault.
getCbrBackupIdsV3 Result
The following output properties are available:
- Checkpoint
Id string - Id string
- Ids List<string>
- A list of all the backup ids found. This data source will fail if none are found.
- Image
Type string - Name string
- Parent
Id string - Resource
Az string - Resource
Id string - Resource
Name string - Resource
Type string - Status string
- Vault
Id string
- Checkpoint
Id string - Id string
- Ids []string
- A list of all the backup ids found. This data source will fail if none are found.
- Image
Type string - Name string
- Parent
Id string - Resource
Az string - Resource
Id string - Resource
Name string - Resource
Type string - Status string
- Vault
Id string
- checkpoint
Id String - id String
- ids List<String>
- A list of all the backup ids found. This data source will fail if none are found.
- image
Type String - name String
- parent
Id String - resource
Az String - resource
Id String - resource
Name String - resource
Type String - status String
- vault
Id String
- checkpoint
Id string - id string
- ids string[]
- A list of all the backup ids found. This data source will fail if none are found.
- image
Type string - name string
- parent
Id string - resource
Az string - resource
Id string - resource
Name string - resource
Type string - status string
- vault
Id 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
- checkpoint
Id String - id String
- ids List<String>
- A list of all the backup ids found. This data source will fail if none are found.
- image
Type String - name String
- parent
Id String - resource
Az String - resource
Id String - resource
Name String - resource
Type String - status String
- vault
Id String
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud