OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud
ovh.VMware.getCloudDirectorBackup
Explore with Pulumi AI
Get information about a VMware Cloud Director Backup service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const backup = ovh.VMware.getCloudDirectorBackup({
backupId: "<VCD backup ID>",
});
import pulumi
import pulumi_ovh as ovh
backup = ovh.VMware.get_cloud_director_backup(backup_id="<VCD backup ID>")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/vmware"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vmware.GetCloudDirectorBackup(ctx, &vmware.GetCloudDirectorBackupArgs{
BackupId: "<VCD backup ID>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var backup = Ovh.VMware.GetCloudDirectorBackup.Invoke(new()
{
BackupId = "<VCD backup ID>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.VMware.VMwareFunctions;
import com.pulumi.ovh.VMware.inputs.GetCloudDirectorBackupArgs;
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 backup = VMwareFunctions.getCloudDirectorBackup(GetCloudDirectorBackupArgs.builder()
.backupId("<VCD backup ID>")
.build());
}
}
variables:
backup:
fn::invoke:
function: ovh:VMware:getCloudDirectorBackup
arguments:
backupId: <VCD backup ID>
Using getCloudDirectorBackup
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 getCloudDirectorBackup(args: GetCloudDirectorBackupArgs, opts?: InvokeOptions): Promise<GetCloudDirectorBackupResult>
function getCloudDirectorBackupOutput(args: GetCloudDirectorBackupOutputArgs, opts?: InvokeOptions): Output<GetCloudDirectorBackupResult>
def get_cloud_director_backup(backup_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudDirectorBackupResult
def get_cloud_director_backup_output(backup_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudDirectorBackupResult]
func GetCloudDirectorBackup(ctx *Context, args *GetCloudDirectorBackupArgs, opts ...InvokeOption) (*GetCloudDirectorBackupResult, error)
func GetCloudDirectorBackupOutput(ctx *Context, args *GetCloudDirectorBackupOutputArgs, opts ...InvokeOption) GetCloudDirectorBackupResultOutput
> Note: This function is named GetCloudDirectorBackup
in the Go SDK.
public static class GetCloudDirectorBackup
{
public static Task<GetCloudDirectorBackupResult> InvokeAsync(GetCloudDirectorBackupArgs args, InvokeOptions? opts = null)
public static Output<GetCloudDirectorBackupResult> Invoke(GetCloudDirectorBackupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudDirectorBackupResult> getCloudDirectorBackup(GetCloudDirectorBackupArgs args, InvokeOptions options)
public static Output<GetCloudDirectorBackupResult> getCloudDirectorBackup(GetCloudDirectorBackupArgs args, InvokeOptions options)
fn::invoke:
function: ovh:VMware/getCloudDirectorBackup:getCloudDirectorBackup
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Id string - Backup ID
- Backup
Id string - Backup ID
- backup
Id String - Backup ID
- backup
Id string - Backup ID
- backup_
id str - Backup ID
- backup
Id String - Backup ID
getCloudDirectorBackup Result
The following output properties are available:
- Backup
Id string - Backup ID
- Created
At string - Datetime when backup was enabled
- Current
State GetCloud Director Backup Current State - VMware Cloud Director Backup service current state
- Current
Tasks List<GetCloud Director Backup Current Task> - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- Iam
Get
Cloud Director Backup Iam - IAM resource metadata
- Id string
- Unique identifier of the VMware Cloud Director backup
- Resource
Status string - Reflects the readiness of the VMware Cloud Director organization backup service
- Target
Spec GetCloud Director Backup Target Spec - VMware Cloud Director Backup target spec
- Updated
At string - Datetime when backup is modified
- Backup
Id string - Backup ID
- Created
At string - Datetime when backup was enabled
- Current
State GetCloud Director Backup Current State - VMware Cloud Director Backup service current state
- Current
Tasks []GetCloud Director Backup Current Task - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- Iam
Get
Cloud Director Backup Iam - IAM resource metadata
- Id string
- Unique identifier of the VMware Cloud Director backup
- Resource
Status string - Reflects the readiness of the VMware Cloud Director organization backup service
- Target
Spec GetCloud Director Backup Target Spec - VMware Cloud Director Backup target spec
- Updated
At string - Datetime when backup is modified
- backup
Id String - Backup ID
- created
At String - Datetime when backup was enabled
- current
State GetCloud Director Backup Current State - VMware Cloud Director Backup service current state
- current
Tasks List<GetCloud Director Backup Current Task> - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- iam
Get
Cloud Director Backup Iam - IAM resource metadata
- id String
- Unique identifier of the VMware Cloud Director backup
- resource
Status String - Reflects the readiness of the VMware Cloud Director organization backup service
- target
Spec GetCloud Director Backup Target Spec - VMware Cloud Director Backup target spec
- updated
At String - Datetime when backup is modified
- backup
Id string - Backup ID
- created
At string - Datetime when backup was enabled
- current
State GetCloud Director Backup Current State - VMware Cloud Director Backup service current state
- current
Tasks GetCloud Director Backup Current Task[] - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- iam
Get
Cloud Director Backup Iam - IAM resource metadata
- id string
- Unique identifier of the VMware Cloud Director backup
- resource
Status string - Reflects the readiness of the VMware Cloud Director organization backup service
- target
Spec GetCloud Director Backup Target Spec - VMware Cloud Director Backup target spec
- updated
At string - Datetime when backup is modified
- backup_
id str - Backup ID
- created_
at str - Datetime when backup was enabled
- current_
state vmware.Get Cloud Director Backup Current State - VMware Cloud Director Backup service current state
- current_
tasks Sequence[vmware.Get Cloud Director Backup Current Task] - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- iam
vmware.
Get Cloud Director Backup Iam - IAM resource metadata
- id str
- Unique identifier of the VMware Cloud Director backup
- resource_
status str - Reflects the readiness of the VMware Cloud Director organization backup service
- target_
spec vmware.Get Cloud Director Backup Target Spec - VMware Cloud Director Backup target spec
- updated_
at str - Datetime when backup is modified
- backup
Id String - Backup ID
- created
At String - Datetime when backup was enabled
- current
State Property Map - VMware Cloud Director Backup service current state
- current
Tasks List<Property Map> - Asynchronous operations ongoing on the VMware Cloud Director organization backup service
- iam Property Map
- IAM resource metadata
- id String
- Unique identifier of the VMware Cloud Director backup
- resource
Status String - Reflects the readiness of the VMware Cloud Director organization backup service
- target
Spec Property Map - VMware Cloud Director Backup target spec
- updated
At String - Datetime when backup is modified
Supporting Types
GetCloudDirectorBackupCurrentState
- Az
Name string - Availability zone of VMware Cloud Director organization backup
- Offers
List<Get
Cloud Director Backup Current State Offer> - List of your VMware Cloud Director organization backup offers
- Az
Name string - Availability zone of VMware Cloud Director organization backup
- Offers
[]Get
Cloud Director Backup Current State Offer - List of your VMware Cloud Director organization backup offers
- az
Name String - Availability zone of VMware Cloud Director organization backup
- offers
List<Get
Cloud Director Backup Current State Offer> - List of your VMware Cloud Director organization backup offers
- az
Name string - Availability zone of VMware Cloud Director organization backup
- offers
Get
Cloud Director Backup Current State Offer[] - List of your VMware Cloud Director organization backup offers
- az_
name str - Availability zone of VMware Cloud Director organization backup
- offers
Sequence[vmware.
Get Cloud Director Backup Current State Offer] - List of your VMware Cloud Director organization backup offers
- az
Name String - Availability zone of VMware Cloud Director organization backup
- offers List<Property Map>
- List of your VMware Cloud Director organization backup offers
GetCloudDirectorBackupCurrentStateOffer
- Name string
- Backup service offer type (BRONZE|SILVER|GOLD)
- Protection
Primary stringRegion - Backup repository primary region
- Protection
Replicated stringRegion - Backup repository replicated region
- Quota
In doubleTb - Backup repository quota in TB
- Status string
- Backup offer status
- Used
Space doubleIn Gb - Backup repository used space in GB
- Name string
- Backup service offer type (BRONZE|SILVER|GOLD)
- Protection
Primary stringRegion - Backup repository primary region
- Protection
Replicated stringRegion - Backup repository replicated region
- Quota
In float64Tb - Backup repository quota in TB
- Status string
- Backup offer status
- Used
Space float64In Gb - Backup repository used space in GB
- name String
- Backup service offer type (BRONZE|SILVER|GOLD)
- protection
Primary StringRegion - Backup repository primary region
- protection
Replicated StringRegion - Backup repository replicated region
- quota
In DoubleTb - Backup repository quota in TB
- status String
- Backup offer status
- used
Space DoubleIn Gb - Backup repository used space in GB
- name string
- Backup service offer type (BRONZE|SILVER|GOLD)
- protection
Primary stringRegion - Backup repository primary region
- protection
Replicated stringRegion - Backup repository replicated region
- quota
In numberTb - Backup repository quota in TB
- status string
- Backup offer status
- used
Space numberIn Gb - Backup repository used space in GB
- name str
- Backup service offer type (BRONZE|SILVER|GOLD)
- protection_
primary_ strregion - Backup repository primary region
- protection_
replicated_ strregion - Backup repository replicated region
- quota_
in_ floattb - Backup repository quota in TB
- status str
- Backup offer status
- used_
space_ floatin_ gb - Backup repository used space in GB
- name String
- Backup service offer type (BRONZE|SILVER|GOLD)
- protection
Primary StringRegion - Backup repository primary region
- protection
Replicated StringRegion - Backup repository replicated region
- quota
In NumberTb - Backup repository quota in TB
- status String
- Backup offer status
- used
Space NumberIn Gb - Backup repository used space in GB
GetCloudDirectorBackupCurrentTask
GetCloudDirectorBackupIam
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource
- Dictionary<string, string>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- Unique resource name used in policies
- Display
Name string - Resource display name
- Id string
- Unique identifier of the resource
- map[string]string
- Resource tags. Tags that were internally computed are prefixed with ovh:
- Urn string
- Unique resource name used in policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource
- Map<String,String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- Unique resource name used in policies
- display
Name string - Resource display name
- id string
- Unique identifier of the resource
- {[key: string]: string}
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn string
- Unique resource name used in policies
- display_
name str - Resource display name
- id str
- Unique identifier of the resource
- Mapping[str, str]
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn str
- Unique resource name used in policies
- display
Name String - Resource display name
- id String
- Unique identifier of the resource
- Map<String>
- Resource tags. Tags that were internally computed are prefixed with ovh:
- urn String
- Unique resource name used in policies
GetCloudDirectorBackupTargetSpec
- Offers
List<Get
Cloud Director Backup Target Spec Offer> - List of your VMware Cloud Director backup offers
- Offers
[]Get
Cloud Director Backup Target Spec Offer - List of your VMware Cloud Director backup offers
- offers
List<Get
Cloud Director Backup Target Spec Offer> - List of your VMware Cloud Director backup offers
- offers
Get
Cloud Director Backup Target Spec Offer[] - List of your VMware Cloud Director backup offers
- offers
Sequence[vmware.
Get Cloud Director Backup Target Spec Offer] - List of your VMware Cloud Director backup offers
- offers List<Property Map>
- List of your VMware Cloud Director backup offers
GetCloudDirectorBackupTargetSpecOffer
- name str
- Backup service offer type (BRONZE|SILVER|GOLD)
- quota_
in_ floattb - Backup repository quota in TB
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.