@pulumi/vault
Version:
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
54 lines • 1.79 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRaftAutopilotStateOutput = exports.getRaftAutopilotState = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* export = async () => {
* const main = await vault.getRaftAutopilotState({});
* return {
* "failure-tolerance": main.failureTolerance,
* };
* }
* ```
*/
function getRaftAutopilotState(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("vault:index/getRaftAutopilotState:getRaftAutopilotState", {
"namespace": args.namespace,
}, opts);
}
exports.getRaftAutopilotState = getRaftAutopilotState;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* export = async () => {
* const main = await vault.getRaftAutopilotState({});
* return {
* "failure-tolerance": main.failureTolerance,
* };
* }
* ```
*/
function getRaftAutopilotStateOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("vault:index/getRaftAutopilotState:getRaftAutopilotState", {
"namespace": args.namespace,
}, opts);
}
exports.getRaftAutopilotStateOutput = getRaftAutopilotStateOutput;
//# sourceMappingURL=getRaftAutopilotState.js.map