@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/repositoryFile.d.ts
CHANGED
|
@@ -1,41 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to create and manage files within a
|
|
4
|
-
* GitHub 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 fooRepository = new github.Repository("fooRepository", {autoInit: true});
|
|
13
|
-
* const fooRepositoryFile = new github.RepositoryFile("fooRepositoryFile", {
|
|
14
|
-
* repository: fooRepository.name,
|
|
15
|
-
* branch: "main",
|
|
16
|
-
* file: ".gitignore",
|
|
17
|
-
* content: "**/*.tfstate",
|
|
18
|
-
* commitMessage: "Managed by Terraform",
|
|
19
|
-
* commitAuthor: "Terraform User",
|
|
20
|
-
* commitEmail: "terraform@example.com",
|
|
21
|
-
* overwriteOnCreate: true,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ## Import
|
|
26
|
-
*
|
|
27
|
-
* Repository files can be imported using a combination of the `repo` and `file`, e.g.
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* To import a file from a branch other than main, append `:` and the branch name, e.g.
|
|
34
|
-
*
|
|
35
|
-
* ```sh
|
|
36
|
-
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore:dev
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
2
|
export declare class RepositoryFile extends pulumi.CustomResource {
|
|
40
3
|
/**
|
|
41
4
|
* Get an existing RepositoryFile resource's state with the given name, ID, and optional extra
|
|
@@ -53,44 +16,43 @@ export declare class RepositoryFile extends pulumi.CustomResource {
|
|
|
53
16
|
*/
|
|
54
17
|
static isInstance(obj: any): obj is RepositoryFile;
|
|
55
18
|
/**
|
|
56
|
-
*
|
|
57
|
-
* The branch must already exist, it will not be created if it does not already exist.
|
|
19
|
+
* The branch name, defaults to "main"
|
|
58
20
|
*/
|
|
59
21
|
readonly branch: pulumi.Output<string | undefined>;
|
|
60
22
|
/**
|
|
61
|
-
*
|
|
23
|
+
* The commit author name, defaults to the authenticated user's name
|
|
62
24
|
*/
|
|
63
25
|
readonly commitAuthor: pulumi.Output<string>;
|
|
64
26
|
/**
|
|
65
|
-
*
|
|
27
|
+
* The commit author email address, defaults to the authenticated user's email address
|
|
66
28
|
*/
|
|
67
29
|
readonly commitEmail: pulumi.Output<string>;
|
|
68
30
|
/**
|
|
69
|
-
*
|
|
31
|
+
* The commit message when creating or updating the file
|
|
70
32
|
*/
|
|
71
33
|
readonly commitMessage: pulumi.Output<string>;
|
|
72
34
|
/**
|
|
73
|
-
* The SHA of the commit that modified the file
|
|
35
|
+
* The SHA of the commit that modified the file
|
|
74
36
|
*/
|
|
75
37
|
readonly commitSha: pulumi.Output<string>;
|
|
76
38
|
/**
|
|
77
|
-
* The file content
|
|
39
|
+
* The file's content
|
|
78
40
|
*/
|
|
79
41
|
readonly content: pulumi.Output<string>;
|
|
80
42
|
/**
|
|
81
|
-
* The path
|
|
43
|
+
* The file path to manage
|
|
82
44
|
*/
|
|
83
45
|
readonly file: pulumi.Output<string>;
|
|
84
46
|
/**
|
|
85
|
-
* Enable overwriting existing files
|
|
47
|
+
* Enable overwriting existing files, defaults to "false"
|
|
86
48
|
*/
|
|
87
49
|
readonly overwriteOnCreate: pulumi.Output<boolean | undefined>;
|
|
88
50
|
/**
|
|
89
|
-
* The repository
|
|
51
|
+
* The repository name
|
|
90
52
|
*/
|
|
91
53
|
readonly repository: pulumi.Output<string>;
|
|
92
54
|
/**
|
|
93
|
-
* The SHA
|
|
55
|
+
* The blob SHA of the file
|
|
94
56
|
*/
|
|
95
57
|
readonly sha: pulumi.Output<string>;
|
|
96
58
|
/**
|
|
@@ -107,44 +69,43 @@ export declare class RepositoryFile extends pulumi.CustomResource {
|
|
|
107
69
|
*/
|
|
108
70
|
export interface RepositoryFileState {
|
|
109
71
|
/**
|
|
110
|
-
*
|
|
111
|
-
* The branch must already exist, it will not be created if it does not already exist.
|
|
72
|
+
* The branch name, defaults to "main"
|
|
112
73
|
*/
|
|
113
74
|
branch?: pulumi.Input<string>;
|
|
114
75
|
/**
|
|
115
|
-
*
|
|
76
|
+
* The commit author name, defaults to the authenticated user's name
|
|
116
77
|
*/
|
|
117
78
|
commitAuthor?: pulumi.Input<string>;
|
|
118
79
|
/**
|
|
119
|
-
*
|
|
80
|
+
* The commit author email address, defaults to the authenticated user's email address
|
|
120
81
|
*/
|
|
121
82
|
commitEmail?: pulumi.Input<string>;
|
|
122
83
|
/**
|
|
123
|
-
*
|
|
84
|
+
* The commit message when creating or updating the file
|
|
124
85
|
*/
|
|
125
86
|
commitMessage?: pulumi.Input<string>;
|
|
126
87
|
/**
|
|
127
|
-
* The SHA of the commit that modified the file
|
|
88
|
+
* The SHA of the commit that modified the file
|
|
128
89
|
*/
|
|
129
90
|
commitSha?: pulumi.Input<string>;
|
|
130
91
|
/**
|
|
131
|
-
* The file content
|
|
92
|
+
* The file's content
|
|
132
93
|
*/
|
|
133
94
|
content?: pulumi.Input<string>;
|
|
134
95
|
/**
|
|
135
|
-
* The path
|
|
96
|
+
* The file path to manage
|
|
136
97
|
*/
|
|
137
98
|
file?: pulumi.Input<string>;
|
|
138
99
|
/**
|
|
139
|
-
* Enable overwriting existing files
|
|
100
|
+
* Enable overwriting existing files, defaults to "false"
|
|
140
101
|
*/
|
|
141
102
|
overwriteOnCreate?: pulumi.Input<boolean>;
|
|
142
103
|
/**
|
|
143
|
-
* The repository
|
|
104
|
+
* The repository name
|
|
144
105
|
*/
|
|
145
106
|
repository?: pulumi.Input<string>;
|
|
146
107
|
/**
|
|
147
|
-
* The SHA
|
|
108
|
+
* The blob SHA of the file
|
|
148
109
|
*/
|
|
149
110
|
sha?: pulumi.Input<string>;
|
|
150
111
|
}
|
|
@@ -153,36 +114,35 @@ export interface RepositoryFileState {
|
|
|
153
114
|
*/
|
|
154
115
|
export interface RepositoryFileArgs {
|
|
155
116
|
/**
|
|
156
|
-
*
|
|
157
|
-
* The branch must already exist, it will not be created if it does not already exist.
|
|
117
|
+
* The branch name, defaults to "main"
|
|
158
118
|
*/
|
|
159
119
|
branch?: pulumi.Input<string>;
|
|
160
120
|
/**
|
|
161
|
-
*
|
|
121
|
+
* The commit author name, defaults to the authenticated user's name
|
|
162
122
|
*/
|
|
163
123
|
commitAuthor?: pulumi.Input<string>;
|
|
164
124
|
/**
|
|
165
|
-
*
|
|
125
|
+
* The commit author email address, defaults to the authenticated user's email address
|
|
166
126
|
*/
|
|
167
127
|
commitEmail?: pulumi.Input<string>;
|
|
168
128
|
/**
|
|
169
|
-
*
|
|
129
|
+
* The commit message when creating or updating the file
|
|
170
130
|
*/
|
|
171
131
|
commitMessage?: pulumi.Input<string>;
|
|
172
132
|
/**
|
|
173
|
-
* The file content
|
|
133
|
+
* The file's content
|
|
174
134
|
*/
|
|
175
135
|
content: pulumi.Input<string>;
|
|
176
136
|
/**
|
|
177
|
-
* The path
|
|
137
|
+
* The file path to manage
|
|
178
138
|
*/
|
|
179
139
|
file: pulumi.Input<string>;
|
|
180
140
|
/**
|
|
181
|
-
* Enable overwriting existing files
|
|
141
|
+
* Enable overwriting existing files, defaults to "false"
|
|
182
142
|
*/
|
|
183
143
|
overwriteOnCreate?: pulumi.Input<boolean>;
|
|
184
144
|
/**
|
|
185
|
-
* The repository
|
|
145
|
+
* The repository name
|
|
186
146
|
*/
|
|
187
147
|
repository: pulumi.Input<string>;
|
|
188
148
|
}
|
package/repositoryFile.js
CHANGED
|
@@ -5,43 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.RepositoryFile = 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 files within a
|
|
10
|
-
* GitHub repository.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const fooRepository = new github.Repository("fooRepository", {autoInit: true});
|
|
19
|
-
* const fooRepositoryFile = new github.RepositoryFile("fooRepositoryFile", {
|
|
20
|
-
* repository: fooRepository.name,
|
|
21
|
-
* branch: "main",
|
|
22
|
-
* file: ".gitignore",
|
|
23
|
-
* content: "**/*.tfstate",
|
|
24
|
-
* commitMessage: "Managed by Terraform",
|
|
25
|
-
* commitAuthor: "Terraform User",
|
|
26
|
-
* commitEmail: "terraform@example.com",
|
|
27
|
-
* overwriteOnCreate: true,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* ## Import
|
|
32
|
-
*
|
|
33
|
-
* Repository files can be imported using a combination of the `repo` and `file`, e.g.
|
|
34
|
-
*
|
|
35
|
-
* ```sh
|
|
36
|
-
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* To import a file from a branch other than main, append `:` and the branch name, e.g.
|
|
40
|
-
*
|
|
41
|
-
* ```sh
|
|
42
|
-
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore:dev
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
8
|
class RepositoryFile extends pulumi.CustomResource {
|
|
46
9
|
constructor(name, argsOrState, opts) {
|
|
47
10
|
let resourceInputs = {};
|
package/repositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEz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resource.
|
|
4
|
-
*
|
|
5
|
-
* This resource allows you to create and manage milestones for a GitHub Repository within an organization or user account.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as github from "@pulumi/github";
|
|
12
|
-
*
|
|
13
|
-
* // Create a milestone for a repository
|
|
14
|
-
* const example = new github.RepositoryMilestone("example", {
|
|
15
|
-
* owner: "example-owner",
|
|
16
|
-
* repository: "example-repository",
|
|
17
|
-
* title: "v1.1.0",
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ## Import
|
|
22
|
-
*
|
|
23
|
-
* A GitHub Repository Milestone can be imported using an ID made up of `owner/repository/number`, e.g.
|
|
24
|
-
*
|
|
25
|
-
* ```sh
|
|
26
|
-
* $ pulumi import github:index/repositoryMilestone:RepositoryMilestone example example-owner/example-repository/1
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
2
|
export declare class RepositoryMilestone extends pulumi.CustomResource {
|
|
30
3
|
/**
|
|
31
4
|
* Get an existing RepositoryMilestone resource's state with the given name, ID, and optional extra
|
|
@@ -42,33 +15,15 @@ export declare class RepositoryMilestone extends pulumi.CustomResource {
|
|
|
42
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
16
|
*/
|
|
44
17
|
static isInstance(obj: any): obj is RepositoryMilestone;
|
|
45
|
-
/**
|
|
46
|
-
* A description of the milestone.
|
|
47
|
-
*/
|
|
48
18
|
readonly description: pulumi.Output<string | undefined>;
|
|
49
19
|
/**
|
|
50
|
-
*
|
|
20
|
+
* in yyyy-mm-dd format
|
|
51
21
|
*/
|
|
52
22
|
readonly dueDate: pulumi.Output<string | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* The number of the milestone.
|
|
55
|
-
*/
|
|
56
23
|
readonly number: pulumi.Output<number>;
|
|
57
|
-
/**
|
|
58
|
-
* The owner of the GitHub Repository.
|
|
59
|
-
*/
|
|
60
24
|
readonly owner: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* The name of the GitHub Repository.
|
|
63
|
-
*/
|
|
64
25
|
readonly repository: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* The state of the milestone. Either `open` or `closed`. Default: `open`
|
|
67
|
-
*/
|
|
68
26
|
readonly state: pulumi.Output<string | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* The title of the milestone.
|
|
71
|
-
*/
|
|
72
27
|
readonly title: pulumi.Output<string>;
|
|
73
28
|
/**
|
|
74
29
|
* Create a RepositoryMilestone resource with the given unique name, arguments, and options.
|
|
@@ -83,61 +38,28 @@ export declare class RepositoryMilestone extends pulumi.CustomResource {
|
|
|
83
38
|
* Input properties used for looking up and filtering RepositoryMilestone resources.
|
|
84
39
|
*/
|
|
85
40
|
export interface RepositoryMilestoneState {
|
|
86
|
-
/**
|
|
87
|
-
* A description of the milestone.
|
|
88
|
-
*/
|
|
89
41
|
description?: pulumi.Input<string>;
|
|
90
42
|
/**
|
|
91
|
-
*
|
|
43
|
+
* in yyyy-mm-dd format
|
|
92
44
|
*/
|
|
93
45
|
dueDate?: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* The number of the milestone.
|
|
96
|
-
*/
|
|
97
46
|
number?: pulumi.Input<number>;
|
|
98
|
-
/**
|
|
99
|
-
* The owner of the GitHub Repository.
|
|
100
|
-
*/
|
|
101
47
|
owner?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* The name of the GitHub Repository.
|
|
104
|
-
*/
|
|
105
48
|
repository?: pulumi.Input<string>;
|
|
106
|
-
/**
|
|
107
|
-
* The state of the milestone. Either `open` or `closed`. Default: `open`
|
|
108
|
-
*/
|
|
109
49
|
state?: pulumi.Input<string>;
|
|
110
|
-
/**
|
|
111
|
-
* The title of the milestone.
|
|
112
|
-
*/
|
|
113
50
|
title?: pulumi.Input<string>;
|
|
114
51
|
}
|
|
115
52
|
/**
|
|
116
53
|
* The set of arguments for constructing a RepositoryMilestone resource.
|
|
117
54
|
*/
|
|
118
55
|
export interface RepositoryMilestoneArgs {
|
|
119
|
-
/**
|
|
120
|
-
* A description of the milestone.
|
|
121
|
-
*/
|
|
122
56
|
description?: pulumi.Input<string>;
|
|
123
57
|
/**
|
|
124
|
-
*
|
|
58
|
+
* in yyyy-mm-dd format
|
|
125
59
|
*/
|
|
126
60
|
dueDate?: pulumi.Input<string>;
|
|
127
|
-
/**
|
|
128
|
-
* The owner of the GitHub Repository.
|
|
129
|
-
*/
|
|
130
61
|
owner: pulumi.Input<string>;
|
|
131
|
-
/**
|
|
132
|
-
* The name of the GitHub Repository.
|
|
133
|
-
*/
|
|
134
62
|
repository: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* The state of the milestone. Either `open` or `closed`. Default: `open`
|
|
137
|
-
*/
|
|
138
63
|
state?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* The title of the milestone.
|
|
141
|
-
*/
|
|
142
64
|
title: pulumi.Input<string>;
|
|
143
65
|
}
|
package/repositoryMilestone.js
CHANGED
|
@@ -5,33 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.RepositoryMilestone = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a GitHub repository milestone resource.
|
|
10
|
-
*
|
|
11
|
-
* This resource allows you to create and manage milestones for a GitHub Repository within an organization or user account.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as github from "@pulumi/github";
|
|
18
|
-
*
|
|
19
|
-
* // Create a milestone for a repository
|
|
20
|
-
* const example = new github.RepositoryMilestone("example", {
|
|
21
|
-
* owner: "example-owner",
|
|
22
|
-
* repository: "example-repository",
|
|
23
|
-
* title: "v1.1.0",
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* ## Import
|
|
28
|
-
*
|
|
29
|
-
* A GitHub Repository Milestone can be imported using an ID made up of `owner/repository/number`, e.g.
|
|
30
|
-
*
|
|
31
|
-
* ```sh
|
|
32
|
-
* $ pulumi import github:index/repositoryMilestone:RepositoryMilestone example example-owner/example-repository/1
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
8
|
class RepositoryMilestone extends pulumi.CustomResource {
|
|
36
9
|
constructor(name, argsOrState, opts) {
|
|
37
10
|
let resourceInputs = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryMilestone.js","sourceRoot":"","sources":["../repositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryMilestone.js","sourceRoot":"","sources":["../repositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA+C1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,Q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DAAsD,CAAC"}
|
package/repositoryProject.d.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to create and manage projects for GitHub repository.
|
|
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.Repository("example", {
|
|
12
|
-
* description: "My awesome codebase",
|
|
13
|
-
* hasProjects: true,
|
|
14
|
-
* });
|
|
15
|
-
* const project = new github.RepositoryProject("project", {
|
|
16
|
-
* body: "This is a repository project.",
|
|
17
|
-
* repository: example.name,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
2
|
export declare class RepositoryProject extends pulumi.CustomResource {
|
|
22
3
|
/**
|
|
23
4
|
* Get an existing RepositoryProject resource's state with the given name, ID, and optional extra
|
|
@@ -34,22 +15,10 @@ export declare class RepositoryProject extends pulumi.CustomResource {
|
|
|
34
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
16
|
*/
|
|
36
17
|
static isInstance(obj: any): obj is RepositoryProject;
|
|
37
|
-
/**
|
|
38
|
-
* The body of the project.
|
|
39
|
-
*/
|
|
40
18
|
readonly body: pulumi.Output<string | undefined>;
|
|
41
19
|
readonly etag: pulumi.Output<string>;
|
|
42
|
-
/**
|
|
43
|
-
* The name of the project.
|
|
44
|
-
*/
|
|
45
20
|
readonly name: pulumi.Output<string>;
|
|
46
|
-
/**
|
|
47
|
-
* The repository of the project.
|
|
48
|
-
*/
|
|
49
21
|
readonly repository: pulumi.Output<string>;
|
|
50
|
-
/**
|
|
51
|
-
* URL of the project
|
|
52
|
-
*/
|
|
53
22
|
readonly url: pulumi.Output<string>;
|
|
54
23
|
/**
|
|
55
24
|
* Create a RepositoryProject resource with the given unique name, arguments, and options.
|
|
@@ -64,38 +33,17 @@ export declare class RepositoryProject extends pulumi.CustomResource {
|
|
|
64
33
|
* Input properties used for looking up and filtering RepositoryProject resources.
|
|
65
34
|
*/
|
|
66
35
|
export interface RepositoryProjectState {
|
|
67
|
-
/**
|
|
68
|
-
* The body of the project.
|
|
69
|
-
*/
|
|
70
36
|
body?: pulumi.Input<string>;
|
|
71
37
|
etag?: pulumi.Input<string>;
|
|
72
|
-
/**
|
|
73
|
-
* The name of the project.
|
|
74
|
-
*/
|
|
75
38
|
name?: pulumi.Input<string>;
|
|
76
|
-
/**
|
|
77
|
-
* The repository of the project.
|
|
78
|
-
*/
|
|
79
39
|
repository?: pulumi.Input<string>;
|
|
80
|
-
/**
|
|
81
|
-
* URL of the project
|
|
82
|
-
*/
|
|
83
40
|
url?: pulumi.Input<string>;
|
|
84
41
|
}
|
|
85
42
|
/**
|
|
86
43
|
* The set of arguments for constructing a RepositoryProject resource.
|
|
87
44
|
*/
|
|
88
45
|
export interface RepositoryProjectArgs {
|
|
89
|
-
/**
|
|
90
|
-
* The body of the project.
|
|
91
|
-
*/
|
|
92
46
|
body?: pulumi.Input<string>;
|
|
93
|
-
/**
|
|
94
|
-
* The name of the project.
|
|
95
|
-
*/
|
|
96
47
|
name?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* The repository of the project.
|
|
99
|
-
*/
|
|
100
48
|
repository: pulumi.Input<string>;
|
|
101
49
|
}
|
package/repositoryProject.js
CHANGED
|
@@ -5,25 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.RepositoryProject = 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 projects for GitHub 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 example = new github.Repository("example", {
|
|
18
|
-
* description: "My awesome codebase",
|
|
19
|
-
* hasProjects: true,
|
|
20
|
-
* });
|
|
21
|
-
* const project = new github.RepositoryProject("project", {
|
|
22
|
-
* body: "This is a repository project.",
|
|
23
|
-
* repository: example.name,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
8
|
class RepositoryProject extends pulumi.CustomResource {
|
|
28
9
|
constructor(name, argsOrState, opts) {
|
|
29
10
|
let resourceInputs = {};
|
package/repositoryProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IA0CxD,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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CA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