@pulumiverse/vercel 1.14.3 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/accessGroup.d.ts +63 -0
  2. package/accessGroup.js +51 -0
  3. package/accessGroup.js.map +1 -0
  4. package/accessGroupProject.d.ts +87 -0
  5. package/accessGroupProject.js +64 -0
  6. package/accessGroupProject.js.map +1 -0
  7. package/alias.d.ts +6 -8
  8. package/alias.js +0 -5
  9. package/alias.js.map +1 -1
  10. package/attackChallengeMode.d.ts +6 -33
  11. package/attackChallengeMode.js +0 -30
  12. package/attackChallengeMode.js.map +1 -1
  13. package/customEnvironment.d.ts +101 -0
  14. package/customEnvironment.js +60 -0
  15. package/customEnvironment.js.map +1 -0
  16. package/deployment.d.ts +34 -17
  17. package/deployment.js.map +1 -1
  18. package/dnsRecord.d.ts +30 -127
  19. package/dnsRecord.js +0 -97
  20. package/dnsRecord.js.map +1 -1
  21. package/edgeConfig.d.ts +6 -54
  22. package/edgeConfig.js +0 -51
  23. package/edgeConfig.js.map +1 -1
  24. package/edgeConfigItem.d.ts +87 -0
  25. package/edgeConfigItem.js +64 -0
  26. package/edgeConfigItem.js.map +1 -0
  27. package/edgeConfigSchema.d.ts +6 -28
  28. package/edgeConfigSchema.js +0 -25
  29. package/edgeConfigSchema.js.map +1 -1
  30. package/edgeConfigToken.d.ts +10 -62
  31. package/edgeConfigToken.js +0 -57
  32. package/edgeConfigToken.js.map +1 -1
  33. package/firewallConfig.d.ts +0 -9
  34. package/firewallConfig.js +0 -9
  35. package/firewallConfig.js.map +1 -1
  36. package/getAccessGroup.d.ts +25 -0
  37. package/getAccessGroup.js +24 -0
  38. package/getAccessGroup.js.map +1 -0
  39. package/getAccessGroupProject.d.ts +32 -0
  40. package/getAccessGroupProject.js +26 -0
  41. package/getAccessGroupProject.js.map +1 -0
  42. package/getAlias.d.ts +0 -34
  43. package/getAlias.js +0 -10
  44. package/getAlias.js.map +1 -1
  45. package/getAttackChallengeMode.d.ts +0 -56
  46. package/getAttackChallengeMode.js +0 -32
  47. package/getAttackChallengeMode.js.map +1 -1
  48. package/getCustomEnvironment.d.ts +31 -0
  49. package/getCustomEnvironment.js +26 -0
  50. package/getCustomEnvironment.js.map +1 -0
  51. package/getDeployment.d.ts +0 -65
  52. package/getDeployment.js +0 -32
  53. package/getDeployment.js.map +1 -1
  54. package/getEdgeConfig.d.ts +0 -53
  55. package/getEdgeConfig.js +0 -32
  56. package/getEdgeConfig.js.map +1 -1
  57. package/getEdgeConfigItem.d.ts +28 -0
  58. package/getEdgeConfigItem.js +26 -0
  59. package/getEdgeConfigItem.js.map +1 -0
  60. package/getEdgeConfigSchema.d.ts +0 -49
  61. package/getEdgeConfigSchema.js +0 -28
  62. package/getEdgeConfigSchema.js.map +1 -1
  63. package/getEdgeConfigToken.d.ts +0 -74
  64. package/getEdgeConfigToken.js +0 -38
  65. package/getEdgeConfigToken.js.map +1 -1
  66. package/getEndpointVerification.d.ts +0 -39
  67. package/getEndpointVerification.js +0 -24
  68. package/getEndpointVerification.js.map +1 -1
  69. package/getFile.d.ts +0 -54
  70. package/getFile.js +0 -48
  71. package/getFile.js.map +1 -1
  72. package/getLogDrain.d.ts +0 -81
  73. package/getLogDrain.js +0 -36
  74. package/getLogDrain.js.map +1 -1
  75. package/getPrebuiltProject.d.ts +0 -6
  76. package/getPrebuiltProject.js.map +1 -1
  77. package/getProject.d.ts +1 -146
  78. package/getProject.js +0 -38
  79. package/getProject.js.map +1 -1
  80. package/getProjectDeploymentRetention.d.ts +0 -47
  81. package/getProjectDeploymentRetention.js +0 -14
  82. package/getProjectDeploymentRetention.js.map +1 -1
  83. package/getProjectDirectory.d.ts +0 -6
  84. package/getProjectDirectory.js.map +1 -1
  85. package/getProjectMembers.d.ts +30 -0
  86. package/getProjectMembers.js +24 -0
  87. package/getProjectMembers.js.map +1 -0
  88. package/getSharedEnvironmentVariable.d.ts +1 -95
  89. package/getSharedEnvironmentVariable.js +0 -50
  90. package/getSharedEnvironmentVariable.js.map +1 -1
  91. package/getTeamConfig.d.ts +35 -0
  92. package/getTeamConfig.js +22 -0
  93. package/getTeamConfig.js.map +1 -0
  94. package/getTeamMember.d.ts +29 -0
  95. package/getTeamMember.js +24 -0
  96. package/getTeamMember.js.map +1 -0
  97. package/index.d.ts +45 -6
  98. package/index.js +63 -9
  99. package/index.js.map +1 -1
  100. package/logDrain.d.ts +42 -74
  101. package/logDrain.js +0 -56
  102. package/logDrain.js.map +1 -1
  103. package/package.json +1 -1
  104. package/project.d.ts +111 -89
  105. package/project.js +3 -46
  106. package/project.js.map +1 -1
  107. package/projectDeploymentRetention.d.ts +0 -51
  108. package/projectDeploymentRetention.js +0 -51
  109. package/projectDeploymentRetention.js.map +1 -1
  110. package/projectDomain.d.ts +21 -55
  111. package/projectDomain.js +2 -52
  112. package/projectDomain.js.map +1 -1
  113. package/projectEnvironmentVariable.d.ts +40 -86
  114. package/projectEnvironmentVariable.js +4 -82
  115. package/projectEnvironmentVariable.js.map +1 -1
  116. package/projectEnvironmentVariables.d.ts +74 -0
  117. package/projectEnvironmentVariables.js +59 -0
  118. package/projectEnvironmentVariables.js.map +1 -0
  119. package/projectMembers.d.ts +77 -0
  120. package/projectMembers.js +59 -0
  121. package/projectMembers.js.map +1 -0
  122. package/sharedEnvironmentVariable.d.ts +24 -49
  123. package/sharedEnvironmentVariable.js +2 -43
  124. package/sharedEnvironmentVariable.js.map +1 -1
  125. package/teamConfig.d.ts +211 -0
  126. package/teamConfig.js +75 -0
  127. package/teamConfig.js.map +1 -0
  128. package/teamMember.d.ts +107 -0
  129. package/teamMember.js +66 -0
  130. package/teamMember.js.map +1 -0
  131. package/types/input.d.ts +109 -9
  132. package/types/output.d.ts +180 -8
  133. package/webhook.d.ts +18 -43
  134. package/webhook.js +0 -35
  135. package/webhook.js.map +1 -1
  136. package/getProjectFunctionCpu.d.ts +0 -92
  137. package/getProjectFunctionCpu.js +0 -66
  138. package/getProjectFunctionCpu.js.map +0 -1
  139. package/projectFunctionCpu.d.ts +0 -106
  140. package/projectFunctionCpu.js +0 -93
  141. package/projectFunctionCpu.js.map +0 -1
