VaultArgs

data class VaultArgs(val description: Output<String>? = null, val encryptType: Output<String>? = null, val kmsKeyId: Output<String>? = null, val vaultName: Output<String>? = null, val vaultStorageClass: Output<String>? = null, val vaultType: Output<String>? = null) : ConvertibleToJava<VaultArgs>

Provides a HBR Backup vault resource. For information about HBR Backup vault and how to use it, see What is Backup vault.

NOTE: Available since v1.129.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.hbr.Vault;
import com.pulumi.alicloud.hbr.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 example = new Vault("example", VaultArgs.builder()
.vaultName("example_value")
.build());
}
}

Import

HBR Vault can be imported using the id, e.g.

$ pulumi import alicloud:hbr/vault:Vault example <id>

Constructors

Link copied to clipboard
fun VaultArgs(description: Output<String>? = null, encryptType: Output<String>? = null, kmsKeyId: Output<String>? = null, vaultName: Output<String>? = null, vaultStorageClass: Output<String>? = null, vaultType: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VaultArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of Vault. Defaults to an empty string.

Link copied to clipboard
val encryptType: Output<String>? = null

Source Encryption Type,It is valid only when vault_type is STANDARD or OTS_BACKUP. Default value: HBR_PRIVATE. Valid values:

Link copied to clipboard
val kmsKeyId: Output<String>? = null

The key id or alias name of Alibaba Cloud Kms. It is required and valid only when encrypt_type is KMS.

Link copied to clipboard
val vaultName: Output<String>? = null

The name of Vault.

Link copied to clipboard
val vaultStorageClass: Output<String>? = null

The storage class of Vault. Valid values: STANDARD.

Link copied to clipboard
val vaultType: Output<String>? = null

The type of Vault. Valid values: STANDARD, OTS_BACKUP.