@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/README.md
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.ActionsEnvironmentSecret = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,17 +18,17 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*/
|
|
18
19
|
class ActionsEnvironmentSecret extends pulumi.CustomResource {
|
|
19
20
|
constructor(name, argsOrState, opts) {
|
|
20
|
-
let
|
|
21
|
+
let resourceInputs = {};
|
|
21
22
|
opts = opts || {};
|
|
22
23
|
if (opts.id) {
|
|
23
24
|
const state = argsOrState;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
26
|
+
resourceInputs["encryptedValue"] = state ? state.encryptedValue : undefined;
|
|
27
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
28
|
+
resourceInputs["plaintextValue"] = state ? state.plaintextValue : undefined;
|
|
29
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
30
|
+
resourceInputs["secretName"] = state ? state.secretName : undefined;
|
|
31
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
31
32
|
}
|
|
32
33
|
else {
|
|
33
34
|
const args = argsOrState;
|
|
@@ -40,18 +41,18 @@ class ActionsEnvironmentSecret extends pulumi.CustomResource {
|
|
|
40
41
|
if ((!args || args.secretName === undefined) && !opts.urn) {
|
|
41
42
|
throw new Error("Missing required property 'secretName'");
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
resourceInputs["encryptedValue"] = args ? args.encryptedValue : undefined;
|
|
45
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
46
|
+
resourceInputs["plaintextValue"] = args ? args.plaintextValue : undefined;
|
|
47
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
48
|
+
resourceInputs["secretName"] = args ? args.secretName : undefined;
|
|
49
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
50
51
|
}
|
|
51
52
|
if (!opts.version) {
|
|
52
53
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
53
54
|
}
|
|
54
|
-
super(ActionsEnvironmentSecret.__pulumiType, name,
|
|
55
|
+
super(ActionsEnvironmentSecret.__pulumiType, name, resourceInputs, opts);
|
|
55
56
|
}
|
|
56
57
|
/**
|
|
57
58
|
* Get an existing ActionsEnvironmentSecret resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAiE/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE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i/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
5
|
+
* You must have admin access to an organization to use this resource.
|
|
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.Repository("example", {});
|
|
14
|
+
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
15
|
+
* allowedActions: "selected",
|
|
16
|
+
* enabledRepositories: "selected",
|
|
17
|
+
* allowedActionsConfig: {
|
|
18
|
+
* githubOwnedAllowed: true,
|
|
19
|
+
* patternsAlloweds: [
|
|
20
|
+
* "actions/cache@*",
|
|
21
|
+
* "actions/checkout@*",
|
|
22
|
+
* ],
|
|
23
|
+
* verifiedAllowed: true,
|
|
24
|
+
* },
|
|
25
|
+
* enabledRepositoriesConfig: {
|
|
26
|
+
* repositoryIds: [example.repoId],
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* This resource can be imported using the ID of the GitHub organization
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test <github_organization_name>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing ActionsOrganizationPermissions resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsOrganizationPermissionsState, opts?: pulumi.CustomResourceOptions): ActionsOrganizationPermissions;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of ActionsOrganizationPermissions. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is ActionsOrganizationPermissions;
|
|
55
|
+
/**
|
|
56
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
57
|
+
*/
|
|
58
|
+
readonly allowedActions: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
61
|
+
*/
|
|
62
|
+
readonly allowedActionsConfig: pulumi.Output<outputs.ActionsOrganizationPermissionsAllowedActionsConfig | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
65
|
+
*/
|
|
66
|
+
readonly enabledRepositories: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
69
|
+
*/
|
|
70
|
+
readonly enabledRepositoriesConfig: pulumi.Output<outputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a ActionsOrganizationPermissions resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: ActionsOrganizationPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering ActionsOrganizationPermissions resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface ActionsOrganizationPermissionsState {
|
|
84
|
+
/**
|
|
85
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
86
|
+
*/
|
|
87
|
+
allowedActions?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
90
|
+
*/
|
|
91
|
+
allowedActionsConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsAllowedActionsConfig>;
|
|
92
|
+
/**
|
|
93
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
94
|
+
*/
|
|
95
|
+
enabledRepositories?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
98
|
+
*/
|
|
99
|
+
enabledRepositoriesConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a ActionsOrganizationPermissions resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface ActionsOrganizationPermissionsArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
107
|
+
*/
|
|
108
|
+
allowedActions?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
111
|
+
*/
|
|
112
|
+
allowedActionsConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsAllowedActionsConfig>;
|
|
113
|
+
/**
|
|
114
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
115
|
+
*/
|
|
116
|
+
enabledRepositories: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
119
|
+
*/
|
|
120
|
+
enabledRepositoriesConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ActionsOrganizationPermissions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
10
|
+
* You must have admin access to an organization to use this resource.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as github from "@pulumi/github";
|
|
17
|
+
*
|
|
18
|
+
* const example = new github.Repository("example", {});
|
|
19
|
+
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
20
|
+
* allowedActions: "selected",
|
|
21
|
+
* enabledRepositories: "selected",
|
|
22
|
+
* allowedActionsConfig: {
|
|
23
|
+
* githubOwnedAllowed: true,
|
|
24
|
+
* patternsAlloweds: [
|
|
25
|
+
* "actions/cache@*",
|
|
26
|
+
* "actions/checkout@*",
|
|
27
|
+
* ],
|
|
28
|
+
* verifiedAllowed: true,
|
|
29
|
+
* },
|
|
30
|
+
* enabledRepositoriesConfig: {
|
|
31
|
+
* repositoryIds: [example.repoId],
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* This resource can be imported using the ID of the GitHub organization
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test <github_organization_name>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["allowedActions"] = state ? state.allowedActions : undefined;
|
|
51
|
+
resourceInputs["allowedActionsConfig"] = state ? state.allowedActionsConfig : undefined;
|
|
52
|
+
resourceInputs["enabledRepositories"] = state ? state.enabledRepositories : undefined;
|
|
53
|
+
resourceInputs["enabledRepositoriesConfig"] = state ? state.enabledRepositoriesConfig : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.enabledRepositories === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'enabledRepositories'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["allowedActions"] = args ? args.allowedActions : undefined;
|
|
61
|
+
resourceInputs["allowedActionsConfig"] = args ? args.allowedActionsConfig : undefined;
|
|
62
|
+
resourceInputs["enabledRepositories"] = args ? args.enabledRepositories : undefined;
|
|
63
|
+
resourceInputs["enabledRepositoriesConfig"] = args ? args.enabledRepositoriesConfig : undefined;
|
|
64
|
+
}
|
|
65
|
+
if (!opts.version) {
|
|
66
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
67
|
+
}
|
|
68
|
+
super(ActionsOrganizationPermissions.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing ActionsOrganizationPermissions resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new ActionsOrganizationPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of ActionsOrganizationPermissions. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === ActionsOrganizationPermissions.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.ActionsOrganizationPermissions = ActionsOrganizationPermissions;
|
|
94
|
+
/** @internal */
|
|
95
|
+
ActionsOrganizationPermissions.__pulumiType = 'github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions';
|
|
96
|
+
//# sourceMappingURL=actionsOrganizationPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;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mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnG;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,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;;AA1BL,wEA6EC;AA/DG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,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.ActionsOrganizationSecret = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,17 +18,17 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*/
|
|
18
19
|
class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
19
20
|
constructor(name, argsOrState, opts) {
|
|
20
|
-
let
|
|
21
|
+
let resourceInputs = {};
|
|
21
22
|
opts = opts || {};
|
|
22
23
|
if (opts.id) {
|
|
23
24
|
const state = argsOrState;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
26
|
+
resourceInputs["encryptedValue"] = state ? state.encryptedValue : undefined;
|
|
27
|
+
resourceInputs["plaintextValue"] = state ? state.plaintextValue : undefined;
|
|
28
|
+
resourceInputs["secretName"] = state ? state.secretName : undefined;
|
|
29
|
+
resourceInputs["selectedRepositoryIds"] = state ? state.selectedRepositoryIds : undefined;
|
|
30
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
31
|
+
resourceInputs["visibility"] = state ? state.visibility : undefined;
|
|
31
32
|
}
|
|
32
33
|
else {
|
|
33
34
|
const args = argsOrState;
|
|
@@ -37,18 +38,18 @@ class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
37
38
|
if ((!args || args.visibility === undefined) && !opts.urn) {
|
|
38
39
|
throw new Error("Missing required property 'visibility'");
|
|
39
40
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
resourceInputs["encryptedValue"] = args ? args.encryptedValue : undefined;
|
|
42
|
+
resourceInputs["plaintextValue"] = args ? args.plaintextValue : undefined;
|
|
43
|
+
resourceInputs["secretName"] = args ? args.secretName : undefined;
|
|
44
|
+
resourceInputs["selectedRepositoryIds"] = args ? args.selectedRepositoryIds : undefined;
|
|
45
|
+
resourceInputs["visibility"] = args ? args.visibility : undefined;
|
|
46
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
47
48
|
}
|
|
48
49
|
if (!opts.version) {
|
|
49
50
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
50
51
|
}
|
|
51
|
-
super(ActionsOrganizationSecret.__pulumiType, name,
|
|
52
|
+
super(ActionsOrganizationSecret.__pulumiType, name, resourceInputs, opts);
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
55
|
* Get an existing ActionsOrganizationSecret resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA8DhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAA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AAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IA7FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA+FC;AAjFG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,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.ActionsOrganizationSecretRepositories = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -35,12 +36,12 @@ const utilities = require("./utilities");
|
|
|
35
36
|
*/
|
|
36
37
|
class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
37
38
|
constructor(name, argsOrState, opts) {
|
|
38
|
-
let
|
|
39
|
+
let resourceInputs = {};
|
|
39
40
|
opts = opts || {};
|
|
40
41
|
if (opts.id) {
|
|
41
42
|
const state = argsOrState;
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
resourceInputs["secretName"] = state ? state.secretName : undefined;
|
|
44
|
+
resourceInputs["selectedRepositoryIds"] = state ? state.selectedRepositoryIds : undefined;
|
|
44
45
|
}
|
|
45
46
|
else {
|
|
46
47
|
const args = argsOrState;
|
|
@@ -50,13 +51,13 @@ class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
|
50
51
|
if ((!args || args.selectedRepositoryIds === undefined) && !opts.urn) {
|
|
51
52
|
throw new Error("Missing required property 'selectedRepositoryIds'");
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
resourceInputs["secretName"] = args ? args.secretName : undefined;
|
|
55
|
+
resourceInputs["selectedRepositoryIds"] = args ? args.selectedRepositoryIds : undefined;
|
|
55
56
|
}
|
|
56
57
|
if (!opts.version) {
|
|
57
58
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
58
59
|
}
|
|
59
|
-
super(ActionsOrganizationSecretRepositories.__pulumiType, name,
|
|
60
|
+
super(ActionsOrganizationSecretRepositories.__pulumiType, name, resourceInputs, opts);
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* Get an existing ActionsOrganizationSecretRepositories resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IA6C5E,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClE,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;aACxE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;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,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5F,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,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;;AA1BL,sFAoEC;AAtDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
|
package/actionsRunnerGroup.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.ActionsRunnerGroup = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -31,39 +32,39 @@ const utilities = require("./utilities");
|
|
|
31
32
|
*/
|
|
32
33
|
class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
33
34
|
constructor(name, argsOrState, opts) {
|
|
34
|
-
let
|
|
35
|
+
let resourceInputs = {};
|
|
35
36
|
opts = opts || {};
|
|
36
37
|
if (opts.id) {
|
|
37
38
|
const state = argsOrState;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
resourceInputs["allowsPublicRepositories"] = state ? state.allowsPublicRepositories : undefined;
|
|
40
|
+
resourceInputs["default"] = state ? state.default : undefined;
|
|
41
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
42
|
+
resourceInputs["inherited"] = state ? state.inherited : undefined;
|
|
43
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
44
|
+
resourceInputs["runnersUrl"] = state ? state.runnersUrl : undefined;
|
|
45
|
+
resourceInputs["selectedRepositoriesUrl"] = state ? state.selectedRepositoriesUrl : undefined;
|
|
46
|
+
resourceInputs["selectedRepositoryIds"] = state ? state.selectedRepositoryIds : undefined;
|
|
47
|
+
resourceInputs["visibility"] = state ? state.visibility : undefined;
|
|
47
48
|
}
|
|
48
49
|
else {
|
|
49
50
|
const args = argsOrState;
|
|
50
51
|
if ((!args || args.visibility === undefined) && !opts.urn) {
|
|
51
52
|
throw new Error("Missing required property 'visibility'");
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
55
|
+
resourceInputs["selectedRepositoryIds"] = args ? args.selectedRepositoryIds : undefined;
|
|
56
|
+
resourceInputs["visibility"] = args ? args.visibility : undefined;
|
|
57
|
+
resourceInputs["allowsPublicRepositories"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["default"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["inherited"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["runnersUrl"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["selectedRepositoriesUrl"] = undefined /*out*/;
|
|
62
63
|
}
|
|
63
64
|
if (!opts.version) {
|
|
64
65
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
65
66
|
}
|
|
66
|
-
super(ActionsRunnerGroup.__pulumiType, name,
|
|
67
|
+
super(ActionsRunnerGroup.__pulumiType, name, resourceInputs, opts);
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
69
70
|
* Get an existing ActionsRunnerGroup resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAyEzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YA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GED
|
@@ -2,20 +2,21 @@
|
|
|
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.ActionsSecret = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class ActionsSecret extends pulumi.CustomResource {
|
|
8
9
|
constructor(name, argsOrState, opts) {
|
|
9
|
-
let
|
|
10
|
+
let resourceInputs = {};
|
|
10
11
|
opts = opts || {};
|
|
11
12
|
if (opts.id) {
|
|
12
13
|
const state = argsOrState;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
15
|
+
resourceInputs["encryptedValue"] = state ? state.encryptedValue : undefined;
|
|
16
|
+
resourceInputs["plaintextValue"] = state ? state.plaintextValue : undefined;
|
|
17
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
18
|
+
resourceInputs["secretName"] = state ? state.secretName : undefined;
|
|
19
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
19
20
|
}
|
|
20
21
|
else {
|
|
21
22
|
const args = argsOrState;
|
|
@@ -25,17 +26,17 @@ class ActionsSecret extends pulumi.CustomResource {
|
|
|
25
26
|
if ((!args || args.secretName === undefined) && !opts.urn) {
|
|
26
27
|
throw new Error("Missing required property 'secretName'");
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
resourceInputs["encryptedValue"] = args ? args.encryptedValue : undefined;
|
|
30
|
+
resourceInputs["plaintextValue"] = args ? args.plaintextValue : undefined;
|
|
31
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
32
|
+
resourceInputs["secretName"] = args ? args.secretName : undefined;
|
|
33
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
34
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
34
35
|
}
|
|
35
36
|
if (!opts.version) {
|
|
36
37
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
37
38
|
}
|
|
38
|
-
super(ActionsSecret.__pulumiType, name,
|
|
39
|
+
super(ActionsSecret.__pulumiType, name, resourceInputs, opts);
|
|
39
40
|
}
|
|
40
41
|
/**
|
|
41
42
|
* Get an existing ActionsSecret resource's state with the given name, ID, and optional extra
|
package/actionsSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA6DpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC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