@@ -1,74 +1,25 @@
1
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
2
  export declare function getEdgeConfigSchema(args: GetEdgeConfigSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigSchemaResult>;
17
3
  /**
18
4
  * A collection of arguments for invoking getEdgeConfigSchema.
19
5
  */
20
6
  export interface GetEdgeConfigSchemaArgs {
21
- /**
22
- * The ID of the Edge Config that the schema should be for.
23
- */
24
7
  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
8
  teamId?: string;
29
9
  }
30
10
  /**
31
11
  * A collection of values returned by getEdgeConfigSchema.
32
12
  */
33
13
  export interface GetEdgeConfigSchemaResult {
34
- /**
35
- * A JSON schema that will be used to validate data in the Edge Config.
36
- */
37
14
  readonly definition: string;
38
- /**
39
- * The ID of the Edge Config that the schema should be for.
40
- */
41
15
  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
16
  readonly teamId: string;
46
17
  }
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
18
  export declare function getEdgeConfigSchemaOutput(args: GetEdgeConfigSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigSchemaResult>;
62
19
  /**
63
20
  * A collection of arguments for invoking getEdgeConfigSchema.
64
21
  */
65
22
  export interface GetEdgeConfigSchemaOutputArgs {
66
- /**
67
- * The ID of the Edge Config that the schema should be for.
68
- */
69
23
  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
24
  teamId?: pulumi.Input<string>;
74
25
  }
@@ -5,20 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
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
8
  function getEdgeConfigSchema(args, opts) {
23
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
10
  return pulumi.runtime.invoke("vercel:index/getEdgeConfigSchema:getEdgeConfigSchema", {
@@ -27,20 +13,6 @@ function getEdgeConfigSchema(args, opts) {
27
13
  }, opts);
28
14
  }
29
15
  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
16
  function getEdgeConfigSchemaOutput(args, opts) {
45
17
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
18
  return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigSchema:getEdgeConfigSchema", {
@@ -1 +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;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
1
+ {"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAkBD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -1,104 +1,30 @@
1
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
2
  export declare function getEdgeConfigToken(args: GetEdgeConfigTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetEdgeConfigTokenResult>;
22
3
  /**
23
4
  * A collection of arguments for invoking getEdgeConfigToken.
24
5
  */
25
6
  export interface GetEdgeConfigTokenArgs {
26
- /**
27
- * The label of the Edge Config Token.
28
- */
29
7
  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
8
  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
9
  token: string;
38
10
  }
39
11
  /**
40
12
  * A collection of values returned by getEdgeConfigToken.
41
13
  */
42
14
  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
15
  readonly connectionString: string;
47
- /**
48
- * The label of the Edge Config Token.
49
- */
50
16
  readonly edgeConfigId: string;
51
- /**
52
- * The ID of this resource.
53
- */
54
17
  readonly id: string;
55
- /**
56
- * The label of the Edge Config Token.
57
- */
58
18
  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
19
  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
20
  readonly token: string;
67
21
  }
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
22
  export declare function getEdgeConfigTokenOutput(args: GetEdgeConfigTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEdgeConfigTokenResult>;
88
23
  /**
89
24
  * A collection of arguments for invoking getEdgeConfigToken.
90
25
  */
91
26
  export interface GetEdgeConfigTokenOutputArgs {
92
- /**
93
- * The label of the Edge Config Token.
94
- */
95
27
  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
28
  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
29
  token: pulumi.Input<string>;
104
30
  }
@@ -5,25 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
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
8
  function getEdgeConfigToken(args, opts) {
28
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
10
  return pulumi.runtime.invoke("vercel:index/getEdgeConfigToken:getEdgeConfigToken", {
@@ -33,25 +14,6 @@ function getEdgeConfigToken(args, opts) {
33
14
  }, opts);
34
15
  }
35
16
  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
17
  function getEdgeConfigTokenOutput(args, opts) {
56
18
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
57
19
  return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigToken:getEdgeConfigToken", {
@@ -1 +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;IACxF,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,CA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,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
@@ -1,62 +1,23 @@
1
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
2
  export declare function getEndpointVerification(args?: GetEndpointVerificationArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointVerificationResult>;
15
3
  /**
16
4
  * A collection of arguments for invoking getEndpointVerification.
17
5
  */
18
6
  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
7
  teamId?: string;
23
8
  }
24
9
  /**
25
10
  * A collection of values returned by getEndpointVerification.
26
11
  */
27
12
  export interface GetEndpointVerificationResult {
28
- /**
29
- * The ID of this resource.
30
- */
31
13
  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
14
  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
15
  readonly verificationCode: string;
40
16
  }
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
17
  export declare function getEndpointVerificationOutput(args?: GetEndpointVerificationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEndpointVerificationResult>;
54
18
  /**
55
19
  * A collection of arguments for invoking getEndpointVerification.
56
20
  */
57
21
  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
22
  teamId?: pulumi.Input<string>;
62
23
  }
@@ -5,18 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getEndpointVerificationOutput = exports.getEndpointVerification = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
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
8
  function getEndpointVerification(args, opts) {
21
9
  args = args || {};
22
10
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -25,18 +13,6 @@ function getEndpointVerification(args, opts) {
25
13
  }, opts);
26
14
  }
27
15
  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
16
  function getEndpointVerificationOutput(args, opts) {
41
17
  args = args || {};
42
18
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +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;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS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E,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
package/getFile.d.ts CHANGED
@@ -1,28 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides information about a file on disk.
4
- *
5
- * This will read a single file, providing metadata for use with a `vercel.Deployment`.
6
- *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as vercel from "@pulumi/vercel";
12
- * import * as vercel from "@pulumiverse/vercel";
13
- *
14
- * const exampleFile = vercel.getFile({
15
- * path: "index.html",
16
- * });
17
- * const exampleProject = vercel.getProject({
18
- * name: "my-project",
19
- * });
20
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
21
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
22
- * files: exampleFile.then(exampleFile => exampleFile.file),
23
- * });
24
- * ```
25
- */
26
2
  export declare function getFile(args: GetFileArgs, opts?: pulumi.InvokeOptions): Promise<GetFileResult>;
27
3
  /**
28
4
  * A collection of arguments for invoking getFile.
@@ -34,42 +10,12 @@ export interface GetFileArgs {
34
10
  * A collection of values returned by getFile.
35
11
  */
36
12
  export interface GetFileResult {
37
- /**
38
- * A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
39
- */
40
13
  readonly file: {
41
14
  [key: string]: string;
42
15
  };
43
- /**
44
- * The ID of this resource.
45
- */
46
16
  readonly id: string;
47
17
  readonly path: string;
48
18
  }
49
- /**
50
- * Provides information about a file on disk.
51
- *
52
- * This will read a single file, providing metadata for use with a `vercel.Deployment`.
53
- *
54
- * ## Example Usage
55
- *
56
- * ```typescript
57
- * import * as pulumi from "@pulumi/pulumi";
58
- * import * as vercel from "@pulumi/vercel";
59
- * import * as vercel from "@pulumiverse/vercel";
60
- *
61
- * const exampleFile = vercel.getFile({
62
- * path: "index.html",
63
- * });
64
- * const exampleProject = vercel.getProject({
65
- * name: "my-project",
66
- * });
67
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
68
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
69
- * files: exampleFile.then(exampleFile => exampleFile.file),
70
- * });
71
- * ```
72
- */
73
19
  export declare function getFileOutput(args: GetFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFileResult>;
74
20
  /**
75
21
  * A collection of arguments for invoking getFile.
package/getFile.js CHANGED
@@ -5,30 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getFileOutput = exports.getFile = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * Provides information about a file on disk.
10
- *
11
- * This will read a single file, providing metadata for use with a `vercel.Deployment`.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as vercel from "@pulumi/vercel";
18
- * import * as vercel from "@pulumiverse/vercel";
19
- *
20
- * const exampleFile = vercel.getFile({
21
- * path: "index.html",
22
- * });
23
- * const exampleProject = vercel.getProject({
24
- * name: "my-project",
25
- * });
26
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
27
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
28
- * files: exampleFile.then(exampleFile => exampleFile.file),
29
- * });
30
- * ```
31
- */
32
8
  function getFile(args, opts) {
33
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
10
  return pulumi.runtime.invoke("vercel:index/getFile:getFile", {
@@ -36,30 +12,6 @@ function getFile(args, opts) {
36
12
  }, opts);
37
13
  }
38
14
  exports.getFile = getFile;
39
- /**
40
- * Provides information about a file on disk.
41
- *
42
- * This will read a single file, providing metadata for use with a `vercel.Deployment`.
43
- *
44
- * ## Example Usage
45
- *
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as vercel from "@pulumi/vercel";
49
- * import * as vercel from "@pulumiverse/vercel";
50
- *
51
- * const exampleFile = vercel.getFile({
52
- * path: "index.html",
53
- * });
54
- * const exampleProject = vercel.getProject({
55
- * name: "my-project",
56
- * });
57
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
58
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
59
- * files: exampleFile.then(exampleFile => exampleFile.file),
60
- * });
61
- * ```
62
- */
63
15
  function getFileOutput(args, opts) {
64
16
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
65
17
  return pulumi.runtime.invokeOutput("vercel:index/getFile:getFile", {
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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,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;AALD,0BAKC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,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,YAAY,CAAC,8BAA8B,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
1
+ {"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,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;AALD,0BAKC;AAiBD,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,YAAY,CAAC,8BAA8B,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
package/getLogDrain.d.ts CHANGED
@@ -1,116 +1,35 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides information about an existing Log Drain.
4
- *
5
- * Log Drains collect all of your logs using a service specializing in storing app logs.
6
- *
7
- * Teams on Pro and Enterprise plans can subscribe to log drains that are generic and configurable from the Vercel dashboard without creating an integration. This allows you to use a HTTP service to receive logs through Vercel's log drains.
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumi/vercel";
14
- *
15
- * const example = vercel.getLogDrain({
16
- * id: "lg_xxxxxxx_xxxxxx_xxxxx",
17
- * });
18
- * ```
19
- */
20
2
  export declare function getLogDrain(args: GetLogDrainArgs, opts?: pulumi.InvokeOptions): Promise<GetLogDrainResult>;
21
3
  /**
22
4
  * A collection of arguments for invoking getLogDrain.
23
5
  */
24
6
  export interface GetLogDrainArgs {
25
- /**
26
- * Logs will be sent as POST requests to this URL. The endpoint will be verified, and must return a `200` status code and an `x-vercel-verify` header taken from the endpointVerification data source. The value the `x-vercel-verify` header should be can be read from the `vercelEndpointVerificationCode` data source.
27
- */
28
7
  endpoint: string;
29
- /**
30
- * The ID of the Log Drain.
31
- */
32
8
  id: string;
33
- /**
34
- * The ID of the team the Log Drain should exist under. Required when configuring a team resource if a default team has not been set in the provider.
35
- */
36
9
  teamId?: string;
37
10
  }
38
11
  /**
39
12
  * A collection of values returned by getLogDrain.
40
13
  */
41
14
  export interface GetLogDrainResult {
42
- /**
43
- * The format log data should be delivered in. Can be `json` or `ndjson`.
44
- */
45
15
  readonly deliveryFormat: string;
46
- /**
47
- * Logs will be sent as POST requests to this URL. The endpoint will be verified, and must return a `200` status code and an `x-vercel-verify` header taken from the endpointVerification data source. The value the `x-vercel-verify` header should be can be read from the `vercelEndpointVerificationCode` data source.
48
- */
49
16
  readonly endpoint: string;
50
- /**
51
- * Logs from the selected environments will be forwarded to your webhook. At least one must be present.
52
- */
53
17
  readonly environments: string[];
54
- /**
55
- * Custom headers to include in requests to the log drain endpoint.
56
- */
57
18
  readonly headers: {
58
19
  [key: string]: string;
59
20
  };
60
- /**
61
- * The ID of the Log Drain.
62
- */
63
21
  readonly id: string;
64
- /**
65
- * A list of project IDs that the log drain should be associated with. Logs from these projects will be sent log events to the specified endpoint. If omitted, logs will be sent for all projects.
66
- */
67
22
  readonly projectIds: string[];
68
- /**
69
- * A ratio of logs matching the sampling rate will be sent to your log drain. Should be a value between 0 and 1. If unspecified, all logs are sent.
70
- */
71
23
  readonly samplingRate: number;
72
- /**
73
- * A set of sources that the log drain should send logs for. Valid values are `static`, `edge`, `external`, `build` and `function`.
74
- */
75
24
  readonly sources: string[];
76
- /**
77
- * The ID of the team the Log Drain should exist under. Required when configuring a team resource if a default team has not been set in the provider.
78
- */
79
25
  readonly teamId: string;
80
26
  }
81
- /**
82
- * Provides information about an existing Log Drain.
83
- *
84
- * Log Drains collect all of your logs using a service specializing in storing app logs.
85
- *
86
- * Teams on Pro and Enterprise plans can subscribe to log drains that are generic and configurable from the Vercel dashboard without creating an integration. This allows you to use a HTTP service to receive logs through Vercel's log drains.
87
- *
88
- * ## Example Usage
89
- *
90
- * ```typescript
91
- * import * as pulumi from "@pulumi/pulumi";
92
- * import * as vercel from "@pulumi/vercel";
93
- *
94
- * const example = vercel.getLogDrain({
95
- * id: "lg_xxxxxxx_xxxxxx_xxxxx",
96
- * });
97
- * ```
98
- */
99
27
  export declare function getLogDrainOutput(args: GetLogDrainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLogDrainResult>;
100
28
  /**
101
29
  * A collection of arguments for invoking getLogDrain.
102
30
  */
103
31
  export interface GetLogDrainOutputArgs {
104
- /**
105
- * Logs will be sent as POST requests to this URL. The endpoint will be verified, and must return a `200` status code and an `x-vercel-verify` header taken from the endpointVerification data source. The value the `x-vercel-verify` header should be can be read from the `vercelEndpointVerificationCode` data source.
106
- */
107
32
  endpoint: pulumi.Input<string>;
108
- /**
109
- * The ID of the Log Drain.
110
- */
111
33
  id: pulumi.Input<string>;
112
- /**
113
- * The ID of the team the Log Drain should exist under. Required when configuring a team resource if a default team has not been set in the provider.
114
- */
115
34
  teamId?: pulumi.Input<string>;
116
35
  }