@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/getLogDrain.js CHANGED
@@ -5,24 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getLogDrainOutput = exports.getLogDrain = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * Provides information about an existing Log Drain.
10
- *
11
- * Log Drains collect all of your logs using a service specializing in storing app logs.
12
- *
13
- * Teams on Pro and Enterprise plans can subscribe to log drains that are generic and configurable from the Vercel dashboard without creating an integration. This allows you to use a HTTP service to receive logs through Vercel's log drains.
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as vercel from "@pulumi/vercel";
20
- *
21
- * const example = vercel.getLogDrain({
22
- * id: "lg_xxxxxxx_xxxxxx_xxxxx",
23
- * });
24
- * ```
25
- */
26
8
  function getLogDrain(args, opts) {
27
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
10
  return pulumi.runtime.invoke("vercel:index/getLogDrain:getLogDrain", {
@@ -32,24 +14,6 @@ function getLogDrain(args, opts) {
32
14
  }, opts);
33
15
  }
34
16
  exports.getLogDrain = getLogDrain;
35
- /**
36
- * Provides information about an existing Log Drain.
37
- *
38
- * Log Drains collect all of your logs using a service specializing in storing app logs.
39
- *
40
- * Teams on Pro and Enterprise plans can subscribe to log drains that are generic and configurable from the Vercel dashboard without creating an integration. This allows you to use a HTTP service to receive logs through Vercel's log drains.
41
- *
42
- * ## Example Usage
43
- *
44
- * ```typescript
45
- * import * as pulumi from "@pulumi/pulumi";
46
- * import * as vercel from "@pulumi/vercel";
47
- *
48
- * const example = vercel.getLogDrain({
49
- * id: "lg_xxxxxxx_xxxxxx_xxxxx",
50
- * });
51
- * ```
52
- */
53
17
  function getLogDrainOutput(args, opts) {
54
18
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
19
  return pulumi.runtime.invokeOutput("vercel:index/getLogDrain:getLogDrain", {
@@ -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;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"}
1
+ {"version":3,"file":"getLogDrain.js","sourceRoot":"","sources":["../getLogDrain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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;AAyBD,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"}
@@ -10,13 +10,7 @@ export interface GetPrebuiltProjectArgs {
10
10
  * A collection of values returned by getPrebuiltProject.
11
11
  */
12
12
  export interface GetPrebuiltProjectResult {
13
- /**
14
- * The ID of this resource.
15
- */
16
13
  readonly id: string;
17
- /**
18
- * A map of output file to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
19
- */
20
14
  readonly output: {
21
15
  [key: string]: string;
22
16
  };
@@ -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;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAA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AAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
package/getProject.d.ts CHANGED
@@ -1,201 +1,56 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
- /**
4
- * Provides information about an existing project within Vercel.
5
- *
6
- * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
7
- *
8
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
9
- *
10
- * ## Example Usage
11
- *
12
- * ```typescript
13
- * import * as pulumi from "@pulumi/pulumi";
14
- * import * as vercel from "@pulumi/vercel";
15
- *
16
- * const foo = vercel.getProject({
17
- * name: "my-existing-project",
18
- * });
19
- * export const projectId = foo.then(foo => foo.id);
20
- * ```
21
- */
22
3
  export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
23
4
  /**
24
5
  * A collection of arguments for invoking getProject.
25
6
  */
26
7
  export interface GetProjectArgs {
27
- /**
28
- * The name of the project.
29
- */
30
8
  name: string;
31
- /**
32
- * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
33
- */
34
9
  teamId?: string;
35
10
  }
36
11
  /**
37
12
  * A collection of values returned by getProject.
38
13
  */
39
14
  export interface GetProjectResult {
40
- /**
41
- * Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
42
- */
43
15
  readonly autoAssignCustomDomains: boolean;
44
- /**
45
- * Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
46
- */
47
16
  readonly automaticallyExposeSystemEnvironmentVariables: boolean;
48
- /**
49
- * The build command for this project. If omitted, this value will be automatically detected.
50
- */
51
17
  readonly buildCommand: string;
52
- /**
53
- * Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
54
- */
55
18
  readonly customerSuccessCodeVisibility: boolean;
56
- /**
57
- * The dev command for this project. If omitted, this value will be automatically detected.
58
- */
59
19
  readonly devCommand: string;
60
- /**
61
- * If no index file is present within a directory, the directory contents will be displayed.
62
- */
63
20
  readonly directoryListing: boolean;
64
- /**
65
- * A list of environment variables that should be configured for the project.
66
- */
67
21
  readonly environments: outputs.GetProjectEnvironment[];
68
- /**
69
- * The framework that is being used for this project. If omitted, no framework is selected.
70
- */
71
22
  readonly framework: string;
72
- /**
73
- * Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
74
- */
75
23
  readonly functionFailover: boolean;
76
- /**
77
- * Configuration for Git Comments.
78
- */
79
24
  readonly gitComments: outputs.GetProjectGitComments;
80
- /**
81
- * Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json.
82
- */
83
25
  readonly gitForkProtection: boolean;
84
- /**
85
- * Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
86
- */
87
26
  readonly gitLfs: boolean;
88
- /**
89
- * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
90
- */
91
27
  readonly gitRepository: outputs.GetProjectGitRepository;
92
- /**
93
- * The ID of this resource.
94
- */
95
28
  readonly id: string;
96
- /**
97
- * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
98
- */
99
29
  readonly ignoreCommand: string;
100
- /**
101
- * The install command for this project. If omitted, this value will be automatically detected.
102
- */
103
30
  readonly installCommand: string;
104
- /**
105
- * The name of the project.
106
- */
107
31
  readonly name: string;
108
- /**
109
- * Configuration for OpenID Connect (OIDC) tokens.
110
- */
111
32
  readonly oidcTokenConfig: outputs.GetProjectOidcTokenConfig;
112
- /**
113
- * Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
114
- */
115
33
  readonly optionsAllowlist: outputs.GetProjectOptionsAllowlist;
116
- /**
117
- * The output directory of the project. When null is used this value will be automatically detected.
118
- */
119
34
  readonly outputDirectory: string;
120
- /**
121
- * Ensures visitors of your Preview Deployments must enter a password in order to gain access.
122
- */
123
35
  readonly passwordProtection: outputs.GetProjectPasswordProtection;
124
- /**
125
- * Whether comments are enabled on your Preview Deployments.
126
- */
127
36
  readonly previewComments: boolean;
128
- /**
129
- * If enabled, builds for the Production environment will be prioritized over Preview environments.
130
- */
131
37
  readonly prioritiseProductionBuilds: boolean;
132
- /**
133
- * Allows automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass`.
134
- */
135
38
  readonly protectionBypassForAutomation: boolean;
