@pulumiverse/vercel 1.3.0 → 1.10.0
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/attackChallengeMode.d.ts +102 -0
- package/attackChallengeMode.js +89 -0
- package/attackChallengeMode.js.map +1 -0
- package/config/vars.d.ts +2 -2
- package/dnsRecord.d.ts +6 -4
- package/dnsRecord.js +6 -4
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +111 -0
- package/edgeConfig.js +102 -0
- package/edgeConfig.js.map +1 -0
- package/edgeConfigSchema.d.ts +85 -0
- package/edgeConfigSchema.js +79 -0
- package/edgeConfigSchema.js.map +1 -0
- package/edgeConfigToken.d.ts +145 -0
- package/edgeConfigToken.js +120 -0
- package/edgeConfigToken.js.map +1 -0
- package/getAttackChallengeMode.d.ts +82 -0
- package/getAttackChallengeMode.js +52 -0
- package/getAttackChallengeMode.js.map +1 -0
- package/getDeployment.d.ts +94 -0
- package/getDeployment.js +52 -0
- package/getDeployment.js.map +1 -0
- package/getEdgeConfig.d.ts +78 -0
- package/getEdgeConfig.js +52 -0
- package/getEdgeConfig.js.map +1 -0
- package/getEdgeConfigSchema.d.ts +74 -0
- package/getEdgeConfigSchema.js +48 -0
- package/getEdgeConfigSchema.js.map +1 -0
- package/getEdgeConfigToken.d.ts +104 -0
- package/getEdgeConfigToken.js +59 -0
- package/getEdgeConfigToken.js.map +1 -0
- package/getEndpointVerification.d.ts +62 -0
- package/getEndpointVerification.js +44 -0
- package/getEndpointVerification.js.map +1 -0
- package/getFile.d.ts +0 -4
- package/getFile.js +0 -4
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +116 -0
- package/getLogDrain.js +57 -0
- package/getLogDrain.js.map +1 -0
- package/getProject.d.ts +48 -4
- package/getProject.js +0 -4
- package/getProject.js.map +1 -1
- package/getProjectFunctionCpu.d.ts +88 -0
- package/getProjectFunctionCpu.js +58 -0
- package/getProjectFunctionCpu.js.map +1 -0
- package/getSharedEnvironmentVariable.d.ts +0 -4
- package/getSharedEnvironmentVariable.js +0 -4
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/index.d.ts +45 -0
- package/index.js +60 -1
- package/index.js.map +1 -1
- package/logDrain.d.ts +206 -0
- package/logDrain.js +135 -0
- package/logDrain.js.map +1 -0
- package/package.json +1 -1
- package/project.d.ts +132 -2
- package/project.js +22 -2
- package/project.js.map +1 -1
- package/projectDomain.d.ts +0 -2
- package/projectDomain.js +0 -2
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +6 -4
- package/projectEnvironmentVariable.js +6 -4
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectFunctionCpu.d.ts +104 -0
- package/projectFunctionCpu.js +91 -0
- package/projectFunctionCpu.js.map +1 -0
- package/provider.d.ts +4 -4
- package/sharedEnvironmentVariable.d.ts +1 -3
- package/sharedEnvironmentVariable.js +1 -3
- package/sharedEnvironmentVariable.js.map +1 -1
- package/types/input.d.ts +33 -1
- package/types/output.d.ts +65 -4
- package/webhook.d.ts +127 -0
- package/webhook.js +100 -0
- package/webhook.js.map +1 -0
package/project.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -24,7 +23,6 @@ import * as outputs from "./types/output";
|
|
|
24
23
|
* // terraform, or via the vercel CLI.
|
|
25
24
|
* const example = new vercel.Project("example", {framework: "nextjs"});
|
|
26
25
|
* ```
|
|
27
|
-
* <!--End PulumiCodeChooser -->
|
|
28
26
|
*
|
|
29
27
|
* ## Import
|
|
30
28
|
*
|
|
@@ -64,14 +62,30 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
64
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
63
|
*/
|
|
66
64
|
static isInstance(obj: any): obj is Project;
|
|
65
|
+
/**
|
|
66
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
67
|
+
*/
|
|
68
|
+
readonly autoAssignCustomDomains: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
71
|
+
*/
|
|
72
|
+
readonly automaticallyExposeSystemEnvironmentVariables: pulumi.Output<boolean>;
|
|
67
73
|
/**
|
|
68
74
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
69
75
|
*/
|
|
70
76
|
readonly buildCommand: pulumi.Output<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
79
|
+
*/
|
|
80
|
+
readonly customerSuccessCodeVisibility: pulumi.Output<boolean>;
|
|
71
81
|
/**
|
|
72
82
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
73
83
|
*/
|
|
74
84
|
readonly devCommand: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
87
|
+
*/
|
|
88
|
+
readonly directoryListing: pulumi.Output<boolean>;
|
|
75
89
|
/**
|
|
76
90
|
* A set of Environment Variables that should be configured for the project.
|
|
77
91
|
*/
|
|
@@ -80,6 +94,22 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
80
94
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
81
95
|
*/
|
|
82
96
|
readonly framework: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
99
|
+
*/
|
|
100
|
+
readonly functionFailover: pulumi.Output<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration for Git Comments.
|
|
103
|
+
*/
|
|
104
|
+
readonly gitComments: pulumi.Output<outputs.ProjectGitComments | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
107
|
+
*/
|
|
108
|
+
readonly gitForkProtection: pulumi.Output<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
111
|
+
*/
|
|
112
|
+
readonly gitLfs: pulumi.Output<boolean>;
|
|
83
113
|
/**
|
|
84
114
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
85
115
|
*/
|
|
@@ -104,6 +134,14 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
104
134
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
105
135
|
*/
|
|
106
136
|
readonly passwordProtection: pulumi.Output<outputs.ProjectPasswordProtection | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
139
|
+
*/
|
|
140
|
+
readonly previewComments: pulumi.Output<boolean | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
143
|
+
*/
|
|
144
|
+
readonly prioritiseProductionBuilds: pulumi.Output<boolean>;
|
|
107
145
|
/**
|
|
108
146
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
109
147
|
*/
|
|
@@ -124,6 +162,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
124
162
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
125
163
|
*/
|
|
126
164
|
readonly serverlessFunctionRegion: pulumi.Output<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
167
|
+
*/
|
|
168
|
+
readonly skewProtection: pulumi.Output<string | undefined>;
|
|
127
169
|
/**
|
|
128
170
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
129
171
|
*/
|
|
@@ -149,14 +191,30 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
149
191
|
* Input properties used for looking up and filtering Project resources.
|
|
150
192
|
*/
|
|
151
193
|
export interface ProjectState {
|
|
194
|
+
/**
|
|
195
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
196
|
+
*/
|
|
197
|
+
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
198
|
+
/**
|
|
199
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
200
|
+
*/
|
|
201
|
+
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
152
202
|
/**
|
|
153
203
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
154
204
|
*/
|
|
155
205
|
buildCommand?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
208
|
+
*/
|
|
209
|
+
customerSuccessCodeVisibility?: pulumi.Input<boolean>;
|
|
156
210
|
/**
|
|
157
211
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
158
212
|
*/
|
|
159
213
|
devCommand?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
216
|
+
*/
|
|
217
|
+
directoryListing?: pulumi.Input<boolean>;
|
|
160
218
|
/**
|
|
161
219
|
* A set of Environment Variables that should be configured for the project.
|
|
162
220
|
*/
|
|
@@ -165,6 +223,22 @@ export interface ProjectState {
|
|
|
165
223
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
166
224
|
*/
|
|
167
225
|
framework?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
228
|
+
*/
|
|
229
|
+
functionFailover?: pulumi.Input<boolean>;
|
|
230
|
+
/**
|
|
231
|
+
* Configuration for Git Comments.
|
|
232
|
+
*/
|
|
233
|
+
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
234
|
+
/**
|
|
235
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
236
|
+
*/
|
|
237
|
+
gitForkProtection?: pulumi.Input<boolean>;
|
|
238
|
+
/**
|
|
239
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
240
|
+
*/
|
|
241
|
+
gitLfs?: pulumi.Input<boolean>;
|
|
168
242
|
/**
|
|
169
243
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
170
244
|
*/
|
|
@@ -189,6 +263,14 @@ export interface ProjectState {
|
|
|
189
263
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
190
264
|
*/
|
|
191
265
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
266
|
+
/**
|
|
267
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
268
|
+
*/
|
|
269
|
+
previewComments?: pulumi.Input<boolean>;
|
|
270
|
+
/**
|
|
271
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
272
|
+
*/
|
|
273
|
+
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
192
274
|
/**
|
|
193
275
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
194
276
|
*/
|
|
@@ -209,6 +291,10 @@ export interface ProjectState {
|
|
|
209
291
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
210
292
|
*/
|
|
211
293
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
296
|
+
*/
|
|
297
|
+
skewProtection?: pulumi.Input<string>;
|
|
212
298
|
/**
|
|
213
299
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
214
300
|
*/
|
|
@@ -226,14 +312,30 @@ export interface ProjectState {
|
|
|
226
312
|
* The set of arguments for constructing a Project resource.
|
|
227
313
|
*/
|
|
228
314
|
export interface ProjectArgs {
|
|
315
|
+
/**
|
|
316
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
317
|
+
*/
|
|
318
|
+
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
319
|
+
/**
|
|
320
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
321
|
+
*/
|
|
322
|
+
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
229
323
|
/**
|
|
230
324
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
231
325
|
*/
|
|
232
326
|
buildCommand?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
329
|
+
*/
|
|
330
|
+
customerSuccessCodeVisibility?: pulumi.Input<boolean>;
|
|
233
331
|
/**
|
|
234
332
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
235
333
|
*/
|
|
236
334
|
devCommand?: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
337
|
+
*/
|
|
338
|
+
directoryListing?: pulumi.Input<boolean>;
|
|
237
339
|
/**
|
|
238
340
|
* A set of Environment Variables that should be configured for the project.
|
|
239
341
|
*/
|
|
@@ -242,6 +344,22 @@ export interface ProjectArgs {
|
|
|
242
344
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
243
345
|
*/
|
|
244
346
|
framework?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
349
|
+
*/
|
|
350
|
+
functionFailover?: pulumi.Input<boolean>;
|
|
351
|
+
/**
|
|
352
|
+
* Configuration for Git Comments.
|
|
353
|
+
*/
|
|
354
|
+
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
355
|
+
/**
|
|
356
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
357
|
+
*/
|
|
358
|
+
gitForkProtection?: pulumi.Input<boolean>;
|
|
359
|
+
/**
|
|
360
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
361
|
+
*/
|
|
362
|
+
gitLfs?: pulumi.Input<boolean>;
|
|
245
363
|
/**
|
|
246
364
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
247
365
|
*/
|
|
@@ -266,6 +384,14 @@ export interface ProjectArgs {
|
|
|
266
384
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
267
385
|
*/
|
|
268
386
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
387
|
+
/**
|
|
388
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
389
|
+
*/
|
|
390
|
+
previewComments?: pulumi.Input<boolean>;
|
|
391
|
+
/**
|
|
392
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
393
|
+
*/
|
|
394
|
+
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
269
395
|
/**
|
|
270
396
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
271
397
|
*/
|
|
@@ -282,6 +408,10 @@ export interface ProjectArgs {
|
|
|
282
408
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
283
409
|
*/
|
|
284
410
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
411
|
+
/**
|
|
412
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
413
|
+
*/
|
|
414
|
+
skewProtection?: pulumi.Input<string>;
|
|
285
415
|
/**
|
|
286
416
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
287
417
|
*/
|
package/project.js
CHANGED
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -28,7 +27,6 @@ const utilities = require("./utilities");
|
|
|
28
27
|
* // terraform, or via the vercel CLI.
|
|
29
28
|
* const example = new vercel.Project("example", {framework: "nextjs"});
|
|
30
29
|
* ```
|
|
31
|
-
* <!--End PulumiCodeChooser -->
|
|
32
30
|
*
|
|
33
31
|
* ## Import
|
|
34
32
|
*
|
|
@@ -80,41 +78,63 @@ class Project extends pulumi.CustomResource {
|
|
|
80
78
|
opts = opts || {};
|
|
81
79
|
if (opts.id) {
|
|
82
80
|
const state = argsOrState;
|
|
81
|
+
resourceInputs["autoAssignCustomDomains"] = state ? state.autoAssignCustomDomains : undefined;
|
|
82
|
+
resourceInputs["automaticallyExposeSystemEnvironmentVariables"] = state ? state.automaticallyExposeSystemEnvironmentVariables : undefined;
|
|
83
83
|
resourceInputs["buildCommand"] = state ? state.buildCommand : undefined;
|
|
84
|
+
resourceInputs["customerSuccessCodeVisibility"] = state ? state.customerSuccessCodeVisibility : undefined;
|
|
84
85
|
resourceInputs["devCommand"] = state ? state.devCommand : undefined;
|
|
86
|
+
resourceInputs["directoryListing"] = state ? state.directoryListing : undefined;
|
|
85
87
|
resourceInputs["environments"] = state ? state.environments : undefined;
|
|
86
88
|
resourceInputs["framework"] = state ? state.framework : undefined;
|
|
89
|
+
resourceInputs["functionFailover"] = state ? state.functionFailover : undefined;
|
|
90
|
+
resourceInputs["gitComments"] = state ? state.gitComments : undefined;
|
|
91
|
+
resourceInputs["gitForkProtection"] = state ? state.gitForkProtection : undefined;
|
|
92
|
+
resourceInputs["gitLfs"] = state ? state.gitLfs : undefined;
|
|
87
93
|
resourceInputs["gitRepository"] = state ? state.gitRepository : undefined;
|
|
88
94
|
resourceInputs["ignoreCommand"] = state ? state.ignoreCommand : undefined;
|
|
89
95
|
resourceInputs["installCommand"] = state ? state.installCommand : undefined;
|
|
90
96
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
91
97
|
resourceInputs["outputDirectory"] = state ? state.outputDirectory : undefined;
|
|
92
98
|
resourceInputs["passwordProtection"] = state ? state.passwordProtection : undefined;
|
|
99
|
+
resourceInputs["previewComments"] = state ? state.previewComments : undefined;
|
|
100
|
+
resourceInputs["prioritiseProductionBuilds"] = state ? state.prioritiseProductionBuilds : undefined;
|
|
93
101
|
resourceInputs["protectionBypassForAutomation"] = state ? state.protectionBypassForAutomation : undefined;
|
|
94
102
|
resourceInputs["protectionBypassForAutomationSecret"] = state ? state.protectionBypassForAutomationSecret : undefined;
|
|
95
103
|
resourceInputs["publicSource"] = state ? state.publicSource : undefined;
|
|
96
104
|
resourceInputs["rootDirectory"] = state ? state.rootDirectory : undefined;
|
|
97
105
|
resourceInputs["serverlessFunctionRegion"] = state ? state.serverlessFunctionRegion : undefined;
|
|
106
|
+
resourceInputs["skewProtection"] = state ? state.skewProtection : undefined;
|
|
98
107
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
99
108
|
resourceInputs["trustedIps"] = state ? state.trustedIps : undefined;
|
|
100
109
|
resourceInputs["vercelAuthentication"] = state ? state.vercelAuthentication : undefined;
|
|
101
110
|
}
|
|
102
111
|
else {
|
|
103
112
|
const args = argsOrState;
|
|
113
|
+
resourceInputs["autoAssignCustomDomains"] = args ? args.autoAssignCustomDomains : undefined;
|
|
114
|
+
resourceInputs["automaticallyExposeSystemEnvironmentVariables"] = args ? args.automaticallyExposeSystemEnvironmentVariables : undefined;
|
|
104
115
|
resourceInputs["buildCommand"] = args ? args.buildCommand : undefined;
|
|
116
|
+
resourceInputs["customerSuccessCodeVisibility"] = args ? args.customerSuccessCodeVisibility : undefined;
|
|
105
117
|
resourceInputs["devCommand"] = args ? args.devCommand : undefined;
|
|
118
|
+
resourceInputs["directoryListing"] = args ? args.directoryListing : undefined;
|
|
106
119
|
resourceInputs["environments"] = args ? args.environments : undefined;
|
|
107
120
|
resourceInputs["framework"] = args ? args.framework : undefined;
|
|
121
|
+
resourceInputs["functionFailover"] = args ? args.functionFailover : undefined;
|
|
122
|
+
resourceInputs["gitComments"] = args ? args.gitComments : undefined;
|
|
123
|
+
resourceInputs["gitForkProtection"] = args ? args.gitForkProtection : undefined;
|
|
124
|
+
resourceInputs["gitLfs"] = args ? args.gitLfs : undefined;
|
|
108
125
|
resourceInputs["gitRepository"] = args ? args.gitRepository : undefined;
|
|
109
126
|
resourceInputs["ignoreCommand"] = args ? args.ignoreCommand : undefined;
|
|
110
127
|
resourceInputs["installCommand"] = args ? args.installCommand : undefined;
|
|
111
128
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
112
129
|
resourceInputs["outputDirectory"] = args ? args.outputDirectory : undefined;
|
|
113
130
|
resourceInputs["passwordProtection"] = args ? args.passwordProtection : undefined;
|
|
131
|
+
resourceInputs["previewComments"] = args ? args.previewComments : undefined;
|
|
132
|
+
resourceInputs["prioritiseProductionBuilds"] = args ? args.prioritiseProductionBuilds : undefined;
|
|
114
133
|
resourceInputs["protectionBypassForAutomation"] = args ? args.protectionBypassForAutomation : undefined;
|
|
115
134
|
resourceInputs["publicSource"] = args ? args.publicSource : undefined;
|
|
116
135
|
resourceInputs["rootDirectory"] = args ? args.rootDirectory : undefined;
|
|
117
136
|
resourceInputs["serverlessFunctionRegion"] = args ? args.serverlessFunctionRegion : undefined;
|
|
137
|
+
resourceInputs["skewProtection"] = args ? args.skewProtection : undefined;
|
|
118
138
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
119
139
|
resourceInputs["trustedIps"] = args ? args.trustedIps : undefined;
|
|
120
140
|
resourceInputs["vercelAuthentication"] = args ? args.vercelAuthentication : undefined;
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+HD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IA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AC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,qCAAqC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7NL,0BA8NC;AAhNG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/projectDomain.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -29,7 +28,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
28
|
* redirectStatusCode: 307,
|
|
30
29
|
* });
|
|
31
30
|
* ```
|
|
32
|
-
* <!--End PulumiCodeChooser -->
|
|
33
31
|
*
|
|
34
32
|
* ## Import
|
|
35
33
|
*
|
package/projectDomain.js
CHANGED
|
@@ -14,7 +14,6 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
-
* <!--Start PulumiCodeChooser -->
|
|
18
17
|
* ```typescript
|
|
19
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
19
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -35,7 +34,6 @@ const utilities = require("./utilities");
|
|
|
35
34
|
* redirectStatusCode: 307,
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
|
-
* <!--End PulumiCodeChooser -->
|
|
39
37
|
*
|
|
40
38
|
* ## Import
|
|
41
39
|
*
|
package/projectDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAk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IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzFL,sCA0FC;AA5EG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -2,7 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
* <!--Start PulumiCodeChooser -->
|
|
6
5
|
* ```typescript
|
|
7
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
7
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -38,7 +37,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
37
|
* sensitive: true,
|
|
39
38
|
* });
|
|
40
39
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
40
|
*
|
|
43
41
|
* ## Import
|
|
44
42
|
*
|
|
@@ -48,7 +46,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
48
46
|
*
|
|
49
47
|
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
50
48
|
*
|
|
51
|
-
* - environment variable id
|
|
49
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
50
|
+
*
|
|
51
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
52
52
|
*
|
|
53
53
|
* #
|
|
54
54
|
*
|
|
@@ -66,7 +66,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
66
66
|
*
|
|
67
67
|
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
68
68
|
*
|
|
69
|
-
* - environment variable id
|
|
69
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
70
|
+
*
|
|
71
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
70
72
|
*
|
|
71
73
|
* #
|
|
72
74
|
*
|
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as vercel from "@pulumiverse/vercel";
|
|
@@ -44,7 +43,6 @@ const utilities = require("./utilities");
|
|
|
44
43
|
* sensitive: true,
|
|
45
44
|
* });
|
|
46
45
|
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
46
|
*
|
|
49
47
|
* ## Import
|
|
50
48
|
*
|
|
@@ -54,7 +52,9 @@ const utilities = require("./utilities");
|
|
|
54
52
|
*
|
|
55
53
|
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
56
54
|
*
|
|
57
|
-
* - environment variable id
|
|
55
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
56
|
+
*
|
|
57
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
58
58
|
*
|
|
59
59
|
* #
|
|
60
60
|
*
|
|
@@ -72,7 +72,9 @@ const utilities = require("./utilities");
|
|
|
72
72
|
*
|
|
73
73
|
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
74
74
|
*
|
|
75
|
-
* - environment variable id
|
|
75
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
76
|
+
*
|
|
77
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
76
78
|
*
|
|
77
79
|
* #
|
|
78
80
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KA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AAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAvGL,gEAwGC;AA1FG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Function CPU resource for a Project.
|
|
4
|
+
*
|
|
5
|
+
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
|
6
|
+
*
|
|
7
|
+
* A new Deployment is required for your changes to take effect.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
14
|
+
*
|
|
15
|
+
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
16
|
+
* const exampleProjectFunctionCpu = new vercel.ProjectFunctionCpu("exampleProjectFunctionCpu", {
|
|
17
|
+
* projectId: exampleProject.id,
|
|
18
|
+
* cpu: "performance",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* You can import via the team_id and project_id.
|
|
25
|
+
*
|
|
26
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
27
|
+
*
|
|
28
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import vercel:index/projectFunctionCpu:ProjectFunctionCpu example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class ProjectFunctionCpu extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ProjectFunctionCpu resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectFunctionCpuState, opts?: pulumi.CustomResourceOptions): ProjectFunctionCpu;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of ProjectFunctionCpu. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is ProjectFunctionCpu;
|
|
50
|
+
/**
|
|
51
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
52
|
+
*/
|
|
53
|
+
readonly cpu: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the Project to adjust the CPU for.
|
|
56
|
+
*/
|
|
57
|
+
readonly projectId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
60
|
+
*/
|
|
61
|
+
readonly teamId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a ProjectFunctionCpu resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: ProjectFunctionCpuArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering ProjectFunctionCpu resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface ProjectFunctionCpuState {
|
|
75
|
+
/**
|
|
76
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
77
|
+
*/
|
|
78
|
+
cpu?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the Project to adjust the CPU for.
|
|
81
|
+
*/
|
|
82
|
+
projectId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
85
|
+
*/
|
|
86
|
+
teamId?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a ProjectFunctionCpu resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface ProjectFunctionCpuArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
94
|
+
*/
|
|
95
|
+
cpu: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the Project to adjust the CPU for.
|
|
98
|
+
*/
|
|
99
|
+
projectId: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
102
|
+
*/
|
|
103
|
+
teamId?: pulumi.Input<string>;
|
|
104
|
+
}
|