@pulumiverse/vercel 2.9.0-alpha.1747137905 → 3.0.0-alpha.1747140361

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.
@@ -0,0 +1,123 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Firewall Bypass Rule
4
+ *
5
+ * Firewall Bypass Rules configure sets of domains and ip address to prevent bypass Vercel's system mitigations for. The hosts used in a bypass rule must be a production domain assigned to the associated project. Requests that bypass system mitigations will incur usage.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as vercel from "@pulumiverse/vercel";
12
+ *
13
+ * const example = new vercel.Project("example", {name: "firewall-bypass-example"});
14
+ * const bypassTargeted = new vercel.FirewallBypass("bypass_targeted", {
15
+ * projectId: example.id,
16
+ * sourceIp: "5.6.7.8",
17
+ * domain: "my-production-domain.com",
18
+ * });
19
+ * const bypassCidr = new vercel.FirewallBypass("bypass_cidr", {
20
+ * projectId: example.id,
21
+ * sourceIp: "52.33.44.0/24",
22
+ * domain: "my-production-domain.com",
23
+ * });
24
+ * const bypassAll = new vercel.FirewallBypass("bypass_all", {
25
+ * projectId: example.id,
26
+ * sourceIp: "52.33.44.0/24",
27
+ * domain: "*",
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ```sh
34
+ * $ pulumi import vercel:index/firewallBypass:FirewallBypass example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx#mybypasshost.com#3.4.5.0/24
35
+ * ```
36
+ *
37
+ * ```sh
38
+ * $ pulumi import vercel:index/firewallBypass:FirewallBypass example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx#3.4.5.0/24
39
+ * ```
40
+ */
41
+ export declare class FirewallBypass extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing FirewallBypass resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FirewallBypassState, opts?: pulumi.CustomResourceOptions): FirewallBypass;
52
+ /**
53
+ * Returns true if the given object is an instance of FirewallBypass. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj: any): obj is FirewallBypass;
57
+ /**
58
+ * The domain to configure the bypass rule for.
59
+ */
60
+ readonly domain: pulumi.Output<string>;
61
+ /**
62
+ * The ID of the Project to assign the bypass rule to
63
+ */
64
+ readonly projectId: pulumi.Output<string>;
65
+ /**
66
+ * The source IP address to configure the bypass rule for.
67
+ */
68
+ readonly sourceIp: pulumi.Output<string>;
69
+ /**
70
+ * 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
+ */
72
+ readonly teamId: pulumi.Output<string>;
73
+ /**
74
+ * Create a FirewallBypass resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: FirewallBypassArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering FirewallBypass resources.
84
+ */
85
+ export interface FirewallBypassState {
86
+ /**
87
+ * The domain to configure the bypass rule for.
88
+ */
89
+ domain?: pulumi.Input<string>;
90
+ /**
91
+ * The ID of the Project to assign the bypass rule to
92
+ */
93
+ projectId?: pulumi.Input<string>;
94
+ /**
95
+ * The source IP address to configure the bypass rule for.
96
+ */
97
+ sourceIp?: pulumi.Input<string>;
98
+ /**
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.
100
+ */
101
+ teamId?: pulumi.Input<string>;
102
+ }
103
+ /**
104
+ * The set of arguments for constructing a FirewallBypass resource.
105
+ */
106
+ export interface FirewallBypassArgs {
107
+ /**
108
+ * The domain to configure the bypass rule for.
109
+ */
110
+ domain: pulumi.Input<string>;
111
+ /**
112
+ * The ID of the Project to assign the bypass rule to
113
+ */
114
+ projectId: pulumi.Input<string>;
115
+ /**
116
+ * The source IP address to configure the bypass rule for.
117
+ */
118
+ sourceIp: pulumi.Input<string>;
119
+ /**
120
+ * 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.
121
+ */
122
+ teamId?: pulumi.Input<string>;
123
+ }
@@ -0,0 +1,103 @@
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.FirewallBypass = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Firewall Bypass Rule
10
+ *
11
+ * Firewall Bypass Rules configure sets of domains and ip address to prevent bypass Vercel's system mitigations for. The hosts used in a bypass rule must be a production domain assigned to the associated project. Requests that bypass system mitigations will incur usage.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vercel from "@pulumiverse/vercel";
18
+ *
19
+ * const example = new vercel.Project("example", {name: "firewall-bypass-example"});
20
+ * const bypassTargeted = new vercel.FirewallBypass("bypass_targeted", {
21
+ * projectId: example.id,
22
+ * sourceIp: "5.6.7.8",
23
+ * domain: "my-production-domain.com",
24
+ * });
25
+ * const bypassCidr = new vercel.FirewallBypass("bypass_cidr", {
26
+ * projectId: example.id,
27
+ * sourceIp: "52.33.44.0/24",
28
+ * domain: "my-production-domain.com",
29
+ * });
30
+ * const bypassAll = new vercel.FirewallBypass("bypass_all", {
31
+ * projectId: example.id,
32
+ * sourceIp: "52.33.44.0/24",
33
+ * domain: "*",
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * ```sh
40
+ * $ pulumi import vercel:index/firewallBypass:FirewallBypass example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx#mybypasshost.com#3.4.5.0/24
41
+ * ```
42
+ *
43
+ * ```sh
44
+ * $ pulumi import vercel:index/firewallBypass:FirewallBypass example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx#3.4.5.0/24
45
+ * ```
46
+ */
47
+ class FirewallBypass extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing FirewallBypass resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name, id, state, opts) {
58
+ return new FirewallBypass(name, state, Object.assign(Object.assign({}, opts), { id: id }));
59
+ }
60
+ /**
61
+ * Returns true if the given object is an instance of FirewallBypass. 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) {
65
+ if (obj === undefined || obj === null) {
66
+ return false;
67
+ }
68
+ return obj['__pulumiType'] === FirewallBypass.__pulumiType;
69
+ }
70
+ constructor(name, argsOrState, opts) {
71
+ let resourceInputs = {};
72
+ opts = opts || {};
73
+ if (opts.id) {
74
+ const state = argsOrState;
75
+ resourceInputs["domain"] = state ? state.domain : undefined;
76
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
77
+ resourceInputs["sourceIp"] = state ? state.sourceIp : undefined;
78
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if ((!args || args.domain === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'domain'");
84
+ }
85
+ if ((!args || args.projectId === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'projectId'");
87
+ }
88
+ if ((!args || args.sourceIp === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'sourceIp'");
90
+ }
91
+ resourceInputs["domain"] = args ? args.domain : undefined;
92
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
93
+ resourceInputs["sourceIp"] = args ? args.sourceIp : undefined;
94
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(FirewallBypass.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.FirewallBypass = FirewallBypass;
101
+ /** @internal */
102
+ FirewallBypass.__pulumiType = 'vercel:index/firewallBypass:FirewallBypass';
103
+ //# sourceMappingURL=firewallBypass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firewallBypass.js","sourceRoot":"","sources":["../firewallBypass.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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,KA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cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,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,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Provides information about an existing Microfrontend Group.
5
+ *
6
+ * A Microfrontend Group is a definition of a microfrontend belonging to a Vercel Team.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as vercel from "@pulumi/vercel";
13
+ *
14
+ * const example = vercel.getMicrofrontendGroup({
15
+ * id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getMicrofrontendGroup(args: GetMicrofrontendGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetMicrofrontendGroupResult>;
20
+ /**
21
+ * A collection of arguments for invoking getMicrofrontendGroup.
22
+ */
23
+ export interface GetMicrofrontendGroupArgs {
24
+ /**
25
+ * A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
26
+ */
27
+ id: string;
28
+ /**
29
+ * 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.
30
+ */
31
+ teamId?: string;
32
+ }
33
+ /**
34
+ * A collection of values returned by getMicrofrontendGroup.
35
+ */
36
+ export interface GetMicrofrontendGroupResult {
37
+ /**
38
+ * The default app for the project. Used as the entry point for the microfrontend.
39
+ */
40
+ readonly defaultApp: outputs.GetMicrofrontendGroupDefaultApp;
41
+ /**
42
+ * A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
43
+ */
44
+ readonly id: string;
45
+ /**
46
+ * A human readable name for the microfrontends group.
47
+ */
48
+ readonly name: string;
49
+ /**
50
+ * A slugified version of the name.
51
+ */
52
+ readonly slug: string;
53
+ /**
54
+ * 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.
55
+ */
56
+ readonly teamId: string;
57
+ }
58
+ /**
59
+ * Provides information about an existing Microfrontend Group.
60
+ *
61
+ * A Microfrontend Group is a definition of a microfrontend belonging to a Vercel Team.
62
+ *
63
+ * ## Example Usage
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as vercel from "@pulumi/vercel";
68
+ *
69
+ * const example = vercel.getMicrofrontendGroup({
70
+ * id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
71
+ * });
72
+ * ```
73
+ */
74
+ export declare function getMicrofrontendGroupOutput(args: GetMicrofrontendGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMicrofrontendGroupResult>;
75
+ /**
76
+ * A collection of arguments for invoking getMicrofrontendGroup.
77
+ */
78
+ export interface GetMicrofrontendGroupOutputArgs {
79
+ /**
80
+ * A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
81
+ */
82
+ id: pulumi.Input<string>;
83
+ /**
84
+ * 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.
85
+ */
86
+ teamId?: pulumi.Input<string>;
87
+ }
@@ -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.getMicrofrontendGroupOutput = exports.getMicrofrontendGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing Microfrontend Group.
10
+ *
11
+ * A Microfrontend Group is a definition of a microfrontend belonging to a Vercel Team.
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.getMicrofrontendGroup({
20
+ * id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
21
+ * });
22
+ * ```
23
+ */
24
+ function getMicrofrontendGroup(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("vercel:index/getMicrofrontendGroup:getMicrofrontendGroup", {
27
+ "id": args.id,
28
+ "teamId": args.teamId,
29
+ }, opts);
30
+ }
31
+ exports.getMicrofrontendGroup = getMicrofrontendGroup;
32
+ /**
33
+ * Provides information about an existing Microfrontend Group.
34
+ *
35
+ * A Microfrontend Group is a definition of a microfrontend belonging to a Vercel Team.
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.getMicrofrontendGroup({
44
+ * id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
45
+ * });
46
+ * ```
47
+ */
48
+ function getMicrofrontendGroupOutput(args, opts) {
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vercel:index/getMicrofrontendGroup:getMicrofrontendGroup", {
51
+ "id": args.id,
52
+ "teamId": args.teamId,
53
+ }, opts);
54
+ }
55
+ exports.getMicrofrontendGroupOutput = getMicrofrontendGroupOutput;
56
+ //# sourceMappingURL=getMicrofrontendGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMicrofrontendGroup.js","sourceRoot":"","sources":["../getMicrofrontendGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAyCD;;;;;;;;;;;;;;;GAeG;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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -0,0 +1,100 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides information about an existing Microfrontend Group Membership.
4
+ *
5
+ * A Microfrontend Group Membership is a definition of a Vercel Project being a part of a Microfrontend Group.
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.getMicrofrontendGroupMembership({
14
+ * projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
15
+ * microfrontendGroupId: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getMicrofrontendGroupMembership(args: GetMicrofrontendGroupMembershipArgs, opts?: pulumi.InvokeOptions): Promise<GetMicrofrontendGroupMembershipResult>;
20
+ /**
21
+ * A collection of arguments for invoking getMicrofrontendGroupMembership.
22
+ */
23
+ export interface GetMicrofrontendGroupMembershipArgs {
24
+ /**
25
+ * The ID of the microfrontend group.
26
+ */
27
+ microfrontendGroupId: string;
28
+ /**
29
+ * The ID of the project.
30
+ */
31
+ projectId: string;
32
+ /**
33
+ * The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
34
+ */
35
+ teamId?: string;
36
+ }
37
+ /**
38
+ * A collection of values returned by getMicrofrontendGroupMembership.
39
+ */
40
+ export interface GetMicrofrontendGroupMembershipResult {
41
+ /**
42
+ * The default route for the project. Used for the screenshot of deployments.
43
+ */
44
+ readonly defaultRoute: string;
45
+ /**
46
+ * The provider-assigned unique ID for this managed resource.
47
+ */
48
+ readonly id: string;
49
+ /**
50
+ * The ID of the microfrontend group.
51
+ */
52
+ readonly microfrontendGroupId: string;
53
+ /**
54
+ * The ID of the project.
55
+ */
56
+ readonly projectId: string;
57
+ /**
58
+ * Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
59
+ */
60
+ readonly routeObservabilityToThisProject: boolean;
61
+ /**
62
+ * The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
63
+ */
64
+ readonly teamId: string;
65
+ }
66
+ /**
67
+ * Provides information about an existing Microfrontend Group Membership.
68
+ *
69
+ * A Microfrontend Group Membership is a definition of a Vercel Project being a part of a Microfrontend Group.
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as vercel from "@pulumi/vercel";
76
+ *
77
+ * const example = vercel.getMicrofrontendGroupMembership({
78
+ * projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
79
+ * microfrontendGroupId: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
80
+ * });
81
+ * ```
82
+ */
83
+ export declare function getMicrofrontendGroupMembershipOutput(args: GetMicrofrontendGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMicrofrontendGroupMembershipResult>;
84
+ /**
85
+ * A collection of arguments for invoking getMicrofrontendGroupMembership.
86
+ */
87
+ export interface GetMicrofrontendGroupMembershipOutputArgs {
88
+ /**
89
+ * The ID of the microfrontend group.
90
+ */
91
+ microfrontendGroupId: pulumi.Input<string>;
92
+ /**
93
+ * The ID of the project.
94
+ */
95
+ projectId: pulumi.Input<string>;
96
+ /**
97
+ * The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
98
+ */
99
+ teamId?: pulumi.Input<string>;
100
+ }
@@ -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.getMicrofrontendGroupMembershipOutput = exports.getMicrofrontendGroupMembership = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing Microfrontend Group Membership.
10
+ *
11
+ * A Microfrontend Group Membership is a definition of a Vercel Project being a part of a Microfrontend Group.
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.getMicrofrontendGroupMembership({
20
+ * projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
21
+ * microfrontendGroupId: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
22
+ * });
23
+ * ```
24
+ */
25
+ function getMicrofrontendGroupMembership(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("vercel:index/getMicrofrontendGroupMembership:getMicrofrontendGroupMembership", {
28
+ "microfrontendGroupId": args.microfrontendGroupId,
29
+ "projectId": args.projectId,
30
+ "teamId": args.teamId,
31
+ }, opts);
32
+ }
33
+ exports.getMicrofrontendGroupMembership = getMicrofrontendGroupMembership;
34
+ /**
35
+ * Provides information about an existing Microfrontend Group Membership.
36
+ *
37
+ * A Microfrontend Group Membership is a definition of a Vercel Project being a part of a Microfrontend Group.
38
+ *
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as vercel from "@pulumi/vercel";
44
+ *
45
+ * const example = vercel.getMicrofrontendGroupMembership({
46
+ * projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
47
+ * microfrontendGroupId: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
48
+ * });
49
+ * ```
50
+ */
51
+ function getMicrofrontendGroupMembershipOutput(args, opts) {
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
+ return pulumi.runtime.invokeOutput("vercel:index/getMicrofrontendGroupMembership:getMicrofrontendGroupMembership", {
54
+ "microfrontendGroupId": args.microfrontendGroupId,
55
+ "projectId": args.projectId,
56
+ "teamId": args.teamId,
57
+ }, opts);
58
+ }
59
+ exports.getMicrofrontendGroupMembershipOutput = getMicrofrontendGroupMembershipOutput;
60
+ //# sourceMappingURL=getMicrofrontendGroupMembership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMicrofrontendGroupMembership.js","sourceRoot":"","sources":["../getMicrofrontendGroupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0EAOC;AAiDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sFAOC"}
package/getProject.d.ts CHANGED
@@ -27,6 +27,10 @@ export interface GetProjectArgs {
27
27
  * The name of the project.
28
28
  */
29
29
  name: string;
30
+ /**
31
+ * Instantly scale build capacity to skip the queue, even if all build slots are in use. You can also choose a larger build machine; charges apply per minute if it exceeds your team's default.
32
+ */
33
+ onDemandConcurrentBuilds?: boolean;
30
34
  /**
31
35
  * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
32
36
  */
@@ -60,6 +64,18 @@ export interface GetProjectResult {
60
64
  * If no index file is present within a directory, the directory contents will be displayed.
61
65
  */
62
66
  readonly directoryListing: boolean;
67
+ /**
68
+ * When enabled, Vercel will automatically deploy all projects that are affected by a change to this project.
69
+ */
70
+ readonly enableAffectedProjectsDeployments: boolean;
71
+ /**
72
+ * Whether the Vercel Toolbar is enabled on your preview deployments. If unspecified, defaults to team setting.
73
+ */
74
+ readonly enablePreviewFeedback: boolean;
75
+ /**
76
+ * Whether the Vercel Toolbar is enabled on your production deployments. If unspecified, defaults to team setting.
77
+ */
78
+ readonly enableProductionFeedback: boolean;
63
79
  /**
64
80
  * A list of environment variables that should be configured for the project.
65
81
  */
@@ -104,10 +120,18 @@ export interface GetProjectResult {
104
120
  * The name of the project.
105
121
  */
106
122
  readonly name: string;
123
+ /**
124
+ * The version of Node.js that is used in the Build Step and for Serverless Functions.
125
+ */
126
+ readonly nodeVersion: string;
107
127
  /**
108
128
  * Configuration for OpenID Connect (OIDC) tokens.
109
129
  */
110
130
  readonly oidcTokenConfig: outputs.GetProjectOidcTokenConfig;
131
+ /**
132
+ * Instantly scale build capacity to skip the queue, even if all build slots are in use. You can also choose a larger build machine; charges apply per minute if it exceeds your team's default.
133
+ */
134
+ readonly onDemandConcurrentBuilds: boolean;
111
135
  /**
112
136
  * Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
113
137
  */
@@ -122,6 +146,8 @@ export interface GetProjectResult {
122
146
  readonly passwordProtection: outputs.GetProjectPasswordProtection;
123
147
  /**
124
148
  * Whether comments are enabled on your Preview Deployments.
149
+ *
150
+ * @deprecated Use `enablePreviewFeedback` instead. This attribute will be removed in a future version.
125
151
  */
126
152
  readonly previewComments: boolean;
127
153
  /**
@@ -196,6 +222,10 @@ export interface GetProjectOutputArgs {
196
222
  * The name of the project.
197
223
  */
198
224
  name: pulumi.Input<string>;
225
+ /**
226
+ * Instantly scale build capacity to skip the queue, even if all build slots are in use. You can also choose a larger build machine; charges apply per minute if it exceeds your team's default.
227
+ */
228
+ onDemandConcurrentBuilds?: pulumi.Input<boolean>;
199
229
  /**
200
230
  * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
201
231
  */
package/getProject.js CHANGED
@@ -27,6 +27,7 @@ function getProject(args, opts) {
27
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
28
  return pulumi.runtime.invoke("vercel:index/getProject:getProject", {
29
29
  "name": args.name,
30
+ "onDemandConcurrentBuilds": args.onDemandConcurrentBuilds,
30
31
  "teamId": args.teamId,
31
32
  }, opts);
32
33
  }
@@ -53,6 +54,7 @@ function getProjectOutput(args, opts) {
53
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
55
  return pulumi.runtime.invokeOutput("vercel:index/getProject:getProject", {
55
56
  "name": args.name,
57
+ "onDemandConcurrentBuilds": args.onDemandConcurrentBuilds,
56
58
  "teamId": args.teamId,
57
59
  }, opts);
58
60
  }
package/getProject.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAyJD;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wB;QACzD,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC"}
@@ -37,6 +37,10 @@ export interface GetTeamMemberResult {
37
37
  * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of access groups IDs that the user should be granted access to.
38
38
  */
39
39
  readonly accessGroups: string[];
40
+ /**
41
+ * The email address of the existing Vercel Team Member.
42
+ */
43
+ readonly email: string;
40
44
  /**
41
45
  * The ID of this resource.
42
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTeamMember.js","sourceRoot":"","sources":["../getTeamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;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,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA6CD;;;;;;;;;;;;;;GAcG;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,YAAY,CAAC,0CAA0C,EAAE;QAC3E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAM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