136
- /**
137
- * Specifies whether the source code and logs of the deployments for this project should be public or not.
138
- */
39
+ readonly protectionBypassForAutomationSecret: string;
139
40
  readonly publicSource: boolean;
140
- /**
141
- * Resource Configuration for the project.
142
- */
143
41
  readonly resourceConfig: outputs.GetProjectResourceConfig;
144
- /**
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.
146
- */
147
42
  readonly rootDirectory: string;
148
- /**
149
- * The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
150
- */
151
43
  readonly serverlessFunctionRegion: string;
152
- /**
153
- * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
154
- */
155
44
  readonly skewProtection: string;
156
- /**
157
- * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
158
- */
159
45
  readonly teamId: string;
160
- /**
161
- * Ensures only visitors from an allowed IP address can access your deployment.
162
- */
163
46
  readonly trustedIps: outputs.GetProjectTrustedIps;
164
- /**
165
- * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
166
- */
167
47
  readonly vercelAuthentication: outputs.GetProjectVercelAuthentication;
168
48
  }
169
- /**
170
- * Provides information about an existing project within Vercel.
171
- *
172
- * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
173
- *
174
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
175
- *
176
- * ## Example Usage
177
- *
178
- * ```typescript
179
- * import * as pulumi from "@pulumi/pulumi";
180
- * import * as vercel from "@pulumi/vercel";
181
- *
182
- * const foo = vercel.getProject({
183
- * name: "my-existing-project",
184
- * });
185
- * export const projectId = foo.then(foo => foo.id);
186
- * ```
187
- */
188
49
  export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
