@pulumiverse/vercel 1.10.0 → 1.14.2

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 (52) hide show
  1. package/deployment.d.ts +3 -15
  2. package/deployment.js.map +1 -1
  3. package/getAlias.js +5 -1
  4. package/getAlias.js.map +1 -1
  5. package/getAttackChallengeMode.js +5 -1
  6. package/getAttackChallengeMode.js.map +1 -1
  7. package/getDeployment.js +5 -1
  8. package/getDeployment.js.map +1 -1
  9. package/getEdgeConfig.js +5 -1
  10. package/getEdgeConfig.js.map +1 -1
  11. package/getEdgeConfigSchema.js +5 -1
  12. package/getEdgeConfigSchema.js.map +1 -1
  13. package/getEdgeConfigToken.js +6 -1
  14. package/getEdgeConfigToken.js.map +1 -1
  15. package/getEndpointVerification.js +5 -1
  16. package/getEndpointVerification.js.map +1 -1
  17. package/getFile.js +4 -1
  18. package/getFile.js.map +1 -1
  19. package/getLogDrain.js +6 -1
  20. package/getLogDrain.js.map +1 -1
  21. package/getPrebuiltProject.js +4 -1
  22. package/getPrebuiltProject.js.map +1 -1
  23. package/getProject.d.ts +12 -0
  24. package/getProject.js +5 -1
  25. package/getProject.js.map +1 -1
  26. package/getProjectDeploymentRetention.d.ts +76 -0
  27. package/getProjectDeploymentRetention.js +38 -0
  28. package/getProjectDeploymentRetention.js.map +1 -0
  29. package/getProjectDirectory.js +4 -1
  30. package/getProjectDirectory.js.map +1 -1
  31. package/getProjectFunctionCpu.d.ts +4 -0
  32. package/getProjectFunctionCpu.js +9 -1
  33. package/getProjectFunctionCpu.js.map +1 -1
  34. package/getSharedEnvironmentVariable.js +8 -1
  35. package/getSharedEnvironmentVariable.js.map +1 -1
  36. package/index.d.ts +6 -0
  37. package/index.js +9 -1
  38. package/index.js.map +1 -1
  39. package/package.json +1 -1
  40. package/project.d.ts +36 -0
  41. package/project.js +6 -0
  42. package/project.js.map +1 -1
  43. package/projectDeploymentRetention.d.ts +159 -0
  44. package/projectDeploymentRetention.js +113 -0
  45. package/projectDeploymentRetention.js.map +1 -0
  46. package/projectEnvironmentVariable.d.ts +3 -3
  47. package/projectFunctionCpu.d.ts +2 -0
  48. package/projectFunctionCpu.js +2 -0
  49. package/projectFunctionCpu.js.map +1 -1
  50. package/sharedEnvironmentVariable.d.ts +3 -3
  51. package/types/input.d.ts +29 -1
  52. package/types/output.d.ts +54 -1
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.
@@ -55,7 +51,7 @@ export declare class Deployment extends pulumi.CustomResource {
55
51
  */
56
52
  readonly projectSettings: pulumi.Output<outputs.DeploymentProjectSettings | undefined>;
57
53
  /**
58
- * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `ref` is not set.
54
+ * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
59
55
  */
60
56
  readonly ref: pulumi.Output<string | undefined>;
61
57
  /**
@@ -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.
@@ -117,7 +109,7 @@ export interface DeploymentState {
117
109
  */
118
110
  projectSettings?: pulumi.Input<inputs.DeploymentProjectSettings>;
119
111
  /**
120
- * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `ref` is not set.
112
+ * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
121
113
  */
122
114
  ref?: pulumi.Input<string>;
123
115
  /**
@@ -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.
@@ -167,7 +155,7 @@ export interface DeploymentArgs {
167
155
  */
168
156
  projectSettings?: pulumi.Input<inputs.DeploymentProjectSettings>;
169
157
  /**
170
- * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `ref` is not set.
158
+ * The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
171
159
  */
172
160
  ref?: pulumi.Input<string>;
173
161
  /**
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;QA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,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"}
package/getAlias.js CHANGED
@@ -24,7 +24,11 @@ exports.getAlias = getAlias;
24
24
  * An Alias allows a `vercel.Deployment` to be accessed through a different URL.
25
25
  */
26
26
  function getAliasOutput(args, opts) {
27
- return pulumi.output(args).apply((a) => getAlias(a, opts));
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invokeOutput("vercel:index/getAlias:getAlias", {
29
+ "alias": args.alias,
30
+ "teamId": args.teamId,
31
+ }, opts);
28
32
  }
29
33
  exports.getAliasOutput = getAliasOutput;
30
34
  //# sourceMappingURL=getAlias.js.map
package/getAlias.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getAlias.js","sourceRoot":"","sources":["../getAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,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AAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
@@ -46,7 +46,11 @@ exports.getAttackChallengeMode = getAttackChallengeMode;
46
46
  * ```
47
47
  */
48
48
  function getAttackChallengeModeOutput(args, opts) {
49
- return pulumi.output(args).apply((a) => getAttackChallengeMode(a, opts));
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
51
+ "projectId": args.projectId,
52
+ "teamId": args.teamId,
53
+ }, opts);
50
54
  }
51
55
  exports.getAttackChallengeModeOutput = getAttackChallengeModeOutput;
52
56
  //# sourceMappingURL=getAttackChallengeMode.js.map
@@ -1 +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"}
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;IAChG,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;AAND,wDAMC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
package/getDeployment.js CHANGED
@@ -46,7 +46,11 @@ exports.getDeployment = getDeployment;
46
46
  * ```
47
47
  */
48
48
  function getDeploymentOutput(args, opts) {
49
- return pulumi.output(args).apply((a) => getDeployment(a, opts));
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vercel:index/getDeployment:getDeployment", {
51
+ "id": args.id,
52
+ "teamId": args.teamId,
53
+ }, opts);
50
54
  }
