@pulumi/github 6.10.0-alpha.1766123444 → 6.10.0-alpha.1766201671
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/actionsHostedRunner.d.ts +250 -0
- package/actionsHostedRunner.js +158 -0
- package/actionsHostedRunner.js.map +1 -0
- package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
- package/enterpriseActionsWorkflowPermissions.js +97 -0
- package/enterpriseActionsWorkflowPermissions.js.map +1 -0
- package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
- package/enterpriseSecurityAnalysisSettings.js +116 -0
- package/enterpriseSecurityAnalysisSettings.js.map +1 -0
- package/getOrganizationCustomProperties.d.ts +12 -0
- package/getOrganizationCustomProperties.js +2 -0
- package/getOrganizationCustomProperties.js.map +1 -1
- package/getOrganizationSecurityManagers.d.ts +4 -0
- package/getOrganizationSecurityManagers.js +4 -0
- package/getOrganizationSecurityManagers.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +4 -0
- package/getRepositoryDeploymentBranchPolicies.js +4 -0
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +23 -5
- package/index.js.map +1 -1
- package/organizationCustomProperties.d.ts +29 -0
- package/organizationCustomProperties.js +19 -0
- package/organizationCustomProperties.js.map +1 -1
- package/organizationRole.d.ts +7 -7
- package/organizationRoleTeamAssignment.d.ts +4 -0
- package/organizationRoleTeamAssignment.js +4 -0
- package/organizationRoleTeamAssignment.js.map +1 -1
- package/organizationRuleset.d.ts +8 -1
- package/organizationRuleset.js +8 -1
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +4 -0
- package/organizationSecurityManager.js +4 -0
- package/organizationSecurityManager.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +6 -6
- package/repository.js +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +4 -0
- package/repositoryDeploymentBranchPolicy.js +4 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryRuleset.d.ts +13 -6
- package/repositoryRuleset.js +11 -1
- package/repositoryRuleset.js.map +1 -1
- package/types/input.d.ts +80 -4
- package/types/output.d.ts +90 -4
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource allows you to create and manage GitHub-hosted runners within your GitHub organization.
|
|
6
|
+
* You must have admin access to an organization to use this resource.
|
|
7
|
+
*
|
|
8
|
+
* GitHub-hosted runners are fully managed virtual machines that run your GitHub Actions workflows. Unlike self-hosted runners, GitHub handles the infrastructure, maintenance, and scaling.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as github from "@pulumi/github";
|
|
17
|
+
*
|
|
18
|
+
* const example = new github.ActionsRunnerGroup("example", {
|
|
19
|
+
* name: "example-runner-group",
|
|
20
|
+
* visibility: "all",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleActionsHostedRunner = new github.ActionsHostedRunner("example", {
|
|
23
|
+
* name: "example-hosted-runner",
|
|
24
|
+
* image: {
|
|
25
|
+
* id: "2306",
|
|
26
|
+
* source: "github",
|
|
27
|
+
* },
|
|
28
|
+
* size: "4-core",
|
|
29
|
+
* runnerGroupId: example.id,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ### Advanced Usage with Optional Parameters
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as github from "@pulumi/github";
|
|
38
|
+
*
|
|
39
|
+
* const advanced = new github.ActionsRunnerGroup("advanced", {
|
|
40
|
+
* name: "advanced-runner-group",
|
|
41
|
+
* visibility: "selected",
|
|
42
|
+
* });
|
|
43
|
+
* const advancedActionsHostedRunner = new github.ActionsHostedRunner("advanced", {
|
|
44
|
+
* name: "advanced-hosted-runner",
|
|
45
|
+
* image: {
|
|
46
|
+
* id: "2306",
|
|
47
|
+
* source: "github",
|
|
48
|
+
* },
|
|
49
|
+
* size: "8-core",
|
|
50
|
+
* runnerGroupId: advanced.id,
|
|
51
|
+
* maximumRunners: 10,
|
|
52
|
+
* publicIpEnabled: true,
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Notes
|
|
57
|
+
*
|
|
58
|
+
* * This resource is **organization-only** and cannot be used with individual accounts.
|
|
59
|
+
* * The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
|
|
60
|
+
* * The `size` field can be updated to scale the runner up or down as needed.
|
|
61
|
+
* * Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
|
|
62
|
+
* * Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
|
|
63
|
+
* * Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
|
|
64
|
+
* * Static public IPs are subject to account limits. Check your organization's limits before enabling.
|
|
65
|
+
*
|
|
66
|
+
* ## Getting Available Images and Sizes
|
|
67
|
+
*
|
|
68
|
+
* To get a list of available images:
|
|
69
|
+
*
|
|
70
|
+
* To get available machine sizes:
|
|
71
|
+
*
|
|
72
|
+
* ## Import
|
|
73
|
+
*
|
|
74
|
+
* Hosted runners can be imported using the runner ID:
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import github:index/actionsHostedRunner:ActionsHostedRunner example 123456
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare class ActionsHostedRunner extends pulumi.CustomResource {
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing ActionsHostedRunner resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsHostedRunnerState, opts?: pulumi.CustomResourceOptions): ActionsHostedRunner;
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of ActionsHostedRunner. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj: any): obj is ActionsHostedRunner;
|
|
96
|
+
/**
|
|
97
|
+
* Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
|
|
98
|
+
*/
|
|
99
|
+
readonly image: pulumi.Output<outputs.ActionsHostedRunnerImage>;
|
|
100
|
+
/**
|
|
101
|
+
* Whether this runner should be used to generate custom images. Cannot be changed after creation.
|
|
102
|
+
*/
|
|
103
|
+
readonly imageGen: pulumi.Output<boolean | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The version of the runner image to deploy. This is only relevant for runners using custom images.
|
|
106
|
+
*/
|
|
107
|
+
readonly imageVersion: pulumi.Output<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Timestamp (RFC3339) when the runner was last active.
|
|
110
|
+
*/
|
|
111
|
+
readonly lastActiveOn: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Detailed specifications of the machine size:
|
|
114
|
+
*/
|
|
115
|
+
readonly machineSizeDetails: pulumi.Output<outputs.ActionsHostedRunnerMachineSizeDetail[]>;
|
|
116
|
+
/**
|
|
117
|
+
* Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
|
|
118
|
+
*/
|
|
119
|
+
readonly maximumRunners: pulumi.Output<number>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
|
|
122
|
+
*/
|
|
123
|
+
readonly name: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Platform of the runner (e.g., "linux-x64", "win-x64").
|
|
126
|
+
*/
|
|
127
|
+
readonly platform: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
|
|
130
|
+
*/
|
|
131
|
+
readonly publicIpEnabled: pulumi.Output<boolean | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* List of public IP ranges assigned to this runner (only if `publicIpEnabled` is true):
|
|
134
|
+
*/
|
|
135
|
+
readonly publicIps: pulumi.Output<outputs.ActionsHostedRunnerPublicIp[]>;
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the runner group to assign this runner to.
|
|
138
|
+
*/
|
|
139
|
+
readonly runnerGroupId: pulumi.Output<number>;
|
|
140
|
+
/**
|
|
141
|
+
* Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
|
|
142
|
+
*/
|
|
143
|
+
readonly size: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Current status of the runner (e.g., "Ready", "Provisioning").
|
|
146
|
+
*/
|
|
147
|
+
readonly status: pulumi.Output<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Create a ActionsHostedRunner resource with the given unique name, arguments, and options.
|
|
150
|
+
*
|
|
151
|
+
* @param name The _unique_ name of the resource.
|
|
152
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
153
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
154
|
+
*/
|
|
155
|
+
constructor(name: string, args: ActionsHostedRunnerArgs, opts?: pulumi.CustomResourceOptions);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Input properties used for looking up and filtering ActionsHostedRunner resources.
|
|
159
|
+
*/
|
|
160
|
+
export interface ActionsHostedRunnerState {
|
|
161
|
+
/**
|
|
162
|
+
* Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
|
|
163
|
+
*/
|
|
164
|
+
image?: pulumi.Input<inputs.ActionsHostedRunnerImage>;
|
|
165
|
+
/**
|
|
166
|
+
* Whether this runner should be used to generate custom images. Cannot be changed after creation.
|
|
167
|
+
*/
|
|
168
|
+
imageGen?: pulumi.Input<boolean>;
|
|
169
|
+
/**
|
|
170
|
+
* The version of the runner image to deploy. This is only relevant for runners using custom images.
|
|
171
|
+
*/
|
|
172
|
+
imageVersion?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Timestamp (RFC3339) when the runner was last active.
|
|
175
|
+
*/
|
|
176
|
+
lastActiveOn?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Detailed specifications of the machine size:
|
|
179
|
+
*/
|
|
180
|
+
machineSizeDetails?: pulumi.Input<pulumi.Input<inputs.ActionsHostedRunnerMachineSizeDetail>[]>;
|
|
181
|
+
/**
|
|
182
|
+
* Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
|
|
183
|
+
*/
|
|
184
|
+
maximumRunners?: pulumi.Input<number>;
|
|
185
|
+
/**
|
|
186
|
+
* Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
|
|
187
|
+
*/
|
|
188
|
+
name?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Platform of the runner (e.g., "linux-x64", "win-x64").
|
|
191
|
+
*/
|
|
192
|
+
platform?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
|
|
195
|
+
*/
|
|
196
|
+
publicIpEnabled?: pulumi.Input<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* List of public IP ranges assigned to this runner (only if `publicIpEnabled` is true):
|
|
199
|
+
*/
|
|
200
|
+
publicIps?: pulumi.Input<pulumi.Input<inputs.ActionsHostedRunnerPublicIp>[]>;
|
|
201
|
+
/**
|
|
202
|
+
* The ID of the runner group to assign this runner to.
|
|
203
|
+
*/
|
|
204
|
+
runnerGroupId?: pulumi.Input<number>;
|
|
205
|
+
/**
|
|
206
|
+
* Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
|
|
207
|
+
*/
|
|
208
|
+
size?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Current status of the runner (e.g., "Ready", "Provisioning").
|
|
211
|
+
*/
|
|
212
|
+
status?: pulumi.Input<string>;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* The set of arguments for constructing a ActionsHostedRunner resource.
|
|
216
|
+
*/
|
|
217
|
+
export interface ActionsHostedRunnerArgs {
|
|
218
|
+
/**
|
|
219
|
+
* Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
|
|
220
|
+
*/
|
|
221
|
+
image: pulumi.Input<inputs.ActionsHostedRunnerImage>;
|
|
222
|
+
/**
|
|
223
|
+
* Whether this runner should be used to generate custom images. Cannot be changed after creation.
|
|
224
|
+
*/
|
|
225
|
+
imageGen?: pulumi.Input<boolean>;
|
|
226
|
+
/**
|
|
227
|
+
* The version of the runner image to deploy. This is only relevant for runners using custom images.
|
|
228
|
+
*/
|
|
229
|
+
imageVersion?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
|
|
232
|
+
*/
|
|
233
|
+
maximumRunners?: pulumi.Input<number>;
|
|
234
|
+
/**
|
|
235
|
+
* Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
|
|
236
|
+
*/
|
|
237
|
+
name?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
|
|
240
|
+
*/
|
|
241
|
+
publicIpEnabled?: pulumi.Input<boolean>;
|
|
242
|
+
/**
|
|
243
|
+
* The ID of the runner group to assign this runner to.
|
|
244
|
+
*/
|
|
245
|
+
runnerGroupId: pulumi.Input<number>;
|
|
246
|
+
/**
|
|
247
|
+
* Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
|
|
248
|
+
*/
|
|
249
|
+
size: pulumi.Input<string>;
|
|
250
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ActionsHostedRunner = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to create and manage GitHub-hosted runners within your GitHub organization.
|
|
10
|
+
* You must have admin access to an organization to use this resource.
|
|
11
|
+
*
|
|
12
|
+
* GitHub-hosted runners are fully managed virtual machines that run your GitHub Actions workflows. Unlike self-hosted runners, GitHub handles the infrastructure, maintenance, and scaling.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ### Basic Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as github from "@pulumi/github";
|
|
21
|
+
*
|
|
22
|
+
* const example = new github.ActionsRunnerGroup("example", {
|
|
23
|
+
* name: "example-runner-group",
|
|
24
|
+
* visibility: "all",
|
|
25
|
+
* });
|
|
26
|
+
* const exampleActionsHostedRunner = new github.ActionsHostedRunner("example", {
|
|
27
|
+
* name: "example-hosted-runner",
|
|
28
|
+
* image: {
|
|
29
|
+
* id: "2306",
|
|
30
|
+
* source: "github",
|
|
31
|
+
* },
|
|
32
|
+
* size: "4-core",
|
|
33
|
+
* runnerGroupId: example.id,
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ### Advanced Usage with Optional Parameters
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as github from "@pulumi/github";
|
|
42
|
+
*
|
|
43
|
+
* const advanced = new github.ActionsRunnerGroup("advanced", {
|
|
44
|
+
* name: "advanced-runner-group",
|
|
45
|
+
* visibility: "selected",
|
|
46
|
+
* });
|
|
47
|
+
* const advancedActionsHostedRunner = new github.ActionsHostedRunner("advanced", {
|
|
48
|
+
* name: "advanced-hosted-runner",
|
|
49
|
+
* image: {
|
|
50
|
+
* id: "2306",
|
|
51
|
+
* source: "github",
|
|
52
|
+
* },
|
|
53
|
+
* size: "8-core",
|
|
54
|
+
* runnerGroupId: advanced.id,
|
|
55
|
+
* maximumRunners: 10,
|
|
56
|
+
* publicIpEnabled: true,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Notes
|
|
61
|
+
*
|
|
62
|
+
* * This resource is **organization-only** and cannot be used with individual accounts.
|
|
63
|
+
* * The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
|
|
64
|
+
* * The `size` field can be updated to scale the runner up or down as needed.
|
|
65
|
+
* * Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
|
|
66
|
+
* * Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
|
|
67
|
+
* * Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
|
|
68
|
+
* * Static public IPs are subject to account limits. Check your organization's limits before enabling.
|
|
69
|
+
*
|
|
70
|
+
* ## Getting Available Images and Sizes
|
|
71
|
+
*
|
|
72
|
+
* To get a list of available images:
|
|
73
|
+
*
|
|
74
|
+
* To get available machine sizes:
|
|
75
|
+
*
|
|
76
|
+
* ## Import
|
|
77
|
+
*
|
|
78
|
+
* Hosted runners can be imported using the runner ID:
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import github:index/actionsHostedRunner:ActionsHostedRunner example 123456
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
class ActionsHostedRunner extends pulumi.CustomResource {
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing ActionsHostedRunner resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new ActionsHostedRunner(name, state, { ...opts, id: id });
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of ActionsHostedRunner. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === ActionsHostedRunner.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
constructor(name, argsOrState, opts) {
|
|
108
|
+
let resourceInputs = {};
|
|
109
|
+
opts = opts || {};
|
|
110
|
+
if (opts.id) {
|
|
111
|
+
const state = argsOrState;
|
|
112
|
+
resourceInputs["image"] = state?.image;
|
|
113
|
+
resourceInputs["imageGen"] = state?.imageGen;
|
|
114
|
+
resourceInputs["imageVersion"] = state?.imageVersion;
|
|
115
|
+
resourceInputs["lastActiveOn"] = state?.lastActiveOn;
|
|
116
|
+
resourceInputs["machineSizeDetails"] = state?.machineSizeDetails;
|
|
117
|
+
resourceInputs["maximumRunners"] = state?.maximumRunners;
|
|
118
|
+
resourceInputs["name"] = state?.name;
|
|
119
|
+
resourceInputs["platform"] = state?.platform;
|
|
120
|
+
resourceInputs["publicIpEnabled"] = state?.publicIpEnabled;
|
|
121
|
+
resourceInputs["publicIps"] = state?.publicIps;
|
|
122
|
+
resourceInputs["runnerGroupId"] = state?.runnerGroupId;
|
|
123
|
+
resourceInputs["size"] = state?.size;
|
|
124
|
+
resourceInputs["status"] = state?.status;
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
const args = argsOrState;
|
|
128
|
+
if (args?.image === undefined && !opts.urn) {
|
|
129
|
+
throw new Error("Missing required property 'image'");
|
|
130
|
+
}
|
|
131
|
+
if (args?.runnerGroupId === undefined && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'runnerGroupId'");
|
|
133
|
+
}
|
|
134
|
+
if (args?.size === undefined && !opts.urn) {
|
|
135
|
+
throw new Error("Missing required property 'size'");
|
|
136
|
+
}
|
|
137
|
+
resourceInputs["image"] = args?.image;
|
|
138
|
+
resourceInputs["imageGen"] = args?.imageGen;
|
|
139
|
+
resourceInputs["imageVersion"] = args?.imageVersion;
|
|
140
|
+
resourceInputs["maximumRunners"] = args?.maximumRunners;
|
|
141
|
+
resourceInputs["name"] = args?.name;
|
|
142
|
+
resourceInputs["publicIpEnabled"] = args?.publicIpEnabled;
|
|
143
|
+
resourceInputs["runnerGroupId"] = args?.runnerGroupId;
|
|
144
|
+
resourceInputs["size"] = args?.size;
|
|
145
|
+
resourceInputs["lastActiveOn"] = undefined /*out*/;
|
|
146
|
+
resourceInputs["machineSizeDetails"] = undefined /*out*/;
|
|
147
|
+
resourceInputs["platform"] = undefined /*out*/;
|
|
148
|
+
resourceInputs["publicIps"] = undefined /*out*/;
|
|
149
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
150
|
+
}
|
|
151
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
152
|
+
super(ActionsHostedRunner.__pulumiType, name, resourceInputs, opts);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.ActionsHostedRunner = ActionsHostedRunner;
|
|
156
|
+
/** @internal */
|
|
157
|
+
ActionsHostedRunner.__pulumiType = 'github:index/actionsHostedRunner:ActionsHostedRunner';
|
|
158
|
+
//# sourceMappingURL=actionsHostedRunner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsHostedRunner.js","sourceRoot":"","sources":["../actionsHostedRunner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CA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MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtIL,kDAuIC;AAzHG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to manage GitHub Actions workflow permissions for a GitHub Enterprise account. This controls the default permissions granted to the GITHUB_TOKEN when running workflows and whether GitHub Actions can approve pull request reviews.
|
|
4
|
+
*
|
|
5
|
+
* You must have enterprise admin access 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
|
+
* // Basic workflow permissions configuration
|
|
14
|
+
* const example = new github.EnterpriseActionsWorkflowPermissions("example", {
|
|
15
|
+
* enterpriseSlug: "my-enterprise",
|
|
16
|
+
* defaultWorkflowPermissions: "read",
|
|
17
|
+
* canApprovePullRequestReviews: false,
|
|
18
|
+
* });
|
|
19
|
+
* // Allow write permissions and PR approvals
|
|
20
|
+
* const permissive = new github.EnterpriseActionsWorkflowPermissions("permissive", {
|
|
21
|
+
* enterpriseSlug: "my-enterprise",
|
|
22
|
+
* defaultWorkflowPermissions: "write",
|
|
23
|
+
* canApprovePullRequestReviews: true,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Notes
|
|
28
|
+
*
|
|
29
|
+
* > **Note:** This resource requires a GitHub Enterprise account and enterprise admin permissions.
|
|
30
|
+
*
|
|
31
|
+
* When this resource is destroyed, the workflow permissions will be reset to safe defaults:
|
|
32
|
+
* - `defaultWorkflowPermissions` = `read`
|
|
33
|
+
* - `canApprovePullRequestReviews` = `false`
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Enterprise Actions workflow permissions can be imported using the enterprise slug:
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import github:index/enterpriseActionsWorkflowPermissions:EnterpriseActionsWorkflowPermissions example my-enterprise
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class EnterpriseActionsWorkflowPermissions extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing EnterpriseActionsWorkflowPermissions resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnterpriseActionsWorkflowPermissionsState, opts?: pulumi.CustomResourceOptions): EnterpriseActionsWorkflowPermissions;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of EnterpriseActionsWorkflowPermissions. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is EnterpriseActionsWorkflowPermissions;
|
|
59
|
+
/**
|
|
60
|
+
* Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
|
|
61
|
+
*/
|
|
62
|
+
readonly canApprovePullRequestReviews: pulumi.Output<boolean | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
|
|
65
|
+
*/
|
|
66
|
+
readonly defaultWorkflowPermissions: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The slug of the enterprise.
|
|
69
|
+
*/
|
|
70
|
+
readonly enterpriseSlug: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a EnterpriseActionsWorkflowPermissions 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: EnterpriseActionsWorkflowPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering EnterpriseActionsWorkflowPermissions resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface EnterpriseActionsWorkflowPermissionsState {
|
|
84
|
+
/**
|
|
85
|
+
* Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
|
|
86
|
+
*/
|
|
87
|
+
canApprovePullRequestReviews?: pulumi.Input<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
|
|
90
|
+
*/
|
|
91
|
+
defaultWorkflowPermissions?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The slug of the enterprise.
|
|
94
|
+
*/
|
|
95
|
+
enterpriseSlug?: pulumi.Input<string>;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The set of arguments for constructing a EnterpriseActionsWorkflowPermissions resource.
|
|
99
|
+
*/
|
|
100
|
+
export interface EnterpriseActionsWorkflowPermissionsArgs {
|
|
101
|
+
/**
|
|
102
|
+
* Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
|
|
103
|
+
*/
|
|
104
|
+
canApprovePullRequestReviews?: pulumi.Input<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
|
|
107
|
+
*/
|
|
108
|
+
defaultWorkflowPermissions?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The slug of the enterprise.
|
|
111
|
+
*/
|
|
112
|
+
enterpriseSlug: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.EnterpriseActionsWorkflowPermissions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to manage GitHub Actions workflow permissions for a GitHub Enterprise account. This controls the default permissions granted to the GITHUB_TOKEN when running workflows and whether GitHub Actions can approve pull request reviews.
|
|
10
|
+
*
|
|
11
|
+
* You must have enterprise admin access to use this resource.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* // Basic workflow permissions configuration
|
|
20
|
+
* const example = new github.EnterpriseActionsWorkflowPermissions("example", {
|
|
21
|
+
* enterpriseSlug: "my-enterprise",
|
|
22
|
+
* defaultWorkflowPermissions: "read",
|
|
23
|
+
* canApprovePullRequestReviews: false,
|
|
24
|
+
* });
|
|
25
|
+
* // Allow write permissions and PR approvals
|
|
26
|
+
* const permissive = new github.EnterpriseActionsWorkflowPermissions("permissive", {
|
|
27
|
+
* enterpriseSlug: "my-enterprise",
|
|
28
|
+
* defaultWorkflowPermissions: "write",
|
|
29
|
+
* canApprovePullRequestReviews: true,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Notes
|
|
34
|
+
*
|
|
35
|
+
* > **Note:** This resource requires a GitHub Enterprise account and enterprise admin permissions.
|
|
36
|
+
*
|
|
37
|
+
* When this resource is destroyed, the workflow permissions will be reset to safe defaults:
|
|
38
|
+
* - `defaultWorkflowPermissions` = `read`
|
|
39
|
+
* - `canApprovePullRequestReviews` = `false`
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* Enterprise Actions workflow permissions can be imported using the enterprise slug:
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import github:index/enterpriseActionsWorkflowPermissions:EnterpriseActionsWorkflowPermissions example my-enterprise
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class EnterpriseActionsWorkflowPermissions extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing EnterpriseActionsWorkflowPermissions resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new EnterpriseActionsWorkflowPermissions(name, state, { ...opts, id: id });
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of EnterpriseActionsWorkflowPermissions. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === EnterpriseActionsWorkflowPermissions.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
constructor(name, argsOrState, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (opts.id) {
|
|
76
|
+
const state = argsOrState;
|
|
77
|
+
resourceInputs["canApprovePullRequestReviews"] = state?.canApprovePullRequestReviews;
|
|
78
|
+
resourceInputs["defaultWorkflowPermissions"] = state?.defaultWorkflowPermissions;
|
|
79
|
+
resourceInputs["enterpriseSlug"] = state?.enterpriseSlug;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if (args?.enterpriseSlug === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'enterpriseSlug'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["canApprovePullRequestReviews"] = args?.canApprovePullRequestReviews;
|
|
87
|
+
resourceInputs["defaultWorkflowPermissions"] = args?.defaultWorkflowPermissions;
|
|
88
|
+
resourceInputs["enterpriseSlug"] = args?.enterpriseSlug;
|
|
89
|
+
}
|
|
90
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
+
super(EnterpriseActionsWorkflowPermissions.__pulumiType, name, resourceInputs, opts);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.EnterpriseActionsWorkflowPermissions = EnterpriseActionsWorkflowPermissions;
|
|
95
|
+
/** @internal */
|
|
96
|
+
EnterpriseActionsWorkflowPermissions.__pulumiType = 'github:index/enterpriseActionsWorkflowPermissions:EnterpriseActionsWorkflowPermissions';
|
|
97
|
+
//# sourceMappingURL=enterpriseActionsWorkflowPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enterpriseActionsWorkflowPermissions.js","sourceRoot":"","sources":["../enterpriseActionsWorkflowPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;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