189
50
  /**
190
51
  * A collection of arguments for invoking getProject.
191
52
  */
192
53
  export interface GetProjectOutputArgs {
193
- /**
194
- * The name of the project.
195
- */
196
54
  name: pulumi.Input<string>;
197
- /**
198
- * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
199
- */
200
55
  teamId?: pulumi.Input<string>;
201
56
  }
package/getProject.js CHANGED
@@ -5,25 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getProjectOutput = exports.getProject = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * Provides information about an existing project within Vercel.
10
- *
11
- * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
12
- *
13
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as vercel from "@pulumi/vercel";
20
- *
21
- * const foo = vercel.getProject({
22
- * name: "my-existing-project",
23
- * });
24
- * export const projectId = foo.then(foo => foo.id);
25
- * ```
26
- */
27
8
  function getProject(args, opts) {
28
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
10
  return pulumi.runtime.invoke("vercel:index/getProject:getProject", {
@@ -32,25 +13,6 @@ function getProject(args, opts) {
32
13
  }, opts);
33
14
  }
34
15
  exports.getProject = getProject;
35
- /**
36
- * Provides information about an existing project within Vercel.
37
- *
38
- * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
39
- *
40
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
41
- *
42
- * ## Example Usage
43
- *
44
- * ```typescript
45
- * import * as pulumi from "@pulumi/pulumi";
46
- * import * as vercel from "@pulumi/vercel";
47
- *
48
- * const foo = vercel.getProject({
49
- * name: "my-existing-project",
50
- * });
51
- * export const projectId = foo.then(foo => foo.id);
52
- * ```
53
- */
54
16
  function getProjectOutput(args, opts) {
55
17
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
18
  return pulumi.runtime.invokeOutput("vercel:index/getProject:getProject", {
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;IACxE,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;AAND,gCAMC;A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/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
2
  export declare function getProjectDeploymentRetention(args: GetProjectDeploymentRetentionArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectDeploymentRetentionResult>;
10
3
  /**
11
4
  * A collection of arguments for invoking getProjectDeploymentRetention.
12
5
  */
13
6
  export interface GetProjectDeploymentRetentionArgs {
14
- /**
15
- * The ID of the Project for the retention policy
16
- */
17
7
  projectId: string;
18
- /**
19
- * The ID of the Vercel team.
20
- */
21
8
  teamId?: string;
22
9
  }
23
10
  /**
24
11
  * A collection of values returned by getProjectDeploymentRetention.
25
12
  */
26
13
  export interface GetProjectDeploymentRetentionResult {
27
- /**
28
- * The retention period for canceled deployments.
29
- */
30
14
  readonly expirationCanceled: string;
31
- /**
32
- * The retention period for errored deployments.
33
- */
34
15
  readonly expirationErrored: string;
35
- /**
36
- * The retention period for preview deployments.
37
- */
38
16
  readonly expirationPreview: string;
39
- /**
40
- * The retention period for production deployments.
41
- */
42
17
  readonly expirationProduction: string;
43
- /**
44
- * The ID of this resource.
45
- */
46
18
  readonly id: string;
47
- /**
48
- * The ID of the Project for the retention policy
49
- */
50
19
  readonly projectId: string;
51
- /**
52
- * The ID of the Vercel team.
53
- */
54
20
  readonly teamId: string;
55
21
  }
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
22
  export declare function getProjectDeploymentRetentionOutput(args: GetProjectDeploymentRetentionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectDeploymentRetentionResult>;
64
23
  /**
65
24
  * A collection of arguments for invoking getProjectDeploymentRetention.
66
25
  */
67
26
  export interface GetProjectDeploymentRetentionOutputArgs {
68
- /**
69
- * The ID of the Project for the retention policy
70
- */
71
27
  projectId: pulumi.Input<string>;
72
- /**
73
- * The ID of the Vercel team.
74
- */
75
28
  teamId?: pulumi.Input<string>;
76
29
  }
@@ -5,13 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getProjectDeploymentRetentionOutput = exports.getProjectDeploymentRetention = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
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
8
  function getProjectDeploymentRetention(args, opts) {
16
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
17
10
  return pulumi.runtime.invoke("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
@@ -20,13 +13,6 @@ function getProjectDeploymentRetention(args, opts) {
20
13
  }, opts);
21
14
  }
22
15
  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
16
  function getProjectDeploymentRetentionOutput(args, opts) {
31
17
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
18
  return pulumi.runtime.invokeOutput("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
@@ -1 +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,EA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,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"}
@@ -10,15 +10,9 @@ export interface GetProjectDirectoryArgs {
10
10
  * A collection of values returned by getProjectDirectory.
11
11
  */
12
12
  export interface GetProjectDirectoryResult {
13
- /**
14
- * A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
15
- */
16
13
  readonly files: {
17
14
  [key: string]: string;
18
15
  };
19
- /**
20
- * The ID of this resource.
21
- */
22
16
  readonly id: string;
23
17
  readonly path: string;
24
18
  }
@@ -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;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
+ {"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;AAiBD,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"}
@@ -0,0 +1,30 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getProjectMembers(args: GetProjectMembersArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectMembersResult>;
4
+ /**
5
+ * A collection of arguments for invoking getProjectMembers.
6
+ */
7
+ export interface GetProjectMembersArgs {
8
+ projectId: string;
9
+ teamId?: string;
10
+ }
11
+ /**
12
+ * A collection of values returned by getProjectMembers.
13
+ */
14
+ export interface GetProjectMembersResult {
15
+ /**
16
+ * The provider-assigned unique ID for this managed resource.
17
+ */
18
+ readonly id: string;
19
+ readonly members: outputs.GetProjectMembersMember[];
20
+ readonly projectId: string;
21
+ readonly teamId?: string;
22
+ }
23
+ export declare function getProjectMembersOutput(args: GetProjectMembersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectMembersResult>;
24
+ /**
25
+ * A collection of arguments for invoking getProjectMembers.
26
+ */
27
+ export interface GetProjectMembersOutputArgs {
28
+ projectId: pulumi.Input<string>;
29
+ teamId?: pulumi.Input<string>;
30
+ }
@@ -0,0 +1,24 @@
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.getProjectMembersOutput = exports.getProjectMembers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getProjectMembers(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("vercel:index/getProjectMembers:getProjectMembers", {
11
+ "projectId": args.projectId,
12
+ "teamId": args.teamId,
13
+ }, opts);
14
+ }
15
+ exports.getProjectMembers = getProjectMembers;
16
+ function getProjectMembersOutput(args, opts) {
17
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
18
+ return pulumi.runtime.invokeOutput("vercel:index/getProjectMembers:getProjectMembers", {
19
+ "projectId": args.projectId,
20
+ "teamId": args.teamId,
21
+ }, opts);
22
+ }
23
+ exports.getProjectMembersOutput = getProjectMembersOutput;
24
+ //# sourceMappingURL=getProjectMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProjectMembers.js","sourceRoot":"","sources":["../getProjectMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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,MAAM,CAAC,kDAAkD,EAAE;QAC7E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAsBD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
@@ -1,128 +1,34 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides information about an existing Shared Environment Variable within Vercel.
4
- *
5
- * A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
6
- *
7
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumi/vercel";
14
- *
15
- * const example = vercel.getSharedEnvironmentVariable({
16
- * id: "xxxxxxxxxxxxxxx",
17
- * });
18
- * const exampleByKeyAndTarget = vercel.getSharedEnvironmentVariable({
19
- * key: "MY_ENV_VAR",
20
- * targets: [
21
- * "production",
22
- * "preview",
23
- * ],
24
- * });
25
- * ```
26
- */
27
2
  export declare function getSharedEnvironmentVariable(args?: GetSharedEnvironmentVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetSharedEnvironmentVariableResult>;
28
3
  /**
29
4
  * A collection of arguments for invoking getSharedEnvironmentVariable.
30
5
  */
31
6
  export interface GetSharedEnvironmentVariableArgs {
32
- /**
33
- * The ID of the Environment Variable.
34
- */
35
7
  id?: string;
36
- /**
37
- * The name of the Environment Variable.
38
- */
39
8
  key?: string;
40
- /**
41
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
42
- */
43
9
  targets?: string[];
44
- /**
45
- * The ID of the Vercel team. Shared environment variables require a team.
46
- */
47
10
  teamId?: string;
48
11
  }
49
12
  /**
50
13
  * A collection of values returned by getSharedEnvironmentVariable.
51
14
  */
52
15
  export interface GetSharedEnvironmentVariableResult {
53
- /**
54
- * The ID of the Environment Variable.
55
- */
16
+ readonly comment: string;
56
17
  readonly id: string;
57
- /**
58
- * The name of the Environment Variable.
59
- */
60
18
  readonly key: string;
61
- /**
62
- * The ID of the Vercel project.
63
- */
64
19
  readonly projectIds: string[];
65
- /**
66
- * Whether the Environment Variable is sensitive or not.
67
- */
68
20
  readonly sensitive: boolean;
69
- /**
70
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
71
- */
72
21
  readonly targets: string[];
73
- /**
74
- * The ID of the Vercel team. Shared environment variables require a team.
75
- */
76
22
  readonly teamId: string;
77
- /**
78
- * The value of the Environment Variable.
79
- */
80
23
  readonly value: string;
81
24
  }
82
- /**
83
- * Provides information about an existing Shared Environment Variable within Vercel.
84
- *
85
- * A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
86
- *
87
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
88
- *
89
- * ## Example Usage
90
- *
91
- * ```typescript
92
- * import * as pulumi from "@pulumi/pulumi";
93
- * import * as vercel from "@pulumi/vercel";
94
- *
95
- * const example = vercel.getSharedEnvironmentVariable({
96
- * id: "xxxxxxxxxxxxxxx",
97
- * });
98
- * const exampleByKeyAndTarget = vercel.getSharedEnvironmentVariable({
99
- * key: "MY_ENV_VAR",
100
- * targets: [
101
- * "production",
102
- * "preview",
103
- * ],
104
- * });
105
- * ```
106
- */
107
25
  export declare function getSharedEnvironmentVariableOutput(args?: GetSharedEnvironmentVariableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSharedEnvironmentVariableResult>;
108
26
  /**
109
27
  * A collection of arguments for invoking getSharedEnvironmentVariable.
110
28
  */
111
29
  export interface GetSharedEnvironmentVariableOutputArgs {
112
- /**
113
- * The ID of the Environment Variable.
114
- */
115
30
  id?: pulumi.Input<string>;
116
- /**
117
- * The name of the Environment Variable.
118
- */
119
31
  key?: pulumi.Input<string>;
120
- /**
121
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
122
- */
123
32
  targets?: pulumi.Input<pulumi.Input<string>[]>;
124
- /**
125
- * The ID of the Vercel team. Shared environment variables require a team.
126
- */
127
33
  teamId?: pulumi.Input<string>;
128
34
  }