51
55
  exports.getDeploymentOutput = getDeploymentOutput;
52
56
  //# sourceMappingURL=getDeployment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAiDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAiDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
package/getEdgeConfig.js CHANGED
@@ -46,7 +46,11 @@ exports.getEdgeConfig = getEdgeConfig;
46
46
  * ```
47
47
  */
48
48
  function getEdgeConfigOutput(args, opts) {
49
- return pulumi.output(args).apply((a) => getEdgeConfig(a, opts));
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfig:getEdgeConfig", {
51
+ "id": args.id,
52
+ "teamId": args.teamId,
53
+ }, opts);
50
54
  }
51
55
  exports.getEdgeConfigOutput = getEdgeConfigOutput;
52
56
  //# sourceMappingURL=getEdgeConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;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ACb,CAAC;AAND,kDAMC"}
@@ -42,7 +42,11 @@ exports.getEdgeConfigSchema = getEdgeConfigSchema;
42
42
  * ```
43
43
  */
44
44
  function getEdgeConfigSchemaOutput(args, opts) {
45
- return pulumi.output(args).apply((a) => getEdgeConfigSchema(a, opts));
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigSchema:getEdgeConfigSchema", {
47
+ "id": args.id,
48
+ "teamId": args.teamId,
49
+ }, opts);
46
50
  }
47
51
  exports.getEdgeConfigSchemaOutput = getEdgeConfigSchemaOutput;
48
52
  //# sourceMappingURL=getEdgeConfigSchema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -53,7 +53,12 @@ exports.getEdgeConfigToken = getEdgeConfigToken;
53
53
  * ```
54
54
  */
55
55
  function getEdgeConfigTokenOutput(args, opts) {
56
- return pulumi.output(args).apply((a) => getEdgeConfigToken(a, opts));
56
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
57
+ return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigToken:getEdgeConfigToken", {
58
+ "edgeConfigId": args.edgeConfigId,
59
+ "teamId": args.teamId,
60
+ "token": args.token,
61
+ }, opts);
57
62
  }
58
63
  exports.getEdgeConfigTokenOutput = getEdgeConfigTokenOutput;
59
64
  //# sourceMappingURL=getEdgeConfigToken.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEdgeConfigToken.js","sourceRoot":"","sources":["../getEdgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAiDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"getEdgeConfigToken.js","sourceRoot":"","sources":["../getEdgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAiDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
@@ -38,7 +38,11 @@ exports.getEndpointVerification = getEndpointVerification;
38
38
  * ```
39
39
  */
40
40
  function getEndpointVerificationOutput(args, opts) {
41
- return pulumi.output(args).apply((a) => getEndpointVerification(a, opts));
41
+ args = args || {};
42
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
43
+ return pulumi.runtime.invokeOutput("vercel:index/getEndpointVerification:getEndpointVerification", {
44
+ "teamId": args.teamId,
45
+ }, opts);
42
46
  }
