@pulumiverse/vercel 1.15.0 → 2.9.0-alpha.1747137905
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 +56 -6
- package/customEnvironment.js +53 -0
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +17 -34
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +135 -30
- package/dnsRecord.js +105 -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 +58 -0
- package/getFile.js +52 -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 +106 -0
- package/getSharedEnvironmentVariable.js +58 -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 +76 -42
- package/logDrain.js +58 -0
- package/logDrain.js.map +1 -1
- package/package.json +3 -2
- package/project.d.ts +94 -108
- package/project.js +49 -0
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +54 -0
- package/projectDeploymentRetention.js +54 -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 +94 -18
- package/projectEnvironmentVariable.js +85 -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 +53 -12
- package/sharedEnvironmentVariable.js +47 -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
|
@@ -1,32 +1,102 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about an existing Access Group Project Assignment.
|
|
4
|
+
*
|
|
5
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumi/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const example = vercel.getProject({
|
|
14
|
+
* name: "my-existing-project",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
|
|
17
|
+
* accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
18
|
+
* projectId: exampleVercelProject.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
2
22
|
export declare function getAccessGroupProject(args: GetAccessGroupProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupProjectResult>;
|
|
3
23
|
/**
|
|
4
24
|
* A collection of arguments for invoking getAccessGroupProject.
|
|
5
25
|
*/
|
|
6
26
|
export interface GetAccessGroupProjectArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The Access Group ID.
|
|
29
|
+
*/
|
|
7
30
|
accessGroupId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The Project ID.
|
|
33
|
+
*/
|
|
8
34
|
projectId: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
37
|
+
*/
|
|
9
38
|
teamId?: string;
|
|
10
39
|
}
|
|
11
40
|
/**
|
|
12
41
|
* A collection of values returned by getAccessGroupProject.
|
|
13
42
|
*/
|
|
14
43
|
export interface GetAccessGroupProjectResult {
|
|
44
|
+
/**
|
|
45
|
+
* The Access Group ID.
|
|
46
|
+
*/
|
|
15
47
|
readonly accessGroupId: string;
|
|
16
48
|
/**
|
|
17
49
|
* The provider-assigned unique ID for this managed resource.
|
|
18
50
|
*/
|
|
19
51
|
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* The Project ID.
|
|
54
|
+
*/
|
|
20
55
|
readonly projectId: string;
|
|
56
|
+
/**
|
|
57
|
+
* The Access Group Project Role.
|
|
58
|
+
*/
|
|
21
59
|
readonly role: string;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
62
|
+
*/
|
|
22
63
|
readonly teamId: string;
|
|
23
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Provides information about an existing Access Group Project Assignment.
|
|
67
|
+
*
|
|
68
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as vercel from "@pulumi/vercel";
|
|
75
|
+
*
|
|
76
|
+
* const example = vercel.getProject({
|
|
77
|
+
* name: "my-existing-project",
|
|
78
|
+
* });
|
|
79
|
+
* const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
|
|
80
|
+
* accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
81
|
+
* projectId: exampleVercelProject.id,
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
24
85
|
export declare function getAccessGroupProjectOutput(args: GetAccessGroupProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupProjectResult>;
|
|
25
86
|
/**
|
|
26
87
|
* A collection of arguments for invoking getAccessGroupProject.
|
|
27
88
|
*/
|
|
28
89
|
export interface GetAccessGroupProjectOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The Access Group ID.
|
|
92
|
+
*/
|
|
29
93
|
accessGroupId: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The Project ID.
|
|
96
|
+
*/
|
|
30
97
|
projectId: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
100
|
+
*/
|
|
31
101
|
teamId?: pulumi.Input<string>;
|
|
32
102
|
}
|
package/getAccessGroupProject.js
CHANGED
|
@@ -5,6 +5,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAccessGroupProjectOutput = exports.getAccessGroupProject = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about an existing Access Group Project Assignment.
|
|
10
|
+
*
|
|
11
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumi/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const example = vercel.getProject({
|
|
20
|
+
* name: "my-existing-project",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
|
|
23
|
+
* accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
24
|
+
* projectId: exampleVercelProject.id,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
8
28
|
function getAccessGroupProject(args, opts) {
|
|
9
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
30
|
return pulumi.runtime.invoke("vercel:index/getAccessGroupProject:getAccessGroupProject", {
|
|
@@ -14,6 +34,26 @@ function getAccessGroupProject(args, opts) {
|
|
|
14
34
|
}, opts);
|
|
15
35
|
}
|
|
16
36
|
exports.getAccessGroupProject = getAccessGroupProject;
|
|
37
|
+
/**
|
|
38
|
+
* Provides information about an existing Access Group Project Assignment.
|
|
39
|
+
*
|
|
40
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
|
|
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.getProject({
|
|
49
|
+
* name: "my-existing-project",
|
|
50
|
+
* });
|
|
51
|
+
* const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
|
|
52
|
+
* accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
53
|
+
* projectId: exampleVercelProject.id,
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
17
57
|
function getAccessGroupProjectOutput(args, opts) {
|
|
18
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
59
|
return pulumi.runtime.invokeOutput("vercel:index/getAccessGroupProject:getAccessGroupProject", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccessGroupProject.js","sourceRoot":"","sources":["../getAccessGroupProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;
|
|
1
|
+
{"version":3,"file":"getAccessGroupProject.js","sourceRoot":"","sources":["../getAccessGroupProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA6CD;;;;;;;;;;;;;;;;;;;GAmBG;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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
package/getAlias.d.ts
CHANGED
|
@@ -1,26 +1,60 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about an existing Alias resource.
|
|
4
|
+
*
|
|
5
|
+
* An Alias allows a `vercel.Deployment` to be accessed through a different URL.
|
|
6
|
+
*/
|
|
2
7
|
export declare function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetAliasResult>;
|
|
3
8
|
/**
|
|
4
9
|
* A collection of arguments for invoking getAlias.
|
|
5
10
|
*/
|
|
6
11
|
export interface GetAliasArgs {
|
|
12
|
+
/**
|
|
13
|
+
* The Alias or Alias ID to be retrieved.
|
|
14
|
+
*/
|
|
7
15
|
alias: string;
|
|
16
|
+
/**
|
|
17
|
+
* The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
18
|
+
*/
|
|
8
19
|
teamId?: string;
|
|
9
20
|
}
|
|
10
21
|
/**
|
|
11
22
|
* A collection of values returned by getAlias.
|
|
12
23
|
*/
|
|
13
24
|
export interface GetAliasResult {
|
|
25
|
+
/**
|
|
26
|
+
* The Alias or Alias ID to be retrieved.
|
|
27
|
+
*/
|
|
14
28
|
readonly alias: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the Deployment the Alias is associated with.
|
|
31
|
+
*/
|
|
15
32
|
readonly deploymentId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of this resource.
|
|
35
|
+
*/
|
|
16
36
|
readonly id: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
39
|
+
*/
|
|
17
40
|
readonly teamId: string;
|
|
18
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Provides information about an existing Alias resource.
|
|
44
|
+
*
|
|
45
|
+
* An Alias allows a `vercel.Deployment` to be accessed through a different URL.
|
|
46
|
+
*/
|
|
19
47
|
export declare function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAliasResult>;
|
|
20
48
|
/**
|
|
21
49
|
* A collection of arguments for invoking getAlias.
|
|
22
50
|
*/
|
|
23
51
|
export interface GetAliasOutputArgs {
|
|
52
|
+
/**
|
|
53
|
+
* The Alias or Alias ID to be retrieved.
|
|
54
|
+
*/
|
|
24
55
|
alias: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
58
|
+
*/
|
|
25
59
|
teamId?: pulumi.Input<string>;
|
|
26
60
|
}
|
package/getAlias.js
CHANGED
|
@@ -5,6 +5,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAliasOutput = exports.getAlias = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about an existing Alias resource.
|
|
10
|
+
*
|
|
11
|
+
* An Alias allows a `vercel.Deployment` to be accessed through a different URL.
|
|
12
|
+
*/
|
|
8
13
|
function getAlias(args, opts) {
|
|
9
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
15
|
return pulumi.runtime.invoke("vercel:index/getAlias:getAlias", {
|
|
@@ -13,6 +18,11 @@ function getAlias(args, opts) {
|
|
|
13
18
|
}, opts);
|
|
14
19
|
}
|
|
15
20
|
exports.getAlias = getAlias;
|
|
21
|
+
/**
|
|
22
|
+
* Provides information about an existing Alias resource.
|
|
23
|
+
*
|
|
24
|
+
* An Alias allows a `vercel.Deployment` to be accessed through a different URL.
|
|
25
|
+
*/
|
|
16
26
|
function getAliasOutput(args, opts) {
|
|
17
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
28
|
return pulumi.runtime.invokeOutput("vercel:index/getAlias:getAlias", {
|
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,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;
|
|
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;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAqCD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
|
@@ -1,26 +1,82 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Attack Challenge Mode resource.
|
|
4
|
+
*
|
|
5
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumi/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const example = vercel.getAttackChallengeMode({
|
|
14
|
+
* projectId: exampleVercelProject.id,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
2
18
|
export declare function getAttackChallengeMode(args: GetAttackChallengeModeArgs, opts?: pulumi.InvokeOptions): Promise<GetAttackChallengeModeResult>;
|
|
3
19
|
/**
|
|
4
20
|
* A collection of arguments for invoking getAttackChallengeMode.
|
|
5
21
|
*/
|
|
6
22
|
export interface GetAttackChallengeModeArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the Project to adjust the CPU for.
|
|
25
|
+
*/
|
|
7
26
|
projectId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
29
|
+
*/
|
|
8
30
|
teamId?: string;
|
|
9
31
|
}
|
|
10
32
|
/**
|
|
11
33
|
* A collection of values returned by getAttackChallengeMode.
|
|
12
34
|
*/
|
|
13
35
|
export interface GetAttackChallengeModeResult {
|
|
36
|
+
/**
|
|
37
|
+
* Whether Attack Challenge Mode is enabled or not.
|
|
38
|
+
*/
|
|
14
39
|
readonly enabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The resource identifier.
|
|
42
|
+
*/
|
|
15
43
|
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the Project to adjust the CPU for.
|
|
46
|
+
*/
|
|
16
47
|
readonly projectId: string;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
50
|
+
*/
|
|
17
51
|
readonly teamId: string;
|
|
18
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Provides an Attack Challenge Mode resource.
|
|
55
|
+
*
|
|
56
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as vercel from "@pulumi/vercel";
|
|
63
|
+
*
|
|
64
|
+
* const example = vercel.getAttackChallengeMode({
|
|
65
|
+
* projectId: exampleVercelProject.id,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
19
69
|
export declare function getAttackChallengeModeOutput(args: GetAttackChallengeModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAttackChallengeModeResult>;
|
|
20
70
|
/**
|
|
21
71
|
* A collection of arguments for invoking getAttackChallengeMode.
|
|
22
72
|
*/
|
|
23
73
|
export interface GetAttackChallengeModeOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Project to adjust the CPU for.
|
|
76
|
+
*/
|
|
24
77
|
projectId: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
80
|
+
*/
|
|
25
81
|
teamId?: pulumi.Input<string>;
|
|
26
82
|
}
|
|
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAttackChallengeModeOutput = exports.getAttackChallengeMode = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Attack Challenge Mode resource.
|
|
10
|
+
*
|
|
11
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumi/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const example = vercel.getAttackChallengeMode({
|
|
20
|
+
* projectId: exampleVercelProject.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
function getAttackChallengeMode(args, opts) {
|
|
9
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
26
|
return pulumi.runtime.invoke("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
|
|
@@ -13,6 +29,22 @@ function getAttackChallengeMode(args, opts) {
|
|
|
13
29
|
}, opts);
|
|
14
30
|
}
|
|
15
31
|
exports.getAttackChallengeMode = getAttackChallengeMode;
|
|
32
|
+
/**
|
|
33
|
+
* Provides an Attack Challenge Mode resource.
|
|
34
|
+
*
|
|
35
|
+
* Attack Challenge Mode prevent malicious traffic by showing a verification challenge for every visitor.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as vercel from "@pulumi/vercel";
|
|
42
|
+
*
|
|
43
|
+
* const example = vercel.getAttackChallengeMode({
|
|
44
|
+
* projectId: exampleVercelProject.id,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
16
48
|
function getAttackChallengeModeOutput(args, opts) {
|
|
17
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
50
|
return pulumi.runtime.invokeOutput("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAttackChallengeMode.js","sourceRoot":"","sources":["../getAttackChallengeMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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;
|
|
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"}
|
|
@@ -1,31 +1,107 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides information about an existing CustomEnvironment resource.
|
|
5
|
+
*
|
|
6
|
+
* An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as vercel from "@pulumi/vercel";
|
|
13
|
+
*
|
|
14
|
+
* const example = vercel.getProject({
|
|
15
|
+
* name: "example-project-with-custom-env",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
|
|
18
|
+
* projectId: example.id,
|
|
19
|
+
* name: "example-custom-env",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
3
23
|
export declare function getCustomEnvironment(args: GetCustomEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomEnvironmentResult>;
|
|
4
24
|
/**
|
|
5
25
|
* A collection of arguments for invoking getCustomEnvironment.
|
|
6
26
|
*/
|
|
7
27
|
export interface GetCustomEnvironmentArgs {
|
|
28
|
+
/**
|
|
29
|
+
* The name of the environment.
|
|
30
|
+
*/
|
|
8
31
|
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the existing Vercel Project.
|
|
34
|
+
*/
|
|
9
35
|
projectId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
38
|
+
*/
|
|
10
39
|
teamId?: string;
|
|
11
40
|
}
|
|
12
41
|
/**
|
|
13
42
|
* A collection of values returned by getCustomEnvironment.
|
|
14
43
|
*/
|
|
15
44
|
export interface GetCustomEnvironmentResult {
|
|
45
|
+
/**
|
|
46
|
+
* The branch tracking configuration for the environment. When enabled, each qualifying merge will generate a deployment.
|
|
47
|
+
*/
|
|
16
48
|
readonly branchTracking: outputs.GetCustomEnvironmentBranchTracking;
|
|
49
|
+
/**
|
|
50
|
+
* A description of what the environment is.
|
|
51
|
+
*/
|
|
17
52
|
readonly description: string;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the environment.
|
|
55
|
+
*/
|
|
18
56
|
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the environment.
|
|
59
|
+
*/
|
|
19
60
|
readonly name: string;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the existing Vercel Project.
|
|
63
|
+
*/
|
|
20
64
|
readonly projectId: string;
|
|
65
|
+
/**
|
|
66
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
67
|
+
*/
|
|
21
68
|
readonly teamId: string;
|
|
22
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Provides information about an existing CustomEnvironment resource.
|
|
72
|
+
*
|
|
73
|
+
* An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
|
|
74
|
+
*
|
|
75
|
+
* ## Example Usage
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as vercel from "@pulumi/vercel";
|
|
80
|
+
*
|
|
81
|
+
* const example = vercel.getProject({
|
|
82
|
+
* name: "example-project-with-custom-env",
|
|
83
|
+
* });
|
|
84
|
+
* const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
|
|
85
|
+
* projectId: example.id,
|
|
86
|
+
* name: "example-custom-env",
|
|
87
|
+
* }));
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
23
90
|
export declare function getCustomEnvironmentOutput(args: GetCustomEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomEnvironmentResult>;
|
|
24
91
|
/**
|
|
25
92
|
* A collection of arguments for invoking getCustomEnvironment.
|
|
26
93
|
*/
|
|
27
94
|
export interface GetCustomEnvironmentOutputArgs {
|
|
95
|
+
/**
|
|
96
|
+
* The name of the environment.
|
|
97
|
+
*/
|
|
28
98
|
name: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the existing Vercel Project.
|
|
101
|
+
*/
|
|
29
102
|
projectId: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
105
|
+
*/
|
|
30
106
|
teamId?: pulumi.Input<string>;
|
|
31
107
|
}
|
package/getCustomEnvironment.js
CHANGED
|
@@ -5,6 +5,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCustomEnvironmentOutput = exports.getCustomEnvironment = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about an existing CustomEnvironment resource.
|
|
10
|
+
*
|
|
11
|
+
* An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as vercel from "@pulumi/vercel";
|
|
18
|
+
*
|
|
19
|
+
* const example = vercel.getProject({
|
|
20
|
+
* name: "example-project-with-custom-env",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
|
|
23
|
+
* projectId: example.id,
|
|
24
|
+
* name: "example-custom-env",
|
|
25
|
+
* }));
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
8
28
|
function getCustomEnvironment(args, opts) {
|
|
9
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
30
|
return pulumi.runtime.invoke("vercel:index/getCustomEnvironment:getCustomEnvironment", {
|
|
@@ -14,6 +34,26 @@ function getCustomEnvironment(args, opts) {
|
|
|
14
34
|
}, opts);
|
|
15
35
|
}
|
|
16
36
|
exports.getCustomEnvironment = getCustomEnvironment;
|
|
37
|
+
/**
|
|
38
|
+
* Provides information about an existing CustomEnvironment resource.
|
|
39
|
+
*
|
|
40
|
+
* An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
|
|
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.getProject({
|
|
49
|
+
* name: "example-project-with-custom-env",
|
|
50
|
+
* });
|
|
51
|
+
* const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
|
|
52
|
+
* projectId: example.id,
|
|
53
|
+
* name: "example-custom-env",
|
|
54
|
+
* }));
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
17
57
|
function getCustomEnvironmentOutput(args, opts) {
|
|
18
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
59
|
return pulumi.runtime.invokeOutput("vercel:index/getCustomEnvironment:getCustomEnvironment", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomEnvironment.js","sourceRoot":"","sources":["../getCustomEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;
|
|
1
|
+
{"version":3,"file":"getCustomEnvironment.js","sourceRoot":"","sources":["../getCustomEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAiDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
|
package/getDeployment.d.ts
CHANGED
|
@@ -1,29 +1,94 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about an existing Deployment.
|
|
4
|
+
*
|
|
5
|
+
* A Deployment is the result of building your Project and making it available through a live URL.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as vercel from "@pulumi/vercel";
|
|
12
|
+
*
|
|
13
|
+
* const example = vercel.getDeployment({
|
|
14
|
+
* id: "https://my-vercel-project.vercel.app",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
2
18
|
export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>;
|
|
3
19
|
/**
|
|
4
20
|
* A collection of arguments for invoking getDeployment.
|
|
5
21
|
*/
|
|
6
22
|
export interface GetDeploymentArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID or URL of the Deployment to read.
|
|
25
|
+
*/
|
|
7
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The Team ID to the Deployment belong to. Required when reading a team resource if a default team has not been set in the provider.
|
|
29
|
+
*/
|
|
8
30
|
teamId?: string;
|
|
9
31
|
}
|
|
10
32
|
/**
|
|
11
33
|
* A collection of values returned by getDeployment.
|
|
12
34
|
*/
|
|
13
35
|
export interface GetDeploymentResult {
|
|
36
|
+
/**
|
|
37
|
+
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
38
|
+
*/
|
|
14
39
|
readonly domains: string[];
|
|
40
|
+
/**
|
|
41
|
+
* The ID or URL of the Deployment to read.
|
|
42
|
+
*/
|
|
15
43
|
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* true if the deployment is a production deployment, meaning production aliases will be assigned.
|
|
46
|
+
*/
|
|
16
47
|
readonly production: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The project ID to add the deployment to.
|
|
50
|
+
*/
|
|
17
51
|
readonly projectId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The branch or commit hash that has been deployed. Note this will only work if the project is configured to use a Git repository.
|
|
54
|
+
*/
|
|
18
55
|
readonly ref: string;
|
|
56
|
+
/**
|
|
57
|
+
* The Team ID to the Deployment belong to. Required when reading a team resource if a default team has not been set in the provider.
|
|
58
|
+
*/
|
|
19
59
|
readonly teamId: string;
|
|
60
|
+
/**
|
|
61
|
+
* A unique URL that is automatically generated for a deployment.
|
|
62
|
+
*/
|
|
20
63
|
readonly url: string;
|
|
21
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Provides information about an existing Deployment.
|
|
67
|
+
*
|
|
68
|
+
* A Deployment is the result of building your Project and making it available through a live URL.
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as vercel from "@pulumi/vercel";
|
|
75
|
+
*
|
|
76
|
+
* const example = vercel.getDeployment({
|
|
77
|
+
* id: "https://my-vercel-project.vercel.app",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
22
81
|
export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentResult>;
|
|
23
82
|
/**
|
|
24
83
|
* A collection of arguments for invoking getDeployment.
|
|
25
84
|
*/
|
|
26
85
|
export interface GetDeploymentOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The ID or URL of the Deployment to read.
|
|
88
|
+
*/
|
|
27
89
|
id: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The Team ID to the Deployment belong to. Required when reading a team resource if a default team has not been set in the provider.
|
|
92
|
+
*/
|
|
28
93
|
teamId?: pulumi.Input<string>;
|
|
29
94
|
}
|