@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/issue.d.ts
CHANGED
|
@@ -1,67 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides a GitHub issue resource.
|
|
4
|
-
*
|
|
5
|
-
* This resource allows you to create and manage issue within your
|
|
6
|
-
* GitHub repository.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* // Create a simple issue
|
|
15
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
16
|
-
* autoInit: true,
|
|
17
|
-
* hasIssues: true,
|
|
18
|
-
* });
|
|
19
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
20
|
-
* repository: testRepository.name,
|
|
21
|
-
* title: "My issue title",
|
|
22
|
-
* body: "The body of my issue",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
* ### With Milestone And Project Assignment
|
|
26
|
-
*
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
-
* import * as github from "@pulumi/github";
|
|
30
|
-
*
|
|
31
|
-
* // Create an issue with milestone and project assignment
|
|
32
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
33
|
-
* autoInit: true,
|
|
34
|
-
* hasIssues: true,
|
|
35
|
-
* });
|
|
36
|
-
* const testRepositoryMilestone = new github.RepositoryMilestone("testRepositoryMilestone", {
|
|
37
|
-
* owner: testRepository.fullName.apply(fullName => fullName.split("/")).apply(split => split[0]),
|
|
38
|
-
* repository: testRepository.name,
|
|
39
|
-
* title: "v1.0.0",
|
|
40
|
-
* description: "General Availability",
|
|
41
|
-
* dueDate: "2022-11-22",
|
|
42
|
-
* state: "open",
|
|
43
|
-
* });
|
|
44
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
45
|
-
* repository: testRepository.name,
|
|
46
|
-
* title: "My issue",
|
|
47
|
-
* body: "My issue body",
|
|
48
|
-
* labels: [
|
|
49
|
-
* "bug",
|
|
50
|
-
* "documentation",
|
|
51
|
-
* ],
|
|
52
|
-
* assignees: ["bob-github"],
|
|
53
|
-
* milestoneNumber: testRepositoryMilestone.number,
|
|
54
|
-
* });
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* ## Import
|
|
58
|
-
*
|
|
59
|
-
* GitHub Issues can be imported using an ID made up of `repository:number`, e.g.
|
|
60
|
-
*
|
|
61
|
-
* ```sh
|
|
62
|
-
* $ pulumi import github:index/issue:Issue issue_15 myrepo:15
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
2
|
export declare class Issue extends pulumi.CustomResource {
|
|
66
3
|
/**
|
|
67
4
|
* Get an existing Issue resource's state with the given name, ID, and optional extra
|
|
@@ -79,37 +16,19 @@ export declare class Issue extends pulumi.CustomResource {
|
|
|
79
16
|
*/
|
|
80
17
|
static isInstance(obj: any): obj is Issue;
|
|
81
18
|
/**
|
|
82
|
-
* List of Logins to assign
|
|
19
|
+
* List of Logins for Users to assign to this issue
|
|
83
20
|
*/
|
|
84
21
|
readonly assignees: pulumi.Output<string[] | undefined>;
|
|
85
|
-
/**
|
|
86
|
-
* Title of the issue.
|
|
87
|
-
*/
|
|
88
22
|
readonly body: pulumi.Output<string | undefined>;
|
|
89
23
|
readonly etag: pulumi.Output<string>;
|
|
90
|
-
/**
|
|
91
|
-
* (Computed) - The issue id
|
|
92
|
-
*/
|
|
93
24
|
readonly issueId: pulumi.Output<number>;
|
|
94
25
|
/**
|
|
95
|
-
* List of
|
|
26
|
+
* List of names of labels on the issue
|
|
96
27
|
*/
|
|
97
28
|
readonly labels: pulumi.Output<string[] | undefined>;
|
|
98
|
-
/**
|
|
99
|
-
* Milestone number to assign to the issue
|
|
100
|
-
*/
|
|
101
29
|
readonly milestoneNumber: pulumi.Output<number | undefined>;
|
|
102
|
-
/**
|
|
103
|
-
* (Computed) - The issue number
|
|
104
|
-
*/
|
|
105
30
|
readonly number: pulumi.Output<number>;
|
|
106
|
-
/**
|
|
107
|
-
* The GitHub repository name
|
|
108
|
-
*/
|
|
109
31
|
readonly repository: pulumi.Output<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Title of the issue.
|
|
112
|
-
*/
|
|
113
32
|
readonly title: pulumi.Output<string>;
|
|
114
33
|
/**
|
|
115
34
|
* Create a Issue resource with the given unique name, arguments, and options.
|
|
@@ -125,37 +44,19 @@ export declare class Issue extends pulumi.CustomResource {
|
|
|
125
44
|
*/
|
|
126
45
|
export interface IssueState {
|
|
127
46
|
/**
|
|
128
|
-
* List of Logins to assign
|
|
47
|
+
* List of Logins for Users to assign to this issue
|
|
129
48
|
*/
|
|
130
49
|
assignees?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
-
/**
|
|
132
|
-
* Title of the issue.
|
|
133
|
-
*/
|
|
134
50
|
body?: pulumi.Input<string>;
|
|
135
51
|
etag?: pulumi.Input<string>;
|
|
136
|
-
/**
|
|
137
|
-
* (Computed) - The issue id
|
|
138
|
-
*/
|
|
139
52
|
issueId?: pulumi.Input<number>;
|
|
140
53
|
/**
|
|
141
|
-
* List of
|
|
54
|
+
* List of names of labels on the issue
|
|
142
55
|
*/
|
|
143
56
|
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
-
/**
|
|
145
|
-
* Milestone number to assign to the issue
|
|
146
|
-
*/
|
|
147
57
|
milestoneNumber?: pulumi.Input<number>;
|
|
148
|
-
/**
|
|
149
|
-
* (Computed) - The issue number
|
|
150
|
-
*/
|
|
151
58
|
number?: pulumi.Input<number>;
|
|
152
|
-
/**
|
|
153
|
-
* The GitHub repository name
|
|
154
|
-
*/
|
|
155
59
|
repository?: pulumi.Input<string>;
|
|
156
|
-
/**
|
|
157
|
-
* Title of the issue.
|
|
158
|
-
*/
|
|
159
60
|
title?: pulumi.Input<string>;
|
|
160
61
|
}
|
|
161
62
|
/**
|
|
@@ -163,27 +64,15 @@ export interface IssueState {
|
|
|
163
64
|
*/
|
|
164
65
|
export interface IssueArgs {
|
|
165
66
|
/**
|
|
166
|
-
* List of Logins to assign
|
|
67
|
+
* List of Logins for Users to assign to this issue
|
|
167
68
|
*/
|
|
168
69
|
assignees?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
-
/**
|
|
170
|
-
* Title of the issue.
|
|
171
|
-
*/
|
|
172
70
|
body?: pulumi.Input<string>;
|
|
173
71
|
/**
|
|
174
|
-
* List of
|
|
72
|
+
* List of names of labels on the issue
|
|
175
73
|
*/
|
|
176
74
|
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
177
|
-
/**
|
|
178
|
-
* Milestone number to assign to the issue
|
|
179
|
-
*/
|
|
180
75
|
milestoneNumber?: pulumi.Input<number>;
|
|
181
|
-
/**
|
|
182
|
-
* The GitHub repository name
|
|
183
|
-
*/
|
|
184
76
|
repository: pulumi.Input<string>;
|
|
185
|
-
/**
|
|
186
|
-
* Title of the issue.
|
|
187
|
-
*/
|
|
188
77
|
title: pulumi.Input<string>;
|
|
189
78
|
}
|
package/issue.js
CHANGED
|
@@ -5,69 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Issue = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a GitHub issue resource.
|
|
10
|
-
*
|
|
11
|
-
* This resource allows you to create and manage issue within your
|
|
12
|
-
* GitHub repository.
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* // Create a simple issue
|
|
21
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
22
|
-
* autoInit: true,
|
|
23
|
-
* hasIssues: true,
|
|
24
|
-
* });
|
|
25
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
26
|
-
* repository: testRepository.name,
|
|
27
|
-
* title: "My issue title",
|
|
28
|
-
* body: "The body of my issue",
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
* ### With Milestone And Project Assignment
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as github from "@pulumi/github";
|
|
36
|
-
*
|
|
37
|
-
* // Create an issue with milestone and project assignment
|
|
38
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
39
|
-
* autoInit: true,
|
|
40
|
-
* hasIssues: true,
|
|
41
|
-
* });
|
|
42
|
-
* const testRepositoryMilestone = new github.RepositoryMilestone("testRepositoryMilestone", {
|
|
43
|
-
* owner: testRepository.fullName.apply(fullName => fullName.split("/")).apply(split => split[0]),
|
|
44
|
-
* repository: testRepository.name,
|
|
45
|
-
* title: "v1.0.0",
|
|
46
|
-
* description: "General Availability",
|
|
47
|
-
* dueDate: "2022-11-22",
|
|
48
|
-
* state: "open",
|
|
49
|
-
* });
|
|
50
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
51
|
-
* repository: testRepository.name,
|
|
52
|
-
* title: "My issue",
|
|
53
|
-
* body: "My issue body",
|
|
54
|
-
* labels: [
|
|
55
|
-
* "bug",
|
|
56
|
-
* "documentation",
|
|
57
|
-
* ],
|
|
58
|
-
* assignees: ["bob-github"],
|
|
59
|
-
* milestoneNumber: testRepositoryMilestone.number,
|
|
60
|
-
* });
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* ## Import
|
|
64
|
-
*
|
|
65
|
-
* GitHub Issues can be imported using an ID made up of `repository:number`, e.g.
|
|
66
|
-
*
|
|
67
|
-
* ```sh
|
|
68
|
-
* $ pulumi import github:index/issue:Issue issue_15 myrepo:15
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
8
|
class Issue extends pulumi.CustomResource {
|
|
72
9
|
constructor(name, argsOrState, opts) {
|
|
73
10
|
let resourceInputs = {};
|
package/issue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../issue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IArFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAuFC;AAzEG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/issueLabel.d.ts
CHANGED
|
@@ -1,26 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* // Create a new, red colored label
|
|
10
|
-
* const testRepo = new github.IssueLabel("test_repo", {
|
|
11
|
-
* color: "FF0000",
|
|
12
|
-
* repository: "test-repo",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* ## Import
|
|
17
|
-
*
|
|
18
|
-
* GitHub Issue Labels can be imported using an ID made up of `repository:name`, e.g.
|
|
19
|
-
*
|
|
20
|
-
* ```sh
|
|
21
|
-
* $ pulumi import github:index/issueLabel:IssueLabel panic_label terraform:panic
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
2
|
export declare class IssueLabel extends pulumi.CustomResource {
|
|
25
3
|
/**
|
|
26
4
|
* Get an existing IssueLabel resource's state with the given name, ID, and optional extra
|
|
@@ -37,26 +15,11 @@ export declare class IssueLabel extends pulumi.CustomResource {
|
|
|
37
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
16
|
*/
|
|
39
17
|
static isInstance(obj: any): obj is IssueLabel;
|
|
40
|
-
/**
|
|
41
|
-
* A 6 character hex code, **without the leading #**, identifying the color of the label.
|
|
42
|
-
*/
|
|
43
18
|
readonly color: pulumi.Output<string>;
|
|
44
|
-
/**
|
|
45
|
-
* A short description of the label.
|
|
46
|
-
*/
|
|
47
19
|
readonly description: pulumi.Output<string | undefined>;
|
|
48
20
|
readonly etag: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The name of the label.
|
|
51
|
-
*/
|
|
52
21
|
readonly name: pulumi.Output<string>;
|
|
53
|
-
/**
|
|
54
|
-
* The GitHub repository
|
|
55
|
-
*/
|
|
56
22
|
readonly repository: pulumi.Output<string>;
|
|
57
|
-
/**
|
|
58
|
-
* The URL to the issue label
|
|
59
|
-
*/
|
|
60
23
|
readonly url: pulumi.Output<string>;
|
|
61
24
|
/**
|
|
62
25
|
* Create a IssueLabel resource with the given unique name, arguments, and options.
|
|
@@ -71,46 +34,19 @@ export declare class IssueLabel extends pulumi.CustomResource {
|
|
|
71
34
|
* Input properties used for looking up and filtering IssueLabel resources.
|
|
72
35
|
*/
|
|
73
36
|
export interface IssueLabelState {
|
|
74
|
-
/**
|
|
75
|
-
* A 6 character hex code, **without the leading #**, identifying the color of the label.
|
|
76
|
-
*/
|
|
77
37
|
color?: pulumi.Input<string>;
|
|
78
|
-
/**
|
|
79
|
-
* A short description of the label.
|
|
80
|
-
*/
|
|
81
38
|
description?: pulumi.Input<string>;
|
|
82
39
|
etag?: pulumi.Input<string>;
|
|
83
|
-
/**
|
|
84
|
-
* The name of the label.
|
|
85
|
-
*/
|
|
86
40
|
name?: pulumi.Input<string>;
|
|
87
|
-
/**
|
|
88
|
-
* The GitHub repository
|
|
89
|
-
*/
|
|
90
41
|
repository?: pulumi.Input<string>;
|
|
91
|
-
/**
|
|
92
|
-
* The URL to the issue label
|
|
93
|
-
*/
|
|
94
42
|
url?: pulumi.Input<string>;
|
|
95
43
|
}
|
|
96
44
|
/**
|
|
97
45
|
* The set of arguments for constructing a IssueLabel resource.
|
|
98
46
|
*/
|
|
99
47
|
export interface IssueLabelArgs {
|
|
100
|
-
/**
|
|
101
|
-
* A 6 character hex code, **without the leading #**, identifying the color of the label.
|
|
102
|
-
*/
|
|
103
48
|
color: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* A short description of the label.
|
|
106
|
-
*/
|
|
107
49
|
description?: pulumi.Input<string>;
|
|
108
|
-
/**
|
|
109
|
-
* The name of the label.
|
|
110
|
-
*/
|
|
111
50
|
name?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* The GitHub repository
|
|
114
|
-
*/
|
|
115
51
|
repository: pulumi.Input<string>;
|
|
116
52
|
}
|
package/issueLabel.js
CHANGED
|
@@ -5,28 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.IssueLabel = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* // Create a new, red colored label
|
|
16
|
-
* const testRepo = new github.IssueLabel("test_repo", {
|
|
17
|
-
* color: "FF0000",
|
|
18
|
-
* repository: "test-repo",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* ## Import
|
|
23
|
-
*
|
|
24
|
-
* GitHub Issue Labels can be imported using an ID made up of `repository:name`, e.g.
|
|
25
|
-
*
|
|
26
|
-
* ```sh
|
|
27
|
-
* $ pulumi import github:index/issueLabel:IssueLabel panic_label terraform:panic
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
8
|
class IssueLabel extends pulumi.CustomResource {
|
|
31
9
|
constructor(name, argsOrState, opts) {
|
|
32
10
|
let resourceInputs = {};
|
package/issueLabel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueLabel.js","sourceRoot":"","sources":["../issueLabel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"issueLabel.js","sourceRoot":"","sources":["../issueLabel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA2CjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAA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AC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAwEC;AA1DG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/membership.d.ts
CHANGED
|
@@ -1,32 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides a GitHub membership resource.
|
|
4
|
-
*
|
|
5
|
-
* This resource allows you to add/remove users from your organization. When applied,
|
|
6
|
-
* an invitation will be sent to the user to become part of the organization. When
|
|
7
|
-
* destroyed, either the invitation will be cancelled or the user will be removed.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* // Add a user to the organization
|
|
16
|
-
* const membershipForSomeUser = new github.Membership("membership_for_some_user", {
|
|
17
|
-
* role: "member",
|
|
18
|
-
* username: "SomeUser",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* ## Import
|
|
23
|
-
*
|
|
24
|
-
* GitHub Membership can be imported using an ID made up of `organization:username`, e.g.
|
|
25
|
-
*
|
|
26
|
-
* ```sh
|
|
27
|
-
* $ pulumi import github:index/membership:Membership member hashicorp:someuser
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
2
|
export declare class Membership extends pulumi.CustomResource {
|
|
31
3
|
/**
|
|
32
4
|
* Get an existing Membership resource's state with the given name, ID, and optional extra
|
|
@@ -44,14 +16,7 @@ export declare class Membership extends pulumi.CustomResource {
|
|
|
44
16
|
*/
|
|
45
17
|
static isInstance(obj: any): obj is Membership;
|
|
46
18
|
readonly etag: pulumi.Output<string>;
|
|
47
|
-
/**
|
|
48
|
-
* The role of the user within the organization.
|
|
49
|
-
* Must be one of `member` or `admin`. Defaults to `member`.
|
|
50
|
-
*/
|
|
51
19
|
readonly role: pulumi.Output<string | undefined>;
|
|
52
|
-
/**
|
|
53
|
-
* The user to add to the organization.
|
|
54
|
-
*/
|
|
55
20
|
readonly username: pulumi.Output<string>;
|
|
56
21
|
/**
|
|
57
22
|
* Create a Membership resource with the given unique name, arguments, and options.
|
|
@@ -67,27 +32,13 @@ export declare class Membership extends pulumi.CustomResource {
|
|
|
67
32
|
*/
|
|
68
33
|
export interface MembershipState {
|
|
69
34
|
etag?: pulumi.Input<string>;
|
|
70
|
-
/**
|
|
71
|
-
* The role of the user within the organization.
|
|
72
|
-
* Must be one of `member` or `admin`. Defaults to `member`.
|
|
73
|
-
*/
|
|
74
35
|
role?: pulumi.Input<string>;
|
|
75
|
-
/**
|
|
76
|
-
* The user to add to the organization.
|
|
77
|
-
*/
|
|
78
36
|
username?: pulumi.Input<string>;
|
|
79
37
|
}
|
|
80
38
|
/**
|
|
81
39
|
* The set of arguments for constructing a Membership resource.
|
|
82
40
|
*/
|
|
83
41
|
export interface MembershipArgs {
|
|
84
|
-
/**
|
|
85
|
-
* The role of the user within the organization.
|
|
86
|
-
* Must be one of `member` or `admin`. Defaults to `member`.
|
|
87
|
-
*/
|
|
88
42
|
role?: pulumi.Input<string>;
|
|
89
|
-
/**
|
|
90
|
-
* The user to add to the organization.
|
|
91
|
-
*/
|
|
92
43
|
username: pulumi.Input<string>;
|
|
93
44
|
}
|
package/membership.js
CHANGED
|
@@ -5,34 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Membership = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a GitHub membership resource.
|
|
10
|
-
*
|
|
11
|
-
* This resource allows you to add/remove users from your organization. When applied,
|
|
12
|
-
* an invitation will be sent to the user to become part of the organization. When
|
|
13
|
-
* destroyed, either the invitation will be cancelled or the user will be removed.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as github from "@pulumi/github";
|
|
20
|
-
*
|
|
21
|
-
* // Add a user to the organization
|
|
22
|
-
* const membershipForSomeUser = new github.Membership("membership_for_some_user", {
|
|
23
|
-
* role: "member",
|
|
24
|
-
* username: "SomeUser",
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* ## Import
|
|
29
|
-
*
|
|
30
|
-
* GitHub Membership can be imported using an ID made up of `organization:username`, e.g.
|
|
31
|
-
*
|
|
32
|
-
* ```sh
|
|
33
|
-
* $ pulumi import github:index/membership:Membership member hashicorp:someuser
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
8
|
class Membership extends pulumi.CustomResource {
|
|
37
9
|
constructor(name, argsOrState, opts) {
|
|
38
10
|
let resourceInputs = {};
|
package/membership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.js","sourceRoot":"","sources":["../membership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"membership.js","sourceRoot":"","sources":["../membership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAwCjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IA1DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA4DC;AA9CG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/organizationBlock.d.ts
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to create and manage blocks for GitHub organizations.
|
|
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 = new github.OrganizationBlock("example", {
|
|
12
|
-
* username: "paultyng",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
2
|
export declare class OrganizationBlock extends pulumi.CustomResource {
|
|
17
3
|
/**
|
|
18
4
|
* Get an existing OrganizationBlock resource's state with the given name, ID, and optional extra
|
|
@@ -30,9 +16,6 @@ export declare class OrganizationBlock extends pulumi.CustomResource {
|
|
|
30
16
|
*/
|
|
31
17
|
static isInstance(obj: any): obj is OrganizationBlock;
|
|
32
18
|
readonly etag: pulumi.Output<string>;
|
|
33
|
-
/**
|
|
34
|
-
* The name of the user to block.
|
|
35
|
-
*/
|
|
36
19
|
readonly username: pulumi.Output<string>;
|
|
37
20
|
/**
|
|
38
21
|
* Create a OrganizationBlock resource with the given unique name, arguments, and options.
|
|
@@ -48,17 +31,11 @@ export declare class OrganizationBlock extends pulumi.CustomResource {
|
|
|
48
31
|
*/
|
|
49
32
|
export interface OrganizationBlockState {
|
|
50
33
|
etag?: pulumi.Input<string>;
|
|
51
|
-
/**
|
|
52
|
-
* The name of the user to block.
|
|
53
|
-
*/
|
|
54
34
|
username?: pulumi.Input<string>;
|
|
55
35
|
}
|
|
56
36
|
/**
|
|
57
37
|
* The set of arguments for constructing a OrganizationBlock resource.
|
|
58
38
|
*/
|
|
59
39
|
export interface OrganizationBlockArgs {
|
|
60
|
-
/**
|
|
61
|
-
* The name of the user to block.
|
|
62
|
-
*/
|
|
63
40
|
username: pulumi.Input<string>;
|
|
64
41
|
}
|
package/organizationBlock.js
CHANGED
|
@@ -5,20 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.OrganizationBlock = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This resource allows you to create and manage blocks for GitHub organizations.
|
|
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 = new github.OrganizationBlock("example", {
|
|
18
|
-
* username: "paultyng",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
8
|
class OrganizationBlock extends pulumi.CustomResource {
|
|
23
9
|
constructor(name, argsOrState, opts) {
|
|
24
10
|
let resourceInputs = {};
|
package/organizationBlock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationBlock.js","sourceRoot":"","sources":["../organizationBlock.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationBlock.js","sourceRoot":"","sources":["../organizationBlock.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAuCxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAvDD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAyDC;AA3CG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/organizationProject.d.ts
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to create and manage projects for 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 project = new github.OrganizationProject("project", {
|
|
12
|
-
* body: "This is a organization project.",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
2
|
export declare class OrganizationProject extends pulumi.CustomResource {
|
|
17
3
|
/**
|
|
18
4
|
* Get an existing OrganizationProject resource's state with the given name, ID, and optional extra
|
|
@@ -29,18 +15,9 @@ export declare class OrganizationProject extends pulumi.CustomResource {
|
|
|
29
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
16
|
*/
|
|
31
17
|
static isInstance(obj: any): obj is OrganizationProject;
|
|
32
|
-
/**
|
|
33
|
-
* The body of the project.
|
|
34
|
-
*/
|
|
35
18
|
readonly body: pulumi.Output<string | undefined>;
|
|
36
19
|
readonly etag: pulumi.Output<string>;
|
|
37
|
-
/**
|
|
38
|
-
* The name of the project.
|
|
39
|
-
*/
|
|
40
20
|
readonly name: pulumi.Output<string>;
|
|
41
|
-
/**
|
|
42
|
-
* URL of the project
|
|
43
|
-
*/
|
|
44
21
|
readonly url: pulumi.Output<string>;
|
|
45
22
|
/**
|
|
46
23
|
* Create a OrganizationProject resource with the given unique name, arguments, and options.
|
|
@@ -55,30 +32,15 @@ export declare class OrganizationProject extends pulumi.CustomResource {
|
|
|
55
32
|
* Input properties used for looking up and filtering OrganizationProject resources.
|
|
56
33
|
*/
|
|
57
34
|
export interface OrganizationProjectState {
|
|
58
|
-
/**
|
|
59
|
-
* The body of the project.
|
|
60
|
-
*/
|
|
61
35
|
body?: pulumi.Input<string>;
|
|
62
36
|
etag?: pulumi.Input<string>;
|
|
63
|
-
/**
|
|
64
|
-
* The name of the project.
|
|
65
|
-
*/
|
|
66
37
|
name?: pulumi.Input<string>;
|
|
67
|
-
/**
|
|
68
|
-
* URL of the project
|
|
69
|
-
*/
|
|
70
38
|
url?: pulumi.Input<string>;
|
|
71
39
|
}
|
|
72
40
|
/**
|
|
73
41
|
* The set of arguments for constructing a OrganizationProject resource.
|
|
74
42
|
*/
|
|
75
43
|
export interface OrganizationProjectArgs {
|
|
76
|
-
/**
|
|
77
|
-
* The body of the project.
|
|
78
|
-
*/
|
|
79
44
|
body?: pulumi.Input<string>;
|
|
80
|
-
/**
|
|
81
|
-
* The name of the project.
|
|
82
|
-
*/
|
|
83
45
|
name?: pulumi.Input<string>;
|
|
84
46
|
}
|