UNPKG

@pulumi/github

Version:

A Pulumi package for creating and managing github cloud resources.

46 lines 1.99 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.getOrganizationIpAllowListOutput = exports.getOrganizationIpAllowList = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to retrieve information about the IP allow list of an organization. * The allow list for IP addresses will block access to private resources via the web, API, * and Git from any IP addresses that are not on the allow list. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const all = github.getOrganizationIpAllowList({}); * ``` */ function getOrganizationIpAllowList(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("github:index/getOrganizationIpAllowList:getOrganizationIpAllowList", {}, opts); } exports.getOrganizationIpAllowList = getOrganizationIpAllowList; /** * Use this data source to retrieve information about the IP allow list of an organization. * The allow list for IP addresses will block access to private resources via the web, API, * and Git from any IP addresses that are not on the allow list. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const all = github.getOrganizationIpAllowList({}); * ``` */ function getOrganizationIpAllowListOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("github:index/getOrganizationIpAllowList:getOrganizationIpAllowList", {}, opts); } exports.getOrganizationIpAllowListOutput = getOrganizationIpAllowListOutput; //# sourceMappingURL=getOrganizationIpAllowList.js.map