@pulumiverse/vercel 1.14.2 → 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.
- package/accessGroup.d.ts +63 -0
- package/accessGroup.js +51 -0
- package/accessGroup.js.map +1 -0
- package/accessGroupProject.d.ts +87 -0
- package/accessGroupProject.js +64 -0
- package/accessGroupProject.js.map +1 -0
- package/alias.d.ts +6 -8
- package/alias.js +0 -5
- package/alias.js.map +1 -1
- package/attackChallengeMode.d.ts +9 -36
- package/attackChallengeMode.js +0 -30
- package/attackChallengeMode.js.map +1 -1
- package/customEnvironment.d.ts +101 -0
- package/customEnvironment.js +60 -0
- package/customEnvironment.js.map +1 -0
- package/deployment.d.ts +34 -17
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +30 -127
- package/dnsRecord.js +0 -97
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +6 -54
- package/edgeConfig.js +0 -51
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +87 -0
- package/edgeConfigItem.js +64 -0
- package/edgeConfigItem.js.map +1 -0
- package/edgeConfigSchema.d.ts +6 -28
- package/edgeConfigSchema.js +0 -25
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +10 -62
- package/edgeConfigToken.js +0 -57
- package/edgeConfigToken.js.map +1 -1
- package/firewallConfig.d.ts +110 -0
- package/firewallConfig.js +62 -0
- package/firewallConfig.js.map +1 -0
- package/getAccessGroup.d.ts +25 -0
- package/getAccessGroup.js +24 -0
- package/getAccessGroup.js.map +1 -0
- package/getAccessGroupProject.d.ts +32 -0
- package/getAccessGroupProject.js +26 -0
- package/getAccessGroupProject.js.map +1 -0
- package/getAlias.d.ts +0 -34
- package/getAlias.js +0 -10
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.d.ts +0 -56
- package/getAttackChallengeMode.js +0 -32
- package/getAttackChallengeMode.js.map +1 -1
- package/getCustomEnvironment.d.ts +31 -0
- package/getCustomEnvironment.js +26 -0
- package/getCustomEnvironment.js.map +1 -0
- package/getDeployment.d.ts +0 -65
- package/getDeployment.js +0 -32
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.d.ts +0 -53
- package/getEdgeConfig.js +0 -32
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigItem.d.ts +28 -0
- package/getEdgeConfigItem.js +26 -0
- package/getEdgeConfigItem.js.map +1 -0
- package/getEdgeConfigSchema.d.ts +0 -49
- package/getEdgeConfigSchema.js +0 -28
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.d.ts +0 -74
- package/getEdgeConfigToken.js +0 -38
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.d.ts +0 -39
- package/getEndpointVerification.js +0 -24
- package/getEndpointVerification.js.map +1 -1
- package/getFile.d.ts +0 -54
- package/getFile.js +0 -48
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +0 -81
- package/getLogDrain.js +0 -36
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.d.ts +0 -6
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +1 -146
- package/getProject.js +0 -38
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +0 -47
- package/getProjectDeploymentRetention.js +0 -14
- package/getProjectDeploymentRetention.js.map +1 -1
- package/getProjectDirectory.d.ts +0 -6
- package/getProjectDirectory.js.map +1 -1
- package/getProjectMembers.d.ts +30 -0
- package/getProjectMembers.js +24 -0
- package/getProjectMembers.js.map +1 -0
- package/getSharedEnvironmentVariable.d.ts +1 -95
- package/getSharedEnvironmentVariable.js +0 -50
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +35 -0
- package/getTeamConfig.js +22 -0
- package/getTeamConfig.js.map +1 -0
- package/getTeamMember.d.ts +29 -0
- package/getTeamMember.js +24 -0
- package/getTeamMember.js.map +1 -0
- package/index.d.ts +48 -6
- package/index.js +68 -9
- package/index.js.map +1 -1
- package/logDrain.d.ts +42 -74
- package/logDrain.js +0 -56
- package/logDrain.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +111 -89
- package/project.js +3 -46
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +0 -51
- package/projectDeploymentRetention.js +0 -51
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +21 -55
- package/projectDomain.js +2 -52
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +40 -86
- package/projectEnvironmentVariable.js +4 -82
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +74 -0
- package/projectEnvironmentVariables.js +59 -0
- package/projectEnvironmentVariables.js.map +1 -0
- package/projectMembers.d.ts +77 -0
- package/projectMembers.js +59 -0
- package/projectMembers.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +24 -49
- package/sharedEnvironmentVariable.js +2 -43
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +211 -0
- package/teamConfig.js +75 -0
- package/teamConfig.js.map +1 -0
- package/teamMember.d.ts +107 -0
- package/teamMember.js +66 -0
- package/teamMember.js.map +1 -0
- package/types/input.d.ts +301 -2
- package/types/output.d.ts +372 -1
- package/webhook.d.ts +18 -43
- package/webhook.js +0 -35
- package/webhook.js.map +1 -1
- package/getProjectFunctionCpu.d.ts +0 -92
- package/getProjectFunctionCpu.js +0 -66
- package/getProjectFunctionCpu.js.map +0 -1
- package/projectFunctionCpu.d.ts +0 -106
- package/projectFunctionCpu.js +0 -93
- package/projectFunctionCpu.js.map +0 -1
|
@@ -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.getAccessGroupOutput = exports.getAccessGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getAccessGroup(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("vercel:index/getAccessGroup:getAccessGroup", {
|
|
11
|
+
"id": args.id,
|
|
12
|
+
"teamId": args.teamId,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAccessGroup = getAccessGroup;
|
|
16
|
+
function getAccessGroupOutput(args, opts) {
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("vercel:index/getAccessGroup:getAccessGroup", {
|
|
19
|
+
"id": args.id,
|
|
20
|
+
"teamId": args.teamId,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAccessGroupOutput = getAccessGroupOutput;
|
|
24
|
+
//# sourceMappingURL=getAccessGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccessGroup.js","sourceRoot":"","sources":["../getAccessGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAkBD,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,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getAccessGroupProject(args: GetAccessGroupProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupProjectResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getAccessGroupProject.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetAccessGroupProjectArgs {
|
|
7
|
+
accessGroupId: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
teamId?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A collection of values returned by getAccessGroupProject.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAccessGroupProjectResult {
|
|
15
|
+
readonly accessGroupId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The provider-assigned unique ID for this managed resource.
|
|
18
|
+
*/
|
|
19
|
+
readonly id: string;
|
|
20
|
+
readonly projectId: string;
|
|
21
|
+
readonly role: string;
|
|
22
|
+
readonly teamId: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function getAccessGroupProjectOutput(args: GetAccessGroupProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupProjectResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getAccessGroupProject.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetAccessGroupProjectOutputArgs {
|
|
29
|
+
accessGroupId: pulumi.Input<string>;
|
|
30
|
+
projectId: pulumi.Input<string>;
|
|
31
|
+
teamId?: pulumi.Input<string>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.getAccessGroupProjectOutput = exports.getAccessGroupProject = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getAccessGroupProject(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("vercel:index/getAccessGroupProject:getAccessGroupProject", {
|
|
11
|
+
"accessGroupId": args.accessGroupId,
|
|
12
|
+
"projectId": args.projectId,
|
|
13
|
+
"teamId": args.teamId,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
exports.getAccessGroupProject = getAccessGroupProject;
|
|
17
|
+
function getAccessGroupProjectOutput(args, opts) {
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invokeOutput("vercel:index/getAccessGroupProject:getAccessGroupProject", {
|
|
20
|
+
"accessGroupId": args.accessGroupId,
|
|
21
|
+
"projectId": args.projectId,
|
|
22
|
+
"teamId": args.teamId,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getAccessGroupProjectOutput = getAccessGroupProjectOutput;
|
|
26
|
+
//# sourceMappingURL=getAccessGroupProject.js.map
|
|
@@ -0,0 +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;AAwBD,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,60 +1,26 @@
|
|
|
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
|
-
*/
|
|
7
2
|
export declare function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetAliasResult>;
|
|
8
3
|
/**
|
|
9
4
|
* A collection of arguments for invoking getAlias.
|
|
10
5
|
*/
|
|
11
6
|
export interface GetAliasArgs {
|
|
12
|
-
/**
|
|
13
|
-
* The Alias or Alias ID to be retrieved.
|
|
14
|
-
*/
|
|
15
7
|
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
|
-
*/
|
|
19
8
|
teamId?: string;
|
|
20
9
|
}
|
|
21
10
|
/**
|
|
22
11
|
* A collection of values returned by getAlias.
|
|
23
12
|
*/
|
|
24
13
|
export interface GetAliasResult {
|
|
25
|
-
/**
|
|
26
|
-
* The Alias or Alias ID to be retrieved.
|
|
27
|
-
*/
|
|
28
14
|
readonly alias: string;
|
|
29
|
-
/**
|
|
30
|
-
* The ID of the Deployment the Alias is associated with.
|
|
31
|
-
*/
|
|
32
15
|
readonly deploymentId: string;
|
|
33
|
-
/**
|
|
34
|
-
* The ID of this resource.
|
|
35
|
-
*/
|
|
36
16
|
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
|
-
*/
|
|
40
17
|
readonly teamId: string;
|
|
41
18
|
}
|
|
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
|
-
*/
|
|
47
19
|
export declare function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAliasResult>;
|
|
48
20
|
/**
|
|
49
21
|
* A collection of arguments for invoking getAlias.
|
|
50
22
|
*/
|
|
51
23
|
export interface GetAliasOutputArgs {
|
|
52
|
-
/**
|
|
53
|
-
* The Alias or Alias ID to be retrieved.
|
|
54
|
-
*/
|
|
55
24
|
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
|
-
*/
|
|
59
25
|
teamId?: pulumi.Input<string>;
|
|
60
26
|
}
|
package/getAlias.js
CHANGED
|
@@ -5,11 +5,6 @@ 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
|
-
*/
|
|
13
8
|
function getAlias(args, opts) {
|
|
14
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
10
|
return pulumi.runtime.invoke("vercel:index/getAlias:getAlias", {
|
|
@@ -18,11 +13,6 @@ function getAlias(args, opts) {
|
|
|
18
13
|
}, opts);
|
|
19
14
|
}
|
|
20
15
|
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
|
-
*/
|
|
26
16
|
function getAliasOutput(args, opts) {
|
|
27
17
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
18
|
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
|
|
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;AAmBD,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,82 +1,26 @@
|
|
|
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: vercel_project.example.id,
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
2
|
export declare function getAttackChallengeMode(args: GetAttackChallengeModeArgs, opts?: pulumi.InvokeOptions): Promise<GetAttackChallengeModeResult>;
|
|
19
3
|
/**
|
|
20
4
|
* A collection of arguments for invoking getAttackChallengeMode.
|
|
21
5
|
*/
|
|
22
6
|
export interface GetAttackChallengeModeArgs {
|
|
23
|
-
/**
|
|
24
|
-
* The ID of the Project to adjust the CPU for.
|
|
25
|
-
*/
|
|
26
7
|
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
|
-
*/
|
|
30
8
|
teamId?: string;
|
|
31
9
|
}
|
|
32
10
|
/**
|
|
33
11
|
* A collection of values returned by getAttackChallengeMode.
|
|
34
12
|
*/
|
|
35
13
|
export interface GetAttackChallengeModeResult {
|
|
36
|
-
/**
|
|
37
|
-
* Whether Attack Challenge Mode is enabled or not.
|
|
38
|
-
*/
|
|
39
14
|
readonly enabled: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* The resource identifier.
|
|
42
|
-
*/
|
|
43
15
|
readonly id: string;
|
|
44
|
-
/**
|
|
45
|
-
* The ID of the Project to adjust the CPU for.
|
|
46
|
-
*/
|
|
47
16
|
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
|
-
*/
|
|
51
17
|
readonly teamId: string;
|
|
52
18
|
}
|
|
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: vercel_project.example.id,
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
19
|
export declare function getAttackChallengeModeOutput(args: GetAttackChallengeModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAttackChallengeModeResult>;
|
|
70
20
|
/**
|
|
71
21
|
* A collection of arguments for invoking getAttackChallengeMode.
|
|
72
22
|
*/
|
|
73
23
|
export interface GetAttackChallengeModeOutputArgs {
|
|
74
|
-
/**
|
|
75
|
-
* The ID of the Project to adjust the CPU for.
|
|
76
|
-
*/
|
|
77
24
|
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
|
-
*/
|
|
81
25
|
teamId?: pulumi.Input<string>;
|
|
82
26
|
}
|
|
@@ -5,22 +5,6 @@ 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: vercel_project.example.id,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
8
|
function getAttackChallengeMode(args, opts) {
|
|
25
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
10
|
return pulumi.runtime.invoke("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
|
|
@@ -29,22 +13,6 @@ function getAttackChallengeMode(args, opts) {
|
|
|
29
13
|
}, opts);
|
|
30
14
|
}
|
|
31
15
|
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: vercel_project.example.id,
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
16
|
function getAttackChallengeModeOutput(args, opts) {
|
|
49
17
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
18
|
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
|
|
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;AAmBD,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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getCustomEnvironment(args: GetCustomEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomEnvironmentResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getCustomEnvironment.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetCustomEnvironmentArgs {
|
|
8
|
+
name: string;
|
|
9
|
+
projectId: string;
|
|
10
|
+
teamId?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A collection of values returned by getCustomEnvironment.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCustomEnvironmentResult {
|
|
16
|
+
readonly branchTracking: outputs.GetCustomEnvironmentBranchTracking;
|
|
17
|
+
readonly description: string;
|
|
18
|
+
readonly id: string;
|
|
19
|
+
readonly name: string;
|
|
20
|
+
readonly projectId: string;
|
|
21
|
+
readonly teamId: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function getCustomEnvironmentOutput(args: GetCustomEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomEnvironmentResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getCustomEnvironment.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetCustomEnvironmentOutputArgs {
|
|
28
|
+
name: pulumi.Input<string>;
|
|
29
|
+
projectId: pulumi.Input<string>;
|
|
30
|
+
teamId?: pulumi.Input<string>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.getCustomEnvironmentOutput = exports.getCustomEnvironment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getCustomEnvironment(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("vercel:index/getCustomEnvironment:getCustomEnvironment", {
|
|
11
|
+
"name": args.name,
|
|
12
|
+
"projectId": args.projectId,
|
|
13
|
+
"teamId": args.teamId,
|
|
14
|
+
}, opts);
|
|
15
|
+
}
|
|
16
|
+
exports.getCustomEnvironment = getCustomEnvironment;
|
|
17
|
+
function getCustomEnvironmentOutput(args, opts) {
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invokeOutput("vercel:index/getCustomEnvironment:getCustomEnvironment", {
|
|
20
|
+
"name": args.name,
|
|
21
|
+
"projectId": args.projectId,
|
|
22
|
+
"teamId": args.teamId,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getCustomEnvironmentOutput = getCustomEnvironmentOutput;
|
|
26
|
+
//# sourceMappingURL=getCustomEnvironment.js.map
|
|
@@ -0,0 +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;AAsBD,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,94 +1,29 @@
|
|
|
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
|
-
*/
|
|
18
2
|
export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>;
|
|
19
3
|
/**
|
|
20
4
|
* A collection of arguments for invoking getDeployment.
|
|
21
5
|
*/
|
|
22
6
|
export interface GetDeploymentArgs {
|
|
23
|
-
/**
|
|
24
|
-
* The ID or URL of the Deployment to read.
|
|
25
|
-
*/
|
|
26
7
|
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
|
-
*/
|
|
30
8
|
teamId?: string;
|
|
31
9
|
}
|
|
32
10
|
/**
|
|
33
11
|
* A collection of values returned by getDeployment.
|
|
34
12
|
*/
|
|
35
13
|
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
|
-
*/
|
|
39
14
|
readonly domains: string[];
|
|
40
|
-
/**
|
|
41
|
-
* The ID or URL of the Deployment to read.
|
|
42
|
-
*/
|
|
43
15
|
readonly id: string;
|
|
44
|
-
/**
|
|
45
|
-
* true if the deployment is a production deployment, meaning production aliases will be assigned.
|
|
46
|
-
*/
|
|
47
16
|
readonly production: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The project ID to add the deployment to.
|
|
50
|
-
*/
|
|
51
17
|
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
|
-
*/
|
|
55
18
|
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
|
-
*/
|
|
59
19
|
readonly teamId: string;
|
|
60
|
-
/**
|
|
61
|
-
* A unique URL that is automatically generated for a deployment.
|
|
62
|
-
*/
|
|
63
20
|
readonly url: string;
|
|
64
21
|
}
|
|
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
|
-
*/
|
|
81
22
|
export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDeploymentResult>;
|
|
82
23
|
/**
|
|
83
24
|
* A collection of arguments for invoking getDeployment.
|
|
84
25
|
*/
|
|
85
26
|
export interface GetDeploymentOutputArgs {
|
|
86
|
-
/**
|
|
87
|
-
* The ID or URL of the Deployment to read.
|
|
88
|
-
*/
|
|
89
27
|
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
|
-
*/
|
|
93
28
|
teamId?: pulumi.Input<string>;
|
|
94
29
|
}
|
package/getDeployment.js
CHANGED
|
@@ -5,22 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDeploymentOutput = exports.getDeployment = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides information about an existing Deployment.
|
|
10
|
-
*
|
|
11
|
-
* A Deployment is the result of building your Project and making it available through a live 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.getDeployment({
|
|
20
|
-
* id: "https://my-vercel-project.vercel.app",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
8
|
function getDeployment(args, opts) {
|
|
25
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
10
|
return pulumi.runtime.invoke("vercel:index/getDeployment:getDeployment", {
|
|
@@ -29,22 +13,6 @@ function getDeployment(args, opts) {
|
|
|
29
13
|
}, opts);
|
|
30
14
|
}
|
|
31
15
|
exports.getDeployment = getDeployment;
|
|
32
|
-
/**
|
|
33
|
-
* Provides information about an existing Deployment.
|
|
34
|
-
*
|
|
35
|
-
* A Deployment is the result of building your Project and making it available through a live URL.
|
|
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.getDeployment({
|
|
44
|
-
* id: "https://my-vercel-project.vercel.app",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
16
|
function getDeploymentOutput(args, opts) {
|
|
49
17
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
18
|
return pulumi.runtime.invokeOutput("vercel:index/getDeployment:getDeployment", {
|
package/getDeployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAsBD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/getEdgeConfig.d.ts
CHANGED
|
@@ -1,78 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides information about an existing Edge Config.
|
|
4
|
-
*
|
|
5
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
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.getEdgeConfig({
|
|
14
|
-
* id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
2
|
export declare function getEdgeConfig(args: GetEdgeConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigResult>;
|
|
19
3
|
/**
|
|
20
4
|
* A collection of arguments for invoking getEdgeConfig.
|
|
21
5
|
*/
|
|
22
6
|
export interface GetEdgeConfigArgs {
|
|
23
|
-
/**
|
|
24
|
-
* The Edge Config ID to be retrieved. This can be found by navigating to the Edge Config in the Vercel UI and looking at the URL. It should begin with `ecfg_`.
|
|
25
|
-
*/
|
|
26
7
|
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
29
|
-
*/
|
|
30
8
|
teamId?: string;
|
|
31
9
|
}
|
|
32
10
|
/**
|
|
33
11
|
* A collection of values returned by getEdgeConfig.
|
|
34
12
|
*/
|
|
35
13
|
export interface GetEdgeConfigResult {
|
|
36
|
-
/**
|
|
37
|
-
* The Edge Config ID to be retrieved. This can be found by navigating to the Edge Config in the Vercel UI and looking at the URL. It should begin with `ecfg_`.
|
|
38
|
-
*/
|
|
39
14
|
readonly id: string;
|
|
40
|
-
/**
|
|
41
|
-
* The name/slug of the Edge Config.
|
|
42
|
-
*/
|
|
43
15
|
readonly name: string;
|
|
44
|
-
/**
|
|
45
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
46
|
-
*/
|
|
47
16
|
readonly teamId: string;
|
|
48
17
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Provides information about an existing Edge Config.
|
|
51
|
-
*
|
|
52
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
53
|
-
*
|
|
54
|
-
* ## Example Usage
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as vercel from "@pulumi/vercel";
|
|
59
|
-
*
|
|
60
|
-
* const example = vercel.getEdgeConfig({
|
|
61
|
-
* id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
62
|
-
* });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
18
|
export declare function getEdgeConfigOutput(args: GetEdgeConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigResult>;
|
|
66
19
|
/**
|
|
67
20
|
* A collection of arguments for invoking getEdgeConfig.
|
|
68
21
|
*/
|
|
69
22
|
export interface GetEdgeConfigOutputArgs {
|
|
70
|
-
/**
|
|
71
|
-
* The Edge Config ID to be retrieved. This can be found by navigating to the Edge Config in the Vercel UI and looking at the URL. It should begin with `ecfg_`.
|
|
72
|
-
*/
|
|
73
23
|
id: pulumi.Input<string>;
|
|
74
|
-
/**
|
|
75
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
76
|
-
*/
|
|
77
24
|
teamId?: pulumi.Input<string>;
|
|
78
25
|
}
|
package/getEdgeConfig.js
CHANGED
|
@@ -5,22 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getEdgeConfigOutput = exports.getEdgeConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides information about an existing Edge Config.
|
|
10
|
-
*
|
|
11
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
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.getEdgeConfig({
|
|
20
|
-
* id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
8
|
function getEdgeConfig(args, opts) {
|
|
25
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
10
|
return pulumi.runtime.invoke("vercel:index/getEdgeConfig:getEdgeConfig", {
|
|
@@ -29,22 +13,6 @@ function getEdgeConfig(args, opts) {
|
|
|
29
13
|
}, opts);
|
|
30
14
|
}
|
|
31
15
|
exports.getEdgeConfig = getEdgeConfig;
|
|
32
|
-
/**
|
|
33
|
-
* Provides information about an existing Edge Config.
|
|
34
|
-
*
|
|
35
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
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.getEdgeConfig({
|
|
44
|
-
* id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
16
|
function getEdgeConfigOutput(args, opts) {
|
|
49
17
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
18
|
return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfig:getEdgeConfig", {
|
package/getEdgeConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAkBD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|