@pulumi/github 4.6.0 → 4.8.0-alpha.1638801727
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.js +17 -16
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +121 -0
- package/actionsOrganizationPermissions.js +96 -0
- package/actionsOrganizationPermissions.js.map +1 -0
- package/actionsOrganizationSecret.js +17 -16
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.js +7 -6
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.js +21 -20
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.js +15 -14
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.js +9 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.js +17 -16
- package/branch.js.map +1 -1
- package/branchDefault.js +7 -6
- package/branchDefault.js.map +1 -1
- package/branchProtection.js +23 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.js +19 -18
- package/branchProtectionV3.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +7 -7
- package/config/vars.js +44 -30
- package/config/vars.js.map +1 -1
- package/getActionsPublicKey.d.ts +10 -0
- package/getActionsPublicKey.js +5 -0
- package/getActionsPublicKey.js.map +1 -1
- package/getBranch.d.ts +14 -0
- package/getBranch.js +5 -0
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +18 -0
- package/getCollaborators.js +5 -0
- package/getCollaborators.js.map +1 -1
- package/getIpRanges.js +1 -0
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +14 -0
- package/getMembership.js +5 -0
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +10 -0
- package/getOrganization.js +5 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.js +1 -0
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +10 -0
- package/getOrganizationTeams.js +5 -0
- package/getOrganizationTeams.js.map +1 -1
- package/getRelease.d.ts +26 -0
- package/getRelease.js +5 -0
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +14 -0
- package/getRepositories.js +5 -0
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +22 -0
- package/getRepository.js +5 -0
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +92 -0
- package/getRepositoryFile.js +43 -0
- package/getRepositoryFile.js.map +1 -0
- package/getRepositoryMilestone.d.ts +18 -0
- package/getRepositoryMilestone.js +5 -0
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +18 -0
- package/getRepositoryPullRequest.js +5 -0
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +34 -0
- package/getRepositoryPullRequests.js +5 -0
- package/getRepositoryPullRequests.js.map +1 -1
- package/getTeam.d.ts +10 -0
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +10 -0
- package/getUser.js +5 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +65 -0
- package/getUsers.js +46 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +73 -53
- package/index.js.map +1 -1
- package/issueLabel.js +15 -14
- package/issueLabel.js.map +1 -1
- package/membership.js +9 -8
- package/membership.js.map +1 -1
- package/organizationBlock.js +7 -6
- package/organizationBlock.js.map +1 -1
- package/organizationProject.js +11 -10
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.js +13 -12
- package/organizationWebhook.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/projectCard.js +11 -10
- package/projectCard.js.map +1 -1
- package/projectColumn.js +11 -10
- package/projectColumn.js.map +1 -1
- package/provider.js +10 -9
- package/provider.js.map +1 -1
- package/repository.js +71 -70
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +108 -0
- package/repositoryAutolinkReference.js +94 -0
- package/repositoryAutolinkReference.js.map +1 -0
- package/repositoryCollaborator.js +13 -12
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.js +13 -12
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.js +13 -12
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.js +23 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.js +17 -16
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.js +13 -12
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.js +35 -34
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryWebhook.d.ts +8 -8
- package/repositoryWebhook.js +15 -14
- package/repositoryWebhook.js.map +1 -1
- package/team.js +23 -22
- package/team.js.map +1 -1
- package/teamMembership.js +11 -10
- package/teamMembership.js.map +1 -1
- package/teamRepository.js +11 -10
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -20
- package/teamSyncGroupMapping.js +9 -28
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +30 -1
- package/types/output.d.ts +30 -6
- package/userGpgKey.js +9 -8
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.js +5 -4
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.js +11 -10
- package/userSshKey.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/teamSyncGroupMapping.js
CHANGED
|
@@ -2,6 +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.TeamSyncGroupMapping = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -11,26 +12,6 @@ const utilities = require("./utilities");
|
|
|
11
12
|
* To learn more about team synchronization between IdPs and GitHub, please refer to:
|
|
12
13
|
* https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/synchronizing-teams-between-your-identity-provider-and-github
|
|
13
14
|
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* const exampleGroups = github.getOrganizationTeamSyncGroups({});
|
|
21
|
-
* const exampleGroupMapping = new github.TeamSyncGroupMapping("exampleGroupMapping", {
|
|
22
|
-
* teamSlug: "example",
|
|
23
|
-
* dynamic: [{
|
|
24
|
-
* forEach: exampleGroups.then(exampleGroups => exampleGroups.groups.filter(g => g.groupName == "some_team_group").map(g => g)),
|
|
25
|
-
* content: [{
|
|
26
|
-
* groupId: group.value.group_id,
|
|
27
|
-
* groupName: group.value.group_name,
|
|
28
|
-
* groupDescription: group.value.group_description,
|
|
29
|
-
* }],
|
|
30
|
-
* }],
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
15
|
* ## Import
|
|
35
16
|
*
|
|
36
17
|
* GitHub Team Sync Group Mappings can be imported using the GitHub team `slug` e.g.
|
|
@@ -41,27 +22,27 @@ const utilities = require("./utilities");
|
|
|
41
22
|
*/
|
|
42
23
|
class TeamSyncGroupMapping extends pulumi.CustomResource {
|
|
43
24
|
constructor(name, argsOrState, opts) {
|
|
44
|
-
let
|
|
25
|
+
let resourceInputs = {};
|
|
45
26
|
opts = opts || {};
|
|
46
27
|
if (opts.id) {
|
|
47
28
|
const state = argsOrState;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
29
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
30
|
+
resourceInputs["groups"] = state ? state.groups : undefined;
|
|
31
|
+
resourceInputs["teamSlug"] = state ? state.teamSlug : undefined;
|
|
51
32
|
}
|
|
52
33
|
else {
|
|
53
34
|
const args = argsOrState;
|
|
54
35
|
if ((!args || args.teamSlug === undefined) && !opts.urn) {
|
|
55
36
|
throw new Error("Missing required property 'teamSlug'");
|
|
56
37
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
38
|
+
resourceInputs["groups"] = args ? args.groups : undefined;
|
|
39
|
+
resourceInputs["teamSlug"] = args ? args.teamSlug : undefined;
|
|
40
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
60
41
|
}
|
|
61
42
|
if (!opts.version) {
|
|
62
43
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
63
44
|
}
|
|
64
|
-
super(TeamSyncGroupMapping.__pulumiType, name,
|
|
45
|
+
super(TeamSyncGroupMapping.__pulumiType, name, resourceInputs, opts);
|
|
65
46
|
}
|
|
66
47
|
/**
|
|
67
48
|
* Get an existing TeamSyncGroupMapping resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamSyncGroupMapping.js","sourceRoot":"","sources":["../teamSyncGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"teamSyncGroupMapping.js","sourceRoot":"","sources":["../teamSyncGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IA+C3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,MA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AE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAqEC;AAvDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/types/index.js
CHANGED
|
@@ -2,6 +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.output = exports.input = void 0;
|
|
5
6
|
// Export sub-modules:
|
|
6
7
|
const input = require("./input");
|
|
7
8
|
exports.input = input;
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs } from "../types";
|
|
3
|
+
export interface ActionsOrganizationPermissionsAllowedActionsConfig {
|
|
4
|
+
/**
|
|
5
|
+
* Whether GitHub-owned actions are allowed in the organization.
|
|
6
|
+
*/
|
|
7
|
+
githubOwnedAllowed: pulumi.Input<boolean>;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
|
|
10
|
+
*/
|
|
11
|
+
patternsAlloweds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
14
|
+
*/
|
|
15
|
+
verifiedAllowed?: pulumi.Input<boolean>;
|
|
16
|
+
}
|
|
17
|
+
export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
|
|
18
|
+
/**
|
|
19
|
+
* List of repository IDs to enable for GitHub Actions.
|
|
20
|
+
*/
|
|
21
|
+
repositoryIds: pulumi.Input<pulumi.Input<number>[]>;
|
|
22
|
+
}
|
|
3
23
|
export interface BranchProtectionRequiredPullRequestReview {
|
|
4
24
|
dismissStaleReviews?: pulumi.Input<boolean>;
|
|
5
25
|
dismissalRestrictions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -107,11 +127,20 @@ export interface RepositoryTemplate {
|
|
|
107
127
|
repository: pulumi.Input<string>;
|
|
108
128
|
}
|
|
109
129
|
export interface RepositoryWebhookConfiguration {
|
|
130
|
+
/**
|
|
131
|
+
* The content type for the payload. Valid values are either `form` or `json`.
|
|
132
|
+
*/
|
|
110
133
|
contentType?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Insecure SSL boolean toggle. Defaults to `false`.
|
|
136
|
+
*/
|
|
111
137
|
insecureSsl?: pulumi.Input<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
|
|
140
|
+
*/
|
|
112
141
|
secret?: pulumi.Input<string>;
|
|
113
142
|
/**
|
|
114
|
-
* URL of the webhook.
|
|
143
|
+
* The URL of the webhook.
|
|
115
144
|
*/
|
|
116
145
|
url: pulumi.Input<string>;
|
|
117
146
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { output as outputs } from "../types";
|
|
2
|
+
export interface ActionsOrganizationPermissionsAllowedActionsConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Whether GitHub-owned actions are allowed in the organization.
|
|
5
|
+
*/
|
|
6
|
+
githubOwnedAllowed: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
|
|
9
|
+
*/
|
|
10
|
+
patternsAlloweds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
13
|
+
*/
|
|
14
|
+
verifiedAllowed?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
|
|
17
|
+
/**
|
|
18
|
+
* List of repository IDs to enable for GitHub Actions.
|
|
19
|
+
*/
|
|
20
|
+
repositoryIds: number[];
|
|
21
|
+
}
|
|
2
22
|
export interface BranchProtectionRequiredPullRequestReview {
|
|
3
23
|
dismissStaleReviews?: boolean;
|
|
4
24
|
dismissalRestrictions?: string[];
|
|
@@ -248,11 +268,6 @@ export interface OrganizationWebhookConfiguration {
|
|
|
248
268
|
*/
|
|
249
269
|
url: string;
|
|
250
270
|
}
|
|
251
|
-
export interface ProviderAppAuth {
|
|
252
|
-
id?: string;
|
|
253
|
-
installationId?: string;
|
|
254
|
-
pemFile?: string;
|
|
255
|
-
}
|
|
256
271
|
export interface RepositoryEnvironmentDeploymentBranchPolicy {
|
|
257
272
|
/**
|
|
258
273
|
* Whether only branches that match the specified name patterns can deploy to this environment.
|
|
@@ -311,11 +326,20 @@ export interface RepositoryTemplate {
|
|
|
311
326
|
repository: string;
|
|
312
327
|
}
|
|
313
328
|
export interface RepositoryWebhookConfiguration {
|
|
329
|
+
/**
|
|
330
|
+
* The content type for the payload. Valid values are either `form` or `json`.
|
|
331
|
+
*/
|
|
314
332
|
contentType?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Insecure SSL boolean toggle. Defaults to `false`.
|
|
335
|
+
*/
|
|
315
336
|
insecureSsl?: boolean;
|
|
337
|
+
/**
|
|
338
|
+
* The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
|
|
339
|
+
*/
|
|
316
340
|
secret?: string;
|
|
317
341
|
/**
|
|
318
|
-
* URL of the webhook.
|
|
342
|
+
* The URL of the webhook.
|
|
319
343
|
*/
|
|
320
344
|
url: string;
|
|
321
345
|
}
|
package/userGpgKey.js
CHANGED
|
@@ -2,6 +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.UserGpgKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -28,27 +29,27 @@ const utilities = require("./utilities");
|
|
|
28
29
|
*/
|
|
29
30
|
class UserGpgKey extends pulumi.CustomResource {
|
|
30
31
|
constructor(name, argsOrState, opts) {
|
|
31
|
-
let
|
|
32
|
+
let resourceInputs = {};
|
|
32
33
|
opts = opts || {};
|
|
33
34
|
if (opts.id) {
|
|
34
35
|
const state = argsOrState;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
resourceInputs["armoredPublicKey"] = state ? state.armoredPublicKey : undefined;
|
|
37
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
38
|
+
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
38
39
|
}
|
|
39
40
|
else {
|
|
40
41
|
const args = argsOrState;
|
|
41
42
|
if ((!args || args.armoredPublicKey === undefined) && !opts.urn) {
|
|
42
43
|
throw new Error("Missing required property 'armoredPublicKey'");
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
resourceInputs["armoredPublicKey"] = args ? args.armoredPublicKey : undefined;
|
|
46
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["keyId"] = undefined /*out*/;
|
|
47
48
|
}
|
|
48
49
|
if (!opts.version) {
|
|
49
50
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
50
51
|
}
|
|
51
|
-
super(UserGpgKey.__pulumiType, name,
|
|
52
|
+
super(UserGpgKey.__pulumiType, name, resourceInputs, opts);
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
55
|
* Get an existing UserGpgKey resource's state with the given name, ID, and optional extra
|
package/userGpgKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA+CjD,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,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GA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AK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAqEC;AAvDG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -2,6 +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.UserInvitationAccepter = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -27,23 +28,23 @@ const utilities = require("./utilities");
|
|
|
27
28
|
*/
|
|
28
29
|
class UserInvitationAccepter extends pulumi.CustomResource {
|
|
29
30
|
constructor(name, argsOrState, opts) {
|
|
30
|
-
let
|
|
31
|
+
let resourceInputs = {};
|
|
31
32
|
opts = opts || {};
|
|
32
33
|
if (opts.id) {
|
|
33
34
|
const state = argsOrState;
|
|
34
|
-
|
|
35
|
+
resourceInputs["invitationId"] = state ? state.invitationId : undefined;
|
|
35
36
|
}
|
|
36
37
|
else {
|
|
37
38
|
const args = argsOrState;
|
|
38
39
|
if ((!args || args.invitationId === undefined) && !opts.urn) {
|
|
39
40
|
throw new Error("Missing required property 'invitationId'");
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
+
resourceInputs["invitationId"] = args ? args.invitationId : undefined;
|
|
42
43
|
}
|
|
43
44
|
if (!opts.version) {
|
|
44
45
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
45
46
|
}
|
|
46
|
-
super(UserInvitationAccepter.__pulumiType, name,
|
|
47
|
+
super(UserInvitationAccepter.__pulumiType, name, resourceInputs, opts);
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
50
|
* Get an existing UserInvitationAccepter resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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,CAAC,cAAc;IAyC7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IAzDD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDA2DC;AA7CG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
package/userSshKey.js
CHANGED
|
@@ -2,6 +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.UserSshKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -32,14 +33,14 @@ const utilities = require("./utilities");
|
|
|
32
33
|
*/
|
|
33
34
|
class UserSshKey extends pulumi.CustomResource {
|
|
34
35
|
constructor(name, argsOrState, opts) {
|
|
35
|
-
let
|
|
36
|
+
let resourceInputs = {};
|
|
36
37
|
opts = opts || {};
|
|
37
38
|
if (opts.id) {
|
|
38
39
|
const state = argsOrState;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
41
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
42
|
+
resourceInputs["title"] = state ? state.title : undefined;
|
|
43
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
43
44
|
}
|
|
44
45
|
else {
|
|
45
46
|
const args = argsOrState;
|
|
@@ -49,15 +50,15 @@ class UserSshKey extends pulumi.CustomResource {
|
|
|
49
50
|
if ((!args || args.title === undefined) && !opts.urn) {
|
|
50
51
|
throw new Error("Missing required property 'title'");
|
|
51
52
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
54
|
+
resourceInputs["title"] = args ? args.title : undefined;
|
|
55
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
56
57
|
}
|
|
57
58
|
if (!opts.version) {
|
|
58
59
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
59
60
|
}
|
|
60
|
-
super(UserSshKey.__pulumiType, name,
|
|
61
|
+
super(UserSshKey.__pulumiType, name, resourceInputs, opts);
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
63
64
|
* Get an existing UserSshKey resource's state with the given name, ID, and optional extra
|
package/userSshKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userSshKey.js","sourceRoot":"","sources":["../userSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"userSshKey.js","sourceRoot":"","sources":["../userSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAkDjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EA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OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IA3ED;;;;;;;;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,gCA6EC;AA/DG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -2,6 +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.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
6
|
function getEnv(...vars) {
|
|
6
7
|
for (const v of vars) {
|
|
7
8
|
const value = process.env[v];
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":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