1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. cbr
  6. Vault
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Used to store your backup data

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const cBRVaultDemo = new volcenginecc.cbr.Vault("CBRVaultDemo", {
        vaultName: "CBRVaultDemo",
        projectName: "default",
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    c_br_vault_demo = volcenginecc.cbr.Vault("CBRVaultDemo",
        vault_name="CBRVaultDemo",
        project_name="default")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cbr"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cbr.NewVault(ctx, "CBRVaultDemo", &cbr.VaultArgs{
    			VaultName:   pulumi.String("CBRVaultDemo"),
    			ProjectName: pulumi.String("default"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var cBRVaultDemo = new Volcenginecc.Cbr.Vault("CBRVaultDemo", new()
        {
            VaultName = "CBRVaultDemo",
            ProjectName = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.cbr.Vault;
    import com.volcengine.volcenginecc.cbr.VaultArgs;
    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) {
            var cBRVaultDemo = new Vault("cBRVaultDemo", VaultArgs.builder()
                .vaultName("CBRVaultDemo")
                .projectName("default")
                .build());
    
        }
    }
    
    resources:
      cBRVaultDemo:
        type: volcenginecc:cbr:Vault
        name: CBRVaultDemo
        properties:
          vaultName: CBRVaultDemo
          projectName: default
    

    Create Vault Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Vault(name: string, args: VaultArgs, opts?: CustomResourceOptions);
    @overload
    def Vault(resource_name: str,
              args: VaultArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vault(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              vault_name: Optional[str] = None,
              project_name: Optional[str] = None)
    func NewVault(ctx *Context, name string, args VaultArgs, opts ...ResourceOption) (*Vault, error)
    public Vault(string name, VaultArgs args, CustomResourceOptions? opts = null)
    public Vault(String name, VaultArgs args)
    public Vault(String name, VaultArgs args, CustomResourceOptions options)
    
    type: volcenginecc:cbr:Vault
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VaultArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vaultResource = new Volcenginecc.Cbr.Vault("vaultResource", new()
    {
        VaultName = "string",
        ProjectName = "string",
    });
    
    example, err := cbr.NewVault(ctx, "vaultResource", &cbr.VaultArgs{
    	VaultName:   pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    })
    
    var vaultResource = new Vault("vaultResource", VaultArgs.builder()
        .vaultName("string")
        .projectName("string")
        .build());
    
    vault_resource = volcenginecc.cbr.Vault("vaultResource",
        vault_name="string",
        project_name="string")
    
    const vaultResource = new volcenginecc.cbr.Vault("vaultResource", {
        vaultName: "string",
        projectName: "string",
    });
    
    type: volcenginecc:cbr:Vault
    properties:
        projectName: string
        vaultName: string
    

    Vault Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Vault resource accepts the following input properties:

    VaultName string
    Backup Repository Name
    ProjectName string
    Project Name
    VaultName string
    Backup Repository Name
    ProjectName string
    Project Name
    vaultName String
    Backup Repository Name
    projectName String
    Project Name
    vaultName string
    Backup Repository Name
    projectName string
    Project Name
    vault_name str
    Backup Repository Name
    project_name str
    Project Name
    vaultName String
    Backup Repository Name
    projectName String
    Project Name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Vault resource produces the following output properties:

    CreatedTime string
    Creation Time
    Endpoint string
    Access Domain Name
    Id string
    The provider-assigned unique ID for this managed resource.
    Tags List<Volcengine.VaultTag>
    VaultId string
    Backup Repository ID
    CreatedTime string
    Creation Time
    Endpoint string
    Access Domain Name
    Id string
    The provider-assigned unique ID for this managed resource.
    Tags []VaultTag
    VaultId string
    Backup Repository ID
    createdTime String
    Creation Time
    endpoint String
    Access Domain Name
    id String
    The provider-assigned unique ID for this managed resource.
    tags List<VaultTag>
    vaultId String
    Backup Repository ID
    createdTime string
    Creation Time
    endpoint string
    Access Domain Name
    id string
    The provider-assigned unique ID for this managed resource.
    tags VaultTag[]
    vaultId string
    Backup Repository ID
    created_time str
    Creation Time
    endpoint str
    Access Domain Name
    id str
    The provider-assigned unique ID for this managed resource.
    tags Sequence[VaultTag]
    vault_id str
    Backup Repository ID
    createdTime String
    Creation Time
    endpoint String
    Access Domain Name
    id String
    The provider-assigned unique ID for this managed resource.
    tags List<Property Map>
    vaultId String
    Backup Repository ID

    Look up Existing Vault Resource

    Get an existing Vault resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VaultState, opts?: CustomResourceOptions): Vault
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_time: Optional[str] = None,
            endpoint: Optional[str] = None,
            project_name: Optional[str] = None,
            tags: Optional[Sequence[VaultTagArgs]] = None,
            vault_id: Optional[str] = None,
            vault_name: Optional[str] = None) -> Vault
    func GetVault(ctx *Context, name string, id IDInput, state *VaultState, opts ...ResourceOption) (*Vault, error)
    public static Vault Get(string name, Input<string> id, VaultState? state, CustomResourceOptions? opts = null)
    public static Vault get(String name, Output<String> id, VaultState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:cbr:Vault    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedTime string
    Creation Time
    Endpoint string
    Access Domain Name
    ProjectName string
    Project Name
    Tags List<Volcengine.VaultTag>
    VaultId string
    Backup Repository ID
    VaultName string
    Backup Repository Name
    CreatedTime string
    Creation Time
    Endpoint string
    Access Domain Name
    ProjectName string
    Project Name
    Tags []VaultTagArgs
    VaultId string
    Backup Repository ID
    VaultName string
    Backup Repository Name
    createdTime String
    Creation Time
    endpoint String
    Access Domain Name
    projectName String
    Project Name
    tags List<VaultTag>
    vaultId String
    Backup Repository ID
    vaultName String
    Backup Repository Name
    createdTime string
    Creation Time
    endpoint string
    Access Domain Name
    projectName string
    Project Name
    tags VaultTag[]
    vaultId string
    Backup Repository ID
    vaultName string
    Backup Repository Name
    created_time str
    Creation Time
    endpoint str
    Access Domain Name
    project_name str
    Project Name
    tags Sequence[VaultTagArgs]
    vault_id str
    Backup Repository ID
    vault_name str
    Backup Repository Name
    createdTime String
    Creation Time
    endpoint String
    Access Domain Name
    projectName String
    Project Name
    tags List<Property Map>
    vaultId String
    Backup Repository ID
    vaultName String
    Backup Repository Name

    Supporting Types

    VaultTag, VaultTagArgs

    Key string
    Tag Key
    Value string
    Tag Value
    Key string
    Tag Key
    Value string
    Tag Value
    key String
    Tag Key
    value String
    Tag Value
    key string
    Tag Key
    value string
    Tag Value
    key str
    Tag Key
    value str
    Tag Value
    key String
    Tag Key
    value String
    Tag Value

    Import

    $ pulumi import volcenginecc:cbr/vault:Vault example "vault_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.