@pulumiverse/vercel 1.14.3 → 1.15.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.
Files changed (141) hide show
  1. package/accessGroup.d.ts +63 -0
  2. package/accessGroup.js +51 -0
  3. package/accessGroup.js.map +1 -0
  4. package/accessGroupProject.d.ts +87 -0
  5. package/accessGroupProject.js +64 -0
  6. package/accessGroupProject.js.map +1 -0
  7. package/alias.d.ts +6 -8
  8. package/alias.js +0 -5
  9. package/alias.js.map +1 -1
  10. package/attackChallengeMode.d.ts +6 -33
  11. package/attackChallengeMode.js +0 -30
  12. package/attackChallengeMode.js.map +1 -1
  13. package/customEnvironment.d.ts +101 -0
  14. package/customEnvironment.js +60 -0
  15. package/customEnvironment.js.map +1 -0
  16. package/deployment.d.ts +34 -17
  17. package/deployment.js.map +1 -1
  18. package/dnsRecord.d.ts +30 -127
  19. package/dnsRecord.js +0 -97
  20. package/dnsRecord.js.map +1 -1
  21. package/edgeConfig.d.ts +6 -54
  22. package/edgeConfig.js +0 -51
  23. package/edgeConfig.js.map +1 -1
  24. package/edgeConfigItem.d.ts +87 -0
  25. package/edgeConfigItem.js +64 -0
  26. package/edgeConfigItem.js.map +1 -0
  27. package/edgeConfigSchema.d.ts +6 -28
  28. package/edgeConfigSchema.js +0 -25
  29. package/edgeConfigSchema.js.map +1 -1
  30. package/edgeConfigToken.d.ts +10 -62
  31. package/edgeConfigToken.js +0 -57
  32. package/edgeConfigToken.js.map +1 -1
  33. package/firewallConfig.d.ts +0 -9
  34. package/firewallConfig.js +0 -9
  35. package/firewallConfig.js.map +1 -1
  36. package/getAccessGroup.d.ts +25 -0
  37. package/getAccessGroup.js +24 -0
  38. package/getAccessGroup.js.map +1 -0
  39. package/getAccessGroupProject.d.ts +32 -0
  40. package/getAccessGroupProject.js +26 -0
  41. package/getAccessGroupProject.js.map +1 -0
  42. package/getAlias.d.ts +0 -34
  43. package/getAlias.js +0 -10
  44. package/getAlias.js.map +1 -1
  45. package/getAttackChallengeMode.d.ts +0 -56
  46. package/getAttackChallengeMode.js +0 -32
  47. package/getAttackChallengeMode.js.map +1 -1
  48. package/getCustomEnvironment.d.ts +31 -0
  49. package/getCustomEnvironment.js +26 -0
  50. package/getCustomEnvironment.js.map +1 -0
  51. package/getDeployment.d.ts +0 -65
  52. package/getDeployment.js +0 -32
  53. package/getDeployment.js.map +1 -1
  54. package/getEdgeConfig.d.ts +0 -53
  55. package/getEdgeConfig.js +0 -32
  56. package/getEdgeConfig.js.map +1 -1
  57. package/getEdgeConfigItem.d.ts +28 -0
  58. package/getEdgeConfigItem.js +26 -0
  59. package/getEdgeConfigItem.js.map +1 -0
  60. package/getEdgeConfigSchema.d.ts +0 -49
  61. package/getEdgeConfigSchema.js +0 -28
  62. package/getEdgeConfigSchema.js.map +1 -1
  63. package/getEdgeConfigToken.d.ts +0 -74
  64. package/getEdgeConfigToken.js +0 -38
  65. package/getEdgeConfigToken.js.map +1 -1
  66. package/getEndpointVerification.d.ts +0 -39
  67. package/getEndpointVerification.js +0 -24
  68. package/getEndpointVerification.js.map +1 -1
  69. package/getFile.d.ts +0 -54
  70. package/getFile.js +0 -48
  71. package/getFile.js.map +1 -1
  72. package/getLogDrain.d.ts +0 -81
  73. package/getLogDrain.js +0 -36
  74. package/getLogDrain.js.map +1 -1
  75. package/getPrebuiltProject.d.ts +0 -6
  76. package/getPrebuiltProject.js.map +1 -1
  77. package/getProject.d.ts +1 -146
  78. package/getProject.js +0 -38
  79. package/getProject.js.map +1 -1
  80. package/getProjectDeploymentRetention.d.ts +0 -47
  81. package/getProjectDeploymentRetention.js +0 -14
  82. package/getProjectDeploymentRetention.js.map +1 -1
  83. package/getProjectDirectory.d.ts +0 -6
  84. package/getProjectDirectory.js.map +1 -1
  85. package/getProjectMembers.d.ts +30 -0
  86. package/getProjectMembers.js +24 -0
  87. package/getProjectMembers.js.map +1 -0
  88. package/getSharedEnvironmentVariable.d.ts +1 -95
  89. package/getSharedEnvironmentVariable.js +0 -50
  90. package/getSharedEnvironmentVariable.js.map +1 -1
  91. package/getTeamConfig.d.ts +35 -0
  92. package/getTeamConfig.js +22 -0
  93. package/getTeamConfig.js.map +1 -0
  94. package/getTeamMember.d.ts +29 -0
  95. package/getTeamMember.js +24 -0
  96. package/getTeamMember.js.map +1 -0
  97. package/index.d.ts +45 -6
  98. package/index.js +63 -9
  99. package/index.js.map +1 -1
  100. package/logDrain.d.ts +42 -74
  101. package/logDrain.js +0 -56
  102. package/logDrain.js.map +1 -1
  103. package/package.json +1 -1
  104. package/project.d.ts +111 -89
  105. package/project.js +3 -46
  106. package/project.js.map +1 -1
  107. package/projectDeploymentRetention.d.ts +0 -51
  108. package/projectDeploymentRetention.js +0 -51
  109. package/projectDeploymentRetention.js.map +1 -1
  110. package/projectDomain.d.ts +21 -55
  111. package/projectDomain.js +2 -52
  112. package/projectDomain.js.map +1 -1
  113. package/projectEnvironmentVariable.d.ts +40 -86
  114. package/projectEnvironmentVariable.js +4 -82
  115. package/projectEnvironmentVariable.js.map +1 -1
  116. package/projectEnvironmentVariables.d.ts +74 -0
  117. package/projectEnvironmentVariables.js +59 -0
  118. package/projectEnvironmentVariables.js.map +1 -0
  119. package/projectMembers.d.ts +77 -0
  120. package/projectMembers.js +59 -0
  121. package/projectMembers.js.map +1 -0
  122. package/sharedEnvironmentVariable.d.ts +24 -49
  123. package/sharedEnvironmentVariable.js +2 -43
  124. package/sharedEnvironmentVariable.js.map +1 -1
  125. package/teamConfig.d.ts +211 -0
  126. package/teamConfig.js +75 -0
  127. package/teamConfig.js.map +1 -0
  128. package/teamMember.d.ts +107 -0
  129. package/teamMember.js +66 -0
  130. package/teamMember.js.map +1 -0
  131. package/types/input.d.ts +109 -9
  132. package/types/output.d.ts +180 -8
  133. package/webhook.d.ts +18 -43
  134. package/webhook.js +0 -35
  135. package/webhook.js.map +1 -1
  136. package/getProjectFunctionCpu.d.ts +0 -92
  137. package/getProjectFunctionCpu.js +0 -66
  138. package/getProjectFunctionCpu.js.map +0 -1
  139. package/projectFunctionCpu.d.ts +0 -106
  140. package/projectFunctionCpu.js +0 -93
  141. package/projectFunctionCpu.js.map +0 -1
