opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud
opentelekomcloud.getCsbsBackupV1
Explore with Pulumi AI
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud
Up-to-date reference of API arguments for CSBS backup 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 backupName = config.requireObject("backupName");
const csbs = opentelekomcloud.getCsbsBackupV1({
backupName: backupName,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
backup_name = config.require_object("backupName")
csbs = opentelekomcloud.get_csbs_backup_v1(backup_name=backup_name)
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, "")
backupName := cfg.RequireObject("backupName")
_, err := opentelekomcloud.LookupCsbsBackupV1(ctx, &opentelekomcloud.LookupCsbsBackupV1Args{
BackupName: pulumi.StringRef(backupName),
}, 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 backupName = config.RequireObject<dynamic>("backupName");
var csbs = Opentelekomcloud.GetCsbsBackupV1.Invoke(new()
{
BackupName = backupName,
});
});
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.GetCsbsBackupV1Args;
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 backupName = config.get("backupName");
final var csbs = OpentelekomcloudFunctions.getCsbsBackupV1(GetCsbsBackupV1Args.builder()
.backupName(backupName)
.build());
}
}
configuration:
backupName:
type: dynamic
variables:
csbs:
fn::invoke:
function: opentelekomcloud:getCsbsBackupV1
arguments:
backupName: ${backupName}
Using getCsbsBackupV1
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 getCsbsBackupV1(args: GetCsbsBackupV1Args, opts?: InvokeOptions): Promise<GetCsbsBackupV1Result>
function getCsbsBackupV1Output(args: GetCsbsBackupV1OutputArgs, opts?: InvokeOptions): Output<GetCsbsBackupV1Result>
def get_csbs_backup_v1(backup_name: Optional[str] = None,
backup_record_id: Optional[str] = None,
id: Optional[str] = None,
policy_id: Optional[str] = None,
region: Optional[str] = None,
resource_id: Optional[str] = None,
resource_name: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[GetCsbsBackupV1Tag]] = None,
vm_ip: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCsbsBackupV1Result
def get_csbs_backup_v1_output(backup_name: Optional[pulumi.Input[str]] = None,
backup_record_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
policy_id: Optional[pulumi.Input[str]] = None,
region: 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,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetCsbsBackupV1TagArgs]]]] = None,
vm_ip: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCsbsBackupV1Result]
func LookupCsbsBackupV1(ctx *Context, args *LookupCsbsBackupV1Args, opts ...InvokeOption) (*LookupCsbsBackupV1Result, error)
func LookupCsbsBackupV1Output(ctx *Context, args *LookupCsbsBackupV1OutputArgs, opts ...InvokeOption) LookupCsbsBackupV1ResultOutput
> Note: This function is named LookupCsbsBackupV1
in the Go SDK.
public static class GetCsbsBackupV1
{
public static Task<GetCsbsBackupV1Result> InvokeAsync(GetCsbsBackupV1Args args, InvokeOptions? opts = null)
public static Output<GetCsbsBackupV1Result> Invoke(GetCsbsBackupV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCsbsBackupV1Result> getCsbsBackupV1(GetCsbsBackupV1Args args, InvokeOptions options)
public static Output<GetCsbsBackupV1Result> getCsbsBackupV1(GetCsbsBackupV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCsbsBackupV1:getCsbsBackupV1
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Name string - Specifies the backup name.
- Backup
Record stringId - Specifies the backup record ID.
- Id string
- Specifies the ID of backup.
- Policy
Id string - Specifies the Policy Id.
- Region string
- Resource
Id string - Specifies the backup object ID.
- Resource
Name string - Specifies the backup object name.
- Resource
Type string - Specifies the type of backup objects.
- Status string
- Specifies the backup status.
- List<Get
Csbs Backup V1Tag> - Vm
Ip string - Specifies the ip of VM.
- Backup
Name string - Specifies the backup name.
- Backup
Record stringId - Specifies the backup record ID.
- Id string
- Specifies the ID of backup.
- Policy
Id string - Specifies the Policy Id.
- Region string
- Resource
Id string - Specifies the backup object ID.
- Resource
Name string - Specifies the backup object name.
- Resource
Type string - Specifies the type of backup objects.
- Status string
- Specifies the backup status.
- []Get
Csbs Backup V1Tag - Vm
Ip string - Specifies the ip of VM.
- backup
Name String - Specifies the backup name.
- backup
Record StringId - Specifies the backup record ID.
- id String
- Specifies the ID of backup.
- policy
Id String - Specifies the Policy Id.
- region String
- resource
Id String - Specifies the backup object ID.
- resource
Name String - Specifies the backup object name.
- resource
Type String - Specifies the type of backup objects.
- status String
- Specifies the backup status.
- List<Get
Csbs Backup V1Tag> - vm
Ip String - Specifies the ip of VM.
- backup
Name string - Specifies the backup name.
- backup
Record stringId - Specifies the backup record ID.
- id string
- Specifies the ID of backup.
- policy
Id string - Specifies the Policy Id.
- region string
- resource
Id string - Specifies the backup object ID.
- resource
Name string - Specifies the backup object name.
- resource
Type string - Specifies the type of backup objects.
- status string
- Specifies the backup status.
- Get
Csbs Backup V1Tag[] - vm
Ip string - Specifies the ip of VM.
- backup_
name str - Specifies the backup name.
- backup_
record_ strid - Specifies the backup record ID.
- id str
- Specifies the ID of backup.
- policy_
id str - Specifies the Policy Id.
- region str
- resource_
id str - Specifies the backup object ID.
- resource_
name str - Specifies the backup object name.
- resource_
type str - Specifies the type of backup objects.
- status str
- Specifies the backup status.
- Sequence[Get
Csbs Backup V1Tag] - vm_
ip str - Specifies the ip of VM.
- backup
Name String - Specifies the backup name.
- backup
Record StringId - Specifies the backup record ID.
- id String
- Specifies the ID of backup.
- policy
Id String - Specifies the Policy Id.
- region String
- resource
Id String - Specifies the backup object ID.
- resource
Name String - Specifies the backup object name.
- resource
Type String - Specifies the type of backup objects.
- status String
- Specifies the backup status.
- List<Property Map>
- vm
Ip String - Specifies the ip of VM.
getCsbsBackupV1 Result
The following output properties are available:
- Auto
Trigger bool - Specifies whether automatic trigger is enabled.
- Average
Speed double - Specifies the average speed.
- Backup
Name string - Backup
Record stringId - Description string
- Provides the backup description.
- Region string
- Resource
Id string - Resource
Name string - Resource
Type string - Size double
- Specifies accumulated size (MB) of backups.
- Status string
- Status of backup Volume.
- Vm
Metadatas List<GetCsbs Backup V1Vm Metadata> - Volume
Backups List<GetCsbs Backup V1Volume Backup> - Id string
- Specifies Cinder backup ID.
- Policy
Id string - List<Get
Csbs Backup V1Tag> - Vm
Ip string
- Auto
Trigger bool - Specifies whether automatic trigger is enabled.
- Average
Speed float64 - Specifies the average speed.
- Backup
Name string - Backup
Record stringId - Description string
- Provides the backup description.
- Region string
- Resource
Id string - Resource
Name string - Resource
Type string - Size float64
- Specifies accumulated size (MB) of backups.
- Status string
- Status of backup Volume.
- Vm
Metadatas []GetCsbs Backup V1Vm Metadata - Volume
Backups []GetCsbs Backup V1Volume Backup - Id string
- Specifies Cinder backup ID.
- Policy
Id string - []Get
Csbs Backup V1Tag - Vm
Ip string
- auto
Trigger Boolean - Specifies whether automatic trigger is enabled.
- average
Speed Double - Specifies the average speed.
- backup
Name String - backup
Record StringId - description String
- Provides the backup description.
- region String
- resource
Id String - resource
Name String - resource
Type String - size Double
- Specifies accumulated size (MB) of backups.
- status String
- Status of backup Volume.
- vm
Metadatas List<GetCsbs Backup V1Vm Metadata> - volume
Backups List<GetCsbs Backup V1Volume Backup> - id String
- Specifies Cinder backup ID.
- policy
Id String - List<Get
Csbs Backup V1Tag> - vm
Ip String
- auto
Trigger boolean - Specifies whether automatic trigger is enabled.
- average
Speed number - Specifies the average speed.
- backup
Name string - backup
Record stringId - description string
- Provides the backup description.
- region string
- resource
Id string - resource
Name string - resource
Type string - size number
- Specifies accumulated size (MB) of backups.
- status string
- Status of backup Volume.
- vm
Metadatas GetCsbs Backup V1Vm Metadata[] - volume
Backups GetCsbs Backup V1Volume Backup[] - id string
- Specifies Cinder backup ID.
- policy
Id string - Get
Csbs Backup V1Tag[] - vm
Ip string
- auto_
trigger bool - Specifies whether automatic trigger is enabled.
- average_
speed float - Specifies the average speed.
- backup_
name str - backup_
record_ strid - description str
- Provides the backup description.
- region str
- resource_
id str - resource_
name str - resource_
type str - size float
- Specifies accumulated size (MB) of backups.
- status str
- Status of backup Volume.
- vm_
metadatas Sequence[GetCsbs Backup V1Vm Metadata] - volume_
backups Sequence[GetCsbs Backup V1Volume Backup] - id str
- Specifies Cinder backup ID.
- policy_
id str - Sequence[Get
Csbs Backup V1Tag] - vm_
ip str
- auto
Trigger Boolean - Specifies whether automatic trigger is enabled.
- average
Speed Number - Specifies the average speed.
- backup
Name String - backup
Record StringId - description String
- Provides the backup description.
- region String
- resource
Id String - resource
Name String - resource
Type String - size Number
- Specifies accumulated size (MB) of backups.
- status String
- Status of backup Volume.
- vm
Metadatas List<Property Map> - volume
Backups List<Property Map> - id String
- Specifies Cinder backup ID.
- policy
Id String - List<Property Map>
- vm
Ip String
Supporting Types
GetCsbsBackupV1Tag
GetCsbsBackupV1VmMetadata
- Cloud
Service Type This property is required. string - Specifies ECS type.
- Disk
This property is required. double - Shows system disk size corresponding to the ECS specifications.
- Eip
This property is required. string - Specifies elastic IP address of the ECS.
- Image
Type This property is required. string - Specifies image type.
- Name
This property is required. string - Name of backup data.
- Private
Ip This property is required. string - It specifies internal IP address of the ECS.
- Ram
This property is required. double - Specifies memory size of the ECS, in MB.
- Vcpus
This property is required. double - Specifies CPU cores corresponding to the ECS.
- Cloud
Service Type This property is required. string - Specifies ECS type.
- Disk
This property is required. float64 - Shows system disk size corresponding to the ECS specifications.
- Eip
This property is required. string - Specifies elastic IP address of the ECS.
- Image
Type This property is required. string - Specifies image type.
- Name
This property is required. string - Name of backup data.
- Private
Ip This property is required. string - It specifies internal IP address of the ECS.
- Ram
This property is required. float64 - Specifies memory size of the ECS, in MB.
- Vcpus
This property is required. float64 - Specifies CPU cores corresponding to the ECS.
- cloud
Service Type This property is required. String - Specifies ECS type.
- disk
This property is required. Double - Shows system disk size corresponding to the ECS specifications.
- eip
This property is required. String - Specifies elastic IP address of the ECS.
- image
Type This property is required. String - Specifies image type.
- name
This property is required. String - Name of backup data.
- private
Ip This property is required. String - It specifies internal IP address of the ECS.
- ram
This property is required. Double - Specifies memory size of the ECS, in MB.
- vcpus
This property is required. Double - Specifies CPU cores corresponding to the ECS.
- cloud
Service Type This property is required. string - Specifies ECS type.
- disk
This property is required. number - Shows system disk size corresponding to the ECS specifications.
- eip
This property is required. string - Specifies elastic IP address of the ECS.
- image
Type This property is required. string - Specifies image type.
- name
This property is required. string - Name of backup data.
- private
Ip This property is required. string - It specifies internal IP address of the ECS.
- ram
This property is required. number - Specifies memory size of the ECS, in MB.
- vcpus
This property is required. number - Specifies CPU cores corresponding to the ECS.
- cloud_
service_ type This property is required. str - Specifies ECS type.
- disk
This property is required. float - Shows system disk size corresponding to the ECS specifications.
- eip
This property is required. str - Specifies elastic IP address of the ECS.
- image_
type This property is required. str - Specifies image type.
- name
This property is required. str - Name of backup data.
- private_
ip This property is required. str - It specifies internal IP address of the ECS.
- ram
This property is required. float - Specifies memory size of the ECS, in MB.
- vcpus
This property is required. float - Specifies CPU cores corresponding to the ECS.
- cloud
Service Type This property is required. String - Specifies ECS type.
- disk
This property is required. Number - Shows system disk size corresponding to the ECS specifications.
- eip
This property is required. String - Specifies elastic IP address of the ECS.
- image
Type This property is required. String - Specifies image type.
- name
This property is required. String - Name of backup data.
- private
Ip This property is required. String - It specifies internal IP address of the ECS.
- ram
This property is required. Number - Specifies memory size of the ECS, in MB.
- vcpus
This property is required. Number - Specifies CPU cores corresponding to the ECS.
GetCsbsBackupV1VolumeBackup
- Average
Speed This property is required. double - Specifies the average speed.
- Bootable
This property is required. bool - Specifies whether the disk is bootable.
- Id
This property is required. string - Specifies the ID of backup.
- Image
Type This property is required. string - Specifies image type.
- Incremental
This property is required. bool - Shows whether incremental backup is used.
- Name
This property is required. string - Name of backup data.
- Size
This property is required. double - Specifies accumulated size (MB) of backups.
- Snapshot
Id This property is required. string - ID of snapshot.
- Source
Volume Id This property is required. string - It specifies source volume ID.
- Source
Volume Name This property is required. string - Specifies source volume name.
- Source
Volume Size This property is required. double - Shows source volume size in GB.
- Space
Saving Ratio This property is required. double - Specifies space saving rate.
- Status
This property is required. string - Specifies the backup status.
- Average
Speed This property is required. float64 - Specifies the average speed.
- Bootable
This property is required. bool - Specifies whether the disk is bootable.
- Id
This property is required. string - Specifies the ID of backup.
- Image
Type This property is required. string - Specifies image type.
- Incremental
This property is required. bool - Shows whether incremental backup is used.
- Name
This property is required. string - Name of backup data.
- Size
This property is required. float64 - Specifies accumulated size (MB) of backups.
- Snapshot
Id This property is required. string - ID of snapshot.
- Source
Volume Id This property is required. string - It specifies source volume ID.
- Source
Volume Name This property is required. string - Specifies source volume name.
- Source
Volume Size This property is required. float64 - Shows source volume size in GB.
- Space
Saving Ratio This property is required. float64 - Specifies space saving rate.
- Status
This property is required. string - Specifies the backup status.
- average
Speed This property is required. Double - Specifies the average speed.
- bootable
This property is required. Boolean - Specifies whether the disk is bootable.
- id
This property is required. String - Specifies the ID of backup.
- image
Type This property is required. String - Specifies image type.
- incremental
This property is required. Boolean - Shows whether incremental backup is used.
- name
This property is required. String - Name of backup data.
- size
This property is required. Double - Specifies accumulated size (MB) of backups.
- snapshot
Id This property is required. String - ID of snapshot.
- source
Volume Id This property is required. String - It specifies source volume ID.
- source
Volume Name This property is required. String - Specifies source volume name.
- source
Volume Size This property is required. Double - Shows source volume size in GB.
- space
Saving Ratio This property is required. Double - Specifies space saving rate.
- status
This property is required. String - Specifies the backup status.
- average
Speed This property is required. number - Specifies the average speed.
- bootable
This property is required. boolean - Specifies whether the disk is bootable.
- id
This property is required. string - Specifies the ID of backup.
- image
Type This property is required. string - Specifies image type.
- incremental
This property is required. boolean - Shows whether incremental backup is used.
- name
This property is required. string - Name of backup data.
- size
This property is required. number - Specifies accumulated size (MB) of backups.
- snapshot
Id This property is required. string - ID of snapshot.
- source
Volume Id This property is required. string - It specifies source volume ID.
- source
Volume Name This property is required. string - Specifies source volume name.
- source
Volume Size This property is required. number - Shows source volume size in GB.
- space
Saving Ratio This property is required. number - Specifies space saving rate.
- status
This property is required. string - Specifies the backup status.
- average_
speed This property is required. float - Specifies the average speed.
- bootable
This property is required. bool - Specifies whether the disk is bootable.
- id
This property is required. str - Specifies the ID of backup.
- image_
type This property is required. str - Specifies image type.
- incremental
This property is required. bool - Shows whether incremental backup is used.
- name
This property is required. str - Name of backup data.
- size
This property is required. float - Specifies accumulated size (MB) of backups.
- snapshot_
id This property is required. str - ID of snapshot.
- source_
volume_ id This property is required. str - It specifies source volume ID.
- source_
volume_ name This property is required. str - Specifies source volume name.
- source_
volume_ size This property is required. float - Shows source volume size in GB.
- space_
saving_ ratio This property is required. float - Specifies space saving rate.
- status
This property is required. str - Specifies the backup status.
- average
Speed This property is required. Number - Specifies the average speed.
- bootable
This property is required. Boolean - Specifies whether the disk is bootable.
- id
This property is required. String - Specifies the ID of backup.
- image
Type This property is required. String - Specifies image type.
- incremental
This property is required. Boolean - Shows whether incremental backup is used.
- name
This property is required. String - Name of backup data.
- size
This property is required. Number - Specifies accumulated size (MB) of backups.
- snapshot
Id This property is required. String - ID of snapshot.
- source
Volume Id This property is required. String - It specifies source volume ID.
- source
Volume Name This property is required. String - Specifies source volume name.
- source
Volume Size This property is required. Number - Shows source volume size in GB.
- space
Saving Ratio This property is required. Number - Specifies space saving rate.
- status
This property is required. String - Specifies the backup status.
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