pulumi-fusionauth
Version:
A Pulumi package for managing FusionAuth instances.
68 lines • 2.21 kB
JavaScript
;
// *** 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.getFormOutput = exports.getForm = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## # Form Resource
*
* A FusionAuth Form is a customizable object that contains one-to-many ordered steps. Each step is comprised of one or more Form Fields.
*
* [Forms API](https://fusionauth.io/docs/v1/tech/apis/forms)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fusionauth from "@pulumi/fusionauth";
*
* const default = fusionauth.getForm({
* name: "Default User Self Service provided by FusionAuth",
* });
* ```
*/
function getForm(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fusionauth:index/getForm:getForm", {
"data": args.data,
"formId": args.formId,
"name": args.name,
"steps": args.steps,
"type": args.type,
}, opts);
}
exports.getForm = getForm;
/**
* ## # Form Resource
*
* A FusionAuth Form is a customizable object that contains one-to-many ordered steps. Each step is comprised of one or more Form Fields.
*
* [Forms API](https://fusionauth.io/docs/v1/tech/apis/forms)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fusionauth from "@pulumi/fusionauth";
*
* const default = fusionauth.getForm({
* name: "Default User Self Service provided by FusionAuth",
* });
* ```
*/
function getFormOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fusionauth:index/getForm:getForm", {
"data": args.data,
"formId": args.formId,
"name": args.name,
"steps": args.steps,
"type": args.type,
}, opts);
}
exports.getFormOutput = getFormOutput;
//# sourceMappingURL=getForm.js.map