@pulumiverse/vercel 1.3.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/attackChallengeMode.d.ts +102 -0
  2. package/attackChallengeMode.js +89 -0
  3. package/attackChallengeMode.js.map +1 -0
  4. package/config/vars.d.ts +2 -2
  5. package/dnsRecord.d.ts +6 -4
  6. package/dnsRecord.js +6 -4
  7. package/dnsRecord.js.map +1 -1
  8. package/edgeConfig.d.ts +111 -0
  9. package/edgeConfig.js +102 -0
  10. package/edgeConfig.js.map +1 -0
  11. package/edgeConfigSchema.d.ts +85 -0
  12. package/edgeConfigSchema.js +79 -0
  13. package/edgeConfigSchema.js.map +1 -0
  14. package/edgeConfigToken.d.ts +145 -0
  15. package/edgeConfigToken.js +120 -0
  16. package/edgeConfigToken.js.map +1 -0
  17. package/getAttackChallengeMode.d.ts +82 -0
  18. package/getAttackChallengeMode.js +52 -0
  19. package/getAttackChallengeMode.js.map +1 -0
  20. package/getDeployment.d.ts +94 -0
  21. package/getDeployment.js +52 -0
  22. package/getDeployment.js.map +1 -0
  23. package/getEdgeConfig.d.ts +78 -0
  24. package/getEdgeConfig.js +52 -0
  25. package/getEdgeConfig.js.map +1 -0
  26. package/getEdgeConfigSchema.d.ts +74 -0
  27. package/getEdgeConfigSchema.js +48 -0
  28. package/getEdgeConfigSchema.js.map +1 -0
  29. package/getEdgeConfigToken.d.ts +104 -0
  30. package/getEdgeConfigToken.js +59 -0
  31. package/getEdgeConfigToken.js.map +1 -0
  32. package/getEndpointVerification.d.ts +62 -0
  33. package/getEndpointVerification.js +44 -0
  34. package/getEndpointVerification.js.map +1 -0
  35. package/getFile.d.ts +0 -4
  36. package/getFile.js +0 -4
  37. package/getFile.js.map +1 -1
  38. package/getLogDrain.d.ts +116 -0
  39. package/getLogDrain.js +57 -0
  40. package/getLogDrain.js.map +1 -0
  41. package/getProject.d.ts +48 -4
  42. package/getProject.js +0 -4
  43. package/getProject.js.map +1 -1
  44. package/getProjectFunctionCpu.d.ts +88 -0
  45. package/getProjectFunctionCpu.js +58 -0
  46. package/getProjectFunctionCpu.js.map +1 -0
  47. package/getSharedEnvironmentVariable.d.ts +0 -4
  48. package/getSharedEnvironmentVariable.js +0 -4
  49. package/getSharedEnvironmentVariable.js.map +1 -1
  50. package/index.d.ts +45 -0
  51. package/index.js +60 -1
  52. package/index.js.map +1 -1
  53. package/logDrain.d.ts +206 -0
  54. package/logDrain.js +135 -0
  55. package/logDrain.js.map +1 -0
  56. package/package.json +1 -1
  57. package/project.d.ts +132 -2
  58. package/project.js +22 -2
  59. package/project.js.map +1 -1
  60. package/projectDomain.d.ts +0 -2
  61. package/projectDomain.js +0 -2
  62. package/projectDomain.js.map +1 -1
  63. package/projectEnvironmentVariable.d.ts +6 -4
  64. package/projectEnvironmentVariable.js +6 -4
  65. package/projectEnvironmentVariable.js.map +1 -1
  66. package/projectFunctionCpu.d.ts +104 -0
  67. package/projectFunctionCpu.js +91 -0
  68. package/projectFunctionCpu.js.map +1 -0
  69. package/provider.d.ts +4 -4
  70. package/sharedEnvironmentVariable.d.ts +1 -3
  71. package/sharedEnvironmentVariable.js +1 -3
  72. package/sharedEnvironmentVariable.js.map +1 -1
  73. package/types/input.d.ts +33 -1
  74. package/types/output.d.ts +65 -4
  75. package/webhook.d.ts +127 -0
  76. package/webhook.js +100 -0
  77. package/webhook.js.map +1 -0