43
47
  exports.getEndpointVerificationOutput = getEndpointVerificationOutput;
44
48
  //# sourceMappingURL=getEndpointVerification.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEndpointVerification.js","sourceRoot":"","sources":["../getEndpointVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAA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IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
package/getFile.js CHANGED
@@ -61,7 +61,10 @@ exports.getFile = getFile;
61
61
  * ```
62
62
  */
63
63
  function getFileOutput(args, opts) {
64
- return pulumi.output(args).apply((a) => getFile(a, opts));
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
65
+ return pulumi.runtime.invokeOutput("vercel:index/getFile:getFile", {
66
+ "path": args.path,
67
+ }, opts);
65
68
  }
66
69
  exports.getFileOutput = getFileOutput;
67
70
  //# sourceMappingURL=getFile.js.map
package/getFile.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
package/getLogDrain.js CHANGED
@@ -51,7 +51,12 @@ exports.getLogDrain = getLogDrain;
51
51
  * ```
52
52
  */
53
53
  function getLogDrainOutput(args, opts) {
54
- return pulumi.output(args).apply((a) => getLogDrain(a, opts));
54
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
+ return pulumi.runtime.invokeOutput("vercel:index/getLogDrain:getLogDrain", {
56
+ "endpoint": args.endpoint,
57
+ "id": args.id,
58
+ "teamId": args.teamId,
59
+ }, opts);
55
60
  }
56
61
  exports.getLogDrainOutput = getLogDrainOutput;
57
62
  //# sourceMappingURL=getLogDrain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLogDrain.js","sourceRoot":"","sources":["../getLogDrain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AA6DD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getLogDrain.js","sourceRoot":"","sources":["../getLogDrain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AA6DD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC"}
@@ -13,7 +13,10 @@ function getPrebuiltProject(args, opts) {
13
13
  }
14
14
  exports.getPrebuiltProject = getPrebuiltProject;
15
15
  function getPrebuiltProjectOutput(args, opts) {
16
- return pulumi.output(args).apply((a) => getPrebuiltProject(a, opts));
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invokeOutput("vercel:index/getPrebuiltProject:getPrebuiltProject", {
18
+ "path": args.path,
19
+ }, opts);
17
20
  }
18
21
  exports.getPrebuiltProjectOutput = getPrebuiltProjectOutput;
19
22
  //# sourceMappingURL=getPrebuiltProject.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPrebuiltProject.js","sourceRoot":"","sources":["../getPrebuiltProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAuBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"getPrebuiltProject.js","sourceRoot":"","sources":["../getPrebuiltProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AAuBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
