UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

56 lines 1.86 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getBackupVaultOutput = exports.getBackupVault = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * A Backup and DRBackupVault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_backup_vault = gcp.backupdisasterrecovery.getBackupVault({ * location: "us-central1", * backupVaultId: "bv-1", * }); * ``` */ function getBackupVault(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:backupdisasterrecovery/getBackupVault:getBackupVault", { "backupVaultId": args.backupVaultId, "location": args.location, "project": args.project, }, opts); } exports.getBackupVault = getBackupVault; /** * A Backup and DRBackupVault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_backup_vault = gcp.backupdisasterrecovery.getBackupVault({ * location: "us-central1", * backupVaultId: "bv-1", * }); * ``` */ function getBackupVaultOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:backupdisasterrecovery/getBackupVault:getBackupVault", { "backupVaultId": args.backupVaultId, "location": args.location, "project": args.project, }, opts); } exports.getBackupVaultOutput = getBackupVaultOutput; //# sourceMappingURL=getBackupVault.js.map