@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.
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 +9 -36
  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 +110 -0
  34. package/firewallConfig.js +62 -0
  35. package/firewallConfig.js.map +1 -0
  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 +48 -6
  98. package/index.js +68 -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 +301 -2
  132. package/types/output.d.ts +372 -1
  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
@@ -0,0 +1,63 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class AccessGroup extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing AccessGroup resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessGroupState, opts?: pulumi.CustomResourceOptions): AccessGroup;
13
+ /**
14
+ * Returns true if the given object is an instance of AccessGroup. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is AccessGroup;
18
+ /**
19
+ * The name of the Access Group
20
+ */
21
+ readonly name: pulumi.Output<string>;
22
+ /**
23
+ * The ID of the team the Access Group should exist under. Required when configuring a team resource if a default team has
24
+ * not been set in the provider.
25
+ */
26
+ readonly teamId: pulumi.Output<string>;
27
+ /**
28
+ * Create a AccessGroup resource with the given unique name, arguments, and options.
29
+ *
30
+ * @param name The _unique_ name of the resource.
31
+ * @param args The arguments to use to populate this resource's properties.
32
+ * @param opts A bag of options that control this resource's behavior.
33
+ */
34
+ constructor(name: string, args?: AccessGroupArgs, opts?: pulumi.CustomResourceOptions);
35
+ }
36
+ /**
37
+ * Input properties used for looking up and filtering AccessGroup resources.
38
+ */
39
+ export interface AccessGroupState {
40
+ /**
41
+ * The name of the Access Group
42
+ */
43
+ name?: pulumi.Input<string>;
44
+ /**
45
+ * The ID of the team the Access Group should exist under. Required when configuring a team resource if a default team has
46
+ * not been set in the provider.
47
+ */
48
+ teamId?: pulumi.Input<string>;
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a AccessGroup resource.
52
+ */
53
+ export interface AccessGroupArgs {
54
+ /**
55
+ * The name of the Access Group
56
+ */
57
+ name?: pulumi.Input<string>;
58
+ /**
59
+ * The ID of the team the Access Group should exist under. Required when configuring a team resource if a default team has
60
+ * not been set in the provider.
61
+ */
62
+ teamId?: pulumi.Input<string>;
63
+ }
package/accessGroup.js ADDED
@@ -0,0 +1,51 @@
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.AccessGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class AccessGroup extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing AccessGroup resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new AccessGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of AccessGroup. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === AccessGroup.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["name"] = state ? state.name : undefined;
37
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
38
+ }
39
+ else {
40
+ const args = argsOrState;
41
+ resourceInputs["name"] = args ? args.name : undefined;
42
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
43
+ }
44
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
45
+ super(AccessGroup.__pulumiType, name, resourceInputs, opts);
46
+ }
47
+ }
48
+ exports.AccessGroup = AccessGroup;
49
+ /** @internal */
50
+ AccessGroup.__pulumiType = 'vercel:index/accessGroup:AccessGroup';
51
+ //# sourceMappingURL=accessGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessGroup.js","sourceRoot":"","sources":["../accessGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5DL,kCA6DC;AA/CG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class AccessGroupProject extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing AccessGroupProject resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessGroupProjectState, opts?: pulumi.CustomResourceOptions): AccessGroupProject;
13
+ /**
14
+ * Returns true if the given object is an instance of AccessGroupProject. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is AccessGroupProject;
18
+ /**
19
+ * The ID of the Access Group.
20
+ */
21
+ readonly accessGroupId: pulumi.Output<string>;
22
+ /**
23
+ * The Project ID to assign to the access group.
24
+ */
25
+ readonly projectId: pulumi.Output<string>;
26
+ /**
27
+ * The project role to assign to the access group. Must be either `ADMIN`, `PROJECT_DEVELOPER`, or `PROJECT_VIEWER`.
28
+ */
29
+ readonly role: pulumi.Output<string>;
30
+ /**
31
+ * The ID of the team the access group project should exist under. Required when configuring a team resource if a default
32
+ * team has not been set in the provider.
33
+ */
34
+ readonly teamId: pulumi.Output<string>;
35
+ /**
36
+ * Create a AccessGroupProject resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: AccessGroupProjectArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering AccessGroupProject resources.
46
+ */
47
+ export interface AccessGroupProjectState {
48
+ /**
49
+ * The ID of the Access Group.
50
+ */
51
+ accessGroupId?: pulumi.Input<string>;
52
+ /**
53
+ * The Project ID to assign to the access group.
54
+ */
55
+ projectId?: pulumi.Input<string>;
56
+ /**
57
+ * The project role to assign to the access group. Must be either `ADMIN`, `PROJECT_DEVELOPER`, or `PROJECT_VIEWER`.
58
+ */
59
+ role?: pulumi.Input<string>;
60
+ /**
61
+ * The ID of the team the access group project should exist under. Required when configuring a team resource if a default
62
+ * team has not been set in the provider.
63
+ */
64
+ teamId?: pulumi.Input<string>;
65
+ }
66
+ /**
67
+ * The set of arguments for constructing a AccessGroupProject resource.
68
+ */
69
+ export interface AccessGroupProjectArgs {
70
+ /**
71
+ * The ID of the Access Group.
72
+ */
73
+ accessGroupId: pulumi.Input<string>;
74
+ /**
75
+ * The Project ID to assign to the access group.
76
+ */
77
+ projectId: pulumi.Input<string>;
78
+ /**
79
+ * The project role to assign to the access group. Must be either `ADMIN`, `PROJECT_DEVELOPER`, or `PROJECT_VIEWER`.
80
+ */
81
+ role: pulumi.Input<string>;
82
+ /**
83
+ * The ID of the team the access group project should exist under. Required when configuring a team resource if a default
84
+ * team has not been set in the provider.
85
+ */
86
+ teamId?: pulumi.Input<string>;
87
+ }
@@ -0,0 +1,64 @@
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.AccessGroupProject = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class AccessGroupProject extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing AccessGroupProject resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new AccessGroupProject(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of AccessGroupProject. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === AccessGroupProject.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["accessGroupId"] = state ? state.accessGroupId : undefined;
37
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
38
+ resourceInputs["role"] = state ? state.role : undefined;
39
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
40
+ }
41
+ else {
42
+ const args = argsOrState;
43
+ if ((!args || args.accessGroupId === undefined) && !opts.urn) {
44
+ throw new Error("Missing required property 'accessGroupId'");
45
+ }
46
+ if ((!args || args.projectId === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'projectId'");
48
+ }
49
+ if ((!args || args.role === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'role'");
51
+ }
52
+ resourceInputs["accessGroupId"] = args ? args.accessGroupId : undefined;
53
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
54
+ resourceInputs["role"] = args ? args.role : undefined;
55
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(AccessGroupProject.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ }
61
+ exports.AccessGroupProject = AccessGroupProject;
62
+ /** @internal */
63
+ AccessGroupProject.__pulumiType = 'vercel:index/accessGroupProject:AccessGroupProject';
64
+ //# sourceMappingURL=accessGroupProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessGroupProject.js","sourceRoot":"","sources":["../accessGroupProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA4BD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KA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c,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAjFL,gDAkFC;AApEG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
package/alias.d.ts CHANGED
@@ -1,9 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides an Alias resource.
4
- *
5
- * An Alias allows a `vercel.Deployment` to be accessed through a different URL.
6
- */
7
2
  export declare class Alias extends pulumi.CustomResource {
8
3
  /**
9
4
  * Get an existing Alias resource's state with the given name, ID, and optional extra
@@ -29,7 +24,8 @@ export declare class Alias extends pulumi.CustomResource {
29
24
  */
30
25
  readonly deploymentId: pulumi.Output<string>;
31
26
  /**
32
- * 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.
27
+ * The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has
28
+ * not been set in the provider.
33
29
  */
34
30
  readonly teamId: pulumi.Output<string>;
35
31
  /**
@@ -54,7 +50,8 @@ export interface AliasState {
54
50
  */
55
51
  deploymentId?: pulumi.Input<string>;
56
52
  /**
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.
53
+ * The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has
54
+ * not been set in the provider.
58
55
  */
59
56
  teamId?: pulumi.Input<string>;
60
57
  }
@@ -71,7 +68,8 @@ export interface AliasArgs {
71
68
  */
72
69
  deploymentId: pulumi.Input<string>;
73
70
  /**
74
- * 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.
71
+ * The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has
72
+ * not been set in the provider.
75
73
  */
76
74
  teamId?: pulumi.Input<string>;
77
75
  }
package/alias.js CHANGED
@@ -5,11 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Alias = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * Provides an Alias resource.
10
- *
11
- * An Alias allows a `vercel.Deployment` to be accessed through a different URL.
12
- */
13
8
  class Alias extends pulumi.CustomResource {
14
9
  /**
15
10
  * Get an existing Alias resource's state with the given name, ID, and optional extra
package/alias.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"alias.js","sourceRoot":"","sources":["../alias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI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,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAoC,CAAC;YAClD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAxEL,sBAyEC;AA3DG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
@@ -1,34 +1,4 @@
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 "@pulumiverse/vercel";
12
- *
13
- * const exampleProject = new vercel.Project("exampleProject", {});
14
- * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
15
- * projectId: exampleProject.id,
16
- * enabled: true,
17
- * });
18
- * ```
19
- *
20
- * ## Import
21
- *
22
- * You can import via the team_id and project_id.
23
- *
24
- * - team_id can be found in the team `settings` tab in the Vercel UI.
25
- *
26
- * - project_id can be found in the project `settings` tab in the Vercel UI.
27
- *
28
- * ```sh
29
- * $ pulumi import vercel:index/attackChallengeMode:AttackChallengeMode example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
30
- * ```
31
- */
32
2
  export declare class AttackChallengeMode extends pulumi.CustomResource {
33
3
  /**
34
4
  * Get an existing AttackChallengeMode resource's state with the given name, ID, and optional extra
@@ -50,11 +20,12 @@ export declare class AttackChallengeMode extends pulumi.CustomResource {
50
20
  */
51
21
  readonly enabled: pulumi.Output<boolean>;
52
22
  /**
53
- * The ID of the Project to adjust the CPU for.
23
+ * The ID of the Project to toggle Attack Challenge Mode on.
54
24
  */
55
25
  readonly projectId: pulumi.Output<string>;
56
26
  /**
57
- * 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.
27
+ * The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been
28
+ * set in the provider.
58
29
  */
59
30
  readonly teamId: pulumi.Output<string>;
60
31
  /**
@@ -75,11 +46,12 @@ export interface AttackChallengeModeState {
75
46
  */
76
47
  enabled?: pulumi.Input<boolean>;
77
48
  /**
78
- * The ID of the Project to adjust the CPU for.
49
+ * The ID of the Project to toggle Attack Challenge Mode on.
79
50
  */
80
51
  projectId?: pulumi.Input<string>;
81
52
  /**
82
- * 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.
53
+ * The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been
54
+ * set in the provider.
83
55
  */
84
56
  teamId?: pulumi.Input<string>;
85
57
  }
@@ -92,11 +64,12 @@ export interface AttackChallengeModeArgs {
92
64
  */
93
65
  enabled: pulumi.Input<boolean>;
94
66
  /**
95
- * The ID of the Project to adjust the CPU for.
67
+ * The ID of the Project to toggle Attack Challenge Mode on.
96
68
  */
97
69
  projectId: pulumi.Input<string>;
98
70
  /**
99
- * 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.
71
+ * The ID of the team the Project exists under. Required when configuring a team resource if a default team has not been
72
+ * set in the provider.
100
73
  */
101
74
  teamId?: pulumi.Input<string>;
102
75
  }
@@ -5,36 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.AttackChallengeMode = 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 "@pulumiverse/vercel";
18
- *
19
- * const exampleProject = new vercel.Project("exampleProject", {});
20
- * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
21
- * projectId: exampleProject.id,
22
- * enabled: true,
23
- * });
24
- * ```
25
- *
26
- * ## Import
27
- *
28
- * You can import via the team_id and project_id.
29
- *
30
- * - team_id can be found in the team `settings` tab in the Vercel UI.
31
- *
32
- * - project_id can be found in the project `settings` tab in the Vercel UI.
33
- *
34
- * ```sh
35
- * $ pulumi import vercel:index/attackChallengeMode:AttackChallengeMode example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
36
- * ```
37
- */
38
8
  class AttackChallengeMode extends pulumi.CustomResource {
39
9
  /**
40
10
  * Get an existing AttackChallengeMode resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"attackChallengeMode.js","sourceRoot":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AC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAxEL,kDAyEC;AA3DG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class CustomEnvironment extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing CustomEnvironment resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomEnvironmentState, opts?: pulumi.CustomResourceOptions): CustomEnvironment;
15
+ /**
16
+ * Returns true if the given object is an instance of CustomEnvironment. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is CustomEnvironment;
20
+ /**
21
+ * The branch tracking configuration for the environment. When enabled, each qualifying merge will generate a deployment.
22
+ */
23
+ readonly branchTracking: pulumi.Output<outputs.CustomEnvironmentBranchTracking>;
24
+ /**
25
+ * A description of what the environment is.
26
+ */
27
+ readonly description: pulumi.Output<string>;
28
+ /**
29
+ * The name of the environment.
30
+ */
31
+ readonly name: pulumi.Output<string>;
32
+ /**
33
+ * The ID of the existing Vercel Project.
34
+ */
35
+ readonly projectId: pulumi.Output<string>;
36
+ /**
37
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
38
+ * provider.
39
+ */
40
+ readonly teamId: pulumi.Output<string>;
41
+ /**
42
+ * Create a CustomEnvironment resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: CustomEnvironmentArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * Input properties used for looking up and filtering CustomEnvironment resources.
52
+ */
53
+ export interface CustomEnvironmentState {
54
+ /**
55
+ * The branch tracking configuration for the environment. When enabled, each qualifying merge will generate a deployment.
56
+ */
57
+ branchTracking?: pulumi.Input<inputs.CustomEnvironmentBranchTracking>;
58
+ /**
59
+ * A description of what the environment is.
60
+ */
61
+ description?: pulumi.Input<string>;
62
+ /**
63
+ * The name of the environment.
64
+ */
65
+ name?: pulumi.Input<string>;
66
+ /**
67
+ * The ID of the existing Vercel Project.
68
+ */
69
+ projectId?: pulumi.Input<string>;
70
+ /**
71
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
72
+ * provider.
73
+ */
74
+ teamId?: pulumi.Input<string>;
75
+ }
76
+ /**
77
+ * The set of arguments for constructing a CustomEnvironment resource.
78
+ */
79
+ export interface CustomEnvironmentArgs {
80
+ /**
81
+ * The branch tracking configuration for the environment. When enabled, each qualifying merge will generate a deployment.
82
+ */
83
+ branchTracking?: pulumi.Input<inputs.CustomEnvironmentBranchTracking>;
84
+ /**
85
+ * A description of what the environment is.
86
+ */
87
+ description?: pulumi.Input<string>;
88
+ /**
89
+ * The name of the environment.
90
+ */
91
+ name?: pulumi.Input<string>;
92
+ /**
93
+ * The ID of the existing Vercel Project.
94
+ */
95
+ projectId: pulumi.Input<string>;
96
+ /**
97
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
98
+ * provider.
99
+ */
100
+ teamId?: pulumi.Input<string>;
101
+ }
@@ -0,0 +1,60 @@
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.CustomEnvironment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class CustomEnvironment extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing CustomEnvironment resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new CustomEnvironment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of CustomEnvironment. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === CustomEnvironment.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["branchTracking"] = state ? state.branchTracking : undefined;
37
+ resourceInputs["description"] = state ? state.description : undefined;
38
+ resourceInputs["name"] = state ? state.name : undefined;
39
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
40
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
41
+ }
42
+ else {
43
+ const args = argsOrState;
44
+ if ((!args || args.projectId === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'projectId'");
46
+ }
47
+ resourceInputs["branchTracking"] = args ? args.branchTracking : undefined;
48
+ resourceInputs["description"] = args ? args.description : undefined;
49
+ resourceInputs["name"] = args ? args.name : undefined;
50
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
51
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
52
+ }
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
+ super(CustomEnvironment.__pulumiType, name, resourceInputs, opts);
55
+ }
56
+ }
57
+ exports.CustomEnvironment = CustomEnvironment;
58
+ /** @internal */
59
+ CustomEnvironment.__pulumiType = 'vercel:index/customEnvironment:CustomEnvironment';
60
+ //# sourceMappingURL=customEnvironment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customEnvironment.js","sourceRoot":"","sources":["../customEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAgCD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,I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