package/webhook.d.ts CHANGED
@@ -1,39 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * A webhook is a trigger-based HTTP endpoint configured to receive HTTP POST requests through events.
4
- *
5
- * When an event happens, a webhook is sent to a third-party app, which can then take appropriate action.
6
- *
7
- * > Only Pro and Enterprise teams are able to configure these webhooks at the account level.
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumiverse/vercel";
14
- *
15
- * const example = new vercel.Project("example", {});
16
- * const example2 = new vercel.Project("example2", {});
17
- * const withProjectIds = new vercel.Webhook("withProjectIds", {
18
- * events: [
19
- * "deployment.created",
20
- * "deployment.succeeded",
21
- * ],
22
- * endpoint: "https://example.com/endpoint",
23
- * projectIds: [
24
- * example.id,
25
- * example2.id,
26
- * ],
27
- * });
28
- * const withoutProjectIds = new vercel.Webhook("withoutProjectIds", {
29
- * events: [
30
- * "deployment.created",
31
- * "deployment.succeeded",
32
- * ],
33
- * endpoint: "https://example.com/endpoint",
34
- * });
35
- * ```
36
- */
37
2
  export declare class Webhook extends pulumi.CustomResource {
38
3
  /**
39
4
  * Get an existing Webhook resource's state with the given name, ID, and optional extra
@@ -59,15 +24,19 @@ export declare class Webhook extends pulumi.CustomResource {
59
24
  */
60
25
  readonly events: pulumi.Output<string[]>;
61
26
  /**
62
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
27
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
28
+ * endpoint.
63
29
  */
64
30
  readonly projectIds: pulumi.Output<string[] | undefined>;
65
31
  /**
66
- * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further details.
32
+ * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of
33
+ * the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further
34
+ * details.
67
35
  */
68
36
  readonly secret: pulumi.Output<string>;
69
37
  /**
70
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
38
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
39
+ * been set in the provider.
71
40
  */
72
41
  readonly teamId: pulumi.Output<string>;
73
42
  /**
@@ -92,15 +61,19 @@ export interface WebhookState {
92
61
  */
93
62
  events?: pulumi.Input<pulumi.Input<string>[]>;
94
63
  /**
95
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
64
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
65
+ * endpoint.
96
66
  */
97
67
  projectIds?: pulumi.Input<pulumi.Input<string>[]>;
98
68
  /**
99
- * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further details.
69
+ * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of
70
+ * the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further
71
+ * details.
100
72
  */
101
73
  secret?: pulumi.Input<string>;
102
74
  /**
103
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
75
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
76
+ * been set in the provider.
104
77
  */
105
78
  teamId?: pulumi.Input<string>;
106
79
  }
@@ -117,11 +90,13 @@ export interface WebhookArgs {
117
90
  */
118
91
  events: pulumi.Input<pulumi.Input<string>[]>;
119
92
  /**
120
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
93
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
94
+ * endpoint.
121
95
  */
122
96
  projectIds?: pulumi.Input<pulumi.Input<string>[]>;
123
97
  /**
124
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
98
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
99
+ * been set in the provider.
125
100
  */
126
101
  teamId?: pulumi.Input<string>;
127
102
  }
package/webhook.js CHANGED
@@ -5,41 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Webhook = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * A webhook is a trigger-based HTTP endpoint configured to receive HTTP POST requests through events.
10
- *
11
- * When an event happens, a webhook is sent to a third-party app, which can then take appropriate action.
12
- *
13
- * > Only Pro and Enterprise teams are able to configure these webhooks at the account level.
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as vercel from "@pulumiverse/vercel";
20
- *
21
- * const example = new vercel.Project("example", {});
22
- * const example2 = new vercel.Project("example2", {});
23
- * const withProjectIds = new vercel.Webhook("withProjectIds", {
24
- * events: [
25
- * "deployment.created",
26
- * "deployment.succeeded",
27
- * ],
28
- * endpoint: "https://example.com/endpoint",
29
- * projectIds: [
30
- * example.id,
31
- * example2.id,
32
- * ],
33
- * });
34
- * const withoutProjectIds = new vercel.Webhook("withoutProjectIds", {
35
- * events: [
36
- * "deployment.created",
37
- * "deployment.succeeded",
38
- * ],
39
- * endpoint: "https://example.com/endpoint",
40
- * });
41
- * ```
42
- */
43
8
  class Webhook extends pulumi.CustomResource {
44
9
  /**
45
10
  * Get an existing Webhook resource's state with the given name, ID, and optional extra
package/webhook.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../webhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAA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,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAzFL,0BA0FC;AA5EG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
@@ -1,92 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
4
- *
5
- * Provides information about a Project's Function CPU setting.
6
- *
7
- * 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.
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumi/vercel";
14
- *
15
- * const exampleProject = vercel.getProject({
16
- * name: "example",
17
- * });
18
- * const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
19
- * projectId: exampleProject.id,
20
- * }));
21
- * ```
22
- */
23
- export declare function getProjectFunctionCpu(args: GetProjectFunctionCpuArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectFunctionCpuResult>;
24
- /**
25
- * A collection of arguments for invoking getProjectFunctionCpu.
26
- */
27
- export interface GetProjectFunctionCpuArgs {
28
- /**
29
- * The ID of the Project to read the Function CPU setting for.
30
- */
31
- projectId: string;
32
- /**
33
- * 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.
34
- */
35
- teamId?: string;
36
- }
37
- /**
38
- * A collection of values returned by getProjectFunctionCpu.
39
- */
40
- export interface GetProjectFunctionCpuResult {
41
- /**
42
- * The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
43
- */
44
- readonly cpu: string;
45
- /**
46
- * The ID of the resource.
47
- */
48
- readonly id: string;
49
- /**
50
- * The ID of the Project to read the Function CPU setting for.
51
- */
52
- readonly projectId: string;
53
- /**
54
- * 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.
55
- */
56
- readonly teamId: string;
57
- }
58
- /**
59
- * > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
60
- *
61
- * Provides information about a Project's Function CPU setting.
62
- *
63
- * 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.
64
- *
65
- * ## Example Usage
66
- *
67
- * ```typescript
68
- * import * as pulumi from "@pulumi/pulumi";
69
- * import * as vercel from "@pulumi/vercel";
70
- *
71
- * const exampleProject = vercel.getProject({
72
- * name: "example",
73
- * });
74
- * const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
75
- * projectId: exampleProject.id,
76
- * }));
77
- * ```
78
- */
79
- export declare function getProjectFunctionCpuOutput(args: GetProjectFunctionCpuOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectFunctionCpuResult>;
80
- /**
81
- * A collection of arguments for invoking getProjectFunctionCpu.
82
- */
83
- export interface GetProjectFunctionCpuOutputArgs {
84
- /**
85
- * The ID of the Project to read the Function CPU setting for.
86
- */
87
- projectId: pulumi.Input<string>;
88
- /**
89
- * 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.
90
- */
91
- teamId?: pulumi.Input<string>;
92
- }
@@ -1,66 +0,0 @@
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
- * > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
10
- *
11
- * Provides information about a Project's Function CPU setting.
12
- *
13
- * 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.
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as vercel from "@pulumi/vercel";
20
- *
21
- * const exampleProject = vercel.getProject({
22
- * name: "example",
23
- * });
24
- * const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
25
- * projectId: exampleProject.id,
26
- * }));
27
- * ```
28
- */
29
- function getProjectFunctionCpu(args, opts) {
30
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
31
- return pulumi.runtime.invoke("vercel:index/getProjectFunctionCpu:getProjectFunctionCpu", {
32
- "projectId": args.projectId,
33
- "teamId": args.teamId,
34
- }, opts);
35
- }
36
- exports.getProjectFunctionCpu = getProjectFunctionCpu;
37
- /**
38
- * > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
39
- *
40
- * Provides information about a Project's Function CPU setting.
41
- *
42
- * 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.
43
- *
44
- * ## Example Usage
45
- *
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as vercel from "@pulumi/vercel";
49
- *
50
- * const exampleProject = vercel.getProject({
51
- * name: "example",
52
- * });
53
- * const exampleProjectFunctionCpu = exampleProject.then(exampleProject => vercel.getProjectFunctionCpu({
54
- * projectId: exampleProject.id,
55
- * }));
56
- * ```
57
- */
58
- function getProjectFunctionCpuOutput(args, opts) {
59
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
60
- return pulumi.runtime.invokeOutput("vercel:index/getProjectFunctionCpu:getProjectFunctionCpu", {
61
- "projectId": args.projectId,
62
- "teamId": args.teamId,
63
- }, opts);
64
- }
65
- exports.getProjectFunctionCpuOutput = getProjectFunctionCpuOutput;
66
- //# sourceMappingURL=getProjectFunctionCpu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProjectFunctionCpu.js","sourceRoot":"","sources":["../getProjectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,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;AAND,sDAMC;AAqCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -1,106 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * > This resource has been deprecated and no longer works. Please use the `vercel.Project` resource and its `resourceConfig` attribute instead.
4
- *
5
- * Provides a Function CPU resource for a Project.
6
- *
7
- * 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.
8
- *
9
- * A new Deployment is required for your changes to take effect.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as vercel from "@pulumiverse/vercel";
16
- *
17
- * const exampleProject = new vercel.Project("exampleProject", {});
18
- * const exampleProjectFunctionCpu = new vercel.ProjectFunctionCpu("exampleProjectFunctionCpu", {
19
- * projectId: exampleProject.id,
20
- * cpu: "performance",
21
- * });
22
- * ```
23
- *
24
- * ## Import
25
- *
26
- * You can import via the team_id and project_id.
27
- *
28
- * - team_id can be found in the team `settings` tab in the Vercel UI.
29
- *
30
- * - project_id can be found in the project `settings` tab in the Vercel UI.
31
- *
32
- * ```sh
33
- * $ pulumi import vercel:index/projectFunctionCpu:ProjectFunctionCpu example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
34
- * ```
35
- */
36
- export declare class ProjectFunctionCpu extends pulumi.CustomResource {
37
- /**
38
- * Get an existing ProjectFunctionCpu resource's state with the given name, ID, and optional extra
39
- * properties used to qualify the lookup.
40
- *
41
- * @param name The _unique_ name of the resulting resource.
42
- * @param id The _unique_ provider ID of the resource to lookup.
43
- * @param state Any extra arguments used during the lookup.
44
- * @param opts Optional settings to control the behavior of the CustomResource.
45
- */
46
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectFunctionCpuState, opts?: pulumi.CustomResourceOptions): ProjectFunctionCpu;
47
- /**
48
- * Returns true if the given object is an instance of ProjectFunctionCpu. This is designed to work even
49
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
- */
51
- static isInstance(obj: any): obj is ProjectFunctionCpu;
52
- /**
53
- * The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
54
- */
55
- readonly cpu: pulumi.Output<string>;
56
- /**
57
- * The ID of the Project to adjust the CPU for.
58
- */
59
- readonly projectId: pulumi.Output<string>;
60
- /**
61
- * 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.
62
- */
63
- readonly teamId: pulumi.Output<string>;
64
- /**
65
- * Create a ProjectFunctionCpu resource with the given unique name, arguments, and options.
66
- *
67
- * @param name The _unique_ name of the resource.
68
- * @param args The arguments to use to populate this resource's properties.
69
- * @param opts A bag of options that control this resource's behavior.
70
- */
71
- constructor(name: string, args: ProjectFunctionCpuArgs, opts?: pulumi.CustomResourceOptions);
72
- }
73
- /**
74
- * Input properties used for looking up and filtering ProjectFunctionCpu resources.
75
- */
76
- export interface ProjectFunctionCpuState {
77
- /**
78
- * The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
79
- */
80
- cpu?: pulumi.Input<string>;
81
- /**
82
- * The ID of the Project to adjust the CPU for.
83
- */
84
- projectId?: pulumi.Input<string>;
85
- /**
86
- * 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.
87
- */
88
- teamId?: pulumi.Input<string>;
89
- }
90
- /**
91
- * The set of arguments for constructing a ProjectFunctionCpu resource.
92
- */
93
- export interface ProjectFunctionCpuArgs {
94
- /**
95
- * The amount of CPU available to your Serverless Functions. Should be one of 'basic' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
96
- */
97
- cpu: pulumi.Input<string>;
98
- /**
99
- * The ID of the Project to adjust the CPU for.
100
- */
101
- projectId: pulumi.Input<string>;
102
- /**
103
- * 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.
104
- */
105
- teamId?: pulumi.Input<string>;
106
- }
@@ -1,93 +0,0 @@
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
- * > This resource has been deprecated and no longer works. Please use the `vercel.Project` resource and its `resourceConfig` attribute instead.
10
- *
11
- * Provides a Function CPU resource for a Project.
12
- *
13
- * 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.
14
- *
15
- * A new Deployment is required for your changes to take effect.
16
- *
17
- * ## Example Usage
18
- *
19
- * ```typescript
20
- * import * as pulumi from "@pulumi/pulumi";
21
- * import * as vercel from "@pulumiverse/vercel";
22
- *
23
- * const exampleProject = new vercel.Project("exampleProject", {});
24
- * const exampleProjectFunctionCpu = new vercel.ProjectFunctionCpu("exampleProjectFunctionCpu", {
25
- * projectId: exampleProject.id,
26
- * cpu: "performance",
27
- * });
28
- * ```
29
- *
30
- * ## Import
31
- *
32
- * You can import via the team_id and project_id.
33
- *
34
- * - team_id can be found in the team `settings` tab in the Vercel UI.
35
- *
36
- * - project_id can be found in the project `settings` tab in the Vercel UI.
37
- *
38
- * ```sh
39
- * $ pulumi import vercel:index/projectFunctionCpu:ProjectFunctionCpu example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
40
- * ```
41
- */
42
- class ProjectFunctionCpu extends pulumi.CustomResource {
43
- /**
44
- * Get an existing ProjectFunctionCpu resource's state with the given name, ID, and optional extra
45
- * properties used to qualify the lookup.
46
- *
47
- * @param name The _unique_ name of the resulting resource.
48
- * @param id The _unique_ provider ID of the resource to lookup.
49
- * @param state Any extra arguments used during the lookup.
50
- * @param opts Optional settings to control the behavior of the CustomResource.
51
- */
52
- static get(name, id, state, opts) {
53
- return new ProjectFunctionCpu(name, state, Object.assign(Object.assign({}, opts), { id: id }));
54
- }
55
- /**
56
- * Returns true if the given object is an instance of ProjectFunctionCpu. This is designed to work even
57
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
- */
59
- static isInstance(obj) {
60
- if (obj === undefined || obj === null) {
61
- return false;
62
- }
63
- return obj['__pulumiType'] === ProjectFunctionCpu.__pulumiType;
64
- }
65
- constructor(name, argsOrState, opts) {
66
- let resourceInputs = {};
67
- opts = opts || {};
68
- if (opts.id) {
69
- const state = argsOrState;
70
- resourceInputs["cpu"] = state ? state.cpu : undefined;
71
- resourceInputs["projectId"] = state ? state.projectId : undefined;
72
- resourceInputs["teamId"] = state ? state.teamId : undefined;
73
- }
74
- else {
75
- const args = argsOrState;
76
- if ((!args || args.cpu === undefined) && !opts.urn) {
77
- throw new Error("Missing required property 'cpu'");
78
- }
79
- if ((!args || args.projectId === undefined) && !opts.urn) {
80
- throw new Error("Missing required property 'projectId'");
81
- }
82
- resourceInputs["cpu"] = args ? args.cpu : undefined;
83
- resourceInputs["projectId"] = args ? args.projectId : undefined;
84
- resourceInputs["teamId"] = args ? args.teamId : undefined;
85
- }
86
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
- super(ProjectFunctionCpu.__pulumiType, name, resourceInputs, opts);
88
- }
89
- }
90
- exports.ProjectFunctionCpu = ProjectFunctionCpu;
91
- /** @internal */
92
- ProjectFunctionCpu.__pulumiType = 'vercel:index/projectFunctionCpu:ProjectFunctionCpu';
93
- //# sourceMappingURL=projectFunctionCpu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectFunctionCpu.js","sourceRoot":"","sources":["../projectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;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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