@pulumiverse/vercel 1.15.0 → 2.9.0-alpha.1747136220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessGroup.d.ts +35 -6
- package/accessGroup.js +32 -0
- package/accessGroup.js.map +1 -1
- package/accessGroupProject.d.ts +41 -6
- package/accessGroupProject.js +38 -0
- package/accessGroupProject.js.map +1 -1
- package/alias.d.ts +8 -6
- package/alias.js +5 -0
- package/alias.js.map +1 -1
- package/attackChallengeMode.d.ts +33 -6
- package/attackChallengeMode.js +30 -0
- package/attackChallengeMode.js.map +1 -1
- package/customEnvironment.d.ts +55 -6
- package/customEnvironment.js +52 -0
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +17 -34
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +127 -30
- package/dnsRecord.js +97 -0
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +54 -6
- package/edgeConfig.js +51 -0
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +50 -6
- package/edgeConfigItem.js +47 -0
- package/edgeConfigItem.js.map +1 -1
- package/edgeConfigSchema.d.ts +28 -6
- package/edgeConfigSchema.js +25 -0
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +62 -10
- package/edgeConfigToken.js +57 -0
- package/edgeConfigToken.js.map +1 -1
- package/firewallConfig.d.ts +9 -0
- package/firewallConfig.js +9 -0
- package/firewallConfig.js.map +1 -1
- package/getAccessGroup.d.ts +53 -0
- package/getAccessGroup.js +32 -0
- package/getAccessGroup.js.map +1 -1
- package/getAccessGroupProject.d.ts +70 -0
- package/getAccessGroupProject.js +40 -0
- package/getAccessGroupProject.js.map +1 -1
- package/getAlias.d.ts +34 -0
- package/getAlias.js +10 -0
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.d.ts +56 -0
- package/getAttackChallengeMode.js +32 -0
- package/getAttackChallengeMode.js.map +1 -1
- package/getCustomEnvironment.d.ts +76 -0
- package/getCustomEnvironment.js +40 -0
- package/getCustomEnvironment.js.map +1 -1
- package/getDeployment.d.ts +65 -0
- package/getDeployment.js +32 -0
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.d.ts +53 -0
- package/getEdgeConfig.js +32 -0
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigItem.d.ts +74 -0
- package/getEdgeConfigItem.js +44 -0
- package/getEdgeConfigItem.js.map +1 -1
- package/getEdgeConfigSchema.d.ts +49 -0
- package/getEdgeConfigSchema.js +28 -0
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.d.ts +74 -0
- package/getEdgeConfigToken.js +38 -0
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.d.ts +39 -0
- package/getEndpointVerification.js +24 -0
- package/getEndpointVerification.js.map +1 -1
- package/getFile.d.ts +54 -0
- package/getFile.js +48 -0
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +81 -0
- package/getLogDrain.js +36 -0
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.d.ts +6 -0
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +147 -0
- package/getProject.js +36 -0
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +47 -0
- package/getProjectDeploymentRetention.js +14 -0
- package/getProjectDeploymentRetention.js.map +1 -1
- package/getProjectDirectory.d.ts +6 -0
- package/getProjectDirectory.js.map +1 -1
- package/getProjectMembers.d.ts +55 -0
- package/getProjectMembers.js +34 -0
- package/getProjectMembers.js.map +1 -1
- package/getSharedEnvironmentVariable.d.ts +98 -0
- package/getSharedEnvironmentVariable.js +50 -0
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +76 -0
- package/getTeamConfig.js +28 -0
- package/getTeamConfig.js.map +1 -1
- package/getTeamMember.d.ts +60 -0
- package/getTeamMember.js +30 -0
- package/getTeamMember.js.map +1 -1
- package/logDrain.d.ts +74 -42
- package/logDrain.js +56 -0
- package/logDrain.js.map +1 -1
- package/package.json +3 -2
- package/project.d.ts +90 -108
- package/project.js +45 -0
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +51 -0
- package/projectDeploymentRetention.js +51 -0
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +58 -12
- package/projectDomain.js +52 -0
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +91 -18
- package/projectEnvironmentVariable.js +82 -0
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +3 -0
- package/projectEnvironmentVariables.js +3 -0
- package/projectEnvironmentVariables.js.map +1 -1
- package/projectMembers.d.ts +26 -6
- package/projectMembers.js +23 -0
- package/projectMembers.js.map +1 -1
- package/sharedEnvironmentVariable.d.ts +50 -12
- package/sharedEnvironmentVariable.js +44 -0
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +6 -6
- package/teamConfig.js +3 -0
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +33 -18
- package/teamMember.js +24 -0
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +3 -3
- package/webhook.d.ts +43 -18
- package/webhook.js +35 -0
- package/webhook.js.map +1 -1
- package/package.json.bak +0 -27
package/getProject.js
CHANGED
|
@@ -5,6 +5,24 @@ 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 example = vercel.getProject({
|
|
22
|
+
* name: "my-existing-project",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
8
26
|
function getProject(args, opts) {
|
|
9
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
28
|
return pulumi.runtime.invoke("vercel:index/getProject:getProject", {
|
|
@@ -13,6 +31,24 @@ function getProject(args, opts) {
|
|
|
13
31
|
}, opts);
|
|
14
32
|
}
|
|
15
33
|
exports.getProject = getProject;
|
|
34
|
+
/**
|
|
35
|
+
* Provides information about an existing project within Vercel.
|
|
36
|
+
*
|
|
37
|
+
* A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
|
|
38
|
+
*
|
|
39
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as vercel from "@pulumi/vercel";
|
|
46
|
+
*
|
|
47
|
+
* const example = vercel.getProject({
|
|
48
|
+
* name: "my-existing-project",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
16
52
|
function getProjectOutput(args, opts) {
|
|
17
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
54
|
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,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;
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;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;AAyJD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
|
@@ -1,29 +1,76 @@
|
|
|
1
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
|
+
*/
|
|
2
9
|
export declare function getProjectDeploymentRetention(args: GetProjectDeploymentRetentionArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectDeploymentRetentionResult>;
|
|
3
10
|
/**
|
|
4
11
|
* A collection of arguments for invoking getProjectDeploymentRetention.
|
|
5
12
|
*/
|
|
6
13
|
export interface GetProjectDeploymentRetentionArgs {
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the Project for the retention policy
|
|
16
|
+
*/
|
|
7
17
|
projectId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the Vercel team.
|
|
20
|
+
*/
|
|
8
21
|
teamId?: string;
|
|
9
22
|
}
|
|
10
23
|
/**
|
|
11
24
|
* A collection of values returned by getProjectDeploymentRetention.
|
|
12
25
|
*/
|
|
13
26
|
export interface GetProjectDeploymentRetentionResult {
|
|
27
|
+
/**
|
|
28
|
+
* The retention period for canceled deployments.
|
|
29
|
+
*/
|
|
14
30
|
readonly expirationCanceled: string;
|
|
31
|
+
/**
|
|
32
|
+
* The retention period for errored deployments.
|
|
33
|
+
*/
|
|
15
34
|
readonly expirationErrored: string;
|
|
35
|
+
/**
|
|
36
|
+
* The retention period for preview deployments.
|
|
37
|
+
*/
|
|
16
38
|
readonly expirationPreview: string;
|
|
39
|
+
/**
|
|
40
|
+
* The retention period for production deployments.
|
|
41
|
+
*/
|
|
17
42
|
readonly expirationProduction: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of this resource.
|
|
45
|
+
*/
|
|
18
46
|
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the Project for the retention policy
|
|
49
|
+
*/
|
|
19
50
|
readonly projectId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the Vercel team.
|
|
53
|
+
*/
|
|
20
54
|
readonly teamId: string;
|
|
21
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
|
+
*/
|
|
22
63
|
export declare function getProjectDeploymentRetentionOutput(args: GetProjectDeploymentRetentionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectDeploymentRetentionResult>;
|
|
23
64
|
/**
|
|
24
65
|
* A collection of arguments for invoking getProjectDeploymentRetention.
|
|
25
66
|
*/
|
|
26
67
|
export interface GetProjectDeploymentRetentionOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the Project for the retention policy
|
|
70
|
+
*/
|
|
27
71
|
projectId: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the Vercel team.
|
|
74
|
+
*/
|
|
28
75
|
teamId?: pulumi.Input<string>;
|
|
29
76
|
}
|
|
@@ -5,6 +5,13 @@ 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
|
+
*/
|
|
8
15
|
function getProjectDeploymentRetention(args, opts) {
|
|
9
16
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
17
|
return pulumi.runtime.invoke("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
|
|
@@ -13,6 +20,13 @@ function getProjectDeploymentRetention(args, opts) {
|
|
|
13
20
|
}, opts);
|
|
14
21
|
}
|
|
15
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
|
+
*/
|
|
16
30
|
function getProjectDeploymentRetentionOutput(args, opts) {
|
|
17
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
32
|
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,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;
|
|
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"}
|
package/getProjectDirectory.d.ts
CHANGED
|
@@ -10,9 +10,15 @@ 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
|
+
*/
|
|
13
16
|
readonly files: {
|
|
14
17
|
[key: string]: string;
|
|
15
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* The ID of this resource.
|
|
21
|
+
*/
|
|
16
22
|
readonly id: string;
|
|
17
23
|
readonly path: string;
|
|
18
24
|
}
|
|
@@ -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;
|
|
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"}
|
package/getProjectMembers.d.ts
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves members and their roles for a Vercel Project.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as vercel from "@pulumi/vercel";
|
|
11
|
+
*
|
|
12
|
+
* const exampleProject = vercel.getProject({
|
|
13
|
+
* name: "example-with-members",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleProjectMembers = exampleProject.then(exampleProject => vercel.getProjectMembers({
|
|
16
|
+
* projectId: exampleProject.id,
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
3
20
|
export declare function getProjectMembers(args: GetProjectMembersArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectMembersResult>;
|
|
4
21
|
/**
|
|
5
22
|
* A collection of arguments for invoking getProjectMembers.
|
|
6
23
|
*/
|
|
7
24
|
export interface GetProjectMembersArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the Vercel Project.
|
|
27
|
+
*/
|
|
8
28
|
projectId: string;
|
|
29
|
+
/**
|
|
30
|
+
* The team ID to which the project belongs. Required when accessing a team project if a default team has not been set in the provider.
|
|
31
|
+
*/
|
|
9
32
|
teamId?: string;
|
|
10
33
|
}
|
|
11
34
|
/**
|
|
@@ -16,15 +39,47 @@ export interface GetProjectMembersResult {
|
|
|
16
39
|
* The provider-assigned unique ID for this managed resource.
|
|
17
40
|
*/
|
|
18
41
|
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The set of members in this project.
|
|
44
|
+
*/
|
|
19
45
|
readonly members: outputs.GetProjectMembersMember[];
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the Vercel Project.
|
|
48
|
+
*/
|
|
20
49
|
readonly projectId: string;
|
|
50
|
+
/**
|
|
51
|
+
* The team ID to which the project belongs. Required when accessing a team project if a default team has not been set in the provider.
|
|
52
|
+
*/
|
|
21
53
|
readonly teamId?: string;
|
|
22
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves members and their roles for a Vercel Project.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as vercel from "@pulumi/vercel";
|
|
63
|
+
*
|
|
64
|
+
* const exampleProject = vercel.getProject({
|
|
65
|
+
* name: "example-with-members",
|
|
66
|
+
* });
|
|
67
|
+
* const exampleProjectMembers = exampleProject.then(exampleProject => vercel.getProjectMembers({
|
|
68
|
+
* projectId: exampleProject.id,
|
|
69
|
+
* }));
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
23
72
|
export declare function getProjectMembersOutput(args: GetProjectMembersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectMembersResult>;
|
|
24
73
|
/**
|
|
25
74
|
* A collection of arguments for invoking getProjectMembers.
|
|
26
75
|
*/
|
|
27
76
|
export interface GetProjectMembersOutputArgs {
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the Vercel Project.
|
|
79
|
+
*/
|
|
28
80
|
projectId: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The team ID to which the project belongs. Required when accessing a team project if a default team has not been set in the provider.
|
|
83
|
+
*/
|
|
29
84
|
teamId?: pulumi.Input<string>;
|
|
30
85
|
}
|
package/getProjectMembers.js
CHANGED
|
@@ -5,6 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getProjectMembersOutput = exports.getProjectMembers = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves members and their roles for a Vercel Project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as vercel from "@pulumi/vercel";
|
|
16
|
+
*
|
|
17
|
+
* const exampleProject = vercel.getProject({
|
|
18
|
+
* name: "example-with-members",
|
|
19
|
+
* });
|
|
20
|
+
* const exampleProjectMembers = exampleProject.then(exampleProject => vercel.getProjectMembers({
|
|
21
|
+
* projectId: exampleProject.id,
|
|
22
|
+
* }));
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
8
25
|
function getProjectMembers(args, opts) {
|
|
9
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
27
|
return pulumi.runtime.invoke("vercel:index/getProjectMembers:getProjectMembers", {
|
|
@@ -13,6 +30,23 @@ function getProjectMembers(args, opts) {
|
|
|
13
30
|
}, opts);
|
|
14
31
|
}
|
|
15
32
|
exports.getProjectMembers = getProjectMembers;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves members and their roles for a Vercel Project.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as vercel from "@pulumi/vercel";
|
|
41
|
+
*
|
|
42
|
+
* const exampleProject = vercel.getProject({
|
|
43
|
+
* name: "example-with-members",
|
|
44
|
+
* });
|
|
45
|
+
* const exampleProjectMembers = exampleProject.then(exampleProject => vercel.getProjectMembers({
|
|
46
|
+
* projectId: exampleProject.id,
|
|
47
|
+
* }));
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
16
50
|
function getProjectMembersOutput(args, opts) {
|
|
17
51
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
52
|
return pulumi.runtime.invokeOutput("vercel:index/getProjectMembers:getProjectMembers", {
|
package/getProjectMembers.js.map
CHANGED
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"getProjectMembers.js","sourceRoot":"","sources":["../getProjectMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;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,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;AAqCD;;;;;;;;;;;;;;;;GAgBG;AACH,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,34 +1,132 @@
|
|
|
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
|
+
*/
|
|
2
27
|
export declare function getSharedEnvironmentVariable(args?: GetSharedEnvironmentVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetSharedEnvironmentVariableResult>;
|
|
3
28
|
/**
|
|
4
29
|
* A collection of arguments for invoking getSharedEnvironmentVariable.
|
|
5
30
|
*/
|
|
6
31
|
export interface GetSharedEnvironmentVariableArgs {
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the Environment Variable.
|
|
34
|
+
*/
|
|
7
35
|
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The name of the Environment Variable.
|
|
38
|
+
*/
|
|
8
39
|
key?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
42
|
+
*/
|
|
9
43
|
targets?: string[];
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Vercel team. Shared environment variables require a team.
|
|
46
|
+
*/
|
|
10
47
|
teamId?: string;
|
|
11
48
|
}
|
|
12
49
|
/**
|
|
13
50
|
* A collection of values returned by getSharedEnvironmentVariable.
|
|
14
51
|
*/
|
|
15
52
|
export interface GetSharedEnvironmentVariableResult {
|
|
53
|
+
/**
|
|
54
|
+
* A comment explaining what the environment variable is for.
|
|
55
|
+
*/
|
|
16
56
|
readonly comment: string;
|
|
57
|
+
/**
|
|
58
|
+
* The ID of the Environment Variable.
|
|
59
|
+
*/
|
|
17
60
|
readonly id: string;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the Environment Variable.
|
|
63
|
+
*/
|
|
18
64
|
readonly key: string;
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the Vercel project.
|
|
67
|
+
*/
|
|
19
68
|
readonly projectIds: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Whether the Environment Variable is sensitive or not.
|
|
71
|
+
*/
|
|
20
72
|
readonly sensitive: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
75
|
+
*/
|
|
21
76
|
readonly targets: string[];
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the Vercel team. Shared environment variables require a team.
|
|
79
|
+
*/
|
|
22
80
|
readonly teamId: string;
|
|
81
|
+
/**
|
|
82
|
+
* The value of the Environment Variable.
|
|
83
|
+
*/
|
|
23
84
|
readonly value: string;
|
|
24
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Provides information about an existing Shared Environment Variable within Vercel.
|
|
88
|
+
*
|
|
89
|
+
* A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
|
|
90
|
+
*
|
|
91
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
|
|
92
|
+
*
|
|
93
|
+
* ## Example Usage
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as vercel from "@pulumi/vercel";
|
|
98
|
+
*
|
|
99
|
+
* const example = vercel.getSharedEnvironmentVariable({
|
|
100
|
+
* id: "xxxxxxxxxxxxxxx",
|
|
101
|
+
* });
|
|
102
|
+
* const exampleByKeyAndTarget = vercel.getSharedEnvironmentVariable({
|
|
103
|
+
* key: "MY_ENV_VAR",
|
|
104
|
+
* targets: [
|
|
105
|
+
* "production",
|
|
106
|
+
* "preview",
|
|
107
|
+
* ],
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
25
111
|
export declare function getSharedEnvironmentVariableOutput(args?: GetSharedEnvironmentVariableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSharedEnvironmentVariableResult>;
|
|
26
112
|
/**
|
|
27
113
|
* A collection of arguments for invoking getSharedEnvironmentVariable.
|
|
28
114
|
*/
|
|
29
115
|
export interface GetSharedEnvironmentVariableOutputArgs {
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the Environment Variable.
|
|
118
|
+
*/
|
|
30
119
|
id?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The name of the Environment Variable.
|
|
122
|
+
*/
|
|
31
123
|
key?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
126
|
+
*/
|
|
32
127
|
targets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the Vercel team. Shared environment variables require a team.
|
|
130
|
+
*/
|
|
33
131
|
teamId?: pulumi.Input<string>;
|
|
34
132
|
}
|
|
@@ -5,6 +5,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getSharedEnvironmentVariableOutput = exports.getSharedEnvironmentVariable = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about an existing Shared Environment Variable within Vercel.
|
|
10
|
+
*
|
|
11
|
+
* A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
|
|
12
|
+
*
|
|
13
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
|
|
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.getSharedEnvironmentVariable({
|
|
22
|
+
* id: "xxxxxxxxxxxxxxx",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleByKeyAndTarget = vercel.getSharedEnvironmentVariable({
|
|
25
|
+
* key: "MY_ENV_VAR",
|
|
26
|
+
* targets: [
|
|
27
|
+
* "production",
|
|
28
|
+
* "preview",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
8
33
|
function getSharedEnvironmentVariable(args, opts) {
|
|
9
34
|
args = args || {};
|
|
10
35
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,6 +41,31 @@ function getSharedEnvironmentVariable(args, opts) {
|
|
|
16
41
|
}, opts);
|
|
17
42
|
}
|
|
18
43
|
exports.getSharedEnvironmentVariable = getSharedEnvironmentVariable;
|
|
44
|
+
/**
|
|
45
|
+
* Provides information about an existing Shared Environment Variable within Vercel.
|
|
46
|
+
*
|
|
47
|
+
* A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
|
|
48
|
+
*
|
|
49
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
|
|
50
|
+
*
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as vercel from "@pulumi/vercel";
|
|
56
|
+
*
|
|
57
|
+
* const example = vercel.getSharedEnvironmentVariable({
|
|
58
|
+
* id: "xxxxxxxxxxxxxxx",
|
|
59
|
+
* });
|
|
60
|
+
* const exampleByKeyAndTarget = vercel.getSharedEnvironmentVariable({
|
|
61
|
+
* key: "MY_ENV_VAR",
|
|
62
|
+
* targets: [
|
|
63
|
+
* "production",
|
|
64
|
+
* "preview",
|
|
65
|
+
* ],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
19
69
|
function getSharedEnvironmentVariableOutput(args, opts) {
|
|
20
70
|
args = args || {};
|
|
21
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSharedEnvironmentVariable.js","sourceRoot":"","sources":["../getSharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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;
|
|
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;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;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/getTeamConfig.d.ts
CHANGED
|
@@ -1,35 +1,111 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves the configuration of an existing Vercel Team.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as vercel from "@pulumi/vercel";
|
|
11
|
+
*
|
|
12
|
+
* const example = vercel.getTeamConfig({
|
|
13
|
+
* id: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
3
17
|
export declare function getTeamConfig(args: GetTeamConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamConfigResult>;
|
|
4
18
|
/**
|
|
5
19
|
* A collection of arguments for invoking getTeamConfig.
|
|
6
20
|
*/
|
|
7
21
|
export interface GetTeamConfigArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the existing Vercel Team.
|
|
24
|
+
*/
|
|
8
25
|
id: string;
|
|
9
26
|
}
|
|
10
27
|
/**
|
|
11
28
|
* A collection of values returned by getTeamConfig.
|
|
12
29
|
*/
|
|
13
30
|
export interface GetTeamConfigResult {
|
|
31
|
+
/**
|
|
32
|
+
* A description of the team.
|
|
33
|
+
*/
|
|
14
34
|
readonly description: string;
|
|
35
|
+
/**
|
|
36
|
+
* Hostname that'll be matched with emails on sign-up to automatically join the Team.
|
|
37
|
+
*/
|
|
15
38
|
readonly emailDomain: string;
|
|
39
|
+
/**
|
|
40
|
+
* Preview feedback configuration.
|
|
41
|
+
*/
|
|
16
42
|
readonly enablePreviewFeedback: string;
|
|
43
|
+
/**
|
|
44
|
+
* Production feedback configuration.
|
|
45
|
+
*/
|
|
17
46
|
readonly enableProductionFeedback: string;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if ip addresses should be accessible in o11y tooling.
|
|
49
|
+
*/
|
|
18
50
|
readonly hideIpAddresses: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates if ip addresses should be accessible in log drains.
|
|
53
|
+
*/
|
|
19
54
|
readonly hideIpAddressesInLogDrains: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the existing Vercel Team.
|
|
57
|
+
*/
|
|
20
58
|
readonly id: string;
|
|
59
|
+
/**
|
|
60
|
+
* A code that can be used to join this team. Only visible to Team owners.
|
|
61
|
+
*/
|
|
21
62
|
readonly inviteCode: string;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the team.
|
|
65
|
+
*/
|
|
22
66
|
readonly name: string;
|
|
67
|
+
/**
|
|
68
|
+
* The hostname that is used as the preview deployment suffix.
|
|
69
|
+
*/
|
|
23
70
|
readonly previewDeploymentSuffix: string;
|
|
71
|
+
/**
|
|
72
|
+
* Configuration for Remote Caching.
|
|
73
|
+
*/
|
|
24
74
|
readonly remoteCaching: outputs.GetTeamConfigRemoteCaching;
|
|
75
|
+
/**
|
|
76
|
+
* Configuration for SAML authentication.
|
|
77
|
+
*/
|
|
25
78
|
readonly saml: outputs.GetTeamConfigSaml;
|
|
79
|
+
/**
|
|
80
|
+
* The policy for sensitive environment variables.
|
|
81
|
+
*/
|
|
26
82
|
readonly sensitiveEnvironmentVariablePolicy: string;
|
|
83
|
+
/**
|
|
84
|
+
* The slug of the team. Used in the URL of the team's dashboard.
|
|
85
|
+
*/
|
|
27
86
|
readonly slug: string;
|
|
28
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves the configuration of an existing Vercel Team.
|
|
90
|
+
*
|
|
91
|
+
* ## Example Usage
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as vercel from "@pulumi/vercel";
|
|
96
|
+
*
|
|
97
|
+
* const example = vercel.getTeamConfig({
|
|
98
|
+
* id: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
29
102
|
export declare function getTeamConfigOutput(args: GetTeamConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamConfigResult>;
|
|
30
103
|
/**
|
|
31
104
|
* A collection of arguments for invoking getTeamConfig.
|
|
32
105
|
*/
|
|
33
106
|
export interface GetTeamConfigOutputArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the existing Vercel Team.
|
|
109
|
+
*/
|
|
34
110
|
id: pulumi.Input<string>;
|
|
35
111
|
}
|