@pulumiverse/vercel 1.14.3 → 2.9.0-alpha.1747136220

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 (76) hide show
  1. package/accessGroup.d.ts +92 -0
  2. package/accessGroup.js +83 -0
  3. package/accessGroup.js.map +1 -0
  4. package/accessGroupProject.d.ts +122 -0
  5. package/accessGroupProject.js +102 -0
  6. package/accessGroupProject.js.map +1 -0
  7. package/customEnvironment.d.ts +150 -0
  8. package/customEnvironment.js +112 -0
  9. package/customEnvironment.js.map +1 -0
  10. package/edgeConfigItem.d.ts +131 -0
  11. package/edgeConfigItem.js +111 -0
  12. package/edgeConfigItem.js.map +1 -0
  13. package/getAccessGroup.d.ts +78 -0
  14. package/getAccessGroup.js +56 -0
  15. package/getAccessGroup.js.map +1 -0
  16. package/getAccessGroupProject.d.ts +102 -0
  17. package/getAccessGroupProject.js +66 -0
  18. package/getAccessGroupProject.js.map +1 -0
  19. package/getCustomEnvironment.d.ts +107 -0
  20. package/getCustomEnvironment.js +66 -0
  21. package/getCustomEnvironment.js.map +1 -0
  22. package/getEdgeConfigItem.d.ts +102 -0
  23. package/getEdgeConfigItem.js +70 -0
  24. package/getEdgeConfigItem.js.map +1 -0
  25. package/getProject.d.ts +7 -5
  26. package/getProject.js +2 -4
  27. package/getProject.js.map +1 -1
  28. package/getProjectMembers.d.ts +85 -0
  29. package/getProjectMembers.js +58 -0
  30. package/getProjectMembers.js.map +1 -0
  31. package/getSharedEnvironmentVariable.d.ts +4 -0
  32. package/getSharedEnvironmentVariable.js.map +1 -1
  33. package/getTeamConfig.d.ts +111 -0
  34. package/getTeamConfig.js +50 -0
  35. package/getTeamConfig.js.map +1 -0
  36. package/getTeamMember.d.ts +89 -0
  37. package/getTeamMember.js +54 -0
  38. package/getTeamMember.js.map +1 -0
  39. package/index.d.ts +45 -6
  40. package/index.js +63 -9
  41. package/index.js.map +1 -1
  42. package/logDrain.d.ts +2 -2
  43. package/logDrain.js +2 -2
  44. package/package.json +3 -2
  45. package/project.d.ts +9 -5
  46. package/project.js +3 -1
  47. package/project.js.map +1 -1
  48. package/projectDomain.d.ts +12 -0
  49. package/projectDomain.js +2 -0
  50. package/projectDomain.js.map +1 -1
  51. package/projectEnvironmentVariable.d.ts +31 -4
  52. package/projectEnvironmentVariable.js +7 -3
  53. package/projectEnvironmentVariable.js.map +1 -1
  54. package/projectEnvironmentVariables.d.ts +77 -0
  55. package/projectEnvironmentVariables.js +62 -0
  56. package/projectEnvironmentVariables.js.map +1 -0
  57. package/projectMembers.d.ts +97 -0
  58. package/{projectFunctionCpu.js → projectMembers.js} +25 -36
  59. package/projectMembers.js.map +1 -0
  60. package/sharedEnvironmentVariable.d.ts +13 -0
  61. package/sharedEnvironmentVariable.js +3 -0
  62. package/sharedEnvironmentVariable.js.map +1 -1
  63. package/teamConfig.d.ts +211 -0
  64. package/teamConfig.js +78 -0
  65. package/teamConfig.js.map +1 -0
  66. package/teamMember.d.ts +122 -0
  67. package/teamMember.js +90 -0
  68. package/teamMember.js.map +1 -0
  69. package/types/input.d.ts +108 -8
  70. package/types/output.d.ts +179 -7
  71. package/getProjectFunctionCpu.d.ts +0 -92
  72. package/getProjectFunctionCpu.js +0 -66
  73. package/getProjectFunctionCpu.js.map +0 -1
  74. package/package.json.bak +0 -27
  75. package/projectFunctionCpu.d.ts +0 -106
  76. package/projectFunctionCpu.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customEnvironment.js","sourceRoot":"","sources":["../customEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA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AI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,131 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Edge Config Item.
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 Item is a value within an Edge Config.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vercel from "@pulumiverse/vercel";
14
+ *
15
+ * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
16
+ * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("exampleEdgeConfigItem", {
17
+ * edgeConfigId: exampleEdgeConfig.id,
18
+ * key: "foobar",
19
+ * value: "baz",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * If importing into a personal account, or with a team configured on
26
+ *
27
+ * the provider, simply use the edge config id and the key of the item to import.
28
+ *
29
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
30
+ *
31
+ * - key is the key of teh item to import.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import vercel:index/edgeConfigItem:EdgeConfigItem example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example_key
35
+ * ```
36
+ *
37
+ * Alternatively, you can import via the team_id, edge_config_id and the key of the item to import.
38
+ *
39
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
40
+ *
41
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
42
+ *
43
+ * - key is the key of the item to import.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import vercel:index/edgeConfigItem:EdgeConfigItem example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example_key
47
+ * ```
48
+ */
49
+ export declare class EdgeConfigItem extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing EdgeConfigItem resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeConfigItemState, opts?: pulumi.CustomResourceOptions): EdgeConfigItem;
60
+ /**
61
+ * Returns true if the given object is an instance of EdgeConfigItem. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj: any): obj is EdgeConfigItem;
65
+ /**
66
+ * The ID of the Edge Config store.
67
+ */
68
+ readonly edgeConfigId: pulumi.Output<string>;
69
+ /**
70
+ * The name of the key you want to add to or update within your Edge Config.
71
+ */
72
+ readonly key: pulumi.Output<string>;
73
+ /**
74
+ * 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.
75
+ */
76
+ readonly teamId: pulumi.Output<string>;
77
+ /**
78
+ * The value you want to assign to the key.
79
+ */
80
+ readonly value: pulumi.Output<string>;
81
+ /**
82
+ * Create a EdgeConfigItem resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name: string, args: EdgeConfigItemArgs, opts?: pulumi.CustomResourceOptions);
89
+ }
90
+ /**
91
+ * Input properties used for looking up and filtering EdgeConfigItem resources.
92
+ */
93
+ export interface EdgeConfigItemState {
94
+ /**
95
+ * The ID of the Edge Config store.
96
+ */
97
+ edgeConfigId?: pulumi.Input<string>;
98
+ /**
99
+ * The name of the key you want to add to or update within your Edge Config.
100
+ */
101
+ key?: pulumi.Input<string>;
102
+ /**
103
+ * 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.
104
+ */
105
+ teamId?: pulumi.Input<string>;
106
+ /**
107
+ * The value you want to assign to the key.
108
+ */
109
+ value?: pulumi.Input<string>;
110
+ }
111
+ /**
112
+ * The set of arguments for constructing a EdgeConfigItem resource.
113
+ */
114
+ export interface EdgeConfigItemArgs {
115
+ /**
116
+ * The ID of the Edge Config store.
117
+ */
118
+ edgeConfigId: pulumi.Input<string>;
119
+ /**
120
+ * The name of the key you want to add to or update within your Edge Config.
121
+ */
122
+ key: pulumi.Input<string>;
123
+ /**
124
+ * 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.
125
+ */
126
+ teamId?: pulumi.Input<string>;
127
+ /**
128
+ * The value you want to assign to the key.
129
+ */
130
+ value: pulumi.Input<string>;
131
+ }
@@ -0,0 +1,111 @@
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.EdgeConfigItem = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides an Edge Config Item.
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 Item is a value within an Edge Config.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vercel from "@pulumiverse/vercel";
20
+ *
21
+ * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
22
+ * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("exampleEdgeConfigItem", {
23
+ * edgeConfigId: exampleEdgeConfig.id,
24
+ * key: "foobar",
25
+ * value: "baz",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * If importing into a personal account, or with a team configured on
32
+ *
33
+ * the provider, simply use the edge config id and the key of the item to import.
34
+ *
35
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
36
+ *
37
+ * - key is the key of teh item to import.
38
+ *
39
+ * ```sh
40
+ * $ pulumi import vercel:index/edgeConfigItem:EdgeConfigItem example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example_key
41
+ * ```
42
+ *
43
+ * Alternatively, you can import via the team_id, edge_config_id and the key of the item to import.
44
+ *
45
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
46
+ *
47
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
48
+ *
49
+ * - key is the key of the item to import.
50
+ *
51
+ * ```sh
52
+ * $ pulumi import vercel:index/edgeConfigItem:EdgeConfigItem example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example_key
53
+ * ```
54
+ */
55
+ class EdgeConfigItem extends pulumi.CustomResource {
56
+ /**
57
+ * Get an existing EdgeConfigItem resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name, id, state, opts) {
66
+ return new EdgeConfigItem(name, state, Object.assign(Object.assign({}, opts), { id: id }));
67
+ }
68
+ /**
69
+ * Returns true if the given object is an instance of EdgeConfigItem. This is designed to work even
70
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
+ */
72
+ static isInstance(obj) {
73
+ if (obj === undefined || obj === null) {
74
+ return false;
75
+ }
76
+ return obj['__pulumiType'] === EdgeConfigItem.__pulumiType;
77
+ }
78
+ constructor(name, argsOrState, opts) {
79
+ let resourceInputs = {};
80
+ opts = opts || {};
81
+ if (opts.id) {
82
+ const state = argsOrState;
83
+ resourceInputs["edgeConfigId"] = state ? state.edgeConfigId : undefined;
84
+ resourceInputs["key"] = state ? state.key : undefined;
85
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
86
+ resourceInputs["value"] = state ? state.value : undefined;
87
+ }
88
+ else {
89
+ const args = argsOrState;
90
+ if ((!args || args.edgeConfigId === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'edgeConfigId'");
92
+ }
93
+ if ((!args || args.key === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'key'");
95
+ }
96
+ if ((!args || args.value === undefined) && !opts.urn) {
97
+ throw new Error("Missing required property 'value'");
98
+ }
99
+ resourceInputs["edgeConfigId"] = args ? args.edgeConfigId : undefined;
100
+ resourceInputs["key"] = args ? args.key : undefined;
101
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
102
+ resourceInputs["value"] = args ? args.value : undefined;
103
+ }
104
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
105
+ super(EdgeConfigItem.__pulumiType, name, resourceInputs, opts);
106
+ }
107
+ }
108
+ exports.EdgeConfigItem = EdgeConfigItem;
109
+ /** @internal */
110
+ EdgeConfigItem.__pulumiType = 'vercel:index/edgeConfigItem:EdgeConfigItem';
111
+ //# sourceMappingURL=edgeConfigItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeConfigItem.js","sourceRoot":"","sources":["../edgeConfigItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAA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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhFL,wCAiFC;AAnEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides information about an existing Access Group.
4
+ *
5
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as vercel from "@pulumi/vercel";
12
+ *
13
+ * const example = vercel.getAccessGroup({
14
+ * id: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getAccessGroup(args: GetAccessGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupResult>;
19
+ /**
20
+ * A collection of arguments for invoking getAccessGroup.
21
+ */
22
+ export interface GetAccessGroupArgs {
23
+ /**
24
+ * The Access Group ID to be retrieved.
25
+ */
26
+ id: string;
27
+ /**
28
+ * The ID of the team the Access Group 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 getAccessGroup.
34
+ */
35
+ export interface GetAccessGroupResult {
36
+ /**
37
+ * The Access Group ID to be retrieved.
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * The name of the Access Group.
42
+ */
43
+ readonly name: 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 not been set in the provider.
46
+ */
47
+ readonly teamId: string;
48
+ }
49
+ /**
50
+ * Provides information about an existing Access Group.
51
+ *
52
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
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.getAccessGroup({
61
+ * id: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
62
+ * });
63
+ * ```
64
+ */
65
+ export declare function getAccessGroupOutput(args: GetAccessGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupResult>;
66
+ /**
67
+ * A collection of arguments for invoking getAccessGroup.
68
+ */
69
+ export interface GetAccessGroupOutputArgs {
70
+ /**
71
+ * The Access Group ID to be retrieved.
72
+ */
73
+ id: pulumi.Input<string>;
74
+ /**
75
+ * The ID of the team the Access Group 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,56 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAccessGroupOutput = exports.getAccessGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing Access Group.
10
+ *
11
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vercel from "@pulumi/vercel";
18
+ *
19
+ * const example = vercel.getAccessGroup({
20
+ * id: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
21
+ * });
22
+ * ```
23
+ */
24
+ function getAccessGroup(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("vercel:index/getAccessGroup:getAccessGroup", {
27
+ "id": args.id,
28
+ "teamId": args.teamId,
29
+ }, opts);
30
+ }
31
+ exports.getAccessGroup = getAccessGroup;
32
+ /**
33
+ * Provides information about an existing Access Group.
34
+ *
35
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
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.getAccessGroup({
44
+ * id: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
45
+ * });
46
+ * ```
47
+ */
48
+ function getAccessGroupOutput(args, opts) {
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vercel:index/getAccessGroup:getAccessGroup", {
51
+ "id": args.id,
52
+ "teamId": args.teamId,
53
+ }, opts);
54
+ }
55
+ exports.getAccessGroupOutput = getAccessGroupOutput;
56
+ //# sourceMappingURL=getAccessGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccessGroup.js","sourceRoot":"","sources":["../getAccessGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAiCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
@@ -0,0 +1,102 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides information about an existing Access Group Project Assignment.
4
+ *
5
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as vercel from "@pulumi/vercel";
12
+ *
13
+ * const exampleProject = vercel.getProject({
14
+ * name: "my-existing-project",
15
+ * });
16
+ * const exampleAccessGroupProject = vercel.getAccessGroupProject({
17
+ * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
18
+ * projectId: vercel_project.example.id,
19
+ * });
20
+ * ```
21
+ */
22
+ export declare function getAccessGroupProject(args: GetAccessGroupProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupProjectResult>;
23
+ /**
24
+ * A collection of arguments for invoking getAccessGroupProject.
25
+ */
26
+ export interface GetAccessGroupProjectArgs {
27
+ /**
28
+ * The Access Group ID.
29
+ */
30
+ accessGroupId: string;
31
+ /**
32
+ * The Project ID.
33
+ */
34
+ projectId: string;
35
+ /**
36
+ * The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
37
+ */
38
+ teamId?: string;
39
+ }
40
+ /**
41
+ * A collection of values returned by getAccessGroupProject.
42
+ */
43
+ export interface GetAccessGroupProjectResult {
44
+ /**
45
+ * The Access Group ID.
46
+ */
47
+ readonly accessGroupId: string;
48
+ /**
49
+ * The provider-assigned unique ID for this managed resource.
50
+ */
51
+ readonly id: string;
52
+ /**
53
+ * The Project ID.
54
+ */
55
+ readonly projectId: string;
56
+ /**
57
+ * The Access Group Project Role.
58
+ */
59
+ readonly role: string;
60
+ /**
61
+ * The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
62
+ */
63
+ readonly teamId: string;
64
+ }
65
+ /**
66
+ * Provides information about an existing Access Group Project Assignment.
67
+ *
68
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
69
+ *
70
+ * ## Example Usage
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as vercel from "@pulumi/vercel";
75
+ *
76
+ * const exampleProject = vercel.getProject({
77
+ * name: "my-existing-project",
78
+ * });
79
+ * const exampleAccessGroupProject = vercel.getAccessGroupProject({
80
+ * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
81
+ * projectId: vercel_project.example.id,
82
+ * });
83
+ * ```
84
+ */
85
+ export declare function getAccessGroupProjectOutput(args: GetAccessGroupProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupProjectResult>;
86
+ /**
87
+ * A collection of arguments for invoking getAccessGroupProject.
88
+ */
89
+ export interface GetAccessGroupProjectOutputArgs {
90
+ /**
91
+ * The Access Group ID.
92
+ */
93
+ accessGroupId: pulumi.Input<string>;
94
+ /**
95
+ * The Project ID.
96
+ */
97
+ projectId: pulumi.Input<string>;
98
+ /**
99
+ * The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
100
+ */
101
+ teamId?: pulumi.Input<string>;
102
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAccessGroupProjectOutput = exports.getAccessGroupProject = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing Access Group Project Assignment.
10
+ *
11
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vercel from "@pulumi/vercel";
18
+ *
19
+ * const exampleProject = vercel.getProject({
20
+ * name: "my-existing-project",
21
+ * });
22
+ * const exampleAccessGroupProject = vercel.getAccessGroupProject({
23
+ * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
24
+ * projectId: vercel_project.example.id,
25
+ * });
26
+ * ```
27
+ */
28
+ function getAccessGroupProject(args, opts) {
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invoke("vercel:index/getAccessGroupProject:getAccessGroupProject", {
31
+ "accessGroupId": args.accessGroupId,
32
+ "projectId": args.projectId,
33
+ "teamId": args.teamId,
34
+ }, opts);
35
+ }
36
+ exports.getAccessGroupProject = getAccessGroupProject;
37
+ /**
38
+ * Provides information about an existing Access Group Project Assignment.
39
+ *
40
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/accounts/team-members-and-roles/access-groups).
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as vercel from "@pulumi/vercel";
47
+ *
48
+ * const exampleProject = vercel.getProject({
49
+ * name: "my-existing-project",
50
+ * });
51
+ * const exampleAccessGroupProject = vercel.getAccessGroupProject({
52
+ * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
53
+ * projectId: vercel_project.example.id,
54
+ * });
55
+ * ```
56
+ */
57
+ function getAccessGroupProjectOutput(args, opts) {
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
59
+ return pulumi.runtime.invokeOutput("vercel:index/getAccessGroupProject:getAccessGroupProject", {
60
+ "accessGroupId": args.accessGroupId,
61
+ "projectId": args.projectId,
62
+ "teamId": args.teamId,
63
+ }, opts);
64
+ }
65
+ exports.getAccessGroupProjectOutput = getAccessGroupProjectOutput;
66
+ //# sourceMappingURL=getAccessGroupProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccessGroupProject.js","sourceRoot":"","sources":["../getAccessGroupProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA6CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Provides information about an existing CustomEnvironment resource.
5
+ *
6
+ * An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as vercel from "@pulumi/vercel";
13
+ *
14
+ * const exampleProject = vercel.getProject({
15
+ * name: "example-project-with-custom-env",
16
+ * });
17
+ * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
18
+ * projectId: exampleProject.id,
19
+ * name: "example-custom-env",
20
+ * }));
21
+ * ```
22
+ */
23
+ export declare function getCustomEnvironment(args: GetCustomEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomEnvironmentResult>;
24
+ /**
25
+ * A collection of arguments for invoking getCustomEnvironment.
26
+ */
27
+ export interface GetCustomEnvironmentArgs {
28
+ /**
29
+ * The name of the environment.
30
+ */
31
+ name: string;
32
+ /**
33
+ * The ID of the existing Vercel Project.
34
+ */
35
+ projectId: string;
36
+ /**
37
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
38
+ */
39
+ teamId?: string;
40
+ }
41
+ /**
42
+ * A collection of values returned by getCustomEnvironment.
43
+ */
44
+ export interface GetCustomEnvironmentResult {
45
+ /**
46
+ * The branch tracking configuration for the environment. When enabled, each qualifying merge will generate a deployment.
47
+ */
48
+ readonly branchTracking: outputs.GetCustomEnvironmentBranchTracking;
49
+ /**
50
+ * A description of what the environment is.
51
+ */
52
+ readonly description: string;
53
+ /**
54
+ * The ID of the environment.
55
+ */
56
+ readonly id: string;
57
+ /**
58
+ * The name of the environment.
59
+ */
60
+ readonly name: string;
61
+ /**
62
+ * The ID of the existing Vercel Project.
63
+ */
64
+ readonly projectId: string;
65
+ /**
66
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
67
+ */
68
+ readonly teamId: string;
69
+ }
70
+ /**
71
+ * Provides information about an existing CustomEnvironment resource.
72
+ *
73
+ * An CustomEnvironment allows a `vercel.Deployment` to be accessed through a different URL.
74
+ *
75
+ * ## Example Usage
76
+ *
77
+ * ```typescript
78
+ * import * as pulumi from "@pulumi/pulumi";
79
+ * import * as vercel from "@pulumi/vercel";
80
+ *
81
+ * const exampleProject = vercel.getProject({
82
+ * name: "example-project-with-custom-env",
83
+ * });
84
+ * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
85
+ * projectId: exampleProject.id,
86
+ * name: "example-custom-env",
87
+ * }));
88
+ * ```
89
+ */
90
+ export declare function getCustomEnvironmentOutput(args: GetCustomEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomEnvironmentResult>;
91
+ /**
92
+ * A collection of arguments for invoking getCustomEnvironment.
93
+ */
94
+ export interface GetCustomEnvironmentOutputArgs {
95
+ /**
96
+ * The name of the environment.
97
+ */
98
+ name: pulumi.Input<string>;
99
+ /**
100
+ * The ID of the existing Vercel Project.
101
+ */
102
+ projectId: pulumi.Input<string>;
103
+ /**
104
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
105
+ */
106
+ teamId?: pulumi.Input<string>;
107
+ }