@pulumi/github 5.0.0 → 5.2.0-alpha.1673638210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +99 -0
- package/actionsEnvironmentSecret.js +68 -24
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +74 -1
- package/actionsOrganizationPermissions.js +58 -22
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +110 -0
- package/actionsOrganizationSecret.js +76 -24
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +47 -0
- package/actionsOrganizationSecretRepositories.js +51 -22
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +119 -0
- package/actionsRepositoryPermissions.js +91 -0
- package/actionsRepositoryPermissions.js.map +1 -0
- package/actionsRunnerGroup.d.ts +88 -0
- package/actionsRunnerGroup.js +47 -22
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +70 -0
- package/actionsSecret.js +48 -24
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepositories.d.ts +81 -0
- package/appInstallationRepositories.js +78 -0
- package/appInstallationRepositories.js.map +1 -0
- package/appInstallationRepository.d.ts +53 -0
- package/appInstallationRepository.js +57 -22
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +92 -0
- package/branch.js +60 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +53 -0
- package/branchDefault.js +57 -22
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +175 -4
- package/branchProtection.js +83 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +140 -1
- package/branchProtectionV3.js +88 -22
- package/branchProtectionV3.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.js +26 -24
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +22 -22
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.js +26 -24
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +42 -0
- package/emuGroupMapping.js +46 -22
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +31 -0
- package/getActionsOrganizationRegistrationToken.js +25 -0
- package/getActionsOrganizationRegistrationToken.js.map +1 -0
- package/getActionsOrganizationSecrets.d.ts +16 -1
- package/getActionsOrganizationSecrets.js +13 -4
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsPublicKey.d.ts +42 -0
- package/getActionsPublicKey.js +32 -5
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +67 -0
- package/getActionsRegistrationToken.js +47 -0
- package/getActionsRegistrationToken.js.map +1 -0
- package/getActionsSecrets.d.ts +47 -1
- package/getActionsSecrets.js +30 -5
- package/getActionsSecrets.js.map +1 -1
- package/getBranch.d.ts +51 -0
- package/getBranch.js +32 -5
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +52 -1
- package/getCollaborators.js +32 -5
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +28 -0
- package/getDependabotOrganizationSecrets.js +25 -0
- package/getDependabotOrganizationSecrets.js.map +1 -0
- package/getDependabotPublicKey.js +2 -5
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +76 -0
- package/getDependabotSecrets.js +49 -0
- package/getDependabotSecrets.js.map +1 -0
- package/getExternalGroups.d.ts +18 -1
- package/getExternalGroups.js +15 -4
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +71 -0
- package/getGithubApp.js +47 -0
- package/getGithubApp.js.map +1 -0
- package/getIpRanges.d.ts +84 -0
- package/getIpRanges.js +13 -4
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +59 -0
- package/getMembership.js +36 -5
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +58 -0
- package/getOrganization.js +30 -5
- package/getOrganization.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +31 -0
- package/getOrganizationIpAllowList.js +27 -0
- package/getOrganizationIpAllowList.js.map +1 -0
- package/getOrganizationTeamSyncGroups.d.ts +16 -1
- package/getOrganizationTeamSyncGroups.js +13 -4
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +87 -1
- package/getOrganizationTeams.js +54 -5
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +31 -0
- package/getOrganizationWebhooks.js +27 -0
- package/getOrganizationWebhooks.js.map +1 -0
- package/getRef.d.ts +48 -0
- package/getRef.js +32 -5
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +92 -0
- package/getRelease.js +8 -5
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +70 -0
- package/getRepositories.js +40 -5
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +142 -4
- package/getRepository.js +30 -6
- package/getRepository.js.map +1 -1
- package/getRepositoryBranches.d.ts +82 -0
- package/getRepositoryBranches.js +49 -0
- package/getRepositoryBranches.js.map +1 -0
- package/getRepositoryDeployKeys.d.ts +64 -0
- package/getRepositoryDeployKeys.js +47 -0
- package/getRepositoryDeployKeys.js.map +1 -0
- package/getRepositoryFile.d.ts +72 -0
- package/getRepositoryFile.js +36 -5
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +62 -0
- package/getRepositoryMilestone.js +34 -5
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +90 -0
- package/getRepositoryPullRequest.js +32 -5
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +91 -1
- package/getRepositoryPullRequests.js +38 -5
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +47 -1
- package/getRepositoryTeams.js +30 -5
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +63 -0
- package/getRepositoryWebhooks.js +51 -0
- package/getRepositoryWebhooks.js.map +1 -0
- package/getTeam.d.ts +79 -0
- package/getTeam.js +32 -5
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +70 -1
- package/getTree.js +50 -5
- package/getTree.js.map +1 -1
- package/getUser.d.ts +102 -0
- package/getUser.js +38 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +55 -0
- package/getUsers.js +42 -5
- package/getUsers.js.map +1 -1
- package/index.d.ts +244 -68
- package/index.js +259 -171
- package/index.js.map +1 -1
- package/issue.d.ts +117 -6
- package/issue.js +85 -22
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +64 -0
- package/issueLabel.js +44 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +49 -0
- package/membership.js +49 -21
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +21 -0
- package/organizationBlock.js +31 -19
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +36 -0
- package/organizationProject.js +32 -20
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +67 -0
- package/organizationSecurityManager.js +71 -0
- package/organizationSecurityManager.js.map +1 -0
- package/organizationSettings.d.ts +394 -0
- package/organizationSettings.js +148 -0
- package/organizationSettings.js.map +1 -0
- package/organizationWebhook.d.ts +65 -1
- package/organizationWebhook.js +52 -22
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +87 -0
- package/projectCard.js +73 -22
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +31 -0
- package/projectColumn.js +35 -22
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/release.d.ts +194 -0
- package/release.js +121 -0
- package/release.js.map +1 -0
- package/repository.d.ts +396 -4
- package/repository.js +72 -22
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +54 -6
- package/repositoryAutolinkReference.js +54 -22
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +90 -0
- package/repositoryCollaborator.js +64 -22
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +71 -0
- package/repositoryDeployKey.js +57 -22
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +63 -1
- package/repositoryEnvironment.js +56 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +70 -30
- package/repositoryFile.js +59 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +81 -3
- package/repositoryMilestone.js +49 -22
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +52 -0
- package/repositoryProject.js +41 -22
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +127 -4
- package/repositoryPullRequest.js +40 -22
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +41 -0
- package/repositoryTagProtection.js +45 -22
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryWebhook.d.ts +81 -1
- package/repositoryWebhook.js +59 -22
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +100 -0
- package/team.js +49 -22
- package/team.js.map +1 -1
- package/teamMembers.d.ts +60 -1
- package/teamMembers.js +62 -22
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +67 -0
- package/teamMembership.js +59 -22
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +59 -3
- package/teamRepository.js +57 -22
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +119 -0
- package/teamSettings.js +99 -0
- package/teamSettings.js.map +1 -0
- package/teamSyncGroupMapping.d.ts +38 -1
- package/teamSyncGroupMapping.js +36 -21
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +208 -1
- package/types/output.d.ts +555 -1
- package/userGpgKey.d.ts +39 -0
- package/userGpgKey.js +42 -21
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +30 -0
- package/userInvitationAccepter.js +38 -17
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +50 -0
- package/userSshKey.js +48 -22
- package/userSshKey.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/userGpgKey.d.ts
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a GitHub user's GPG key resource.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to add/remove GPG keys from your 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
|
+
* const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
14
|
+
* ...
|
|
15
|
+
* -----END PGP PUBLIC KEY BLOCK-----
|
|
16
|
+
* `});
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* GPG keys are not importable due to the fact that [API](https://developer.github.com/v3/users/gpg_keys/#gpg-keys) does not return previously uploaded GPG key.
|
|
22
|
+
*/
|
|
2
23
|
export declare class UserGpgKey extends pulumi.CustomResource {
|
|
3
24
|
/**
|
|
4
25
|
* Get an existing UserGpgKey resource's state with the given name, ID, and optional extra
|
|
@@ -15,8 +36,15 @@ export declare class UserGpgKey extends pulumi.CustomResource {
|
|
|
15
36
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
37
|
*/
|
|
17
38
|
static isInstance(obj: any): obj is UserGpgKey;
|
|
39
|
+
/**
|
|
40
|
+
* Your public GPG key, generated in ASCII-armored format.
|
|
41
|
+
* See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
|
|
42
|
+
*/
|
|
18
43
|
readonly armoredPublicKey: pulumi.Output<string>;
|
|
19
44
|
readonly etag: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The key ID of the GPG key, e.g. `3262EFF25BA0D270`
|
|
47
|
+
*/
|
|
20
48
|
readonly keyId: pulumi.Output<string>;
|
|
21
49
|
/**
|
|
22
50
|
* Create a UserGpgKey resource with the given unique name, arguments, and options.
|
|
@@ -31,13 +59,24 @@ export declare class UserGpgKey extends pulumi.CustomResource {
|
|
|
31
59
|
* Input properties used for looking up and filtering UserGpgKey resources.
|
|
32
60
|
*/
|
|
33
61
|
export interface UserGpgKeyState {
|
|
62
|
+
/**
|
|
63
|
+
* Your public GPG key, generated in ASCII-armored format.
|
|
64
|
+
* See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
|
|
65
|
+
*/
|
|
34
66
|
armoredPublicKey?: pulumi.Input<string>;
|
|
35
67
|
etag?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The key ID of the GPG key, e.g. `3262EFF25BA0D270`
|
|
70
|
+
*/
|
|
36
71
|
keyId?: pulumi.Input<string>;
|
|
37
72
|
}
|
|
38
73
|
/**
|
|
39
74
|
* The set of arguments for constructing a UserGpgKey resource.
|
|
40
75
|
*/
|
|
41
76
|
export interface UserGpgKeyArgs {
|
|
77
|
+
/**
|
|
78
|
+
* Your public GPG key, generated in ASCII-armored format.
|
|
79
|
+
* See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
|
|
80
|
+
*/
|
|
42
81
|
armoredPublicKey: pulumi.Input<string>;
|
|
43
82
|
}
|
package/userGpgKey.js
CHANGED
|
@@ -5,28 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.UserGpgKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a GitHub user's GPG key resource.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to add/remove GPG keys from your 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
|
+
* const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
20
|
+
* ...
|
|
21
|
+
* -----END PGP PUBLIC KEY BLOCK-----
|
|
22
|
+
* `});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* GPG keys are not importable due to the fact that [API](https://developer.github.com/v3/users/gpg_keys/#gpg-keys) does not return previously uploaded GPG key.
|
|
28
|
+
*/
|
|
8
29
|
class UserGpgKey extends pulumi.CustomResource {
|
|
9
|
-
constructor(name, argsOrState, opts) {
|
|
10
|
-
let resourceInputs = {};
|
|
11
|
-
opts = opts || {};
|
|
12
|
-
if (opts.id) {
|
|
13
|
-
const state = argsOrState;
|
|
14
|
-
resourceInputs["armoredPublicKey"] = state ? state.armoredPublicKey : undefined;
|
|
15
|
-
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
16
|
-
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
const args = argsOrState;
|
|
20
|
-
if ((!args || args.armoredPublicKey === undefined) && !opts.urn) {
|
|
21
|
-
throw new Error("Missing required property 'armoredPublicKey'");
|
|
22
|
-
}
|
|
23
|
-
resourceInputs["armoredPublicKey"] = args ? args.armoredPublicKey : undefined;
|
|
24
|
-
resourceInputs["etag"] = undefined /*out*/;
|
|
25
|
-
resourceInputs["keyId"] = undefined /*out*/;
|
|
26
|
-
}
|
|
27
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
-
super(UserGpgKey.__pulumiType, name, resourceInputs, opts);
|
|
29
|
-
}
|
|
30
30
|
/**
|
|
31
31
|
* Get an existing UserGpgKey resource's state with the given name, ID, and optional extra
|
|
32
32
|
* properties used to qualify the lookup.
|
|
@@ -49,6 +49,27 @@ class UserGpgKey extends pulumi.CustomResource {
|
|
|
49
49
|
}
|
|
50
50
|
return obj['__pulumiType'] === UserGpgKey.__pulumiType;
|
|
51
51
|
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["armoredPublicKey"] = state ? state.armoredPublicKey : undefined;
|
|
58
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
59
|
+
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.armoredPublicKey === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'armoredPublicKey'");
|
|
65
|
+
}
|
|
66
|
+
resourceInputs["armoredPublicKey"] = args ? args.armoredPublicKey : undefined;
|
|
67
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["keyId"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(UserGpgKey.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
52
73
|
}
|
|
53
74
|
exports.UserGpgKey = UserGpgKey;
|
|
54
75
|
/** @internal */
|
package/userGpgKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;A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,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;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;;AAlEL,gCAmEC;AArDG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage GitHub repository collaborator invitations.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
12
|
+
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("exampleRepositoryCollaborator", {
|
|
13
|
+
* repository: exampleRepository.name,
|
|
14
|
+
* username: "example-username",
|
|
15
|
+
* permission: "push",
|
|
16
|
+
* });
|
|
17
|
+
* const invitee = new github.Provider("invitee", {token: _var.invitee_token});
|
|
18
|
+
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
|
|
19
|
+
* provider: "github.invitee",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
2
23
|
export declare class UserInvitationAccepter extends pulumi.CustomResource {
|
|
3
24
|
/**
|
|
4
25
|
* Get an existing UserInvitationAccepter resource's state with the given name, ID, and optional extra
|
|
@@ -15,6 +36,9 @@ export declare class UserInvitationAccepter extends pulumi.CustomResource {
|
|
|
15
36
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
37
|
*/
|
|
17
38
|
static isInstance(obj: any): obj is UserInvitationAccepter;
|
|
39
|
+
/**
|
|
40
|
+
* ID of the invitation to accept
|
|
41
|
+
*/
|
|
18
42
|
readonly invitationId: pulumi.Output<string>;
|
|
19
43
|
/**
|
|
20
44
|
* Create a UserInvitationAccepter resource with the given unique name, arguments, and options.
|
|
@@ -29,11 +53,17 @@ export declare class UserInvitationAccepter extends pulumi.CustomResource {
|
|
|
29
53
|
* Input properties used for looking up and filtering UserInvitationAccepter resources.
|
|
30
54
|
*/
|
|
31
55
|
export interface UserInvitationAccepterState {
|
|
56
|
+
/**
|
|
57
|
+
* ID of the invitation to accept
|
|
58
|
+
*/
|
|
32
59
|
invitationId?: pulumi.Input<string>;
|
|
33
60
|
}
|
|
34
61
|
/**
|
|
35
62
|
* The set of arguments for constructing a UserInvitationAccepter resource.
|
|
36
63
|
*/
|
|
37
64
|
export interface UserInvitationAccepterArgs {
|
|
65
|
+
/**
|
|
66
|
+
* ID of the invitation to accept
|
|
67
|
+
*/
|
|
38
68
|
invitationId: pulumi.Input<string>;
|
|
39
69
|
}
|
|
@@ -5,24 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.UserInvitationAccepter = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage GitHub repository collaborator invitations.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
18
|
+
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("exampleRepositoryCollaborator", {
|
|
19
|
+
* repository: exampleRepository.name,
|
|
20
|
+
* username: "example-username",
|
|
21
|
+
* permission: "push",
|
|
22
|
+
* });
|
|
23
|
+
* const invitee = new github.Provider("invitee", {token: _var.invitee_token});
|
|
24
|
+
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
|
|
25
|
+
* provider: "github.invitee",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
8
29
|
class UserInvitationAccepter extends pulumi.CustomResource {
|
|
9
|
-
constructor(name, argsOrState, opts) {
|
|
10
|
-
let resourceInputs = {};
|
|
11
|
-
opts = opts || {};
|
|
12
|
-
if (opts.id) {
|
|
13
|
-
const state = argsOrState;
|
|
14
|
-
resourceInputs["invitationId"] = state ? state.invitationId : undefined;
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
const args = argsOrState;
|
|
18
|
-
if ((!args || args.invitationId === undefined) && !opts.urn) {
|
|
19
|
-
throw new Error("Missing required property 'invitationId'");
|
|
20
|
-
}
|
|
21
|
-
resourceInputs["invitationId"] = args ? args.invitationId : undefined;
|
|
22
|
-
}
|
|
23
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
24
|
-
super(UserInvitationAccepter.__pulumiType, name, resourceInputs, opts);
|
|
25
|
-
}
|
|
26
30
|
/**
|
|
27
31
|
* Get an existing UserInvitationAccepter resource's state with the given name, ID, and optional extra
|
|
28
32
|
* properties used to qualify the lookup.
|
|
@@ -45,6 +49,23 @@ class UserInvitationAccepter extends pulumi.CustomResource {
|
|
|
45
49
|
}
|
|
46
50
|
return obj['__pulumiType'] === UserInvitationAccepter.__pulumiType;
|
|
47
51
|
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["invitationId"] = state ? state.invitationId : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.invitationId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'invitationId'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["invitationId"] = args ? args.invitationId : undefined;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(UserInvitationAccepter.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
48
69
|
}
|
|
49
70
|
exports.UserInvitationAccepter = UserInvitationAccepter;
|
|
50
71
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAA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,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAxDL,wDAyDC;AA3CG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
package/userSshKey.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a GitHub user's SSH key resource.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to add/remove SSH keys from your user account.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fs from "fs";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* const example = new github.UserSshKey("example", {
|
|
15
|
+
* title: "example title",
|
|
16
|
+
* key: fs.readFileSync("~/.ssh/id_rsa.pub"),
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* SSH keys can be imported using their ID e.g.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import github:index/userSshKey:UserSshKey example 1234567
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
2
28
|
export declare class UserSshKey extends pulumi.CustomResource {
|
|
3
29
|
/**
|
|
4
30
|
* Get an existing UserSshKey resource's state with the given name, ID, and optional extra
|
|
@@ -16,8 +42,17 @@ export declare class UserSshKey extends pulumi.CustomResource {
|
|
|
16
42
|
*/
|
|
17
43
|
static isInstance(obj: any): obj is UserSshKey;
|
|
18
44
|
readonly etag: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The public SSH key to add to your GitHub account.
|
|
47
|
+
*/
|
|
19
48
|
readonly key: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* A descriptive name for the new key. e.g. `Personal MacBook Air`
|
|
51
|
+
*/
|
|
20
52
|
readonly title: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The URL of the SSH key
|
|
55
|
+
*/
|
|
21
56
|
readonly url: pulumi.Output<string>;
|
|
22
57
|
/**
|
|
23
58
|
* Create a UserSshKey resource with the given unique name, arguments, and options.
|
|
@@ -33,14 +68,29 @@ export declare class UserSshKey extends pulumi.CustomResource {
|
|
|
33
68
|
*/
|
|
34
69
|
export interface UserSshKeyState {
|
|
35
70
|
etag?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The public SSH key to add to your GitHub account.
|
|
73
|
+
*/
|
|
36
74
|
key?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A descriptive name for the new key. e.g. `Personal MacBook Air`
|
|
77
|
+
*/
|
|
37
78
|
title?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The URL of the SSH key
|
|
81
|
+
*/
|
|
38
82
|
url?: pulumi.Input<string>;
|
|
39
83
|
}
|
|
40
84
|
/**
|
|
41
85
|
* The set of arguments for constructing a UserSshKey resource.
|
|
42
86
|
*/
|
|
43
87
|
export interface UserSshKeyArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The public SSH key to add to your GitHub account.
|
|
90
|
+
*/
|
|
44
91
|
key: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* A descriptive name for the new key. e.g. `Personal MacBook Air`
|
|
94
|
+
*/
|
|
45
95
|
title: pulumi.Input<string>;
|
|
46
96
|
}
|
package/userSshKey.js
CHANGED
|
@@ -5,7 +5,55 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.UserSshKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a GitHub user's SSH key resource.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to add/remove SSH keys from your user account.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as fs from "fs";
|
|
18
|
+
* import * as github from "@pulumi/github";
|
|
19
|
+
*
|
|
20
|
+
* const example = new github.UserSshKey("example", {
|
|
21
|
+
* title: "example title",
|
|
22
|
+
* key: fs.readFileSync("~/.ssh/id_rsa.pub"),
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* SSH keys can be imported using their ID e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import github:index/userSshKey:UserSshKey example 1234567
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
8
34
|
class UserSshKey extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing UserSshKey resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new UserSshKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of UserSshKey. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === UserSshKey.__pulumiType;
|
|
56
|
+
}
|
|
9
57
|
constructor(name, argsOrState, opts) {
|
|
10
58
|
let resourceInputs = {};
|
|
11
59
|
opts = opts || {};
|
|
@@ -32,28 +80,6 @@ class UserSshKey extends pulumi.CustomResource {
|
|
|
32
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
33
81
|
super(UserSshKey.__pulumiType, name, resourceInputs, opts);
|
|
34
82
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Get an existing UserSshKey resource's state with the given name, ID, and optional extra
|
|
37
|
-
* properties used to qualify the lookup.
|
|
38
|
-
*
|
|
39
|
-
* @param name The _unique_ name of the resulting resource.
|
|
40
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
-
* @param state Any extra arguments used during the lookup.
|
|
42
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
-
*/
|
|
44
|
-
static get(name, id, state, opts) {
|
|
45
|
-
return new UserSshKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Returns true if the given object is an instance of UserSshKey. This is designed to work even
|
|
49
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
-
*/
|
|
51
|
-
static isInstance(obj) {
|
|
52
|
-
if (obj === undefined || obj === null) {
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
return obj['__pulumiType'] === UserSshKey.__pulumiType;
|
|
56
|
-
}
|
|
57
83
|
}
|
|
58
84
|
exports.UserSshKey = UserSshKey;
|
|
59
85
|
/** @internal */
|
package/userSshKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userSshKey.js","sourceRoot":"","sources":["../userSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"userSshKey.js","sourceRoot":"","sources":["../userSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF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AI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,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;;AA1EL,gCA2EC;AA7DG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
|
+
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
6
6
|
function getEnv(...vars) {
|
|
7
7
|
for (const v of vars) {
|
|
8
8
|
const value = process.env[v];
|
|
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
|
|
|
54
54
|
return { version: getVersion() };
|
|
55
55
|
}
|
|
56
56
|
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
57
|
+
/** @internal */
|
|
58
|
+
function lazyLoad(exports, props, loadModule) {
|
|
59
|
+
for (let property of props) {
|
|
60
|
+
Object.defineProperty(exports, property, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return loadModule()[property];
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.lazyLoad = lazyLoad;
|
|
57
69
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CA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