@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.
- package/accessGroup.d.ts +63 -0
- package/accessGroup.js +51 -0
- package/accessGroup.js.map +1 -0
- package/accessGroupProject.d.ts +87 -0
- package/accessGroupProject.js +64 -0
- package/accessGroupProject.js.map +1 -0
- package/alias.d.ts +6 -8
- package/alias.js +0 -5
- package/alias.js.map +1 -1
- package/attackChallengeMode.d.ts +9 -36
- package/attackChallengeMode.js +0 -30
- package/attackChallengeMode.js.map +1 -1
- package/customEnvironment.d.ts +101 -0
- package/customEnvironment.js +60 -0
- package/customEnvironment.js.map +1 -0
- package/deployment.d.ts +34 -17
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +30 -127
- package/dnsRecord.js +0 -97
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +6 -54
- package/edgeConfig.js +0 -51
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +87 -0
- package/edgeConfigItem.js +64 -0
- package/edgeConfigItem.js.map +1 -0
- package/edgeConfigSchema.d.ts +6 -28
- package/edgeConfigSchema.js +0 -25
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +10 -62
- package/edgeConfigToken.js +0 -57
- package/edgeConfigToken.js.map +1 -1
- package/firewallConfig.d.ts +110 -0
- package/firewallConfig.js +62 -0
- package/firewallConfig.js.map +1 -0
- package/getAccessGroup.d.ts +25 -0
- package/getAccessGroup.js +24 -0
- package/getAccessGroup.js.map +1 -0
- package/getAccessGroupProject.d.ts +32 -0
- package/getAccessGroupProject.js +26 -0
- package/getAccessGroupProject.js.map +1 -0
- package/getAlias.d.ts +0 -34
- package/getAlias.js +0 -10
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.d.ts +0 -56
- package/getAttackChallengeMode.js +0 -32
- package/getAttackChallengeMode.js.map +1 -1
- package/getCustomEnvironment.d.ts +31 -0
- package/getCustomEnvironment.js +26 -0
- package/getCustomEnvironment.js.map +1 -0
- package/getDeployment.d.ts +0 -65
- package/getDeployment.js +0 -32
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.d.ts +0 -53
- package/getEdgeConfig.js +0 -32
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigItem.d.ts +28 -0
- package/getEdgeConfigItem.js +26 -0
- package/getEdgeConfigItem.js.map +1 -0
- package/getEdgeConfigSchema.d.ts +0 -49
- package/getEdgeConfigSchema.js +0 -28
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.d.ts +0 -74
- package/getEdgeConfigToken.js +0 -38
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.d.ts +0 -39
- package/getEndpointVerification.js +0 -24
- package/getEndpointVerification.js.map +1 -1
- package/getFile.d.ts +0 -54
- package/getFile.js +0 -48
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +0 -81
- package/getLogDrain.js +0 -36
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.d.ts +0 -6
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +1 -146
- package/getProject.js +0 -38
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +0 -47
- package/getProjectDeploymentRetention.js +0 -14
- package/getProjectDeploymentRetention.js.map +1 -1
- package/getProjectDirectory.d.ts +0 -6
- package/getProjectDirectory.js.map +1 -1
- package/getProjectMembers.d.ts +30 -0
- package/getProjectMembers.js +24 -0
- package/getProjectMembers.js.map +1 -0
- package/getSharedEnvironmentVariable.d.ts +1 -95
- package/getSharedEnvironmentVariable.js +0 -50
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +35 -0
- package/getTeamConfig.js +22 -0
- package/getTeamConfig.js.map +1 -0
- package/getTeamMember.d.ts +29 -0
- package/getTeamMember.js +24 -0
- package/getTeamMember.js.map +1 -0
- package/index.d.ts +48 -6
- package/index.js +68 -9
- package/index.js.map +1 -1
- package/logDrain.d.ts +42 -74
- package/logDrain.js +0 -56
- package/logDrain.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +111 -89
- package/project.js +3 -46
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +0 -51
- package/projectDeploymentRetention.js +0 -51
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +21 -55
- package/projectDomain.js +2 -52
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +40 -86
- package/projectEnvironmentVariable.js +4 -82
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +74 -0
- package/projectEnvironmentVariables.js +59 -0
- package/projectEnvironmentVariables.js.map +1 -0
- package/projectMembers.d.ts +77 -0
- package/projectMembers.js +59 -0
- package/projectMembers.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +24 -49
- package/sharedEnvironmentVariable.js +2 -43
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +211 -0
- package/teamConfig.js +75 -0
- package/teamConfig.js.map +1 -0
- package/teamMember.d.ts +107 -0
- package/teamMember.js +66 -0
- package/teamMember.js.map +1 -0
- package/types/input.d.ts +301 -2
- package/types/output.d.ts +372 -1
- package/webhook.d.ts +18 -43
- package/webhook.js +0 -35
- package/webhook.js.map +1 -1
- package/getProjectFunctionCpu.d.ts +0 -92
- package/getProjectFunctionCpu.js +0 -66
- package/getProjectFunctionCpu.js.map +0 -1
- package/projectFunctionCpu.d.ts +0 -106
- package/projectFunctionCpu.js +0 -93
- package/projectFunctionCpu.js.map +0 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class EdgeConfigItem extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing EdgeConfigItem 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?: EdgeConfigItemState, opts?: pulumi.CustomResourceOptions): EdgeConfigItem;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of EdgeConfigItem. 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 EdgeConfigItem;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the Edge Config store.
|
|
20
|
+
*/
|
|
21
|
+
readonly edgeConfigId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the key you want to add to or update within your Edge Config.
|
|
24
|
+
*/
|
|
25
|
+
readonly key: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
28
|
+
* not been set in the provider.
|
|
29
|
+
*/
|
|
30
|
+
readonly teamId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The value you want to assign to the key.
|
|
33
|
+
*/
|
|
34
|
+
readonly value: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Create a EdgeConfigItem 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: EdgeConfigItemArgs, opts?: pulumi.CustomResourceOptions);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Input properties used for looking up and filtering EdgeConfigItem resources.
|
|
46
|
+
*/
|
|
47
|
+
export interface EdgeConfigItemState {
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the Edge Config store.
|
|
50
|
+
*/
|
|
51
|
+
edgeConfigId?: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the key you want to add to or update within your Edge Config.
|
|
54
|
+
*/
|
|
55
|
+
key?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
58
|
+
* not been set in the provider.
|
|
59
|
+
*/
|
|
60
|
+
teamId?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The value you want to assign to the key.
|
|
63
|
+
*/
|
|
64
|
+
value?: pulumi.Input<string>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a EdgeConfigItem resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface EdgeConfigItemArgs {
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the Edge Config store.
|
|
72
|
+
*/
|
|
73
|
+
edgeConfigId: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the key you want to add to or update within your Edge Config.
|
|
76
|
+
*/
|
|
77
|
+
key: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
80
|
+
* not been set in the provider.
|
|
81
|
+
*/
|
|
82
|
+
teamId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The value you want to assign to the key.
|
|
85
|
+
*/
|
|
86
|
+
value: 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.EdgeConfigItem = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class EdgeConfigItem extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing EdgeConfigItem 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 EdgeConfigItem(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of EdgeConfigItem. 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'] === EdgeConfigItem.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["edgeConfigId"] = state ? state.edgeConfigId : undefined;
|
|
37
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
38
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
39
|
+
resourceInputs["value"] = state ? state.value : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const args = argsOrState;
|
|
43
|
+
if ((!args || args.edgeConfigId === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'edgeConfigId'");
|
|
45
|
+
}
|
|
46
|
+
if ((!args || args.key === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'key'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'value'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["edgeConfigId"] = args ? args.edgeConfigId : undefined;
|
|
53
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
54
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
55
|
+
resourceInputs["value"] = args ? args.value : undefined;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(EdgeConfigItem.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.EdgeConfigItem = EdgeConfigItem;
|
|
62
|
+
/** @internal */
|
|
63
|
+
EdgeConfigItem.__pulumiType = 'vercel:index/edgeConfigItem:EdgeConfigItem';
|
|
64
|
+
//# 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,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,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ACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,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;;AAjFL,wCAkFC;AApEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/edgeConfigSchema.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
|
|
4
|
-
*
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* If importing into a personal account, or with a team configured on
|
|
8
|
-
*
|
|
9
|
-
* the provider, simply use the edge config id.
|
|
10
|
-
*
|
|
11
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
12
|
-
*
|
|
13
|
-
* ```sh
|
|
14
|
-
* $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* Alternatively, you can import via the team_id and edge_config_id.
|
|
18
|
-
*
|
|
19
|
-
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
20
|
-
*
|
|
21
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
22
|
-
*
|
|
23
|
-
* ```sh
|
|
24
|
-
* $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
2
|
export declare class EdgeConfigSchema extends pulumi.CustomResource {
|
|
28
3
|
/**
|
|
29
4
|
* Get an existing EdgeConfigSchema resource's state with the given name, ID, and optional extra
|
|
@@ -45,7 +20,8 @@ export declare class EdgeConfigSchema extends pulumi.CustomResource {
|
|
|
45
20
|
*/
|
|
46
21
|
readonly definition: pulumi.Output<string>;
|
|
47
22
|
/**
|
|
48
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
23
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
24
|
+
* not been set in the provider.
|
|
49
25
|
*/
|
|
50
26
|
readonly teamId: pulumi.Output<string>;
|
|
51
27
|
/**
|
|
@@ -66,7 +42,8 @@ export interface EdgeConfigSchemaState {
|
|
|
66
42
|
*/
|
|
67
43
|
definition?: pulumi.Input<string>;
|
|
68
44
|
/**
|
|
69
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
45
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
46
|
+
* not been set in the provider.
|
|
70
47
|
*/
|
|
71
48
|
teamId?: pulumi.Input<string>;
|
|
72
49
|
}
|
|
@@ -79,7 +56,8 @@ export interface EdgeConfigSchemaArgs {
|
|
|
79
56
|
*/
|
|
80
57
|
definition: pulumi.Input<string>;
|
|
81
58
|
/**
|
|
82
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
59
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
60
|
+
* not been set in the provider.
|
|
83
61
|
*/
|
|
84
62
|
teamId?: pulumi.Input<string>;
|
|
85
63
|
}
|
package/edgeConfigSchema.js
CHANGED
|
@@ -5,31 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EdgeConfigSchema = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
|
|
10
|
-
*
|
|
11
|
-
* ## Import
|
|
12
|
-
*
|
|
13
|
-
* If importing into a personal account, or with a team configured on
|
|
14
|
-
*
|
|
15
|
-
* the provider, simply use the edge config id.
|
|
16
|
-
*
|
|
17
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
18
|
-
*
|
|
19
|
-
* ```sh
|
|
20
|
-
* $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* Alternatively, you can import via the team_id and edge_config_id.
|
|
24
|
-
*
|
|
25
|
-
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
26
|
-
*
|
|
27
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
8
|
class EdgeConfigSchema extends pulumi.CustomResource {
|
|
34
9
|
/**
|
|
35
10
|
* Get an existing EdgeConfigSchema resource's state with the given name, ID, and optional extra
|
package/edgeConfigSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeConfigSchema.js","sourceRoot":"","sources":["../edgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeConfigSchema.js","sourceRoot":"","sources":["../edgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAoBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/DL,4CAgEC;AAlDG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/edgeConfigToken.d.ts
CHANGED
|
@@ -1,61 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides an Edge Config Token resource.
|
|
4
|
-
*
|
|
5
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
6
|
-
*
|
|
7
|
-
* An Edge Config token is used to authenticate against an Edge Config's endpoint.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as vercel from "@pulumiverse/vercel";
|
|
14
|
-
*
|
|
15
|
-
* const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
|
|
16
|
-
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
17
|
-
* const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
|
|
18
|
-
* edgeConfigId: exampleEdgeConfig.id,
|
|
19
|
-
* label: "example token",
|
|
20
|
-
* });
|
|
21
|
-
* const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
|
|
22
|
-
* projectId: exampleProject.id,
|
|
23
|
-
* targets: [
|
|
24
|
-
* "production",
|
|
25
|
-
* "preview",
|
|
26
|
-
* "development",
|
|
27
|
-
* ],
|
|
28
|
-
* key: "EDGE_CONFIG",
|
|
29
|
-
* value: exampleEdgeConfigToken.connectionString,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* ## Import
|
|
34
|
-
*
|
|
35
|
-
* If importing into a personal account, or with a team configured on
|
|
36
|
-
*
|
|
37
|
-
* the provider, simply use the edge config id and token value.
|
|
38
|
-
*
|
|
39
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
40
|
-
*
|
|
41
|
-
* - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
|
|
42
|
-
*
|
|
43
|
-
* ```sh
|
|
44
|
-
* $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* Alternatively, you can import via the team_id and edge_config_id.
|
|
48
|
-
*
|
|
49
|
-
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
50
|
-
*
|
|
51
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
52
|
-
*
|
|
53
|
-
* - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
|
|
54
|
-
*
|
|
55
|
-
* ```sh
|
|
56
|
-
* $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
2
|
export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
60
3
|
/**
|
|
61
4
|
* Get an existing EdgeConfigToken resource's state with the given name, ID, and optional extra
|
|
@@ -73,7 +16,8 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
73
16
|
*/
|
|
74
17
|
static isInstance(obj: any): obj is EdgeConfigToken;
|
|
75
18
|
/**
|
|
76
|
-
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our
|
|
19
|
+
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our
|
|
20
|
+
* Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
|
|
77
21
|
*/
|
|
78
22
|
readonly connectionString: pulumi.Output<string>;
|
|
79
23
|
/**
|
|
@@ -85,7 +29,8 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
85
29
|
*/
|
|
86
30
|
readonly label: pulumi.Output<string>;
|
|
87
31
|
/**
|
|
88
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
32
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
33
|
+
* not been set in the provider.
|
|
89
34
|
*/
|
|
90
35
|
readonly teamId: pulumi.Output<string>;
|
|
91
36
|
/**
|
|
@@ -106,7 +51,8 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
106
51
|
*/
|
|
107
52
|
export interface EdgeConfigTokenState {
|
|
108
53
|
/**
|
|
109
|
-
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our
|
|
54
|
+
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our
|
|
55
|
+
* Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
|
|
110
56
|
*/
|
|
111
57
|
connectionString?: pulumi.Input<string>;
|
|
112
58
|
/**
|
|
@@ -118,7 +64,8 @@ export interface EdgeConfigTokenState {
|
|
|
118
64
|
*/
|
|
119
65
|
label?: pulumi.Input<string>;
|
|
120
66
|
/**
|
|
121
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
67
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
68
|
+
* not been set in the provider.
|
|
122
69
|
*/
|
|
123
70
|
teamId?: pulumi.Input<string>;
|
|
124
71
|
/**
|
|
@@ -139,7 +86,8 @@ export interface EdgeConfigTokenArgs {
|
|
|
139
86
|
*/
|
|
140
87
|
label: pulumi.Input<string>;
|
|
141
88
|
/**
|
|
142
|
-
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
89
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has
|
|
90
|
+
* not been set in the provider.
|
|
143
91
|
*/
|
|
144
92
|
teamId?: pulumi.Input<string>;
|
|
145
93
|
}
|
package/edgeConfigToken.js
CHANGED
|
@@ -5,63 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EdgeConfigToken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides an Edge Config Token resource.
|
|
10
|
-
*
|
|
11
|
-
* An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
|
|
12
|
-
*
|
|
13
|
-
* An Edge Config token is used to authenticate against an Edge Config's endpoint.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as vercel from "@pulumiverse/vercel";
|
|
20
|
-
*
|
|
21
|
-
* const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
|
|
22
|
-
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
23
|
-
* const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
|
|
24
|
-
* edgeConfigId: exampleEdgeConfig.id,
|
|
25
|
-
* label: "example token",
|
|
26
|
-
* });
|
|
27
|
-
* const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
|
|
28
|
-
* projectId: exampleProject.id,
|
|
29
|
-
* targets: [
|
|
30
|
-
* "production",
|
|
31
|
-
* "preview",
|
|
32
|
-
* "development",
|
|
33
|
-
* ],
|
|
34
|
-
* key: "EDGE_CONFIG",
|
|
35
|
-
* value: exampleEdgeConfigToken.connectionString,
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* ## Import
|
|
40
|
-
*
|
|
41
|
-
* If importing into a personal account, or with a team configured on
|
|
42
|
-
*
|
|
43
|
-
* the provider, simply use the edge config id and token value.
|
|
44
|
-
*
|
|
45
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
46
|
-
*
|
|
47
|
-
* - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
|
|
48
|
-
*
|
|
49
|
-
* ```sh
|
|
50
|
-
* $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* Alternatively, you can import via the team_id and edge_config_id.
|
|
54
|
-
*
|
|
55
|
-
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
56
|
-
*
|
|
57
|
-
* - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
|
|
58
|
-
*
|
|
59
|
-
* - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
|
|
60
|
-
*
|
|
61
|
-
* ```sh
|
|
62
|
-
* $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
8
|
class EdgeConfigToken extends pulumi.CustomResource {
|
|
66
9
|
/**
|
|
67
10
|
* Get an existing EdgeConfigToken resource's state with the given name, ID, and optional extra
|
package/edgeConfigToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeConfigToken.js","sourceRoot":"","sources":["../edgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeConfigToken.js","sourceRoot":"","sources":["../edgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,O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AAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AArFL,0CAsFC;AAxEG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 FirewallConfig extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing FirewallConfig 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?: FirewallConfigState, opts?: pulumi.CustomResourceOptions): FirewallConfig;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of FirewallConfig. 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 FirewallConfig;
|
|
20
|
+
/**
|
|
21
|
+
* Whether firewall is enabled or not.
|
|
22
|
+
*/
|
|
23
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* IP rules to apply to the project.
|
|
26
|
+
*/
|
|
27
|
+
readonly ipRules: pulumi.Output<outputs.FirewallConfigIpRules | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The managed rulesets that are enabled.
|
|
30
|
+
*/
|
|
31
|
+
readonly managedRulesets: pulumi.Output<outputs.FirewallConfigManagedRulesets | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the project this configuration belongs to.
|
|
34
|
+
*/
|
|
35
|
+
readonly projectId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Custom rules to apply to the project
|
|
38
|
+
*/
|
|
39
|
+
readonly rules: pulumi.Output<outputs.FirewallConfigRules | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the team this project belongs to.
|
|
42
|
+
*/
|
|
43
|
+
readonly teamId: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a FirewallConfig resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: FirewallConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Input properties used for looking up and filtering FirewallConfig resources.
|
|
55
|
+
*/
|
|
56
|
+
export interface FirewallConfigState {
|
|
57
|
+
/**
|
|
58
|
+
* Whether firewall is enabled or not.
|
|
59
|
+
*/
|
|
60
|
+
enabled?: pulumi.Input<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* IP rules to apply to the project.
|
|
63
|
+
*/
|
|
64
|
+
ipRules?: pulumi.Input<inputs.FirewallConfigIpRules>;
|
|
65
|
+
/**
|
|
66
|
+
* The managed rulesets that are enabled.
|
|
67
|
+
*/
|
|
68
|
+
managedRulesets?: pulumi.Input<inputs.FirewallConfigManagedRulesets>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the project this configuration belongs to.
|
|
71
|
+
*/
|
|
72
|
+
projectId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Custom rules to apply to the project
|
|
75
|
+
*/
|
|
76
|
+
rules?: pulumi.Input<inputs.FirewallConfigRules>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the team this project belongs to.
|
|
79
|
+
*/
|
|
80
|
+
teamId?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a FirewallConfig resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface FirewallConfigArgs {
|
|
86
|
+
/**
|
|
87
|
+
* Whether firewall is enabled or not.
|
|
88
|
+
*/
|
|
89
|
+
enabled?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* IP rules to apply to the project.
|
|
92
|
+
*/
|
|
93
|
+
ipRules?: pulumi.Input<inputs.FirewallConfigIpRules>;
|
|
94
|
+
/**
|
|
95
|
+
* The managed rulesets that are enabled.
|
|
96
|
+
*/
|
|
97
|
+
managedRulesets?: pulumi.Input<inputs.FirewallConfigManagedRulesets>;
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the project this configuration belongs to.
|
|
100
|
+
*/
|
|
101
|
+
projectId: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Custom rules to apply to the project
|
|
104
|
+
*/
|
|
105
|
+
rules?: pulumi.Input<inputs.FirewallConfigRules>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the team this project belongs to.
|
|
108
|
+
*/
|
|
109
|
+
teamId?: pulumi.Input<string>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.FirewallConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class FirewallConfig extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing FirewallConfig 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 FirewallConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of FirewallConfig. 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'] === FirewallConfig.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
37
|
+
resourceInputs["ipRules"] = state ? state.ipRules : undefined;
|
|
38
|
+
resourceInputs["managedRulesets"] = state ? state.managedRulesets : undefined;
|
|
39
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
40
|
+
resourceInputs["rules"] = state ? state.rules : undefined;
|
|
41
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'projectId'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
49
|
+
resourceInputs["ipRules"] = args ? args.ipRules : undefined;
|
|
50
|
+
resourceInputs["managedRulesets"] = args ? args.managedRulesets : undefined;
|
|
51
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
52
|
+
resourceInputs["rules"] = args ? args.rules : undefined;
|
|
53
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(FirewallConfig.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.FirewallConfig = FirewallConfig;
|
|
60
|
+
/** @internal */
|
|
61
|
+
FirewallConfig.__pulumiType = 'vercel:index/firewallConfig:FirewallConfig';
|
|
62
|
+
//# sourceMappingURL=firewallConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firewallConfig.js","sourceRoot":"","sources":["../firewallConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,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promise<GetAccessGroupResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getAccessGroup.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetAccessGroupArgs {
|
|
7
|
+
id: string;
|
|
8
|
+
teamId?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A collection of values returned by getAccessGroup.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetAccessGroupResult {
|
|
14
|
+
readonly id: string;
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly teamId: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function getAccessGroupOutput(args: GetAccessGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getAccessGroup.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAccessGroupOutputArgs {
|
|
23
|
+
id: pulumi.Input<string>;
|
|
24
|
+
teamId?: pulumi.Input<string>;
|
|
25
|
+
}
|