@pulumi/github 5.0.0 → 5.2.0-alpha.1673638210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +99 -0
- package/actionsEnvironmentSecret.js +68 -24
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +74 -1
- package/actionsOrganizationPermissions.js +58 -22
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +110 -0
- package/actionsOrganizationSecret.js +76 -24
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +47 -0
- package/actionsOrganizationSecretRepositories.js +51 -22
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +119 -0
- package/actionsRepositoryPermissions.js +91 -0
- package/actionsRepositoryPermissions.js.map +1 -0
- package/actionsRunnerGroup.d.ts +88 -0
- package/actionsRunnerGroup.js +47 -22
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +70 -0
- package/actionsSecret.js +48 -24
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepositories.d.ts +81 -0
- package/appInstallationRepositories.js +78 -0
- package/appInstallationRepositories.js.map +1 -0
- package/appInstallationRepository.d.ts +53 -0
- package/appInstallationRepository.js +57 -22
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +92 -0
- package/branch.js +60 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +53 -0
- package/branchDefault.js +57 -22
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +175 -4
- package/branchProtection.js +83 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +140 -1
- package/branchProtectionV3.js +88 -22
- package/branchProtectionV3.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.js +26 -24
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +22 -22
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.js +26 -24
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +42 -0
- package/emuGroupMapping.js +46 -22
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +31 -0
- package/getActionsOrganizationRegistrationToken.js +25 -0
- package/getActionsOrganizationRegistrationToken.js.map +1 -0
- package/getActionsOrganizationSecrets.d.ts +16 -1
- package/getActionsOrganizationSecrets.js +13 -4
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsPublicKey.d.ts +42 -0
- package/getActionsPublicKey.js +32 -5
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +67 -0
- package/getActionsRegistrationToken.js +47 -0
- package/getActionsRegistrationToken.js.map +1 -0
- package/getActionsSecrets.d.ts +47 -1
- package/getActionsSecrets.js +30 -5
- package/getActionsSecrets.js.map +1 -1
- package/getBranch.d.ts +51 -0
- package/getBranch.js +32 -5
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +52 -1
- package/getCollaborators.js +32 -5
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +28 -0
- package/getDependabotOrganizationSecrets.js +25 -0
- package/getDependabotOrganizationSecrets.js.map +1 -0
- package/getDependabotPublicKey.js +2 -5
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +76 -0
- package/getDependabotSecrets.js +49 -0
- package/getDependabotSecrets.js.map +1 -0
- package/getExternalGroups.d.ts +18 -1
- package/getExternalGroups.js +15 -4
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +71 -0
- package/getGithubApp.js +47 -0
- package/getGithubApp.js.map +1 -0
- package/getIpRanges.d.ts +84 -0
- package/getIpRanges.js +13 -4
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +59 -0
- package/getMembership.js +36 -5
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +58 -0
- package/getOrganization.js +30 -5
- package/getOrganization.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +31 -0
- package/getOrganizationIpAllowList.js +27 -0
- package/getOrganizationIpAllowList.js.map +1 -0
- package/getOrganizationTeamSyncGroups.d.ts +16 -1
- package/getOrganizationTeamSyncGroups.js +13 -4
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +87 -1
- package/getOrganizationTeams.js +54 -5
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +31 -0
- package/getOrganizationWebhooks.js +27 -0
- package/getOrganizationWebhooks.js.map +1 -0
- package/getRef.d.ts +48 -0
- package/getRef.js +32 -5
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +92 -0
- package/getRelease.js +8 -5
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +70 -0
- package/getRepositories.js +40 -5
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +142 -4
- package/getRepository.js +30 -6
- package/getRepository.js.map +1 -1
- package/getRepositoryBranches.d.ts +82 -0
- package/getRepositoryBranches.js +49 -0
- package/getRepositoryBranches.js.map +1 -0
- package/getRepositoryDeployKeys.d.ts +64 -0
- package/getRepositoryDeployKeys.js +47 -0
- package/getRepositoryDeployKeys.js.map +1 -0
- package/getRepositoryFile.d.ts +72 -0
- package/getRepositoryFile.js +36 -5
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +62 -0
- package/getRepositoryMilestone.js +34 -5
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +90 -0
- package/getRepositoryPullRequest.js +32 -5
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +91 -1
- package/getRepositoryPullRequests.js +38 -5
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +47 -1
- package/getRepositoryTeams.js +30 -5
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +63 -0
- package/getRepositoryWebhooks.js +51 -0
- package/getRepositoryWebhooks.js.map +1 -0
- package/getTeam.d.ts +79 -0
- package/getTeam.js +32 -5
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +70 -1
- package/getTree.js +50 -5
- package/getTree.js.map +1 -1
- package/getUser.d.ts +102 -0
- package/getUser.js +38 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +55 -0
- package/getUsers.js +42 -5
- package/getUsers.js.map +1 -1
- package/index.d.ts +244 -68
- package/index.js +259 -171
- package/index.js.map +1 -1
- package/issue.d.ts +117 -6
- package/issue.js +85 -22
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +64 -0
- package/issueLabel.js +44 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +49 -0
- package/membership.js +49 -21
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +21 -0
- package/organizationBlock.js +31 -19
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +36 -0
- package/organizationProject.js +32 -20
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +67 -0
- package/organizationSecurityManager.js +71 -0
- package/organizationSecurityManager.js.map +1 -0
- package/organizationSettings.d.ts +394 -0
- package/organizationSettings.js +148 -0
- package/organizationSettings.js.map +1 -0
- package/organizationWebhook.d.ts +65 -1
- package/organizationWebhook.js +52 -22
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +87 -0
- package/projectCard.js +73 -22
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +31 -0
- package/projectColumn.js +35 -22
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/release.d.ts +194 -0
- package/release.js +121 -0
- package/release.js.map +1 -0
- package/repository.d.ts +396 -4
- package/repository.js +72 -22
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +54 -6
- package/repositoryAutolinkReference.js +54 -22
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +90 -0
- package/repositoryCollaborator.js +64 -22
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +71 -0
- package/repositoryDeployKey.js +57 -22
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +63 -1
- package/repositoryEnvironment.js +56 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +70 -30
- package/repositoryFile.js +59 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +81 -3
- package/repositoryMilestone.js +49 -22
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +52 -0
- package/repositoryProject.js +41 -22
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +127 -4
- package/repositoryPullRequest.js +40 -22
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +41 -0
- package/repositoryTagProtection.js +45 -22
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryWebhook.d.ts +81 -1
- package/repositoryWebhook.js +59 -22
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +100 -0
- package/team.js +49 -22
- package/team.js.map +1 -1
- package/teamMembers.d.ts +60 -1
- package/teamMembers.js +62 -22
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +67 -0
- package/teamMembership.js +59 -22
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +59 -3
- package/teamRepository.js +57 -22
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +119 -0
- package/teamSettings.js +99 -0
- package/teamSettings.js.map +1 -0
- package/teamSyncGroupMapping.d.ts +38 -1
- package/teamSyncGroupMapping.js +36 -21
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +208 -1
- package/types/output.d.ts +555 -1
- package/userGpgKey.d.ts +39 -0
- package/userGpgKey.js +42 -21
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +30 -0
- package/userInvitationAccepter.js +38 -17
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +50 -0
- package/userSshKey.js +48 -22
- package/userSshKey.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/getExternalGroups.js
CHANGED
|
@@ -5,11 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getExternalGroups = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve external groups belonging to an organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const exampleExternalGroups = github.getExternalGroups({});
|
|
18
|
+
* const localGroups = exampleExternalGroups;
|
|
19
|
+
* export const groups = localGroups;
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
8
22
|
function getExternalGroups(opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
24
|
return pulumi.runtime.invoke("github:index/getExternalGroups:getExternalGroups", {}, opts);
|
|
14
25
|
}
|
|
15
26
|
exports.getExternalGroups = getExternalGroups;
|
package/getExternalGroups.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExternalGroups.js","sourceRoot":"","sources":["../getExternalGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getExternalGroups.js","sourceRoot":"","sources":["../getExternalGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IAEzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about an app.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const foobar = github.getGithubApp({
|
|
12
|
+
* slug: "foobar",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGithubApp(args: GetGithubAppArgs, opts?: pulumi.InvokeOptions): Promise<GetGithubAppResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGithubApp.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGithubAppArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The URL-friendly name of your GitHub App.
|
|
23
|
+
*/
|
|
24
|
+
slug: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getGithubApp.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetGithubAppResult {
|
|
30
|
+
/**
|
|
31
|
+
* The app's description.
|
|
32
|
+
*/
|
|
33
|
+
readonly description: string;
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The app's full name.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: string;
|
|
42
|
+
/**
|
|
43
|
+
* The Node ID of the app.
|
|
44
|
+
*/
|
|
45
|
+
readonly nodeId: string;
|
|
46
|
+
readonly slug: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Use this data source to retrieve information about an app.
|
|
50
|
+
*
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as github from "@pulumi/github";
|
|
56
|
+
*
|
|
57
|
+
* const foobar = github.getGithubApp({
|
|
58
|
+
* slug: "foobar",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function getGithubAppOutput(args: GetGithubAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGithubAppResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getGithubApp.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetGithubAppOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The URL-friendly name of your GitHub App.
|
|
69
|
+
*/
|
|
70
|
+
slug: pulumi.Input<string>;
|
|
71
|
+
}
|
package/getGithubApp.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGithubAppOutput = exports.getGithubApp = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about an app.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const foobar = github.getGithubApp({
|
|
18
|
+
* slug: "foobar",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGithubApp(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("github:index/getGithubApp:getGithubApp", {
|
|
25
|
+
"slug": args.slug,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getGithubApp = getGithubApp;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to retrieve information about an app.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as github from "@pulumi/github";
|
|
37
|
+
*
|
|
38
|
+
* const foobar = github.getGithubApp({
|
|
39
|
+
* slug: "foobar",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getGithubAppOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getGithubApp(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getGithubAppOutput = getGithubAppOutput;
|
|
47
|
+
//# sourceMappingURL=getGithubApp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGithubApp.js","sourceRoot":"","sources":["../getGithubApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getIpRanges.d.ts
CHANGED
|
@@ -1,35 +1,119 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about GitHub's IP addresses.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const test = github.getIpRanges({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
2
14
|
export declare function getIpRanges(opts?: pulumi.InvokeOptions): Promise<GetIpRangesResult>;
|
|
3
15
|
/**
|
|
4
16
|
* A collection of values returned by getIpRanges.
|
|
5
17
|
*/
|
|
6
18
|
export interface GetIpRangesResult {
|
|
19
|
+
/**
|
|
20
|
+
* An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
|
|
21
|
+
*/
|
|
7
22
|
readonly actions: string[];
|
|
23
|
+
/**
|
|
24
|
+
* A subset of the `actions` array that contains IP addresses in IPv4 CIDR format.
|
|
25
|
+
*/
|
|
8
26
|
readonly actionsIpv4s: string[];
|
|
27
|
+
/**
|
|
28
|
+
* A subset of the `actions` array that contains IP addresses in IPv6 CIDR format.
|
|
29
|
+
*/
|
|
9
30
|
readonly actionsIpv6s: string[];
|
|
31
|
+
/**
|
|
32
|
+
* A subset of the `api` array that contains IP addresses in IPv4 CIDR format.
|
|
33
|
+
*/
|
|
10
34
|
readonly apiIpv4s: string[];
|
|
35
|
+
/**
|
|
36
|
+
* A subset of the `api` array that contains IP addresses in IPv6 CIDR format.
|
|
37
|
+
*/
|
|
11
38
|
readonly apiIpv6s: string[];
|
|
39
|
+
/**
|
|
40
|
+
* An Array of IP addresses in CIDR format for the GitHub API.
|
|
41
|
+
*/
|
|
12
42
|
readonly apis: string[];
|
|
43
|
+
/**
|
|
44
|
+
* A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.
|
|
45
|
+
*/
|
|
13
46
|
readonly dependabotIpv4s: string[];
|
|
47
|
+
/**
|
|
48
|
+
* A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.
|
|
49
|
+
*/
|
|
14
50
|
readonly dependabotIpv6s: string[];
|
|
51
|
+
/**
|
|
52
|
+
* An array of IP addresses in CIDR format specifying the A records for dependabot.
|
|
53
|
+
*/
|
|
15
54
|
readonly dependabots: string[];
|
|
55
|
+
/**
|
|
56
|
+
* A subset of the `git` array that contains IP addresses in IPv4 CIDR format.
|
|
57
|
+
*/
|
|
16
58
|
readonly gitIpv4s: string[];
|
|
59
|
+
/**
|
|
60
|
+
* A subset of the `git` array that contains IP addresses in IPv6 CIDR format.
|
|
61
|
+
*/
|
|
17
62
|
readonly gitIpv6s: string[];
|
|
63
|
+
/**
|
|
64
|
+
* An Array of IP addresses in CIDR format specifying the Git servers.
|
|
65
|
+
*/
|
|
18
66
|
readonly gits: string[];
|
|
67
|
+
/**
|
|
68
|
+
* An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
|
|
69
|
+
*/
|
|
19
70
|
readonly hooks: string[];
|
|
71
|
+
/**
|
|
72
|
+
* A subset of the `hooks` array that contains IP addresses in IPv4 CIDR format.
|
|
73
|
+
*/
|
|
20
74
|
readonly hooksIpv4s: string[];
|
|
75
|
+
/**
|
|
76
|
+
* A subset of the `hooks` array that contains IP addresses in IPv6 CIDR format.
|
|
77
|
+
*/
|
|
21
78
|
readonly hooksIpv6s: string[];
|
|
22
79
|
/**
|
|
23
80
|
* The provider-assigned unique ID for this managed resource.
|
|
24
81
|
*/
|
|
25
82
|
readonly id: string;
|
|
83
|
+
/**
|
|
84
|
+
* A subset of the `importer` array that contains IP addresses in IPv4 CIDR format.
|
|
85
|
+
*/
|
|
26
86
|
readonly importerIpv4s: string[];
|
|
87
|
+
/**
|
|
88
|
+
* A subset of the `importer` array that contains IP addresses in IPv6 CIDR format.
|
|
89
|
+
*/
|
|
27
90
|
readonly importerIpv6s: string[];
|
|
91
|
+
/**
|
|
92
|
+
* An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
|
|
93
|
+
*/
|
|
28
94
|
readonly importers: string[];
|
|
95
|
+
/**
|
|
96
|
+
* An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
|
|
97
|
+
*/
|
|
29
98
|
readonly pages: string[];
|
|
99
|
+
/**
|
|
100
|
+
* A subset of the `pages` array that contains IP addresses in IPv4 CIDR format.
|
|
101
|
+
*/
|
|
30
102
|
readonly pagesIpv4s: string[];
|
|
103
|
+
/**
|
|
104
|
+
* A subset of the `pages` array that contains IP addresses in IPv6 CIDR format.
|
|
105
|
+
*/
|
|
31
106
|
readonly pagesIpv6s: string[];
|
|
107
|
+
/**
|
|
108
|
+
* A subset of the `web` array that contains IP addresses in IPv4 CIDR format.
|
|
109
|
+
*/
|
|
32
110
|
readonly webIpv4s: string[];
|
|
111
|
+
/**
|
|
112
|
+
* A subset of the `web` array that contains IP addresses in IPv6 CIDR format.
|
|
113
|
+
*/
|
|
33
114
|
readonly webIpv6s: string[];
|
|
115
|
+
/**
|
|
116
|
+
* An Array of IP addresses in CIDR format for GitHub Web.
|
|
117
|
+
*/
|
|
34
118
|
readonly webs: string[];
|
|
35
119
|
}
|
package/getIpRanges.js
CHANGED
|
@@ -5,11 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getIpRanges = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about GitHub's IP addresses.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const test = github.getIpRanges({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
8
20
|
function getIpRanges(opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
22
|
return pulumi.runtime.invoke("github:index/getIpRanges:getIpRanges", {}, opts);
|
|
14
23
|
}
|
|
15
24
|
exports.getIpRanges = getIpRanges;
|
package/getIpRanges.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAA2B;
|
|
1
|
+
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IAEnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC"}
|
package/getMembership.d.ts
CHANGED
|
@@ -1,30 +1,89 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to find out if a user is a member of your organization, as well
|
|
4
|
+
* as what role they have within it.
|
|
5
|
+
* If the user's membership in the organization is pending their acceptance of an invite,
|
|
6
|
+
* the role they would have once they accept will be returned.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* const membershipForSomeUser = github.getMembership({
|
|
15
|
+
* username: "SomeUser",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
2
19
|
export declare function getMembership(args: GetMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetMembershipResult>;
|
|
3
20
|
/**
|
|
4
21
|
* A collection of arguments for invoking getMembership.
|
|
5
22
|
*/
|
|
6
23
|
export interface GetMembershipArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The organization to check for the above username.
|
|
26
|
+
*/
|
|
7
27
|
organization?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The username to lookup in the organization.
|
|
30
|
+
*/
|
|
8
31
|
username: string;
|
|
9
32
|
}
|
|
10
33
|
/**
|
|
11
34
|
* A collection of values returned by getMembership.
|
|
12
35
|
*/
|
|
13
36
|
export interface GetMembershipResult {
|
|
37
|
+
/**
|
|
38
|
+
* An etag representing the membership object.
|
|
39
|
+
*/
|
|
14
40
|
readonly etag: string;
|
|
15
41
|
/**
|
|
16
42
|
* The provider-assigned unique ID for this managed resource.
|
|
17
43
|
*/
|
|
18
44
|
readonly id: string;
|
|
19
45
|
readonly organization?: string;
|
|
46
|
+
/**
|
|
47
|
+
* `admin` or `member` -- the role the user has within the organization.
|
|
48
|
+
*/
|
|
20
49
|
readonly role: string;
|
|
50
|
+
/**
|
|
51
|
+
* `active` or `pending` -- the state of membership within the organization. `active` if the member has accepted the invite, or `pending` if the invite is still pending.
|
|
52
|
+
*/
|
|
53
|
+
readonly state: string;
|
|
54
|
+
/**
|
|
55
|
+
* The username.
|
|
56
|
+
*/
|
|
21
57
|
readonly username: string;
|
|
22
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Use this data source to find out if a user is a member of your organization, as well
|
|
61
|
+
* as what role they have within it.
|
|
62
|
+
* If the user's membership in the organization is pending their acceptance of an invite,
|
|
63
|
+
* the role they would have once they accept will be returned.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as github from "@pulumi/github";
|
|
70
|
+
*
|
|
71
|
+
* const membershipForSomeUser = github.getMembership({
|
|
72
|
+
* username: "SomeUser",
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
23
76
|
export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMembershipResult>;
|
|
24
77
|
/**
|
|
25
78
|
* A collection of arguments for invoking getMembership.
|
|
26
79
|
*/
|
|
27
80
|
export interface GetMembershipOutputArgs {
|
|
81
|
+
/**
|
|
82
|
+
* The organization to check for the above username.
|
|
83
|
+
*/
|
|
28
84
|
organization?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The username to lookup in the organization.
|
|
87
|
+
*/
|
|
29
88
|
username: pulumi.Input<string>;
|
|
30
89
|
}
|
package/getMembership.js
CHANGED
|
@@ -5,19 +5,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getMembershipOutput = exports.getMembership = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to find out if a user is a member of your organization, as well
|
|
10
|
+
* as what role they have within it.
|
|
11
|
+
* If the user's membership in the organization is pending their acceptance of an invite,
|
|
12
|
+
* the role they would have once they accept will be returned.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as github from "@pulumi/github";
|
|
19
|
+
*
|
|
20
|
+
* const membershipForSomeUser = github.getMembership({
|
|
21
|
+
* username: "SomeUser",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
8
25
|
function getMembership(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
27
|
return pulumi.runtime.invoke("github:index/getMembership:getMembership", {
|
|
14
28
|
"organization": args.organization,
|
|
15
29
|
"username": args.username,
|
|
16
30
|
}, opts);
|
|
17
31
|
}
|
|
18
32
|
exports.getMembership = getMembership;
|
|
33
|
+
/**
|
|
34
|
+
* Use this data source to find out if a user is a member of your organization, as well
|
|
35
|
+
* as what role they have within it.
|
|
36
|
+
* If the user's membership in the organization is pending their acceptance of an invite,
|
|
37
|
+
* the role they would have once they accept will be returned.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as github from "@pulumi/github";
|
|
44
|
+
*
|
|
45
|
+
* const membershipForSomeUser = github.getMembership({
|
|
46
|
+
* username: "SomeUser",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
19
50
|
function getMembershipOutput(args, opts) {
|
|
20
|
-
return pulumi.output(args).apply(a => getMembership(a, opts));
|
|
51
|
+
return pulumi.output(args).apply((a) => getMembership(a, opts));
|
|
21
52
|
}
|
|
22
53
|
exports.getMembershipOutput = getMembershipOutput;
|
|
23
54
|
//# sourceMappingURL=getMembership.js.map
|
package/getMembership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA0CD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/getOrganization.d.ts
CHANGED
|
@@ -1,32 +1,90 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve basic information about a GitHub Organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const example = github.getOrganization({
|
|
12
|
+
* name: "github",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
2
16
|
export declare function getOrganization(args: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
|
|
3
17
|
/**
|
|
4
18
|
* A collection of arguments for invoking getOrganization.
|
|
5
19
|
*/
|
|
6
20
|
export interface GetOrganizationArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The organization's public profile name
|
|
23
|
+
*/
|
|
7
24
|
name: string;
|
|
8
25
|
}
|
|
9
26
|
/**
|
|
10
27
|
* A collection of values returned by getOrganization.
|
|
11
28
|
*/
|
|
12
29
|
export interface GetOrganizationResult {
|
|
30
|
+
/**
|
|
31
|
+
* The description the organization account
|
|
32
|
+
*/
|
|
13
33
|
readonly description: string;
|
|
14
34
|
/**
|
|
15
35
|
* The provider-assigned unique ID for this managed resource.
|
|
16
36
|
*/
|
|
17
37
|
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The login of the organization account
|
|
40
|
+
*/
|
|
18
41
|
readonly login: string;
|
|
42
|
+
/**
|
|
43
|
+
* (`list`) A list with the members of the organization
|
|
44
|
+
*/
|
|
19
45
|
readonly members: string[];
|
|
46
|
+
/**
|
|
47
|
+
* The organization's public profile name
|
|
48
|
+
*/
|
|
20
49
|
readonly name: string;
|
|
50
|
+
/**
|
|
51
|
+
* GraphQL global node id for use with v4 API
|
|
52
|
+
*/
|
|
21
53
|
readonly nodeId: string;
|
|
54
|
+
/**
|
|
55
|
+
* The organization's name as used in URLs and the API
|
|
56
|
+
*/
|
|
22
57
|
readonly orgname: string;
|
|
58
|
+
/**
|
|
59
|
+
* The plan name for the organization account
|
|
60
|
+
*/
|
|
23
61
|
readonly plan: string;
|
|
62
|
+
/**
|
|
63
|
+
* (`list`) A list with the repositories on the organization
|
|
64
|
+
*/
|
|
24
65
|
readonly repositories: string[];
|
|
25
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Use this data source to retrieve basic information about a GitHub Organization.
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as github from "@pulumi/github";
|
|
75
|
+
*
|
|
76
|
+
* const example = github.getOrganization({
|
|
77
|
+
* name: "github",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
26
81
|
export declare function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
|
|
27
82
|
/**
|
|
28
83
|
* A collection of arguments for invoking getOrganization.
|
|
29
84
|
*/
|
|
30
85
|
export interface GetOrganizationOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The organization's public profile name
|
|
88
|
+
*/
|
|
31
89
|
name: pulumi.Input<string>;
|
|
32
90
|
}
|
package/getOrganization.js
CHANGED
|
@@ -5,18 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getOrganizationOutput = exports.getOrganization = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve basic information about a GitHub Organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const example = github.getOrganization({
|
|
18
|
+
* name: "github",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
8
22
|
function getOrganization(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
24
|
return pulumi.runtime.invoke("github:index/getOrganization:getOrganization", {
|
|
14
25
|
"name": args.name,
|
|
15
26
|
}, opts);
|
|
16
27
|
}
|
|
17
28
|
exports.getOrganization = getOrganization;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to retrieve basic information about a GitHub Organization.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as github from "@pulumi/github";
|
|
37
|
+
*
|
|
38
|
+
* const example = github.getOrganization({
|
|
39
|
+
* name: "github",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
18
43
|
function getOrganizationOutput(args, opts) {
|
|
19
|
-
return pulumi.output(args).apply(a => getOrganization(a, opts));
|
|
44
|
+
return pulumi.output(args).apply((a) => getOrganization(a, opts));
|
|
20
45
|
}
|
|
21
46
|
exports.getOrganizationOutput = getOrganizationOutput;
|
|
22
47
|
//# sourceMappingURL=getOrganization.js.map
|
package/getOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAqDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve information about the IP allow list of an organization.
|
|
5
|
+
* The allow list for IP addresses will block access to private resources via the web, API,
|
|
6
|
+
* and Git from any IP addresses that are not on the allow list.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* const all = github.getOrganizationIpAllowList({});
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getOrganizationIpAllowList(opts?: pulumi.InvokeOptions): Promise<GetOrganizationIpAllowListResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of values returned by getOrganizationIpAllowList.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetOrganizationIpAllowListResult {
|
|
22
|
+
/**
|
|
23
|
+
* The provider-assigned unique ID for this managed resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly id: string;
|
|
26
|
+
/**
|
|
27
|
+
* An Array of allowed IP addresses.
|
|
28
|
+
* ___
|
|
29
|
+
*/
|
|
30
|
+
readonly ipAllowLists: outputs.GetOrganizationIpAllowListIpAllowList[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationIpAllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about the IP allow list of an organization.
|
|
10
|
+
* The allow list for IP addresses will block access to private resources via the web, API,
|
|
11
|
+
* and Git from any IP addresses that are not on the allow list.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const all = github.getOrganizationIpAllowList({});
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOrganizationIpAllowList(opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("github:index/getOrganizationIpAllowList:getOrganizationIpAllowList", {}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getOrganizationIpAllowList = getOrganizationIpAllowList;
|
|
27
|
+
//# sourceMappingURL=getOrganizationIpAllowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationIpAllowList.js","sourceRoot":"","sources":["../getOrganizationIpAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|