@pulumiverse/vercel 1.9.0 → 1.11.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/deployment.d.ts +0 -12
- package/deployment.js.map +1 -1
- package/getAttackChallengeMode.d.ts +82 -0
- package/getAttackChallengeMode.js +52 -0
- package/getAttackChallengeMode.js.map +1 -0
- package/getProject.d.ts +4 -0
- package/getProject.js.map +1 -1
- package/getProjectFunctionCpu.d.ts +88 -0
- package/getProjectFunctionCpu.js +58 -0
- package/getProjectFunctionCpu.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +17 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +12 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +3 -3
- 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 +3 -3
- package/types/input.d.ts +13 -1
- package/types/output.d.ts +44 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Attack Challenge Mode resource.
|
|
4
|
+
*
|
|
5
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
14
|
+
* const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
|
|
15
|
+
* projectId: exampleProject.id,
|
|
16
|
+
* enabled: true,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* You can import via the team_id and project_id.
|
|
23
|
+
*
|
|
24
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
25
|
+
*
|
|
26
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import vercel:index/attackChallengeMode:AttackChallengeMode example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class AttackChallengeMode extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing AttackChallengeMode resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AttackChallengeModeState, opts?: pulumi.CustomResourceOptions): AttackChallengeMode;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of AttackChallengeMode. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is AttackChallengeMode;
|
|
48
|
+
/**
|
|
49
|
+
* Whether Attack Challenge Mode is enabled or not.
|
|
50
|
+
*/
|
|
51
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the Project to adjust the CPU for.
|
|
54
|
+
*/
|
|
55
|
+
readonly projectId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
*/
|
|
59
|
+
readonly teamId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a AttackChallengeMode resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: AttackChallengeModeArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering AttackChallengeMode resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface AttackChallengeModeState {
|
|
73
|
+
/**
|
|
74
|
+
* Whether Attack Challenge Mode is enabled or not.
|
|
75
|
+
*/
|
|
76
|
+
enabled?: pulumi.Input<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the Project to adjust the CPU for.
|
|
79
|
+
*/
|
|
80
|
+
projectId?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* 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.
|
|
83
|
+
*/
|
|
84
|
+
teamId?: pulumi.Input<string>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The set of arguments for constructing a AttackChallengeMode resource.
|
|
88
|
+
*/
|
|
89
|
+
export interface AttackChallengeModeArgs {
|
|
90
|
+
/**
|
|
91
|
+
* Whether Attack Challenge Mode is enabled or not.
|
|
92
|
+
*/
|
|
93
|
+
enabled: pulumi.Input<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* The ID of the Project to adjust the CPU for.
|
|
96
|
+
*/
|
|
97
|
+
projectId: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* 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.
|
|
100
|
+
*/
|
|
101
|
+
teamId?: pulumi.Input<string>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AttackChallengeMode = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Attack Challenge Mode resource.
|
|
10
|
+
*
|
|
11
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
20
|
+
* const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
|
|
21
|
+
* projectId: exampleProject.id,
|
|
22
|
+
* enabled: true,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* You can import via the team_id and project_id.
|
|
29
|
+
*
|
|
30
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
31
|
+
*
|
|
32
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import vercel:index/attackChallengeMode:AttackChallengeMode example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class AttackChallengeMode extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing AttackChallengeMode resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new AttackChallengeMode(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of AttackChallengeMode. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === AttackChallengeMode.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
67
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'enabled'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'projectId'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
79
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
80
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(AttackChallengeMode.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.AttackChallengeMode = AttackChallengeMode;
|
|
87
|
+
/** @internal */
|
|
88
|
+
AttackChallengeMode.__pulumiType = 'vercel:index/attackChallengeMode:AttackChallengeMode';
|
|
89
|
+
//# sourceMappingURL=attackChallengeMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attackChallengeMode.js","sourceRoot":"","sources":["../attackChallengeMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAA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,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAvEL,kDAwEC;AA1DG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const apiToken: string | undefined;
|
|
6
6
|
/**
|
|
7
|
-
* The default Vercel Team to use when creating resources. This can be provided as either a team
|
|
8
|
-
* and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
7
|
+
* The default Vercel Team to use when creating resources or reading data sources. This can be provided as either a team
|
|
8
|
+
* slug, or team ID. The slug and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
9
9
|
*/
|
|
10
10
|
export declare const team: string | undefined;
|
package/deployment.d.ts
CHANGED
|
@@ -17,10 +17,6 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
17
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is Deployment;
|
|
20
|
-
/**
|
|
21
|
-
* Set to true to hard delete the Vercel deployment when destroying the Terraform resource. If unspecified, deployments are
|
|
22
|
-
* retained indefinitely. Note that deleted deployments are not recoverable.
|
|
23
|
-
*/
|
|
24
20
|
readonly deleteOnDestroy: pulumi.Output<boolean | undefined>;
|
|
25
21
|
/**
|
|
26
22
|
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
@@ -79,10 +75,6 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
79
75
|
* Input properties used for looking up and filtering Deployment resources.
|
|
80
76
|
*/
|
|
81
77
|
export interface DeploymentState {
|
|
82
|
-
/**
|
|
83
|
-
* Set to true to hard delete the Vercel deployment when destroying the Terraform resource. If unspecified, deployments are
|
|
84
|
-
* retained indefinitely. Note that deleted deployments are not recoverable.
|
|
85
|
-
*/
|
|
86
78
|
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
87
79
|
/**
|
|
88
80
|
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
@@ -133,10 +125,6 @@ export interface DeploymentState {
|
|
|
133
125
|
* The set of arguments for constructing a Deployment resource.
|
|
134
126
|
*/
|
|
135
127
|
export interface DeploymentArgs {
|
|
136
|
-
/**
|
|
137
|
-
* Set to true to hard delete the Vercel deployment when destroying the Terraform resource. If unspecified, deployments are
|
|
138
|
-
* retained indefinitely. Note that deleted deployments are not recoverable.
|
|
139
|
-
*/
|
|
140
128
|
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
141
129
|
/**
|
|
142
130
|
* A map of environment variable names to values. These are specific to a Deployment, and can also be configured on the `vercel.Project` resource.
|
package/deployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,y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AC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjHL,gCAkHC;AApGG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Attack Challenge Mode resource.
|
|
4
|
+
*
|
|
5
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumi/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const example = vercel.getAttackChallengeMode({
|
|
14
|
+
* projectId: vercel_project.example.id,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAttackChallengeMode(args: GetAttackChallengeModeArgs, opts?: pulumi.InvokeOptions): Promise<GetAttackChallengeModeResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getAttackChallengeMode.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAttackChallengeModeArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the Project to adjust the CPU for.
|
|
25
|
+
*/
|
|
26
|
+
projectId: string;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
30
|
+
teamId?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getAttackChallengeMode.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetAttackChallengeModeResult {
|
|
36
|
+
/**
|
|
37
|
+
* Whether Attack Challenge Mode is enabled or not.
|
|
38
|
+
*/
|
|
39
|
+
readonly enabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The resource identifier.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Project to adjust the CPU for.
|
|
46
|
+
*/
|
|
47
|
+
readonly projectId: string;
|
|
48
|
+
/**
|
|
49
|
+
* 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.
|
|
50
|
+
*/
|
|
51
|
+
readonly teamId: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Provides an Attack Challenge Mode resource.
|
|
55
|
+
*
|
|
56
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as vercel from "@pulumi/vercel";
|
|
63
|
+
*
|
|
64
|
+
* const example = vercel.getAttackChallengeMode({
|
|
65
|
+
* projectId: vercel_project.example.id,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function getAttackChallengeModeOutput(args: GetAttackChallengeModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAttackChallengeModeResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getAttackChallengeMode.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetAttackChallengeModeOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Project to adjust the CPU for.
|
|
76
|
+
*/
|
|
77
|
+
projectId: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
teamId?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAttackChallengeModeOutput = exports.getAttackChallengeMode = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Attack Challenge Mode resource.
|
|
10
|
+
*
|
|
11
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumi/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const example = vercel.getAttackChallengeMode({
|
|
20
|
+
* projectId: vercel_project.example.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAttackChallengeMode(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
|
|
27
|
+
"projectId": args.projectId,
|
|
28
|
+
"teamId": args.teamId,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getAttackChallengeMode = getAttackChallengeMode;
|
|
32
|
+
/**
|
|
33
|
+
* Provides an Attack Challenge Mode resource.
|
|
34
|
+
*
|
|
35
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as vercel from "@pulumi/vercel";
|
|
42
|
+
*
|
|
43
|
+
* const example = vercel.getAttackChallengeMode({
|
|
44
|
+
* projectId: vercel_project.example.id,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getAttackChallengeModeOutput(args, opts) {
|
|
49
|
+
return pulumi.output(args).apply((a) => getAttackChallengeMode(a, opts));
|
|
50
|
+
}
|
|
51
|
+
exports.getAttackChallengeModeOutput = getAttackChallengeModeOutput;
|
|
52
|
+
//# sourceMappingURL=getAttackChallengeMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAttackChallengeMode.js","sourceRoot":"","sources":["../getAttackChallengeMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/getProject.d.ts
CHANGED
|
@@ -105,6 +105,10 @@ export interface GetProjectResult {
|
|
|
105
105
|
* The name of the project.
|
|
106
106
|
*/
|
|
107
107
|
readonly name: string;
|
|
108
|
+
/**
|
|
109
|
+
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
110
|
+
*/
|
|
111
|
+
readonly optionsAllowlist: outputs.GetProjectOptionsAllowlist;
|
|
108
112
|
/**
|
|
109
113
|
* The output directory of the project. When null is used this value will be automatically detected.
|
|
110
114
|
*/
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AA6ID;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about a Project's Function CPU setting.
|
|
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
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumi/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const exampleProject = vercel.getProject({
|
|
14
|
+
* name: "example",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
|
|
17
|
+
* projectId: exampleProject.id,
|
|
18
|
+
* }));
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getProjectFunctionCpu(args: GetProjectFunctionCpuArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectFunctionCpuResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getProjectFunctionCpu.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetProjectFunctionCpuArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the Project to read the Function CPU setting for.
|
|
28
|
+
*/
|
|
29
|
+
projectId: string;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
teamId?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getProjectFunctionCpu.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetProjectFunctionCpuResult {
|
|
39
|
+
/**
|
|
40
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
41
|
+
*/
|
|
42
|
+
readonly cpu: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the Project to read the Function CPU setting for.
|
|
49
|
+
*/
|
|
50
|
+
readonly projectId: string;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
54
|
+
readonly teamId: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Provides information about a Project's Function CPU setting.
|
|
58
|
+
*
|
|
59
|
+
* 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.
|
|
60
|
+
*
|
|
61
|
+
* ## Example Usage
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as vercel from "@pulumi/vercel";
|
|
66
|
+
*
|
|
67
|
+
* const exampleProject = vercel.getProject({
|
|
68
|
+
* name: "example",
|
|
69
|
+
* });
|
|
70
|
+
* const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
|
|
71
|
+
* projectId: exampleProject.id,
|
|
72
|
+
* }));
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare function getProjectFunctionCpuOutput(args: GetProjectFunctionCpuOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectFunctionCpuResult>;
|
|
76
|
+
/**
|
|
77
|
+
* A collection of arguments for invoking getProjectFunctionCpu.
|
|
78
|
+
*/
|
|
79
|
+
export interface GetProjectFunctionCpuOutputArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the Project to read the Function CPU setting for.
|
|
82
|
+
*/
|
|
83
|
+
projectId: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* 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.
|
|
86
|
+
*/
|
|
87
|
+
teamId?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about a Project's Function CPU setting.
|
|
10
|
+
*
|
|
11
|
+
* 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.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumi/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const exampleProject = vercel.getProject({
|
|
20
|
+
* name: "example",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
|
|
23
|
+
* projectId: exampleProject.id,
|
|
24
|
+
* }));
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getProjectFunctionCpu(args, opts) {
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
|
+
return pulumi.runtime.invoke("vercel:index/getProjectFunctionCpu:getProjectFunctionCpu", {
|
|
30
|
+
"projectId": args.projectId,
|
|
31
|
+
"teamId": args.teamId,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getProjectFunctionCpu = getProjectFunctionCpu;
|
|
35
|
+
/**
|
|
36
|
+
* Provides information about a Project's Function CPU setting.
|
|
37
|
+
*
|
|
38
|
+
* 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.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as vercel from "@pulumi/vercel";
|
|
45
|
+
*
|
|
46
|
+
* const exampleProject = vercel.getProject({
|
|
47
|
+
* name: "example",
|
|
48
|
+
* });
|
|
49
|
+
* const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
|
|
50
|
+
* projectId: exampleProject.id,
|
|
51
|
+
* }));
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function getProjectFunctionCpuOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => getProjectFunctionCpu(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.getProjectFunctionCpuOutput = getProjectFunctionCpuOutput;
|
|
58
|
+
//# sourceMappingURL=getProjectFunctionCpu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProjectFunctionCpu.js","sourceRoot":"","sources":["../getProjectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAqCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { AliasArgs, AliasState } from "./alias";
|
|
2
2
|
export type Alias = import("./alias").Alias;
|
|
3
3
|
export declare const Alias: typeof import("./alias").Alias;
|
|
4
|
+
export { AttackChallengeModeArgs, AttackChallengeModeState } from "./attackChallengeMode";
|
|
5
|
+
export type AttackChallengeMode = import("./attackChallengeMode").AttackChallengeMode;
|
|
6
|
+
export declare const AttackChallengeMode: typeof import("./attackChallengeMode").AttackChallengeMode;
|
|
4
7
|
export { DeploymentArgs, DeploymentState } from "./deployment";
|
|
5
8
|
export type Deployment = import("./deployment").Deployment;
|
|
6
9
|
export declare const Deployment: typeof import("./deployment").Deployment;
|
|
@@ -19,6 +22,9 @@ export declare const EdgeConfigToken: typeof import("./edgeConfigToken").EdgeCon
|
|
|
19
22
|
export { GetAliasArgs, GetAliasResult, GetAliasOutputArgs } from "./getAlias";
|
|
20
23
|
export declare const getAlias: typeof import("./getAlias").getAlias;
|
|
21
24
|
export declare const getAliasOutput: typeof import("./getAlias").getAliasOutput;
|
|
25
|
+
export { GetAttackChallengeModeArgs, GetAttackChallengeModeResult, GetAttackChallengeModeOutputArgs } from "./getAttackChallengeMode";
|
|
26
|
+
export declare const getAttackChallengeMode: typeof import("./getAttackChallengeMode").getAttackChallengeMode;
|
|
27
|
+
export declare const getAttackChallengeModeOutput: typeof import("./getAttackChallengeMode").getAttackChallengeModeOutput;
|
|
22
28
|
export { GetDeploymentArgs, GetDeploymentResult, GetDeploymentOutputArgs } from "./getDeployment";
|
|
23
29
|
export declare const getDeployment: typeof import("./getDeployment").getDeployment;
|
|
24
30
|
export declare const getDeploymentOutput: typeof import("./getDeployment").getDeploymentOutput;
|
|
@@ -49,6 +55,9 @@ export declare const getProjectOutput: typeof import("./getProject").getProjectO
|
|
|
49
55
|
export { GetProjectDirectoryArgs, GetProjectDirectoryResult, GetProjectDirectoryOutputArgs } from "./getProjectDirectory";
|
|
50
56
|
export declare const getProjectDirectory: typeof import("./getProjectDirectory").getProjectDirectory;
|
|
51
57
|
export declare const getProjectDirectoryOutput: typeof import("./getProjectDirectory").getProjectDirectoryOutput;
|
|
58
|
+
export { GetProjectFunctionCpuArgs, GetProjectFunctionCpuResult, GetProjectFunctionCpuOutputArgs } from "./getProjectFunctionCpu";
|
|
59
|
+
export declare const getProjectFunctionCpu: typeof import("./getProjectFunctionCpu").getProjectFunctionCpu;
|
|
60
|
+
export declare const getProjectFunctionCpuOutput: typeof import("./getProjectFunctionCpu").getProjectFunctionCpuOutput;
|
|
52
61
|
export { GetSharedEnvironmentVariableArgs, GetSharedEnvironmentVariableResult, GetSharedEnvironmentVariableOutputArgs } from "./getSharedEnvironmentVariable";
|
|
53
62
|
export declare const getSharedEnvironmentVariable: typeof import("./getSharedEnvironmentVariable").getSharedEnvironmentVariable;
|
|
54
63
|
export declare const getSharedEnvironmentVariableOutput: typeof import("./getSharedEnvironmentVariable").getSharedEnvironmentVariableOutput;
|
|
@@ -64,6 +73,9 @@ export declare const ProjectDomain: typeof import("./projectDomain").ProjectDoma
|
|
|
64
73
|
export { ProjectEnvironmentVariableArgs, ProjectEnvironmentVariableState } from "./projectEnvironmentVariable";
|
|
65
74
|
export type ProjectEnvironmentVariable = import("./projectEnvironmentVariable").ProjectEnvironmentVariable;
|
|
66
75
|
export declare const ProjectEnvironmentVariable: typeof import("./projectEnvironmentVariable").ProjectEnvironmentVariable;
|
|
76
|
+
export { ProjectFunctionCpuArgs, ProjectFunctionCpuState } from "./projectFunctionCpu";
|
|
77
|
+
export type ProjectFunctionCpu = import("./projectFunctionCpu").ProjectFunctionCpu;
|
|
78
|
+
export declare const ProjectFunctionCpu: typeof import("./projectFunctionCpu").ProjectFunctionCpu;
|
|
67
79
|
export { ProviderArgs } from "./provider";
|
|
68
80
|
export type Provider = import("./provider").Provider;
|
|
69
81
|
export declare const Provider: typeof import("./provider").Provider;
|
package/index.js
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.config = exports.Webhook = exports.SharedEnvironmentVariable = exports.Provider = exports.ProjectEnvironmentVariable = exports.ProjectDomain = exports.Project = exports.LogDrain = exports.getSharedEnvironmentVariableOutput = exports.getSharedEnvironmentVariable = exports.getProjectDirectoryOutput = exports.getProjectDirectory = exports.getProjectOutput = exports.getProject = exports.getPrebuiltProjectOutput = exports.getPrebuiltProject = exports.getLogDrainOutput = exports.getLogDrain = exports.getFileOutput = exports.getFile = exports.getEndpointVerificationOutput = exports.getEndpointVerification = exports.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = exports.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = exports.getEdgeConfigOutput = exports.getEdgeConfig = exports.getDeploymentOutput = exports.getDeployment = exports.getAliasOutput = exports.getAlias = exports.EdgeConfigToken = exports.EdgeConfigSchema = exports.EdgeConfig = exports.DnsRecord = exports.Deployment = exports.Alias = void 0;
|
|
5
|
+
exports.types = exports.config = exports.Webhook = exports.SharedEnvironmentVariable = exports.Provider = exports.ProjectFunctionCpu = exports.ProjectEnvironmentVariable = exports.ProjectDomain = exports.Project = exports.LogDrain = exports.getSharedEnvironmentVariableOutput = exports.getSharedEnvironmentVariable = exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = exports.getProjectDirectoryOutput = exports.getProjectDirectory = exports.getProjectOutput = exports.getProject = exports.getPrebuiltProjectOutput = exports.getPrebuiltProject = exports.getLogDrainOutput = exports.getLogDrain = exports.getFileOutput = exports.getFile = exports.getEndpointVerificationOutput = exports.getEndpointVerification = exports.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = exports.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = exports.getEdgeConfigOutput = exports.getEdgeConfig = exports.getDeploymentOutput = exports.getDeployment = exports.getAttackChallengeModeOutput = exports.getAttackChallengeMode = exports.getAliasOutput = exports.getAlias = exports.EdgeConfigToken = exports.EdgeConfigSchema = exports.EdgeConfig = exports.DnsRecord = exports.Deployment = exports.AttackChallengeMode = exports.Alias = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Alias = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Alias"], () => require("./alias"));
|
|
10
|
+
exports.AttackChallengeMode = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["AttackChallengeMode"], () => require("./attackChallengeMode"));
|
|
10
12
|
exports.Deployment = null;
|
|
11
13
|
utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
|
|
12
14
|
exports.DnsRecord = null;
|
|
@@ -20,6 +22,9 @@ utilities.lazyLoad(exports, ["EdgeConfigToken"], () => require("./edgeConfigToke
|
|
|
20
22
|
exports.getAlias = null;
|
|
21
23
|
exports.getAliasOutput = null;
|
|
22
24
|
utilities.lazyLoad(exports, ["getAlias", "getAliasOutput"], () => require("./getAlias"));
|
|
25
|
+
exports.getAttackChallengeMode = null;
|
|
26
|
+
exports.getAttackChallengeModeOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["getAttackChallengeMode", "getAttackChallengeModeOutput"], () => require("./getAttackChallengeMode"));
|
|
23
28
|
exports.getDeployment = null;
|
|
24
29
|
exports.getDeploymentOutput = null;
|
|
25
30
|
utilities.lazyLoad(exports, ["getDeployment", "getDeploymentOutput"], () => require("./getDeployment"));
|
|
@@ -50,6 +55,9 @@ utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require(".
|
|
|
50
55
|
exports.getProjectDirectory = null;
|
|
51
56
|
exports.getProjectDirectoryOutput = null;
|
|
52
57
|
utilities.lazyLoad(exports, ["getProjectDirectory", "getProjectDirectoryOutput"], () => require("./getProjectDirectory"));
|
|
58
|
+
exports.getProjectFunctionCpu = null;
|
|
59
|
+
exports.getProjectFunctionCpuOutput = null;
|
|
60
|
+
utilities.lazyLoad(exports, ["getProjectFunctionCpu", "getProjectFunctionCpuOutput"], () => require("./getProjectFunctionCpu"));
|
|
53
61
|
exports.getSharedEnvironmentVariable = null;
|
|
54
62
|
exports.getSharedEnvironmentVariableOutput = null;
|
|
55
63
|
utilities.lazyLoad(exports, ["getSharedEnvironmentVariable", "getSharedEnvironmentVariableOutput"], () => require("./getSharedEnvironmentVariable"));
|
|
@@ -61,6 +69,8 @@ exports.ProjectDomain = null;
|
|
|
61
69
|
utilities.lazyLoad(exports, ["ProjectDomain"], () => require("./projectDomain"));
|
|
62
70
|
exports.ProjectEnvironmentVariable = null;
|
|
63
71
|
utilities.lazyLoad(exports, ["ProjectEnvironmentVariable"], () => require("./projectEnvironmentVariable"));
|
|
72
|
+
exports.ProjectFunctionCpu = null;
|
|
73
|
+
utilities.lazyLoad(exports, ["ProjectFunctionCpu"], () => require("./projectFunctionCpu"));
|
|
64
74
|
exports.Provider = null;
|
|
65
75
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
66
76
|
exports.SharedEnvironmentVariable = null;
|
|
@@ -78,6 +88,8 @@ const _module = {
|
|
|
78
88
|
switch (type) {
|
|
79
89
|
case "vercel:index/alias:Alias":
|
|
80
90
|
return new exports.Alias(name, undefined, { urn });
|
|
91
|
+
case "vercel:index/attackChallengeMode:AttackChallengeMode":
|
|
92
|
+
return new exports.AttackChallengeMode(name, undefined, { urn });
|
|
81
93
|
case "vercel:index/deployment:Deployment":
|
|
82
94
|
return new exports.Deployment(name, undefined, { urn });
|
|
83
95
|
case "vercel:index/dnsRecord:DnsRecord":
|
|
@@ -96,6 +108,8 @@ const _module = {
|
|
|
96
108
|
return new exports.ProjectDomain(name, undefined, { urn });
|
|
97
109
|
case "vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable":
|
|
98
110
|
return new exports.ProjectEnvironmentVariable(name, undefined, { urn });
|
|
111
|
+
case "vercel:index/projectFunctionCpu:ProjectFunctionCpu":
|
|
112
|
+
return new exports.ProjectFunctionCpu(name, undefined, { urn });
|
|
99
113
|
case "vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable":
|
|
100
114
|
return new exports.SharedEnvironmentVariable(name, undefined, { urn });
|
|
101
115
|
case "vercel:index/webhook:Webhook":
|
|
@@ -106,6 +120,7 @@ const _module = {
|
|
|
106
120
|
},
|
|
107
121
|
};
|
|
108
122
|
pulumi.runtime.registerResourceModule("vercel", "index/alias", _module);
|
|
123
|
+
pulumi.runtime.registerResourceModule("vercel", "index/attackChallengeMode", _module);
|
|
109
124
|
pulumi.runtime.registerResourceModule("vercel", "index/deployment", _module);
|
|
110
125
|
pulumi.runtime.registerResourceModule("vercel", "index/dnsRecord", _module);
|
|
111
126
|
pulumi.runtime.registerResourceModule("vercel", "index/edgeConfig", _module);
|
|
@@ -115,6 +130,7 @@ pulumi.runtime.registerResourceModule("vercel", "index/logDrain", _module);
|
|
|
115
130
|
pulumi.runtime.registerResourceModule("vercel", "index/project", _module);
|
|
116
131
|
pulumi.runtime.registerResourceModule("vercel", "index/projectDomain", _module);
|
|
117
132
|
pulumi.runtime.registerResourceModule("vercel", "index/projectEnvironmentVariable", _module);
|
|
133
|
+
pulumi.runtime.registerResourceModule("vercel", "index/projectFunctionCpu", _module);
|
|
118
134
|
pulumi.runtime.registerResourceModule("vercel", "index/sharedEnvironmentVariable", _module);
|
|
119
135
|
pulumi.runtime.registerResourceModule("vercel", "index/webhook", _module);
|
|
120
136
|
pulumi.runtime.registerResourcePackage("vercel", {
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings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AE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
package/project.d.ts
CHANGED
|
@@ -126,6 +126,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
126
126
|
* The desired name for the project.
|
|
127
127
|
*/
|
|
128
128
|
readonly name: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
131
|
+
*/
|
|
132
|
+
readonly optionsAllowlist: pulumi.Output<outputs.ProjectOptionsAllowlist | undefined>;
|
|
129
133
|
/**
|
|
130
134
|
* The output directory of the project. If omitted, this value will be automatically detected.
|
|
131
135
|
*/
|
|
@@ -255,6 +259,10 @@ export interface ProjectState {
|
|
|
255
259
|
* The desired name for the project.
|
|
256
260
|
*/
|
|
257
261
|
name?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
264
|
+
*/
|
|
265
|
+
optionsAllowlist?: pulumi.Input<inputs.ProjectOptionsAllowlist>;
|
|
258
266
|
/**
|
|
259
267
|
* The output directory of the project. If omitted, this value will be automatically detected.
|
|
260
268
|
*/
|
|
@@ -376,6 +384,10 @@ export interface ProjectArgs {
|
|
|
376
384
|
* The desired name for the project.
|
|
377
385
|
*/
|
|
378
386
|
name?: pulumi.Input<string>;
|
|
387
|
+
/**
|
|
388
|
+
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
389
|
+
*/
|
|
390
|
+
optionsAllowlist?: pulumi.Input<inputs.ProjectOptionsAllowlist>;
|
|
379
391
|
/**
|
|
380
392
|
* The output directory of the project. If omitted, this value will be automatically detected.
|
|
381
393
|
*/
|
package/project.js
CHANGED
|
@@ -94,6 +94,7 @@ class Project extends pulumi.CustomResource {
|
|
|
94
94
|
resourceInputs["ignoreCommand"] = state ? state.ignoreCommand : undefined;
|
|
95
95
|
resourceInputs["installCommand"] = state ? state.installCommand : undefined;
|
|
96
96
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
97
|
+
resourceInputs["optionsAllowlist"] = state ? state.optionsAllowlist : undefined;
|
|
97
98
|
resourceInputs["outputDirectory"] = state ? state.outputDirectory : undefined;
|
|
98
99
|
resourceInputs["passwordProtection"] = state ? state.passwordProtection : undefined;
|
|
99
100
|
resourceInputs["previewComments"] = state ? state.previewComments : undefined;
|
|
@@ -126,6 +127,7 @@ class Project extends pulumi.CustomResource {
|
|
|
126
127
|
resourceInputs["ignoreCommand"] = args ? args.ignoreCommand : undefined;
|
|
127
128
|
resourceInputs["installCommand"] = args ? args.installCommand : undefined;
|
|
128
129
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
130
|
+
resourceInputs["optionsAllowlist"] = args ? args.optionsAllowlist : undefined;
|
|
129
131
|
resourceInputs["outputDirectory"] = args ? args.outputDirectory : undefined;
|
|
130
132
|
resourceInputs["passwordProtection"] = args ? args.passwordProtection : undefined;
|
|
131
133
|
resourceInputs["previewComments"] = args ? args.previewComments : 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF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C,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;;AAnOL,0BAoOC;AAtNG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -107,7 +107,7 @@ export declare class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
107
107
|
*/
|
|
108
108
|
readonly projectId: pulumi.Output<string>;
|
|
109
109
|
/**
|
|
110
|
-
* Whether the Environment Variable is sensitive or not.
|
|
110
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
111
111
|
*/
|
|
112
112
|
readonly sensitive: pulumi.Output<boolean>;
|
|
113
113
|
/**
|
|
@@ -148,7 +148,7 @@ export interface ProjectEnvironmentVariableState {
|
|
|
148
148
|
*/
|
|
149
149
|
projectId?: pulumi.Input<string>;
|
|
150
150
|
/**
|
|
151
|
-
* Whether the Environment Variable is sensitive or not.
|
|
151
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
152
152
|
*/
|
|
153
153
|
sensitive?: pulumi.Input<boolean>;
|
|
154
154
|
/**
|
|
@@ -181,7 +181,7 @@ export interface ProjectEnvironmentVariableArgs {
|
|
|
181
181
|
*/
|
|
182
182
|
projectId: pulumi.Input<string>;
|
|
183
183
|
/**
|
|
184
|
-
* Whether the Environment Variable is sensitive or not.
|
|
184
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
185
185
|
*/
|
|
186
186
|
sensitive?: pulumi.Input<boolean>;
|
|
187
187
|
/**
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProjectFunctionCpu = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Function CPU resource for a Project.
|
|
10
|
+
*
|
|
11
|
+
* 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.
|
|
12
|
+
*
|
|
13
|
+
* A new Deployment is required for your changes to take effect.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
20
|
+
*
|
|
21
|
+
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
22
|
+
* const exampleProjectFunctionCpu = new vercel.ProjectFunctionCpu("exampleProjectFunctionCpu", {
|
|
23
|
+
* projectId: exampleProject.id,
|
|
24
|
+
* cpu: "performance",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* You can import via the team_id and project_id.
|
|
31
|
+
*
|
|
32
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
33
|
+
*
|
|
34
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import vercel:index/projectFunctionCpu:ProjectFunctionCpu example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class ProjectFunctionCpu extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ProjectFunctionCpu resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new ProjectFunctionCpu(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of ProjectFunctionCpu. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === ProjectFunctionCpu.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["cpu"] = state ? state.cpu : undefined;
|
|
69
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
70
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.cpu === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'cpu'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'projectId'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["cpu"] = args ? args.cpu : undefined;
|
|
81
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
82
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(ProjectFunctionCpu.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.ProjectFunctionCpu = ProjectFunctionCpu;
|
|
89
|
+
/** @internal */
|
|
90
|
+
ProjectFunctionCpu.__pulumiType = 'vercel:index/projectFunctionCpu:ProjectFunctionCpu';
|
|
91
|
+
//# sourceMappingURL=projectFunctionCpu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectFunctionCpu.js","sourceRoot":"","sources":["../projectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvEL,gDAwEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
17
17
|
*/
|
|
18
18
|
readonly apiToken: pulumi.Output<string | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* The default Vercel Team to use when creating resources. This can be provided as either a team
|
|
21
|
-
* and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
20
|
+
* The default Vercel Team to use when creating resources or reading data sources. This can be provided as either a team
|
|
21
|
+
* slug, or team ID. The slug and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
22
22
|
*/
|
|
23
23
|
readonly team: pulumi.Output<string | undefined>;
|
|
24
24
|
/**
|
|
@@ -40,8 +40,8 @@ export interface ProviderArgs {
|
|
|
40
40
|
*/
|
|
41
41
|
apiToken?: pulumi.Input<string>;
|
|
42
42
|
/**
|
|
43
|
-
* The default Vercel Team to use when creating resources. This can be provided as either a team
|
|
44
|
-
* and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
43
|
+
* The default Vercel Team to use when creating resources or reading data sources. This can be provided as either a team
|
|
44
|
+
* slug, or team ID. The slug and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
45
45
|
*/
|
|
46
46
|
team?: pulumi.Input<string>;
|
|
47
47
|
}
|
|
@@ -67,7 +67,7 @@ export declare class SharedEnvironmentVariable extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly projectIds: pulumi.Output<string[]>;
|
|
69
69
|
/**
|
|
70
|
-
* Whether the Environment Variable is sensitive or not.
|
|
70
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
71
71
|
*/
|
|
72
72
|
readonly sensitive: pulumi.Output<boolean>;
|
|
73
73
|
/**
|
|
@@ -104,7 +104,7 @@ export interface SharedEnvironmentVariableState {
|
|
|
104
104
|
*/
|
|
105
105
|
projectIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
106
|
/**
|
|
107
|
-
* Whether the Environment Variable is sensitive or not.
|
|
107
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
108
108
|
*/
|
|
109
109
|
sensitive?: pulumi.Input<boolean>;
|
|
110
110
|
/**
|
|
@@ -133,7 +133,7 @@ export interface SharedEnvironmentVariableArgs {
|
|
|
133
133
|
*/
|
|
134
134
|
projectIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
135
135
|
/**
|
|
136
|
-
* Whether the Environment Variable is sensitive or not.
|
|
136
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
137
137
|
*/
|
|
138
138
|
sensitive?: pulumi.Input<boolean>;
|
|
139
139
|
/**
|
package/types/input.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface ProjectEnvironment {
|
|
|
54
54
|
*/
|
|
55
55
|
key: pulumi.Input<string>;
|
|
56
56
|
/**
|
|
57
|
-
* Whether the Environment Variable is sensitive or not.
|
|
57
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
58
58
|
*/
|
|
59
59
|
sensitive?: pulumi.Input<boolean>;
|
|
60
60
|
/**
|
|
@@ -112,6 +112,18 @@ export interface ProjectGitRepositoryDeployHook {
|
|
|
112
112
|
*/
|
|
113
113
|
url?: pulumi.Input<string>;
|
|
114
114
|
}
|
|
115
|
+
export interface ProjectOptionsAllowlist {
|
|
116
|
+
/**
|
|
117
|
+
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
118
|
+
*/
|
|
119
|
+
paths: pulumi.Input<pulumi.Input<inputs.ProjectOptionsAllowlistPath>[]>;
|
|
120
|
+
}
|
|
121
|
+
export interface ProjectOptionsAllowlistPath {
|
|
122
|
+
/**
|
|
123
|
+
* The path prefix to compare with the incoming request path.
|
|
124
|
+
*/
|
|
125
|
+
value: pulumi.Input<string>;
|
|
126
|
+
}
|
|
115
127
|
export interface ProjectPasswordProtection {
|
|
116
128
|
/**
|
|
117
129
|
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
|
package/types/output.d.ts
CHANGED
|
@@ -76,6 +76,10 @@ export interface GetProjectGitComments {
|
|
|
76
76
|
onPullRequest: boolean;
|
|
77
77
|
}
|
|
78
78
|
export interface GetProjectGitRepository {
|
|
79
|
+
/**
|
|
80
|
+
* Deploy hooks are unique URLs that allow you to trigger a deployment of a given branch. See https://vercel.com/docs/deployments/deploy-hooks for full information.
|
|
81
|
+
*/
|
|
82
|
+
deployHooks: outputs.GetProjectGitRepositoryDeployHook[];
|
|
79
83
|
/**
|
|
80
84
|
* By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here.
|
|
81
85
|
*/
|
|
@@ -89,6 +93,33 @@ export interface GetProjectGitRepository {
|
|
|
89
93
|
*/
|
|
90
94
|
type: string;
|
|
91
95
|
}
|
|
96
|
+
export interface GetProjectGitRepositoryDeployHook {
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the deploy hook.
|
|
99
|
+
*/
|
|
100
|
+
id: string;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the deploy hook.
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
* The branch or commit hash that should be deployed.
|
|
107
|
+
*/
|
|
108
|
+
ref: string;
|
|
109
|
+
/**
|
|
110
|
+
* A URL that, when a POST request is made to, will trigger a new deployment.
|
|
111
|
+
*/
|
|
112
|
+
url: string;
|
|
113
|
+
}
|
|
114
|
+
export interface GetProjectOptionsAllowlist {
|
|
115
|
+
/**
|
|
116
|
+
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
117
|
+
*/
|
|
118
|
+
paths: outputs.GetProjectOptionsAllowlistPath[];
|
|
119
|
+
}
|
|
120
|
+
export interface GetProjectOptionsAllowlistPath {
|
|
121
|
+
value: string;
|
|
122
|
+
}
|
|
92
123
|
export interface GetProjectPasswordProtection {
|
|
93
124
|
/**
|
|
94
125
|
* The deployment environment that will be protected.
|
|
@@ -133,7 +164,7 @@ export interface ProjectEnvironment {
|
|
|
133
164
|
*/
|
|
134
165
|
key: string;
|
|
135
166
|
/**
|
|
136
|
-
* Whether the Environment Variable is sensitive or not.
|
|
167
|
+
* Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
|
|
137
168
|
*/
|
|
138
169
|
sensitive: boolean;
|
|
139
170
|
/**
|
|
@@ -191,6 +222,18 @@ export interface ProjectGitRepositoryDeployHook {
|
|
|
191
222
|
*/
|
|
192
223
|
url: string;
|
|
193
224
|
}
|
|
225
|
+
export interface ProjectOptionsAllowlist {
|
|
226
|
+
/**
|
|
227
|
+
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
228
|
+
*/
|
|
229
|
+
paths: outputs.ProjectOptionsAllowlistPath[];
|
|
230
|
+
}
|
|
231
|
+
export interface ProjectOptionsAllowlistPath {
|
|
232
|
+
/**
|
|
233
|
+
* The path prefix to compare with the incoming request path.
|
|
234
|
+
*/
|
|
235
|
+
value: string;
|
|
236
|
+
}
|
|
194
237
|
export interface ProjectPasswordProtection {
|
|
195
238
|
/**
|
|
196
239
|
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
|