@pulumi/github 4.17.0 → 5.0.0-alpha.1663887713
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/README.md +1 -1
- package/actionsEnvironmentSecret.d.ts +0 -105
- package/actionsEnvironmentSecret.js +0 -48
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -72
- package/actionsOrganizationPermissions.js +0 -36
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -110
- package/actionsOrganizationSecret.js +0 -50
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -47
- package/actionsOrganizationSecretRepositories.js +0 -29
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -88
- package/actionsRunnerGroup.js +0 -25
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -70
- package/actionsSecret.js +0 -22
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -54
- package/appInstallationRepository.js +0 -36
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -92
- package/branch.js +0 -38
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -53
- package/branchDefault.js +0 -35
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +3 -155
- package/branchProtection.js +0 -53
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -138
- package/branchProtectionV3.js +0 -66
- package/branchProtectionV3.js.map +1 -1
- package/emuGroupMapping.d.ts +0 -41
- package/emuGroupMapping.js +0 -23
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +13 -0
- package/getActionsOrganizationSecrets.js +16 -0
- package/getActionsOrganizationSecrets.js.map +1 -0
- package/getActionsPublicKey.d.ts +0 -27
- package/getActionsPublicKey.js +0 -15
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsSecrets.d.ts +30 -0
- package/getActionsSecrets.js +24 -0
- package/getActionsSecrets.js.map +1 -0
- package/getBranch.d.ts +0 -36
- package/getBranch.js +0 -15
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +0 -36
- package/getCollaborators.js +0 -15
- package/getCollaborators.js.map +1 -1
- package/getExternalGroups.d.ts +0 -17
- package/getExternalGroups.js +0 -14
- package/getExternalGroups.js.map +1 -1
- package/getIpRanges.d.ts +0 -84
- package/getIpRanges.js +0 -12
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -38
- package/getMembership.js +0 -17
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -38
- package/getOrganization.js +0 -14
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -15
- package/getOrganizationTeamSyncGroups.js +0 -12
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -38
- package/getOrganizationTeams.js +0 -25
- package/getOrganizationTeams.js.map +1 -1
- package/getRef.d.ts +0 -33
- package/getRef.js +0 -15
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +0 -121
- package/getRelease.js +0 -46
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +0 -29
- package/getRepositories.js +0 -17
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -132
- package/getRepository.js +0 -14
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -55
- package/getRepositoryFile.js +0 -17
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -46
- package/getRepositoryMilestone.js +0 -16
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -75
- package/getRepositoryPullRequest.js +0 -15
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -72
- package/getRepositoryPullRequests.js +0 -18
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +30 -0
- package/getRepositoryTeams.js +24 -0
- package/getRepositoryTeams.js.map +1 -0
- package/getTeam.d.ts +0 -47
- package/getTeam.js +0 -14
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -45
- package/getTree.js +0 -24
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -87
- package/getUser.js +0 -21
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +0 -37
- package/getUsers.js +0 -22
- package/getUsers.js.map +1 -1
- package/index.d.ts +4 -0
- package/index.js +8 -0
- package/index.js.map +1 -1
- package/issue.d.ts +6 -117
- package/issue.js +0 -63
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -64
- package/issueLabel.js +0 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -49
- package/membership.js +0 -28
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -23
- package/organizationBlock.js +0 -14
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +0 -38
- package/organizationProject.js +0 -14
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.d.ts +0 -63
- package/organizationWebhook.js +0 -30
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +0 -87
- package/projectCard.js +0 -51
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -31
- package/projectColumn.js +0 -13
- package/projectColumn.js.map +1 -1
- package/repository.d.ts +3 -377
- package/repository.js +0 -47
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +6 -40
- package/repositoryAutolinkReference.js +0 -28
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -90
- package/repositoryCollaborator.js +0 -42
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -71
- package/repositoryDeployKey.js +0 -35
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -61
- package/repositoryEnvironment.js +0 -34
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +28 -68
- package/repositoryFile.js +0 -37
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +3 -81
- package/repositoryMilestone.js +0 -27
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -52
- package/repositoryProject.js +0 -19
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +4 -127
- package/repositoryPullRequest.js +0 -18
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +44 -0
- package/repositoryTagProtection.js +59 -0
- package/repositoryTagProtection.js.map +1 -0
- package/repositoryWebhook.d.ts +0 -79
- package/repositoryWebhook.js +0 -37
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -100
- package/team.js +0 -27
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -58
- package/teamMembers.js +0 -40
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -67
- package/teamMembership.js +0 -37
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +3 -59
- package/teamRepository.js +0 -35
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -36
- package/teamSyncGroupMapping.js +0 -15
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +0 -86
- package/types/output.d.ts +16 -237
- package/userGpgKey.d.ts +0 -40
- package/userGpgKey.js +0 -22
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +0 -30
- package/userInvitationAccepter.js +0 -21
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +0 -50
- package/userSshKey.js +0 -26
- package/userSshKey.js.map +1 -1
package/getCollaborators.d.ts
CHANGED
|
@@ -1,36 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve the collaborators for a given repository.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const test = pulumi.output(github.getCollaborators({
|
|
13
|
-
* owner: "example_owner",
|
|
14
|
-
* repository: "example_repository",
|
|
15
|
-
* }));
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
3
|
export declare function getCollaborators(args: GetCollaboratorsArgs, opts?: pulumi.InvokeOptions): Promise<GetCollaboratorsResult>;
|
|
19
4
|
/**
|
|
20
5
|
* A collection of arguments for invoking getCollaborators.
|
|
21
6
|
*/
|
|
22
7
|
export interface GetCollaboratorsArgs {
|
|
23
|
-
/**
|
|
24
|
-
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
25
|
-
*/
|
|
26
8
|
affiliation?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The organization that owns the repository.
|
|
29
|
-
*/
|
|
30
9
|
owner: string;
|
|
31
|
-
/**
|
|
32
|
-
* The name of the repository.
|
|
33
|
-
*/
|
|
34
10
|
repository: string;
|
|
35
11
|
}
|
|
36
12
|
/**
|
|
@@ -38,9 +14,6 @@ export interface GetCollaboratorsArgs {
|
|
|
38
14
|
*/
|
|
39
15
|
export interface GetCollaboratorsResult {
|
|
40
16
|
readonly affiliation?: string;
|
|
41
|
-
/**
|
|
42
|
-
* An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below.
|
|
43
|
-
*/
|
|
44
17
|
readonly collaborators: outputs.GetCollaboratorsCollaborator[];
|
|
45
18
|
/**
|
|
46
19
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -54,16 +27,7 @@ export declare function getCollaboratorsOutput(args: GetCollaboratorsOutputArgs,
|
|
|
54
27
|
* A collection of arguments for invoking getCollaborators.
|
|
55
28
|
*/
|
|
56
29
|
export interface GetCollaboratorsOutputArgs {
|
|
57
|
-
/**
|
|
58
|
-
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
59
|
-
*/
|
|
60
30
|
affiliation?: pulumi.Input<string>;
|
|
61
|
-
/**
|
|
62
|
-
* The organization that owns the repository.
|
|
63
|
-
*/
|
|
64
31
|
owner: pulumi.Input<string>;
|
|
65
|
-
/**
|
|
66
|
-
* The name of the repository.
|
|
67
|
-
*/
|
|
68
32
|
repository: pulumi.Input<string>;
|
|
69
33
|
}
|
package/getCollaborators.js
CHANGED
|
@@ -5,21 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCollaboratorsOutput = exports.getCollaborators = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve the collaborators for a given repository.
|
|
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 = pulumi.output(github.getCollaborators({
|
|
18
|
-
* owner: "example_owner",
|
|
19
|
-
* repository: "example_repository",
|
|
20
|
-
* }));
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
8
|
function getCollaborators(args, opts) {
|
|
24
9
|
if (!opts) {
|
|
25
10
|
opts = {};
|
package/getCollaborators.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AAyBD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getExternalGroups.d.ts
CHANGED
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve external groups belonging to an organization.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleExternalGroups = github.getExternalGroups({});
|
|
13
|
-
* const localGroups = exampleExternalGroups;
|
|
14
|
-
* export const groups = localGroups;
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
3
|
export declare function getExternalGroups(opts?: pulumi.InvokeOptions): Promise<GetExternalGroupsResult>;
|
|
18
4
|
/**
|
|
19
5
|
* A collection of values returned by getExternalGroups.
|
|
20
6
|
*/
|
|
21
7
|
export interface GetExternalGroupsResult {
|
|
22
|
-
/**
|
|
23
|
-
* an array of external groups belonging to the organization. Each group consists of the fields documented below.
|
|
24
|
-
*/
|
|
25
8
|
readonly externalGroups: outputs.GetExternalGroupsExternalGroup[];
|
|
26
9
|
/**
|
|
27
10
|
* The provider-assigned unique ID for this managed resource.
|
package/getExternalGroups.js
CHANGED
|
@@ -5,20 +5,6 @@ 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
|
-
*/
|
|
22
8
|
function getExternalGroups(opts) {
|
|
23
9
|
if (!opts) {
|
|
24
10
|
opts = {};
|
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;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getExternalGroups.js","sourceRoot":"","sources":["../getExternalGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC"}
|
package/getIpRanges.d.ts
CHANGED
|
@@ -1,119 +1,35 @@
|
|
|
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 = pulumi.output(github.getIpRanges());
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
2
|
export declare function getIpRanges(opts?: pulumi.InvokeOptions): Promise<GetIpRangesResult>;
|
|
15
3
|
/**
|
|
16
4
|
* A collection of values returned by getIpRanges.
|
|
17
5
|
*/
|
|
18
6
|
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
|
-
*/
|
|
22
7
|
readonly actions: string[];
|
|
23
|
-
/**
|
|
24
|
-
* A subset of the `actions` array that contains IP addresses in IPv4 CIDR format.
|
|
25
|
-
*/
|
|
26
8
|
readonly actionsIpv4s: string[];
|
|
27
|
-
/**
|
|
28
|
-
* A subset of the `actions` array that contains IP addresses in IPv6 CIDR format.
|
|
29
|
-
*/
|
|
30
9
|
readonly actionsIpv6s: string[];
|
|
31
|
-
/**
|
|
32
|
-
* A subset of the `api` array that contains IP addresses in IPv4 CIDR format.
|
|
33
|
-
*/
|
|
34
10
|
readonly apiIpv4s: string[];
|
|
35
|
-
/**
|
|
36
|
-
* A subset of the `api` array that contains IP addresses in IPv6 CIDR format.
|
|
37
|
-
*/
|
|
38
11
|
readonly apiIpv6s: string[];
|
|
39
|
-
/**
|
|
40
|
-
* An Array of IP addresses in CIDR format for the GitHub API.
|
|
41
|
-
*/
|
|
42
12
|
readonly apis: string[];
|
|
43
|
-
/**
|
|
44
|
-
* A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.
|
|
45
|
-
*/
|
|
46
13
|
readonly dependabotIpv4s: string[];
|
|
47
|
-
/**
|
|
48
|
-
* A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.
|
|
49
|
-
*/
|
|
50
14
|
readonly dependabotIpv6s: string[];
|
|
51
|
-
/**
|
|
52
|
-
* An array of IP addresses in CIDR format specifying the A records for dependabot.
|
|
53
|
-
*/
|
|
54
15
|
readonly dependabots: string[];
|
|
55
|
-
/**
|
|
56
|
-
* A subset of the `git` array that contains IP addresses in IPv4 CIDR format.
|
|
57
|
-
*/
|
|
58
16
|
readonly gitIpv4s: string[];
|
|
59
|
-
/**
|
|
60
|
-
* A subset of the `git` array that contains IP addresses in IPv6 CIDR format.
|
|
61
|
-
*/
|
|
62
17
|
readonly gitIpv6s: string[];
|
|
63
|
-
/**
|
|
64
|
-
* An Array of IP addresses in CIDR format specifying the Git servers.
|
|
65
|
-
*/
|
|
66
18
|
readonly gits: string[];
|
|
67
|
-
/**
|
|
68
|
-
* An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
|
|
69
|
-
*/
|
|
70
19
|
readonly hooks: string[];
|
|
71
|
-
/**
|
|
72
|
-
* A subset of the `hooks` array that contains IP addresses in IPv4 CIDR format.
|
|
73
|
-
*/
|
|
74
20
|
readonly hooksIpv4s: string[];
|
|
75
|
-
/**
|
|
76
|
-
* A subset of the `hooks` array that contains IP addresses in IPv6 CIDR format.
|
|
77
|
-
*/
|
|
78
21
|
readonly hooksIpv6s: string[];
|
|
79
22
|
/**
|
|
80
23
|
* The provider-assigned unique ID for this managed resource.
|
|
81
24
|
*/
|
|
82
25
|
readonly id: string;
|
|
83
|
-
/**
|
|
84
|
-
* A subset of the `importer` array that contains IP addresses in IPv4 CIDR format.
|
|
85
|
-
*/
|
|
86
26
|
readonly importerIpv4s: string[];
|
|
87
|
-
/**
|
|
88
|
-
* A subset of the `importer` array that contains IP addresses in IPv6 CIDR format.
|
|
89
|
-
*/
|
|
90
27
|
readonly importerIpv6s: string[];
|
|
91
|
-
/**
|
|
92
|
-
* An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
|
|
93
|
-
*/
|
|
94
28
|
readonly importers: string[];
|
|
95
|
-
/**
|
|
96
|
-
* An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
|
|
97
|
-
*/
|
|
98
29
|
readonly pages: string[];
|
|
99
|
-
/**
|
|
100
|
-
* A subset of the `pages` array that contains IP addresses in IPv4 CIDR format.
|
|
101
|
-
*/
|
|
102
30
|
readonly pagesIpv4s: string[];
|
|
103
|
-
/**
|
|
104
|
-
* A subset of the `pages` array that contains IP addresses in IPv6 CIDR format.
|
|
105
|
-
*/
|
|
106
31
|
readonly pagesIpv6s: string[];
|
|
107
|
-
/**
|
|
108
|
-
* A subset of the `web` array that contains IP addresses in IPv4 CIDR format.
|
|
109
|
-
*/
|
|
110
32
|
readonly webIpv4s: string[];
|
|
111
|
-
/**
|
|
112
|
-
* A subset of the `web` array that contains IP addresses in IPv6 CIDR format.
|
|
113
|
-
*/
|
|
114
33
|
readonly webIpv6s: string[];
|
|
115
|
-
/**
|
|
116
|
-
* An Array of IP addresses in CIDR format for GitHub Web.
|
|
117
|
-
*/
|
|
118
34
|
readonly webs: string[];
|
|
119
35
|
}
|
package/getIpRanges.js
CHANGED
|
@@ -5,18 +5,6 @@ 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 = pulumi.output(github.getIpRanges());
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
8
|
function getIpRanges(opts) {
|
|
21
9
|
if (!opts) {
|
|
22
10
|
opts = {};
|
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
|
|
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;IACnD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC"}
|
package/getMembership.d.ts
CHANGED
|
@@ -1,55 +1,23 @@
|
|
|
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 = pulumi.output(github.getMembership({
|
|
15
|
-
* username: "SomeUser",
|
|
16
|
-
* }));
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
2
|
export declare function getMembership(args: GetMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetMembershipResult>;
|
|
20
3
|
/**
|
|
21
4
|
* A collection of arguments for invoking getMembership.
|
|
22
5
|
*/
|
|
23
6
|
export interface GetMembershipArgs {
|
|
24
|
-
/**
|
|
25
|
-
* The organization to check for the above username.
|
|
26
|
-
*/
|
|
27
7
|
organization?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The username to lookup in the organization.
|
|
30
|
-
*/
|
|
31
8
|
username: string;
|
|
32
9
|
}
|
|
33
10
|
/**
|
|
34
11
|
* A collection of values returned by getMembership.
|
|
35
12
|
*/
|
|
36
13
|
export interface GetMembershipResult {
|
|
37
|
-
/**
|
|
38
|
-
* An etag representing the membership object.
|
|
39
|
-
*/
|
|
40
14
|
readonly etag: string;
|
|
41
15
|
/**
|
|
42
16
|
* The provider-assigned unique ID for this managed resource.
|
|
43
17
|
*/
|
|
44
18
|
readonly id: string;
|
|
45
19
|
readonly organization?: string;
|
|
46
|
-
/**
|
|
47
|
-
* `admin` or `member` -- the role the user has within the organization.
|
|
48
|
-
*/
|
|
49
20
|
readonly role: string;
|
|
50
|
-
/**
|
|
51
|
-
* The username.
|
|
52
|
-
*/
|
|
53
21
|
readonly username: string;
|
|
54
22
|
}
|
|
55
23
|
export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMembershipResult>;
|
|
@@ -57,12 +25,6 @@ export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?
|
|
|
57
25
|
* A collection of arguments for invoking getMembership.
|
|
58
26
|
*/
|
|
59
27
|
export interface GetMembershipOutputArgs {
|
|
60
|
-
/**
|
|
61
|
-
* The organization to check for the above username.
|
|
62
|
-
*/
|
|
63
28
|
organization?: pulumi.Input<string>;
|
|
64
|
-
/**
|
|
65
|
-
* The username to lookup in the organization.
|
|
66
|
-
*/
|
|
67
29
|
username: pulumi.Input<string>;
|
|
68
30
|
}
|
package/getMembership.js
CHANGED
|
@@ -5,23 +5,6 @@ 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 = pulumi.output(github.getMembership({
|
|
21
|
-
* username: "SomeUser",
|
|
22
|
-
* }));
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
8
|
function getMembership(args, opts) {
|
|
26
9
|
if (!opts) {
|
|
27
10
|
opts = {};
|
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
|
|
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;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,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;AAVD,sCAUC;AAwBD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getOrganization.d.ts
CHANGED
|
@@ -1,61 +1,26 @@
|
|
|
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 test = pulumi.output(github.getOrganization({
|
|
12
|
-
* name: "github",
|
|
13
|
-
* }));
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
2
|
export declare function getOrganization(args: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
|
|
17
3
|
/**
|
|
18
4
|
* A collection of arguments for invoking getOrganization.
|
|
19
5
|
*/
|
|
20
6
|
export interface GetOrganizationArgs {
|
|
21
|
-
/**
|
|
22
|
-
* The name of the organization account
|
|
23
|
-
*/
|
|
24
7
|
name: string;
|
|
25
8
|
}
|
|
26
9
|
/**
|
|
27
10
|
* A collection of values returned by getOrganization.
|
|
28
11
|
*/
|
|
29
12
|
export interface GetOrganizationResult {
|
|
30
|
-
/**
|
|
31
|
-
* The description the organization account
|
|
32
|
-
*/
|
|
33
13
|
readonly description: string;
|
|
34
14
|
/**
|
|
35
15
|
* The provider-assigned unique ID for this managed resource.
|
|
36
16
|
*/
|
|
37
17
|
readonly id: string;
|
|
38
|
-
/**
|
|
39
|
-
* The login of the organization account
|
|
40
|
-
*/
|
|
41
18
|
readonly login: string;
|
|
42
|
-
/**
|
|
43
|
-
* (`list`) A list with the members of the organization
|
|
44
|
-
*/
|
|
45
19
|
readonly members: string[];
|
|
46
|
-
/**
|
|
47
|
-
* The name of the organization account
|
|
48
|
-
*/
|
|
49
20
|
readonly name: string;
|
|
50
21
|
readonly nodeId: string;
|
|
51
22
|
readonly orgname: string;
|
|
52
|
-
/**
|
|
53
|
-
* The plan name for the organization account
|
|
54
|
-
*/
|
|
55
23
|
readonly plan: string;
|
|
56
|
-
/**
|
|
57
|
-
* (`list`) A list with the repositories on the organization
|
|
58
|
-
*/
|
|
59
24
|
readonly repositories: string[];
|
|
60
25
|
}
|
|
61
26
|
export declare function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
|
|
@@ -63,8 +28,5 @@ export declare function getOrganizationOutput(args: GetOrganizationOutputArgs, o
|
|
|
63
28
|
* A collection of arguments for invoking getOrganization.
|
|
64
29
|
*/
|
|
65
30
|
export interface GetOrganizationOutputArgs {
|
|
66
|
-
/**
|
|
67
|
-
* The name of the organization account
|
|
68
|
-
*/
|
|
69
31
|
name: pulumi.Input<string>;
|
|
70
32
|
}
|
package/getOrganization.js
CHANGED
|
@@ -5,20 +5,6 @@ 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 test = pulumi.output(github.getOrganization({
|
|
18
|
-
* name: "github",
|
|
19
|
-
* }));
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
8
|
function getOrganization(args, opts) {
|
|
23
9
|
if (!opts) {
|
|
24
10
|
opts = {};
|
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
|
|
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;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AA2BD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve the identity provider (IdP) groups for an organization.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const test = pulumi.output(github.getOrganizationTeamSyncGroups());
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
3
|
export declare function getOrganizationTeamSyncGroups(opts?: pulumi.InvokeOptions): Promise<GetOrganizationTeamSyncGroupsResult>;
|
|
16
4
|
/**
|
|
17
5
|
* A collection of values returned by getOrganizationTeamSyncGroups.
|
|
18
6
|
*/
|
|
19
7
|
export interface GetOrganizationTeamSyncGroupsResult {
|
|
20
|
-
/**
|
|
21
|
-
* An Array of GitHub Identity Provider Groups. Each `group` block consists of the fields documented below.
|
|
22
|
-
*/
|
|
23
8
|
readonly groups: outputs.GetOrganizationTeamSyncGroupsGroup[];
|
|
24
9
|
/**
|
|
25
10
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -5,18 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getOrganizationTeamSyncGroups = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve the identity provider (IdP) groups for 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 test = pulumi.output(github.getOrganizationTeamSyncGroups());
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
8
|
function getOrganizationTeamSyncGroups(opts) {
|
|
21
9
|
if (!opts) {
|
|
22
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationTeamSyncGroups.js","sourceRoot":"","sources":["../getOrganizationTeamSyncGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOrganizationTeamSyncGroups.js","sourceRoot":"","sources":["../getOrganizationTeamSyncGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE,EACxG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sEAQC"}
|
|
@@ -1,38 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve information about all GitHub teams in an organization.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* To retrieve *all* teams of the organization:
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const all = pulumi.output(github.getOrganizationTeams());
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* To retrieve only the team's at the root of the organization:
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as github from "@pulumi/github";
|
|
22
|
-
*
|
|
23
|
-
* const rootTeams = pulumi.output(github.getOrganizationTeams({
|
|
24
|
-
* rootTeamsOnly: true,
|
|
25
|
-
* }));
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
3
|
export declare function getOrganizationTeams(args?: GetOrganizationTeamsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationTeamsResult>;
|
|
29
4
|
/**
|
|
30
5
|
* A collection of arguments for invoking getOrganizationTeams.
|
|
31
6
|
*/
|
|
32
7
|
export interface GetOrganizationTeamsArgs {
|
|
33
|
-
/**
|
|
34
|
-
* Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
|
|
35
|
-
*/
|
|
36
8
|
rootTeamsOnly?: boolean;
|
|
37
9
|
}
|
|
38
10
|
/**
|
|
@@ -43,14 +15,7 @@ export interface GetOrganizationTeamsResult {
|
|
|
43
15
|
* The provider-assigned unique ID for this managed resource.
|
|
44
16
|
*/
|
|
45
17
|
readonly id: string;
|
|
46
|
-
/**
|
|
47
|
-
* Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
|
|
48
|
-
*/
|
|
49
18
|
readonly rootTeamsOnly?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* An Array of GitHub Teams. Each `team` block consists of the fields documented below.
|
|
52
|
-
* ___
|
|
53
|
-
*/
|
|
54
19
|
readonly teams: outputs.GetOrganizationTeamsTeam[];
|
|
55
20
|
}
|
|
56
21
|
export declare function getOrganizationTeamsOutput(args?: GetOrganizationTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationTeamsResult>;
|
|
@@ -58,8 +23,5 @@ export declare function getOrganizationTeamsOutput(args?: GetOrganizationTeamsOu
|
|
|
58
23
|
* A collection of arguments for invoking getOrganizationTeams.
|
|
59
24
|
*/
|
|
60
25
|
export interface GetOrganizationTeamsOutputArgs {
|
|
61
|
-
/**
|
|
62
|
-
* Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
|
|
63
|
-
*/
|
|
64
26
|
rootTeamsOnly?: pulumi.Input<boolean>;
|
|
65
27
|
}
|
package/getOrganizationTeams.js
CHANGED
|
@@ -5,31 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getOrganizationTeamsOutput = exports.getOrganizationTeams = 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 all GitHub teams in an organization.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* To retrieve *all* teams of the organization:
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as github from "@pulumi/github";
|
|
18
|
-
*
|
|
19
|
-
* const all = pulumi.output(github.getOrganizationTeams());
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* To retrieve only the team's at the root of the organization:
|
|
23
|
-
*
|
|
24
|
-
* ```typescript
|
|
25
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
-
* import * as github from "@pulumi/github";
|
|
27
|
-
*
|
|
28
|
-
* const rootTeams = pulumi.output(github.getOrganizationTeams({
|
|
29
|
-
* rootTeamsOnly: true,
|
|
30
|
-
* }));
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
8
|
function getOrganizationTeams(args, opts) {
|
|
34
9
|
args = args || {};
|
|
35
10
|
if (!opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationTeams.js","sourceRoot":"","sources":["../getOrganizationTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOrganizationTeams.js","sourceRoot":"","sources":["../getOrganizationTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oDAUC;AAqBD,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
|