UNPKG

@pulumi/github

Version:

A Pulumi package for creating and managing github cloud resources.

54 lines 1.85 kB
"use strict"; // *** 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.getDependabotSecretsOutput = exports.getDependabotSecrets = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to retrieve the list of dependabot secrets for a GitHub repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getDependabotSecrets({ * name: "example", * }); * ``` */ function getDependabotSecrets(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("github:index/getDependabotSecrets:getDependabotSecrets", { "fullName": args.fullName, "name": args.name, }, opts); } exports.getDependabotSecrets = getDependabotSecrets; /** * Use this data source to retrieve the list of dependabot secrets for a GitHub repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getDependabotSecrets({ * name: "example", * }); * ``` */ function getDependabotSecretsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("github:index/getDependabotSecrets:getDependabotSecrets", { "fullName": args.fullName, "name": args.name, }, opts); } exports.getDependabotSecretsOutput = getDependabotSecretsOutput; //# sourceMappingURL=getDependabotSecrets.js.map