@@ -0,0 +1,78 @@
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
+ export declare function getEdgeConfig(args: GetEdgeConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigResult>;
19
+ /**
20
+ * A collection of arguments for invoking getEdgeConfig.
21
+ */
22
+ 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
+ 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
+ teamId?: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getEdgeConfig.
34
+ */
35
+ 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
+ readonly id: string;
40
+ /**
41
+ * The name/slug of the Edge Config.
42
+ */
43
+ 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
+ readonly teamId: string;
48
+ }
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
+ export declare function getEdgeConfigOutput(args: GetEdgeConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigResult>;
66
+ /**
67
+ * A collection of arguments for invoking getEdgeConfig.
68
+ */
69
+ 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
+ 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
+ teamId?: pulumi.Input<string>;
78
+ }
@@ -0,0 +1,52 @@
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.getEdgeConfigOutput = exports.getEdgeConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
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
+ function getEdgeConfig(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("vercel:index/getEdgeConfig:getEdgeConfig", {
27
+ "id": args.id,
28
+ "teamId": args.teamId,
29
+ }, opts);
30
+ }
31
+ 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
+ function getEdgeConfigOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => getEdgeConfig(a, opts));
50
+ }
51
+ exports.getEdgeConfigOutput = getEdgeConfigOutput;
52
+ //# sourceMappingURL=getEdgeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAiCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as vercel from "@pulumi/vercel";
10
+ *
11
+ * const test = vercel.getEdgeConfigSchema({
12
+ * id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function getEdgeConfigSchema(args: GetEdgeConfigSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigSchemaResult>;
17
+ /**
18
+ * A collection of arguments for invoking getEdgeConfigSchema.
19
+ */
20
+ export interface GetEdgeConfigSchemaArgs {
21
+ /**
22
+ * The ID of the Edge Config that the schema should be for.
23
+ */
24
+ id: string;
25
+ /**
26
+ * 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.
27
+ */
28
+ teamId?: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getEdgeConfigSchema.
32
+ */
33
+ export interface GetEdgeConfigSchemaResult {
34
+ /**
35
+ * A JSON schema that will be used to validate data in the Edge Config.
36
+ */
37
+ readonly definition: string;
38
+ /**
39
+ * The ID of the Edge Config that the schema should be for.
40
+ */
41
+ readonly id: string;
42
+ /**
43
+ * 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.
44
+ */
45
+ readonly teamId: string;
46
+ }
47
+ /**
48
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
49
+ *
50
+ * ## Example Usage
51
+ *
52
+ * ```typescript
53
+ * import * as pulumi from "@pulumi/pulumi";
54
+ * import * as vercel from "@pulumi/vercel";
55
+ *
56
+ * const test = vercel.getEdgeConfigSchema({
57
+ * id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
58
+ * });
59
+ * ```
60
+ */
61
+ export declare function getEdgeConfigSchemaOutput(args: GetEdgeConfigSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigSchemaResult>;
62
+ /**
63
+ * A collection of arguments for invoking getEdgeConfigSchema.
64
+ */
65
+ export interface GetEdgeConfigSchemaOutputArgs {
66
+ /**
67
+ * The ID of the Edge Config that the schema should be for.
68
+ */
69
+ id: pulumi.Input<string>;
70
+ /**
71
+ * 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.
72
+ */
73
+ teamId?: pulumi.Input<string>;
74
+ }
@@ -0,0 +1,48 @@
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.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as vercel from "@pulumi/vercel";
16
+ *
17
+ * const test = vercel.getEdgeConfigSchema({
18
+ * id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
19
+ * });
20
+ * ```
21
+ */
22
+ function getEdgeConfigSchema(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("vercel:index/getEdgeConfigSchema:getEdgeConfigSchema", {
25
+ "id": args.id,
26
+ "teamId": args.teamId,
27
+ }, opts);
28
+ }
29
+ exports.getEdgeConfigSchema = getEdgeConfigSchema;
30
+ /**
31
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as vercel from "@pulumi/vercel";
38
+ *
39
+ * const test = vercel.getEdgeConfigSchema({
40
+ * id: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
41
+ * });
42
+ * ```
43
+ */
44
+ function getEdgeConfigSchemaOutput(args, opts) {
45
+ return pulumi.output(args).apply((a) => getEdgeConfigSchema(a, opts));
46
+ }
47
+ exports.getEdgeConfigSchemaOutput = getEdgeConfigSchemaOutput;
48
+ //# sourceMappingURL=getEdgeConfigSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,104 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides information about an existing Edge Config Token.
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
+ * An Edge Config token is used to authenticate against an Edge Config's endpoint.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vercel from "@pulumi/vercel";
14
+ *
15
+ * const test = vercel.getEdgeConfigToken({
16
+ * edgeConfigId: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
17
+ * token: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
18
+ * });
19
+ * ```
20
+ */
21
+ export declare function getEdgeConfigToken(args: GetEdgeConfigTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigTokenResult>;
22
+ /**
23
+ * A collection of arguments for invoking getEdgeConfigToken.
24
+ */
25
+ export interface GetEdgeConfigTokenArgs {
26
+ /**
27
+ * The label of the Edge Config Token.
28
+ */
29
+ edgeConfigId: string;
30
+ /**
31
+ * 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.
32
+ */
33
+ teamId?: string;
34
+ /**
35
+ * A read access token used for authenticating against the Edge Config's endpoint for high volume, low-latency requests.
36
+ */
37
+ token: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by getEdgeConfigToken.
41
+ */
42
+ export interface GetEdgeConfigTokenResult {
43
+ /**
44
+ * A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
45
+ */
46
+ readonly connectionString: string;
47
+ /**
48
+ * The label of the Edge Config Token.
49
+ */
50
+ readonly edgeConfigId: string;
51
+ /**
52
+ * The ID of this resource.
53
+ */
54
+ readonly id: string;
55
+ /**
56
+ * The label of the Edge Config Token.
57
+ */
58
+ readonly label: string;
59
+ /**
60
+ * 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.
61
+ */
62
+ readonly teamId: string;
63
+ /**
64
+ * A read access token used for authenticating against the Edge Config's endpoint for high volume, low-latency requests.
65
+ */
66
+ readonly token: string;
67
+ }
68
+ /**
69
+ * Provides information about an existing Edge Config Token.
70
+ *
71
+ * An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
72
+ *
73
+ * An Edge Config token is used to authenticate against an Edge Config's endpoint.
74
+ *
75
+ * ## Example Usage
76
+ *
77
+ * ```typescript
78
+ * import * as pulumi from "@pulumi/pulumi";
79
+ * import * as vercel from "@pulumi/vercel";
80
+ *
81
+ * const test = vercel.getEdgeConfigToken({
82
+ * edgeConfigId: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
83
+ * token: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
84
+ * });
85
+ * ```
86
+ */
87
+ export declare function getEdgeConfigTokenOutput(args: GetEdgeConfigTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigTokenResult>;
88
+ /**
89
+ * A collection of arguments for invoking getEdgeConfigToken.
90
+ */
91
+ export interface GetEdgeConfigTokenOutputArgs {
92
+ /**
93
+ * The label of the Edge Config Token.
94
+ */
95
+ edgeConfigId: pulumi.Input<string>;
96
+ /**
97
+ * 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.
98
+ */
99
+ teamId?: pulumi.Input<string>;
100
+ /**
101
+ * A read access token used for authenticating against the Edge Config's endpoint for high volume, low-latency requests.
102
+ */
103
+ token: pulumi.Input<string>;
104
+ }
@@ -0,0 +1,59 @@
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.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing Edge Config Token.
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
+ * An Edge Config token is used to authenticate against an Edge Config's endpoint.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vercel from "@pulumi/vercel";
20
+ *
21
+ * const test = vercel.getEdgeConfigToken({
22
+ * edgeConfigId: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
23
+ * token: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
24
+ * });
25
+ * ```
26
+ */
27
+ function getEdgeConfigToken(args, opts) {
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
+ return pulumi.runtime.invoke("vercel:index/getEdgeConfigToken:getEdgeConfigToken", {
30
+ "edgeConfigId": args.edgeConfigId,
31
+ "teamId": args.teamId,
32
+ "token": args.token,
33
+ }, opts);
34
+ }
35
+ exports.getEdgeConfigToken = getEdgeConfigToken;
36
+ /**
37
+ * Provides information about an existing Edge Config Token.
38
+ *
39
+ * An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
40
+ *
41
+ * An Edge Config token is used to authenticate against an Edge Config's endpoint.
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as vercel from "@pulumi/vercel";
48
+ *
49
+ * const test = vercel.getEdgeConfigToken({
50
+ * edgeConfigId: "ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
51
+ * token: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
52
+ * });
53
+ * ```
54
+ */
55
+ function getEdgeConfigTokenOutput(args, opts) {
56
+ return pulumi.output(args).apply((a) => getEdgeConfigToken(a, opts));
57
+ }
58
+ exports.getEdgeConfigTokenOutput = getEdgeConfigTokenOutput;
59
+ //# sourceMappingURL=getEdgeConfigToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEdgeConfigToken.js","sourceRoot":"","sources":["../getEdgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAiDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a verification code that can be used to prove ownership over an API.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as vercel from "@pulumi/vercel";
10
+ *
11
+ * const example = vercel.getEndpointVerification({});
12
+ * ```
13
+ */
14
+ export declare function getEndpointVerification(args?: GetEndpointVerificationArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointVerificationResult>;
15
+ /**
16
+ * A collection of arguments for invoking getEndpointVerification.
17
+ */
18
+ export interface GetEndpointVerificationArgs {
19
+ /**
20
+ * 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.
21
+ */
22
+ teamId?: string;
23
+ }
24
+ /**
25
+ * A collection of values returned by getEndpointVerification.
26
+ */
27
+ export interface GetEndpointVerificationResult {
28
+ /**
29
+ * The ID of this resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * 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.
34
+ */
35
+ readonly teamId: string;
36
+ /**
37
+ * A verification code that should be set in the `x-vercel-verify` response header for your API. This is used to verify that the endpoint belongs to you.
38
+ */
39
+ readonly verificationCode: string;
40
+ }
41
+ /**
42
+ * Provides a verification code that can be used to prove ownership over an API.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as vercel from "@pulumi/vercel";
49
+ *
50
+ * const example = vercel.getEndpointVerification({});
51
+ * ```
52
+ */
53
+ export declare function getEndpointVerificationOutput(args?: GetEndpointVerificationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEndpointVerificationResult>;
54
+ /**
55
+ * A collection of arguments for invoking getEndpointVerification.
56
+ */
57
+ export interface GetEndpointVerificationOutputArgs {
58
+ /**
59
+ * 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.
60
+ */
61
+ teamId?: pulumi.Input<string>;
62
+ }
@@ -0,0 +1,44 @@
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.getEndpointVerificationOutput = exports.getEndpointVerification = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a verification code that can be used to prove ownership over an API.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as vercel from "@pulumi/vercel";
16
+ *
17
+ * const example = vercel.getEndpointVerification({});
18
+ * ```
19
+ */
20
+ function getEndpointVerification(args, opts) {
21
+ args = args || {};
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("vercel:index/getEndpointVerification:getEndpointVerification", {
24
+ "teamId": args.teamId,
25
+ }, opts);
26
+ }
27
+ exports.getEndpointVerification = getEndpointVerification;
28
+ /**
29
+ * Provides a verification code that can be used to prove ownership over an API.
30
+ *
31
+ * ## Example Usage
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as vercel from "@pulumi/vercel";
36
+ *
37
+ * const example = vercel.getEndpointVerification({});
38
+ * ```
39
+ */
40
+ function getEndpointVerificationOutput(args, opts) {
41
+ return pulumi.output(args).apply((a) => getEndpointVerification(a, opts));
42
+ }
43
+ exports.getEndpointVerificationOutput = getEndpointVerificationOutput;
44
+ //# sourceMappingURL=getEndpointVerification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEndpointVerification.js","sourceRoot":"","sources":["../getEndpointVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
package/getFile.d.ts CHANGED
@@ -6,7 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
- * <!--Start PulumiCodeChooser -->
10
9
  * ```typescript
11
10
  * import * as pulumi from "@pulumi/pulumi";
12
11
  * import * as vercel from "@pulumi/vercel";
@@ -23,7 +22,6 @@ import * as pulumi from "@pulumi/pulumi";
23
22
  * files: exampleFile.then(exampleFile => exampleFile.file),
24
23
  * });
25
24
  * ```
26
- * <!--End PulumiCodeChooser -->
27
25
  */
28
26
  export declare function getFile(args: GetFileArgs, opts?: pulumi.InvokeOptions): Promise<GetFileResult>;
29
27
  /**
@@ -55,7 +53,6 @@ export interface GetFileResult {
55
53
  *
56
54
  * ## Example Usage
57
55
  *
58
- * <!--Start PulumiCodeChooser -->
59
56
  * ```typescript
60
57
  * import * as pulumi from "@pulumi/pulumi";
61
58
  * import * as vercel from "@pulumi/vercel";
@@ -72,7 +69,6 @@ export interface GetFileResult {
72
69
  * files: exampleFile.then(exampleFile => exampleFile.file),
73
70
  * });
74
71
  * ```
75
- * <!--End PulumiCodeChooser -->
76
72
  */
77
73
  export declare function getFileOutput(args: GetFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFileResult>;
78
74
  /**
package/getFile.js CHANGED
@@ -12,7 +12,6 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * <!--Start PulumiCodeChooser -->
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
18
17
  * import * as vercel from "@pulumi/vercel";
@@ -29,7 +28,6 @@ const utilities = require("./utilities");
29
28
  * files: exampleFile.then(exampleFile => exampleFile.file),
30
29
  * });
31
30
  * ```
32
- * <!--End PulumiCodeChooser -->
33
31
  */
34
32
  function getFile(args, opts) {
35
33
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -45,7 +43,6 @@ exports.getFile = getFile;
45
43
  *
46
44
  * ## Example Usage
47
45
  *
48
- * <!--Start PulumiCodeChooser -->
49
46
  * ```typescript
50
47
  * import * as pulumi from "@pulumi/pulumi";
51
48
  * import * as vercel from "@pulumi/vercel";
@@ -62,7 +59,6 @@ exports.getFile = getFile;
62
59
  * files: exampleFile.then(exampleFile => exampleFile.file),
63
60
  * });
64
61
  * ```
65
- * <!--End PulumiCodeChooser -->
66
62
  */
67
63
  function getFileOutput(args, opts) {
68
64
  return pulumi.output(args).apply((a) => getFile(a, opts));
package/getFile.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}