opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getVbsBackupV2
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Up-to-date reference of API arguments for VBS backup you can get at documentation portal
Use this data source to get details about a specific VBS Backup.
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 mybackup = opentelekomcloud.getVbsBackupV2({
id: backupId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
backup_id = config.require_object("backupId")
mybackup = opentelekomcloud.get_vbs_backup_v2(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.LookupVbsBackupV2(ctx, &opentelekomcloud.LookupVbsBackupV2Args{
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 mybackup = Opentelekomcloud.GetVbsBackupV2.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.GetVbsBackupV2Args;
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 mybackup = OpentelekomcloudFunctions.getVbsBackupV2(GetVbsBackupV2Args.builder()
.id(backupId)
.build());
}
}
configuration:
backupId:
type: dynamic
variables:
mybackup:
fn::invoke:
function: opentelekomcloud:getVbsBackupV2
arguments:
id: ${backupId}
Using getVbsBackupV2
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 getVbsBackupV2(args: GetVbsBackupV2Args, opts?: InvokeOptions): Promise<GetVbsBackupV2Result>
function getVbsBackupV2Output(args: GetVbsBackupV2OutputArgs, opts?: InvokeOptions): Output<GetVbsBackupV2Result>
def get_vbs_backup_v2(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
snapshot_id: Optional[str] = None,
status: Optional[str] = None,
volume_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVbsBackupV2Result
def get_vbs_backup_v2_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
snapshot_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
volume_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVbsBackupV2Result]
func LookupVbsBackupV2(ctx *Context, args *LookupVbsBackupV2Args, opts ...InvokeOption) (*LookupVbsBackupV2Result, error)
func LookupVbsBackupV2Output(ctx *Context, args *LookupVbsBackupV2OutputArgs, opts ...InvokeOption) LookupVbsBackupV2ResultOutput
> Note: This function is named LookupVbsBackupV2
in the Go SDK.
public static class GetVbsBackupV2
{
public static Task<GetVbsBackupV2Result> InvokeAsync(GetVbsBackupV2Args args, InvokeOptions? opts = null)
public static Output<GetVbsBackupV2Result> Invoke(GetVbsBackupV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVbsBackupV2Result> getVbsBackupV2(GetVbsBackupV2Args args, InvokeOptions options)
public static Output<GetVbsBackupV2Result> getVbsBackupV2(GetVbsBackupV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getVbsBackupV2:getVbsBackupV2
arguments:
# arguments dictionary
The following arguments are supported:
getVbsBackupV2 Result
The following output properties are available:
- Availability
Zone string - The AZ where the backup resides.
- Container string
- The container of the backup.
- Description string
- The description of the vbs backup.
- Region string
- Service
Metadata string - The metadata of the vbs backup.
- List<string>
- The backup share IDs.
- Size double
- The size of the vbs backup.
- To
Project List<string>Ids - IDs of projects with which the backup is shared.
- Id string
- Name string
- Snapshot
Id string - Status string
- Volume
Id string
- Availability
Zone string - The AZ where the backup resides.
- Container string
- The container of the backup.
- Description string
- The description of the vbs backup.
- Region string
- Service
Metadata string - The metadata of the vbs backup.
- []string
- The backup share IDs.
- Size float64
- The size of the vbs backup.
- To
Project []stringIds - IDs of projects with which the backup is shared.
- Id string
- Name string
- Snapshot
Id string - Status string
- Volume
Id string
- availability
Zone String - The AZ where the backup resides.
- container String
- The container of the backup.
- description String
- The description of the vbs backup.
- region String
- service
Metadata String - The metadata of the vbs backup.
- List<String>
- The backup share IDs.
- size Double
- The size of the vbs backup.
- to
Project List<String>Ids - IDs of projects with which the backup is shared.
- id String
- name String
- snapshot
Id String - status String
- volume
Id String
- availability
Zone string - The AZ where the backup resides.
- container string
- The container of the backup.
- description string
- The description of the vbs backup.
- region string
- service
Metadata string - The metadata of the vbs backup.
- string[]
- The backup share IDs.
- size number
- The size of the vbs backup.
- to
Project string[]Ids - IDs of projects with which the backup is shared.
- id string
- name string
- snapshot
Id string - status string
- volume
Id string
- availability_
zone str - The AZ where the backup resides.
- container str
- The container of the backup.
- description str
- The description of the vbs backup.
- region str
- service_
metadata str - The metadata of the vbs backup.
- Sequence[str]
- The backup share IDs.
- size float
- The size of the vbs backup.
- to_
project_ Sequence[str]ids - IDs of projects with which the backup is shared.
- id str
- name str
- snapshot_
id str - status str
- volume_
id str
- availability
Zone String - The AZ where the backup resides.
- container String
- The container of the backup.
- description String
- The description of the vbs backup.
- region String
- service
Metadata String - The metadata of the vbs backup.
- List<String>
- The backup share IDs.
- size Number
- The size of the vbs backup.
- to
Project List<String>Ids - IDs of projects with which the backup is shared.
- id String
- name String
- snapshot
Id String - status String
- volume
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