package/getProject.d.ts CHANGED
@@ -105,6 +105,14 @@ export interface GetProjectResult {
105
105
  * The name of the project.
106
106
  */
107
107
  readonly name: string;
108
+ /**
109
+ * Configuration for OpenID Connect (OIDC) tokens.
110
+ */
111
+ readonly oidcTokenConfig: outputs.GetProjectOidcTokenConfig;
112
+ /**
113
+ * Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
114
+ */
115
+ readonly optionsAllowlist: outputs.GetProjectOptionsAllowlist;
108
116
  /**
109
117
  * The output directory of the project. When null is used this value will be automatically detected.
110
118
  */
@@ -129,6 +137,10 @@ export interface GetProjectResult {
129
137
  * Specifies whether the source code and logs of the deployments for this project should be public or not.
130
138
  */
131
139
  readonly publicSource: boolean;
140
+ /**
141
+ * Resource Configuration for the project.
142
+ */
143
+ readonly resourceConfig: outputs.GetProjectResourceConfig;
132
144
  /**
133
145
  * The name of a directory or relative path to the source code of your project. When null is used it will default to the project root.
134
146
  */
package/getProject.js CHANGED
@@ -52,7 +52,11 @@ exports.getProject = getProject;
52
52
  * ```
53
53
  */
54
54
  function getProjectOutput(args, opts) {
55
- return pulumi.output(args).apply((a) => getProject(a, opts));
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
+ return pulumi.runtime.invokeOutput("vercel:index/getProject:getProject", {
57
+ "name": args.name,
58
+ "teamId": args.teamId,
59
+ }, opts);
56
60
  }
57
61
  exports.getProjectOutput = getProjectOutput;
58
62
  //# sourceMappingURL=getProject.js.map
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,CA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@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Project Deployment Retention datasource.
4
+ *
5
+ * A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
6
+ *
7
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
8
+ */
9
+ export declare function getProjectDeploymentRetention(args: GetProjectDeploymentRetentionArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectDeploymentRetentionResult>;
10
+ /**
11
+ * A collection of arguments for invoking getProjectDeploymentRetention.
12
+ */
13
+ export interface GetProjectDeploymentRetentionArgs {
14
+ /**
15
+ * The ID of the Project for the retention policy
16
+ */
17
+ projectId: string;
18
+ /**
19
+ * The ID of the Vercel team.
20
+ */
21
+ teamId?: string;
22
+ }
23
+ /**
24
+ * A collection of values returned by getProjectDeploymentRetention.
25
+ */
26
+ export interface GetProjectDeploymentRetentionResult {
27
+ /**
28
+ * The retention period for canceled deployments.
29
+ */
30
+ readonly expirationCanceled: string;
31
+ /**
32
+ * The retention period for errored deployments.
33
+ */
34
+ readonly expirationErrored: string;
35
+ /**
36
+ * The retention period for preview deployments.
37
+ */
38
+ readonly expirationPreview: string;
39
+ /**
40
+ * The retention period for production deployments.
41
+ */
42
+ readonly expirationProduction: string;
43
+ /**
44
+ * The ID of this resource.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * The ID of the Project for the retention policy
49
+ */
50
+ readonly projectId: string;
51
+ /**
52
+ * The ID of the Vercel team.
53
+ */
54
+ readonly teamId: string;
55
+ }
56
+ /**
57
+ * Provides a Project Deployment Retention datasource.
58
+ *
59
+ * A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
60
+ *
61
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
62
+ */
63
+ export declare function getProjectDeploymentRetentionOutput(args: GetProjectDeploymentRetentionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectDeploymentRetentionResult>;
64
+ /**
65
+ * A collection of arguments for invoking getProjectDeploymentRetention.
66
+ */
67
+ export interface GetProjectDeploymentRetentionOutputArgs {
68
+ /**
69
+ * The ID of the Project for the retention policy
70
+ */
71
+ projectId: pulumi.Input<string>;
72
+ /**
73
+ * The ID of the Vercel team.
74
+ */
75
+ teamId?: pulumi.Input<string>;
76
+ }
@@ -0,0 +1,38 @@
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.getProjectDeploymentRetentionOutput = exports.getProjectDeploymentRetention = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Project Deployment Retention datasource.
10
+ *
11
+ * A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
12
+ *
13
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
14
+ */
15
+ function getProjectDeploymentRetention(args, opts) {
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invoke("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
18
+ "projectId": args.projectId,
19
+ "teamId": args.teamId,
20
+ }, opts);
21
+ }
22
+ exports.getProjectDeploymentRetention = getProjectDeploymentRetention;
23
+ /**
24
+ * Provides a Project Deployment Retention datasource.
25
+ *
26
+ * A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
27
+ *
28
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
29
+ */
30
+ function getProjectDeploymentRetentionOutput(args, opts) {
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invokeOutput("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
33
+ "projectId": args.projectId,
34
+ "teamId": args.teamId,
35
+ }, opts);
36
+ }
37
+ exports.getProjectDeploymentRetentionOutput = getProjectDeploymentRetentionOutput;
38
+ //# sourceMappingURL=getProjectDeploymentRetention.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProjectDeploymentRetention.js","sourceRoot":"","sources":["../getProjectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AAiDD;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC"}
@@ -13,7 +13,10 @@ function getProjectDirectory(args, opts) {
13
13
  }
14
14
  exports.getProjectDirectory = getProjectDirectory;
15
15
  function getProjectDirectoryOutput(args, opts) {
16
- return pulumi.output(args).apply((a) => getProjectDirectory(a, opts));
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
+ return pulumi.runtime.invokeOutput("vercel:index/getProjectDirectory:getProjectDirectory", {
18
+ "path": args.path,
19
+ }, opts);
17
20
  }
18
21
  exports.getProjectDirectoryOutput = getProjectDirectoryOutput;
19
22
  //# sourceMappingURL=getProjectDirectory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getProjectDirectory.js","sourceRoot":"","sources":["../getProjectDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAuBD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getProjectDirectory.js","sourceRoot":"","sources":["../getProjectDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAuBD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
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
+ *
3
5
  * Provides information about a Project's Function CPU setting.
4
6
  *
5
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.
@@ -54,6 +56,8 @@ export interface GetProjectFunctionCpuResult {
54
56
  readonly teamId: string;
55
57
  }
56
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
+ *
57
61
  * Provides information about a Project's Function CPU setting.
58
62
  *
59
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.
@@ -6,6 +6,8 @@ exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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
+ *
9
11
  * Provides information about a Project's Function CPU setting.
10
12
  *
11
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.
@@ -33,6 +35,8 @@ function getProjectFunctionCpu(args, opts) {
33
35
  }
34
36
  exports.getProjectFunctionCpu = getProjectFunctionCpu;
35
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
+ *
36
40
  * Provides information about a Project's Function CPU setting.
37
41
  *
38
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.
@@ -52,7 +56,11 @@ exports.getProjectFunctionCpu = getProjectFunctionCpu;
52
56
  * ```
53
57
  */
54
58
  function getProjectFunctionCpuOutput(args, opts) {
55
- return pulumi.output(args).apply((a) => getProjectFunctionCpu(a, 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);
56
64
  }
57
65
  exports.getProjectFunctionCpuOutput = getProjectFunctionCpuOutput;
58
66
  //# sourceMappingURL=getProjectFunctionCpu.js.map
@@ -1 +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"}
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"}
@@ -67,7 +67,14 @@ exports.getSharedEnvironmentVariable = getSharedEnvironmentVariable;
67
67
  * ```
68
68
  */
69
69
  function getSharedEnvironmentVariableOutput(args, opts) {
70
- return pulumi.output(args).apply((a) => getSharedEnvironmentVariable(a, opts));
70
+ args = args || {};
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
72
+ return pulumi.runtime.invokeOutput("vercel:index/getSharedEnvironmentVariable:getSharedEnvironmentVariable", {
73
+ "id": args.id,
74
+ "key": args.key,
75
+ "targets": args.targets,
76
+ "teamId": args.teamId,
77
+ }, opts);
71
78
  }
72
79
  exports.getSharedEnvironmentVariableOutput = getSharedEnvironmentVariableOutput;
73
80
  //# sourceMappingURL=getSharedEnvironmentVariable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSharedEnvironmentVariable.js","sourceRoot":"","sources":["../getSharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oEAUC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
1
+ {"version":3,"file":"getSharedEnvironmentVariable.js","sourceRoot":"","sources":["../getSharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oEASC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gFASC"}
package/index.d.ts CHANGED
@@ -52,6 +52,9 @@ export declare const getPrebuiltProjectOutput: typeof import("./getPrebuiltProje
52
52
  export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
53
53
  export declare const getProject: typeof import("./getProject").getProject;
54
54
  export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
55
+ export { GetProjectDeploymentRetentionArgs, GetProjectDeploymentRetentionResult, GetProjectDeploymentRetentionOutputArgs } from "./getProjectDeploymentRetention";
56
+ export declare const getProjectDeploymentRetention: typeof import("./getProjectDeploymentRetention").getProjectDeploymentRetention;
57
+ export declare const getProjectDeploymentRetentionOutput: typeof import("./getProjectDeploymentRetention").getProjectDeploymentRetentionOutput;
55
58
  export { GetProjectDirectoryArgs, GetProjectDirectoryResult, GetProjectDirectoryOutputArgs } from "./getProjectDirectory";
56
59
  export declare const getProjectDirectory: typeof import("./getProjectDirectory").getProjectDirectory;
57
60
  export declare const getProjectDirectoryOutput: typeof import("./getProjectDirectory").getProjectDirectoryOutput;
@@ -67,6 +70,9 @@ export declare const LogDrain: typeof import("./logDrain").LogDrain;
67
70
  export { ProjectArgs, ProjectState } from "./project";
68
71
  export type Project = import("./project").Project;
69
72
  export declare const Project: typeof import("./project").Project;
73
+ export { ProjectDeploymentRetentionArgs, ProjectDeploymentRetentionState } from "./projectDeploymentRetention";
74
+ export type ProjectDeploymentRetention = import("./projectDeploymentRetention").ProjectDeploymentRetention;
75
+ export declare const ProjectDeploymentRetention: typeof import("./projectDeploymentRetention").ProjectDeploymentRetention;
70
76
  export { ProjectDomainArgs, ProjectDomainState } from "./projectDomain";
71
77
  export type ProjectDomain = import("./projectDomain").ProjectDomain;
72
78
  export declare const ProjectDomain: typeof import("./projectDomain").ProjectDomain;