UNPKG

pulumi-fusionauth

Version:

A Pulumi package for managing FusionAuth instances.

62 lines 2.35 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.getApplicationOAuthScopeOutput = exports.getApplicationOAuthScope = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * ## # Application OAuth Scope Resource * * The Application OAuth Scope resource allows you to define the scopes that an application can request when using OAuth. * * [Application OAuth Scope API](https://fusionauth.io/docs/apis/scopes) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fusionauth from "@pulumi/fusionauth"; * * const this = fusionauth.getApplicationOAuthScope({ * applicationId: data.fusionauth_application["this"].id, * name: "data:read", * }); * ``` */ function getApplicationOAuthScope(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("fusionauth:index/getApplicationOAuthScope:getApplicationOAuthScope", { "applicationId": args.applicationId, "name": args.name, }, opts); } exports.getApplicationOAuthScope = getApplicationOAuthScope; /** * ## # Application OAuth Scope Resource * * The Application OAuth Scope resource allows you to define the scopes that an application can request when using OAuth. * * [Application OAuth Scope API](https://fusionauth.io/docs/apis/scopes) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fusionauth from "@pulumi/fusionauth"; * * const this = fusionauth.getApplicationOAuthScope({ * applicationId: data.fusionauth_application["this"].id, * name: "data:read", * }); * ``` */ function getApplicationOAuthScopeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fusionauth:index/getApplicationOAuthScope:getApplicationOAuthScope", { "applicationId": args.applicationId, "name": args.name, }, opts); } exports.getApplicationOAuthScopeOutput = getApplicationOAuthScopeOutput; //# sourceMappingURL=getApplicationOAuthScope.js.map