@pulumi/rancher2 10.4.0-alpha.1766506762 → 11.0.0-alpha.1766596160

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.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/authConfigGenericOidc.d.ts +313 -0
  3. package/authConfigGenericOidc.js +134 -0
  4. package/authConfigGenericOidc.js.map +1 -0
  5. package/authConfigGithubapp.d.ts +133 -0
  6. package/authConfigGithubapp.js +89 -0
  7. package/authConfigGithubapp.js.map +1 -0
  8. package/cluster.d.ts +36 -340
  9. package/cluster.js +36 -340
  10. package/cluster.js.map +1 -1
  11. package/clusterProxyConfigV2.d.ts +96 -0
  12. package/clusterProxyConfigV2.js +61 -0
  13. package/clusterProxyConfigV2.js.map +1 -0
  14. package/clusterSync.d.ts +4 -4
  15. package/clusterSync.js +4 -4
  16. package/getClusterProxyConfigV2.d.ts +14 -0
  17. package/getClusterProxyConfigV2.js +18 -0
  18. package/getClusterProxyConfigV2.js.map +1 -0
  19. package/index.d.ts +12 -18
  20. package/index.js +20 -26
  21. package/index.js.map +1 -1
  22. package/nodePool.d.ts +4 -4
  23. package/nodePool.js +4 -4
  24. package/package.json +2 -2
  25. package/types/input.d.ts +762 -2581
  26. package/types/output.d.ts +2358 -5036
  27. package/clusterTemplate.d.ts +0 -215
  28. package/clusterTemplate.js +0 -146
  29. package/clusterTemplate.js.map +0 -1
  30. package/etcdBackup.d.ts +0 -186
  31. package/etcdBackup.js +0 -106
  32. package/etcdBackup.js.map +0 -1
  33. package/getClusterTemplate.d.ts +0 -115
  34. package/getClusterTemplate.js +0 -60
  35. package/getClusterTemplate.js.map +0 -1
  36. package/getEtcdBackup.d.ts +0 -99
  37. package/getEtcdBackup.js +0 -54
  38. package/getEtcdBackup.js.map +0 -1
  39. package/getNodeTemplate.d.ts +0 -134
  40. package/getNodeTemplate.js +0 -52
  41. package/getNodeTemplate.js.map +0 -1
  42. package/nodeTemplate.d.ts +0 -562
  43. package/nodeTemplate.js +0 -261
  44. package/nodeTemplate.js.map +0 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![NPM version](https://badge.fury.io/js/%40pulumi%2Francher2.svg)](https://www.npmjs.com/package/@pulumi/rancher2)
4
4
  [![Python version](https://badge.fury.io/py/pulumi-rancher2.svg)](https://pypi.org/project/pulumi-rancher2)
5
5
  [![NuGet version](https://badge.fury.io/nu/pulumi.rancher2.svg)](https://badge.fury.io/nu/pulumi.rancher2)
6
- [![PkgGoDev](https://pkg.go.dev/badge/github.com/pulumi/pulumi-rancher2/sdk/v9/go)](https://pkg.go.dev/github.com/pulumi/pulumi-rancher2/sdk/v9/go)
6
+ [![PkgGoDev](https://pkg.go.dev/badge/github.com/pulumi/pulumi-rancher2/sdk/v11/go)](https://pkg.go.dev/github.com/pulumi/pulumi-rancher2/sdk/v11/go)
7
7
  [![License](https://img.shields.io/npm/l/%40pulumi%2Fpulumi.svg)](https://github.com/pulumi/pulumi-rancher2/blob/master/LICENSE)
8
8
 
9
9
  # Rancher2 Resource Provider
@@ -35,7 +35,7 @@ To use from Python, install using `pip`:
35
35
 
36
36
  To use from Go, use `go get` to grab the latest version of the library
37
37
 
38
- $ go get github.com/pulumi/pulumi-rancher2/sdk/v9
38
+ $ go get github.com/pulumi/pulumi-rancher2/sdk/v11
39
39
 
40
40
  ### .NET
41
41
 
@@ -0,0 +1,313 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Rancher v2 Auth Config Generic OIDC resource. This can be used to configure and enable the Generic OIDC authentication provider for Rancher v2.
4
+ *
5
+ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * This example configures Rancher to use GitLab as a Generic OIDC provider.
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as rancher2 from "@pulumi/rancher2";
14
+ *
15
+ * const genericOidc = new rancher2.AuthConfigGenericOidc("generic_oidc", {
16
+ * name: "genericoidc",
17
+ * clientId: "<GITLAB_APPLICATION_ID>",
18
+ * clientSecret: "<GITLAB_CLIENT_SECRET>",
19
+ * issuer: "https://gitlab.com",
20
+ * rancherUrl: "https://<RANCHER_URL>/verify-auth",
21
+ * scopes: "openid profile email read_api",
22
+ * groupsField: "groups",
23
+ * groupSearchEnabled: true,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Generic OIDC auth config can be imported using its name.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import rancher2:index/authConfigGenericOidc:AuthConfigGenericOidc generic_oidc genericoidc
33
+ * ```
34
+ */
35
+ export declare class AuthConfigGenericOidc extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing AuthConfigGenericOidc resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthConfigGenericOidcState, opts?: pulumi.CustomResourceOptions): AuthConfigGenericOidc;
46
+ /**
47
+ * Returns true if the given object is an instance of AuthConfigGenericOidc. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is AuthConfigGenericOidc;
51
+ /**
52
+ * Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string)
53
+ */
54
+ readonly accessMode: pulumi.Output<string | undefined>;
55
+ /**
56
+ * Allowed principal IDs for auth. Required if `accessMode` is `required` or `restricted`. Ex: `genericoidc_user://<USER_ID>` `genericoidc_group://<GROUP_ID>` (list)
57
+ */
58
+ readonly allowedPrincipalIds: pulumi.Output<string[] | undefined>;
59
+ /**
60
+ * Annotations of the resource (map)
61
+ */
62
+ readonly annotations: pulumi.Output<{
63
+ [key: string]: string;
64
+ }>;
65
+ /**
66
+ * The OIDC Auth Endpoint URL.
67
+ */
68
+ readonly authEndpoint: pulumi.Output<string>;
69
+ /**
70
+ * A PEM-encoded CA certificate for the OIDC provider.
71
+ */
72
+ readonly certificate: pulumi.Output<string | undefined>;
73
+ /**
74
+ * The OIDC Client ID.
75
+ */
76
+ readonly clientId: pulumi.Output<string>;
77
+ /**
78
+ * The OIDC Client Secret.
79
+ */
80
+ readonly clientSecret: pulumi.Output<string>;
81
+ /**
82
+ * Enable the auth config provider. Default `true` (bool)
83
+ */
84
+ readonly enabled: pulumi.Output<boolean | undefined>;
85
+ /**
86
+ * Enable group search. Default `false` (bool)
87
+ */
88
+ readonly groupSearchEnabled: pulumi.Output<boolean | undefined>;
89
+ /**
90
+ * The name of the OIDC claim to use for the user's group memberships. Default `groups` (string)
91
+ */
92
+ readonly groupsField: pulumi.Output<string>;
93
+ /**
94
+ * The OIDC issuer URL.
95
+ */
96
+ readonly issuer: pulumi.Output<string>;
97
+ /**
98
+ * The OIDC JWKS URL.
99
+ */
100
+ readonly jwksUrl: pulumi.Output<string>;
101
+ /**
102
+ * Labels of the resource (map)
103
+ */
104
+ readonly labels: pulumi.Output<{
105
+ [key: string]: string;
106
+ }>;
107
+ /**
108
+ * (Computed) The name of the resource (string)
109
+ */
110
+ readonly name: pulumi.Output<string>;
111
+ /**
112
+ * A PEM-encoded private key for the OIDC provider.
113
+ */
114
+ readonly privateKey: pulumi.Output<string | undefined>;
115
+ /**
116
+ * The URL of the Rancher server. This is used as the redirect URI for the OIDC provider.
117
+ */
118
+ readonly rancherUrl: pulumi.Output<string>;
119
+ /**
120
+ * The OIDC scopes to request. Defaults to `openid profile email` (string)
121
+ */
122
+ readonly scopes: pulumi.Output<string>;
123
+ /**
124
+ * The OIDC Token Endpoint URL.
125
+ */
126
+ readonly tokenEndpoint: pulumi.Output<string>;
127
+ /**
128
+ * (Computed) The type of the resource (string)
129
+ */
130
+ readonly type: pulumi.Output<string>;
131
+ /**
132
+ * The OIDC User Info Endpoint URL.
133
+ */
134
+ readonly userinfoEndpoint: pulumi.Output<string>;
135
+ /**
136
+ * Create a AuthConfigGenericOidc resource with the given unique name, arguments, and options.
137
+ *
138
+ * @param name The _unique_ name of the resource.
139
+ * @param args The arguments to use to populate this resource's properties.
140
+ * @param opts A bag of options that control this resource's behavior.
141
+ */
142
+ constructor(name: string, args: AuthConfigGenericOidcArgs, opts?: pulumi.CustomResourceOptions);
143
+ }
144
+ /**
145
+ * Input properties used for looking up and filtering AuthConfigGenericOidc resources.
146
+ */
147
+ export interface AuthConfigGenericOidcState {
148
+ /**
149
+ * Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string)
150
+ */
151
+ accessMode?: pulumi.Input<string>;
152
+ /**
153
+ * Allowed principal IDs for auth. Required if `accessMode` is `required` or `restricted`. Ex: `genericoidc_user://<USER_ID>` `genericoidc_group://<GROUP_ID>` (list)
154
+ */
155
+ allowedPrincipalIds?: pulumi.Input<pulumi.Input<string>[]>;
156
+ /**
157
+ * Annotations of the resource (map)
158
+ */
159
+ annotations?: pulumi.Input<{
160
+ [key: string]: pulumi.Input<string>;
161
+ }>;
162
+ /**
163
+ * The OIDC Auth Endpoint URL.
164
+ */
165
+ authEndpoint?: pulumi.Input<string>;
166
+ /**
167
+ * A PEM-encoded CA certificate for the OIDC provider.
168
+ */
169
+ certificate?: pulumi.Input<string>;
170
+ /**
171
+ * The OIDC Client ID.
172
+ */
173
+ clientId?: pulumi.Input<string>;
174
+ /**
175
+ * The OIDC Client Secret.
176
+ */
177
+ clientSecret?: pulumi.Input<string>;
178
+ /**
179
+ * Enable the auth config provider. Default `true` (bool)
180
+ */
181
+ enabled?: pulumi.Input<boolean>;
182
+ /**
183
+ * Enable group search. Default `false` (bool)
184
+ */
185
+ groupSearchEnabled?: pulumi.Input<boolean>;
186
+ /**
187
+ * The name of the OIDC claim to use for the user's group memberships. Default `groups` (string)
188
+ */
189
+ groupsField?: pulumi.Input<string>;
190
+ /**
191
+ * The OIDC issuer URL.
192
+ */
193
+ issuer?: pulumi.Input<string>;
194
+ /**
195
+ * The OIDC JWKS URL.
196
+ */
197
+ jwksUrl?: pulumi.Input<string>;
198
+ /**
199
+ * Labels of the resource (map)
200
+ */
201
+ labels?: pulumi.Input<{
202
+ [key: string]: pulumi.Input<string>;
203
+ }>;
204
+ /**
205
+ * (Computed) The name of the resource (string)
206
+ */
207
+ name?: pulumi.Input<string>;
208
+ /**
209
+ * A PEM-encoded private key for the OIDC provider.
210
+ */
211
+ privateKey?: pulumi.Input<string>;
212
+ /**
213
+ * The URL of the Rancher server. This is used as the redirect URI for the OIDC provider.
214
+ */
215
+ rancherUrl?: pulumi.Input<string>;
216
+ /**
217
+ * The OIDC scopes to request. Defaults to `openid profile email` (string)
218
+ */
219
+ scopes?: pulumi.Input<string>;
220
+ /**
221
+ * The OIDC Token Endpoint URL.
222
+ */
223
+ tokenEndpoint?: pulumi.Input<string>;
224
+ /**
225
+ * (Computed) The type of the resource (string)
226
+ */
227
+ type?: pulumi.Input<string>;
228
+ /**
229
+ * The OIDC User Info Endpoint URL.
230
+ */
231
+ userinfoEndpoint?: pulumi.Input<string>;
232
+ }
233
+ /**
234
+ * The set of arguments for constructing a AuthConfigGenericOidc resource.
235
+ */
236
+ export interface AuthConfigGenericOidcArgs {
237
+ /**
238
+ * Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string)
239
+ */
240
+ accessMode?: pulumi.Input<string>;
241
+ /**
242
+ * Allowed principal IDs for auth. Required if `accessMode` is `required` or `restricted`. Ex: `genericoidc_user://<USER_ID>` `genericoidc_group://<GROUP_ID>` (list)
243
+ */
244
+ allowedPrincipalIds?: pulumi.Input<pulumi.Input<string>[]>;
245
+ /**
246
+ * Annotations of the resource (map)
247
+ */
248
+ annotations?: pulumi.Input<{
249
+ [key: string]: pulumi.Input<string>;
250
+ }>;
251
+ /**
252
+ * The OIDC Auth Endpoint URL.
253
+ */
254
+ authEndpoint?: pulumi.Input<string>;
255
+ /**
256
+ * A PEM-encoded CA certificate for the OIDC provider.
257
+ */
258
+ certificate?: pulumi.Input<string>;
259
+ /**
260
+ * The OIDC Client ID.
261
+ */
262
+ clientId: pulumi.Input<string>;
263
+ /**
264
+ * The OIDC Client Secret.
265
+ */
266
+ clientSecret: pulumi.Input<string>;
267
+ /**
268
+ * Enable the auth config provider. Default `true` (bool)
269
+ */
270
+ enabled?: pulumi.Input<boolean>;
271
+ /**
272
+ * Enable group search. Default `false` (bool)
273
+ */
274
+ groupSearchEnabled?: pulumi.Input<boolean>;
275
+ /**
276
+ * The name of the OIDC claim to use for the user's group memberships. Default `groups` (string)
277
+ */
278
+ groupsField?: pulumi.Input<string>;
279
+ /**
280
+ * The OIDC issuer URL.
281
+ */
282
+ issuer: pulumi.Input<string>;
283
+ /**
284
+ * The OIDC JWKS URL.
285
+ */
286
+ jwksUrl?: pulumi.Input<string>;
287
+ /**
288
+ * Labels of the resource (map)
289
+ */
290
+ labels?: pulumi.Input<{
291
+ [key: string]: pulumi.Input<string>;
292
+ }>;
293
+ /**
294
+ * A PEM-encoded private key for the OIDC provider.
295
+ */
296
+ privateKey?: pulumi.Input<string>;
297
+ /**
298
+ * The URL of the Rancher server. This is used as the redirect URI for the OIDC provider.
299
+ */
300
+ rancherUrl: pulumi.Input<string>;
301
+ /**
302
+ * The OIDC scopes to request. Defaults to `openid profile email` (string)
303
+ */
304
+ scopes?: pulumi.Input<string>;
305
+ /**
306
+ * The OIDC Token Endpoint URL.
307
+ */
308
+ tokenEndpoint?: pulumi.Input<string>;
309
+ /**
310
+ * The OIDC User Info Endpoint URL.
311
+ */
312
+ userinfoEndpoint?: pulumi.Input<string>;
313
+ }
@@ -0,0 +1,134 @@
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.AuthConfigGenericOidc = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Rancher v2 Auth Config Generic OIDC resource. This can be used to configure and enable the Generic OIDC authentication provider for Rancher v2.
10
+ *
11
+ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * This example configures Rancher to use GitLab as a Generic OIDC provider.
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as rancher2 from "@pulumi/rancher2";
20
+ *
21
+ * const genericOidc = new rancher2.AuthConfigGenericOidc("generic_oidc", {
22
+ * name: "genericoidc",
23
+ * clientId: "<GITLAB_APPLICATION_ID>",
24
+ * clientSecret: "<GITLAB_CLIENT_SECRET>",
25
+ * issuer: "https://gitlab.com",
26
+ * rancherUrl: "https://<RANCHER_URL>/verify-auth",
27
+ * scopes: "openid profile email read_api",
28
+ * groupsField: "groups",
29
+ * groupSearchEnabled: true,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * Generic OIDC auth config can be imported using its name.
36
+ *
37
+ * ```sh
38
+ * $ pulumi import rancher2:index/authConfigGenericOidc:AuthConfigGenericOidc generic_oidc genericoidc
39
+ * ```
40
+ */
41
+ class AuthConfigGenericOidc extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing AuthConfigGenericOidc resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new AuthConfigGenericOidc(name, state, { ...opts, id: id });
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of AuthConfigGenericOidc. 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) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === AuthConfigGenericOidc.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["accessMode"] = state?.accessMode;
70
+ resourceInputs["allowedPrincipalIds"] = state?.allowedPrincipalIds;
71
+ resourceInputs["annotations"] = state?.annotations;
72
+ resourceInputs["authEndpoint"] = state?.authEndpoint;
73
+ resourceInputs["certificate"] = state?.certificate;
74
+ resourceInputs["clientId"] = state?.clientId;
75
+ resourceInputs["clientSecret"] = state?.clientSecret;
76
+ resourceInputs["enabled"] = state?.enabled;
77
+ resourceInputs["groupSearchEnabled"] = state?.groupSearchEnabled;
78
+ resourceInputs["groupsField"] = state?.groupsField;
79
+ resourceInputs["issuer"] = state?.issuer;
80
+ resourceInputs["jwksUrl"] = state?.jwksUrl;
81
+ resourceInputs["labels"] = state?.labels;
82
+ resourceInputs["name"] = state?.name;
83
+ resourceInputs["privateKey"] = state?.privateKey;
84
+ resourceInputs["rancherUrl"] = state?.rancherUrl;
85
+ resourceInputs["scopes"] = state?.scopes;
86
+ resourceInputs["tokenEndpoint"] = state?.tokenEndpoint;
87
+ resourceInputs["type"] = state?.type;
88
+ resourceInputs["userinfoEndpoint"] = state?.userinfoEndpoint;
89
+ }
90
+ else {
91
+ const args = argsOrState;
92
+ if (args?.clientId === undefined && !opts.urn) {
93
+ throw new Error("Missing required property 'clientId'");
94
+ }
95
+ if (args?.clientSecret === undefined && !opts.urn) {
96
+ throw new Error("Missing required property 'clientSecret'");
97
+ }
98
+ if (args?.issuer === undefined && !opts.urn) {
99
+ throw new Error("Missing required property 'issuer'");
100
+ }
101
+ if (args?.rancherUrl === undefined && !opts.urn) {
102
+ throw new Error("Missing required property 'rancherUrl'");
103
+ }
104
+ resourceInputs["accessMode"] = args?.accessMode;
105
+ resourceInputs["allowedPrincipalIds"] = args?.allowedPrincipalIds;
106
+ resourceInputs["annotations"] = args?.annotations;
107
+ resourceInputs["authEndpoint"] = args?.authEndpoint;
108
+ resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined;
109
+ resourceInputs["clientId"] = args?.clientId ? pulumi.secret(args.clientId) : undefined;
110
+ resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined;
111
+ resourceInputs["enabled"] = args?.enabled;
112
+ resourceInputs["groupSearchEnabled"] = args?.groupSearchEnabled;
113
+ resourceInputs["groupsField"] = args?.groupsField;
114
+ resourceInputs["issuer"] = args?.issuer;
115
+ resourceInputs["jwksUrl"] = args?.jwksUrl;
116
+ resourceInputs["labels"] = args?.labels;
117
+ resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
118
+ resourceInputs["rancherUrl"] = args?.rancherUrl;
119
+ resourceInputs["scopes"] = args?.scopes;
120
+ resourceInputs["tokenEndpoint"] = args?.tokenEndpoint;
121
+ resourceInputs["userinfoEndpoint"] = args?.userinfoEndpoint;
122
+ resourceInputs["name"] = undefined /*out*/;
123
+ resourceInputs["type"] = undefined /*out*/;
124
+ }
125
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
126
+ const secretOpts = { additionalSecretOutputs: ["certificate", "clientId", "clientSecret", "privateKey"] };
127
+ opts = pulumi.mergeOptions(opts, secretOpts);
128
+ super(AuthConfigGenericOidc.__pulumiType, name, resourceInputs, opts);
129
+ }
130
+ }
131
+ exports.AuthConfigGenericOidc = AuthConfigGenericOidc;
132
+ /** @internal */
133
+ AuthConfigGenericOidc.__pulumiType = 'rancher2:index/authConfigGenericOidc:AuthConfigGenericOidc';
134
+ //# sourceMappingURL=authConfigGenericOidc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authConfigGenericOidc.js","sourceRoot":"","sources":["../authConfigGenericOidc.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AA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,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,CAAC,EAAE,CAAC;QAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArLL,sDAsLC;AAxKG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class AuthConfigGithubapp extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing AuthConfigGithubapp resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthConfigGithubappState, opts?: pulumi.CustomResourceOptions): AuthConfigGithubapp;
13
+ /**
14
+ * Returns true if the given object is an instance of AuthConfigGithubapp. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is AuthConfigGithubapp;
18
+ readonly accessMode: pulumi.Output<string | undefined>;
19
+ readonly allowedPrincipalIds: pulumi.Output<string[] | undefined>;
20
+ /**
21
+ * Annotations of the resource
22
+ */
23
+ readonly annotations: pulumi.Output<{
24
+ [key: string]: string;
25
+ }>;
26
+ /**
27
+ * The GitHub App ID is provided on the GitHub apps page.
28
+ */
29
+ readonly appId: pulumi.Output<string>;
30
+ readonly clientId: pulumi.Output<string>;
31
+ readonly clientSecret: pulumi.Output<string>;
32
+ readonly enabled: pulumi.Output<boolean | undefined>;
33
+ readonly hostname: pulumi.Output<string | undefined>;
34
+ /**
35
+ * If the Installation ID is not provided, all installations for the App will be queried.
36
+ */
37
+ readonly installationId: pulumi.Output<string | undefined>;
38
+ /**
39
+ * Labels of the resource
40
+ */
41
+ readonly labels: pulumi.Output<{
42
+ [key: string]: string;
43
+ }>;
44
+ readonly name: pulumi.Output<string>;
45
+ /**
46
+ * PEM format private key for signing requests.
47
+ */
48
+ readonly privateKey: pulumi.Output<string>;
49
+ readonly tls: pulumi.Output<boolean | undefined>;
50
+ readonly type: pulumi.Output<string>;
51
+ /**
52
+ * Create a AuthConfigGithubapp resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: AuthConfigGithubappArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering AuthConfigGithubapp resources.
62
+ */
63
+ export interface AuthConfigGithubappState {
64
+ accessMode?: pulumi.Input<string>;
65
+ allowedPrincipalIds?: pulumi.Input<pulumi.Input<string>[]>;
66
+ /**
67
+ * Annotations of the resource
68
+ */
69
+ annotations?: pulumi.Input<{
70
+ [key: string]: pulumi.Input<string>;
71
+ }>;
72
+ /**
73
+ * The GitHub App ID is provided on the GitHub apps page.
74
+ */
75
+ appId?: pulumi.Input<string>;
76
+ clientId?: pulumi.Input<string>;
77
+ clientSecret?: pulumi.Input<string>;
78
+ enabled?: pulumi.Input<boolean>;
79
+ hostname?: pulumi.Input<string>;
80
+ /**
81
+ * If the Installation ID is not provided, all installations for the App will be queried.
82
+ */
83
+ installationId?: pulumi.Input<string>;
84
+ /**
85
+ * Labels of the resource
86
+ */
87
+ labels?: pulumi.Input<{
88
+ [key: string]: pulumi.Input<string>;
89
+ }>;
90
+ name?: pulumi.Input<string>;
91
+ /**
92
+ * PEM format private key for signing requests.
93
+ */
94
+ privateKey?: pulumi.Input<string>;
95
+ tls?: pulumi.Input<boolean>;
96
+ type?: pulumi.Input<string>;
97
+ }
98
+ /**
99
+ * The set of arguments for constructing a AuthConfigGithubapp resource.
100
+ */
101
+ export interface AuthConfigGithubappArgs {
102
+ accessMode?: pulumi.Input<string>;
103
+ allowedPrincipalIds?: pulumi.Input<pulumi.Input<string>[]>;
104
+ /**
105
+ * Annotations of the resource
106
+ */
107
+ annotations?: pulumi.Input<{
108
+ [key: string]: pulumi.Input<string>;
109
+ }>;
110
+ /**
111
+ * The GitHub App ID is provided on the GitHub apps page.
112
+ */
113
+ appId: pulumi.Input<string>;
114
+ clientId: pulumi.Input<string>;
115
+ clientSecret: pulumi.Input<string>;
116
+ enabled?: pulumi.Input<boolean>;
117
+ hostname?: pulumi.Input<string>;
118
+ /**
119
+ * If the Installation ID is not provided, all installations for the App will be queried.
120
+ */
121
+ installationId?: pulumi.Input<string>;
122
+ /**
123
+ * Labels of the resource
124
+ */
125
+ labels?: pulumi.Input<{
126
+ [key: string]: pulumi.Input<string>;
127
+ }>;
128
+ /**
129
+ * PEM format private key for signing requests.
130
+ */
131
+ privateKey: pulumi.Input<string>;
132
+ tls?: pulumi.Input<boolean>;
133
+ }