@pulumi/github
Version:
A Pulumi package for creating and managing github cloud resources.
50 lines • 1.55 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.getGithubAppOutput = exports.getGithubApp = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to retrieve information about an app.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const foobar = github.getGithubApp({
* slug: "foobar",
* });
* ```
*/
function getGithubApp(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("github:index/getGithubApp:getGithubApp", {
"slug": args.slug,
}, opts);
}
exports.getGithubApp = getGithubApp;
/**
* Use this data source to retrieve information about an app.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const foobar = github.getGithubApp({
* slug: "foobar",
* });
* ```
*/
function getGithubAppOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("github:index/getGithubApp:getGithubApp", {
"slug": args.slug,
}, opts);
}
exports.getGithubAppOutput = getGithubAppOutput;
//# sourceMappingURL=getGithubApp.js.map
;