@pulumiverse/vercel 1.15.0 → 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.
- package/accessGroup.d.ts +35 -6
- package/accessGroup.js +32 -0
- package/accessGroup.js.map +1 -1
- package/accessGroupProject.d.ts +41 -6
- package/accessGroupProject.js +38 -0
- package/accessGroupProject.js.map +1 -1
- package/alias.d.ts +8 -6
- package/alias.js +5 -0
- package/alias.js.map +1 -1
- package/attackChallengeMode.d.ts +33 -6
- package/attackChallengeMode.js +30 -0
- package/attackChallengeMode.js.map +1 -1
- package/customEnvironment.d.ts +55 -6
- package/customEnvironment.js +52 -0
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +17 -34
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +127 -30
- package/dnsRecord.js +97 -0
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +54 -6
- package/edgeConfig.js +51 -0
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +50 -6
- package/edgeConfigItem.js +47 -0
- package/edgeConfigItem.js.map +1 -1
- package/edgeConfigSchema.d.ts +28 -6
- package/edgeConfigSchema.js +25 -0
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +62 -10
- package/edgeConfigToken.js +57 -0
- package/edgeConfigToken.js.map +1 -1
- package/firewallConfig.d.ts +9 -0
- package/firewallConfig.js +9 -0
- package/firewallConfig.js.map +1 -1
- package/getAccessGroup.d.ts +53 -0
- package/getAccessGroup.js +32 -0
- package/getAccessGroup.js.map +1 -1
- package/getAccessGroupProject.d.ts +70 -0
- package/getAccessGroupProject.js +40 -0
- package/getAccessGroupProject.js.map +1 -1
- package/getAlias.d.ts +34 -0
- package/getAlias.js +10 -0
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.d.ts +56 -0
- package/getAttackChallengeMode.js +32 -0
- package/getAttackChallengeMode.js.map +1 -1
- package/getCustomEnvironment.d.ts +76 -0
- package/getCustomEnvironment.js +40 -0
- package/getCustomEnvironment.js.map +1 -1
- package/getDeployment.d.ts +65 -0
- package/getDeployment.js +32 -0
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.d.ts +53 -0
- package/getEdgeConfig.js +32 -0
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigItem.d.ts +74 -0
- package/getEdgeConfigItem.js +44 -0
- package/getEdgeConfigItem.js.map +1 -1
- package/getEdgeConfigSchema.d.ts +49 -0
- package/getEdgeConfigSchema.js +28 -0
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.d.ts +74 -0
- package/getEdgeConfigToken.js +38 -0
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.d.ts +39 -0
- package/getEndpointVerification.js +24 -0
- package/getEndpointVerification.js.map +1 -1
- package/getFile.d.ts +54 -0
- package/getFile.js +48 -0
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +81 -0
- package/getLogDrain.js +36 -0
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.d.ts +6 -0
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +147 -0
- package/getProject.js +36 -0
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +47 -0
- package/getProjectDeploymentRetention.js +14 -0
- package/getProjectDeploymentRetention.js.map +1 -1
- package/getProjectDirectory.d.ts +6 -0
- package/getProjectDirectory.js.map +1 -1
- package/getProjectMembers.d.ts +55 -0
- package/getProjectMembers.js +34 -0
- package/getProjectMembers.js.map +1 -1
- package/getSharedEnvironmentVariable.d.ts +98 -0
- package/getSharedEnvironmentVariable.js +50 -0
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +76 -0
- package/getTeamConfig.js +28 -0
- package/getTeamConfig.js.map +1 -1
- package/getTeamMember.d.ts +60 -0
- package/getTeamMember.js +30 -0
- package/getTeamMember.js.map +1 -1
- package/logDrain.d.ts +74 -42
- package/logDrain.js +56 -0
- package/logDrain.js.map +1 -1
- package/package.json +3 -2
- package/project.d.ts +90 -108
- package/project.js +45 -0
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +51 -0
- package/projectDeploymentRetention.js +51 -0
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +58 -12
- package/projectDomain.js +52 -0
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +91 -18
- package/projectEnvironmentVariable.js +82 -0
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +3 -0
- package/projectEnvironmentVariables.js +3 -0
- package/projectEnvironmentVariables.js.map +1 -1
- package/projectMembers.d.ts +26 -6
- package/projectMembers.js +23 -0
- package/projectMembers.js.map +1 -1
- package/sharedEnvironmentVariable.d.ts +50 -12
- package/sharedEnvironmentVariable.js +44 -0
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +6 -6
- package/teamConfig.js +3 -0
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +33 -18
- package/teamMember.js +24 -0
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +3 -3
- package/webhook.d.ts +43 -18
- package/webhook.js +35 -0
- package/webhook.js.map +1 -1
- package/package.json.bak +0 -27
package/edgeConfigItem.d.ts
CHANGED
|
@@ -1,4 +1,51 @@
|
|
|
1
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
|
+
*/
|
|
2
49
|
export declare class EdgeConfigItem extends pulumi.CustomResource {
|
|
3
50
|
/**
|
|
4
51
|
* Get an existing EdgeConfigItem resource's state with the given name, ID, and optional extra
|
|
@@ -24,8 +71,7 @@ export declare class EdgeConfigItem extends pulumi.CustomResource {
|
|
|
24
71
|
*/
|
|
25
72
|
readonly key: pulumi.Output<string>;
|
|
26
73
|
/**
|
|
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.
|
|
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.
|
|
29
75
|
*/
|
|
30
76
|
readonly teamId: pulumi.Output<string>;
|
|
31
77
|
/**
|
|
@@ -54,8 +100,7 @@ export interface EdgeConfigItemState {
|
|
|
54
100
|
*/
|
|
55
101
|
key?: pulumi.Input<string>;
|
|
56
102
|
/**
|
|
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.
|
|
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.
|
|
59
104
|
*/
|
|
60
105
|
teamId?: pulumi.Input<string>;
|
|
61
106
|
/**
|
|
@@ -76,8 +121,7 @@ export interface EdgeConfigItemArgs {
|
|
|
76
121
|
*/
|
|
77
122
|
key: pulumi.Input<string>;
|
|
78
123
|
/**
|
|
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.
|
|
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.
|
|
81
125
|
*/
|
|
82
126
|
teamId?: pulumi.Input<string>;
|
|
83
127
|
/**
|
package/edgeConfigItem.js
CHANGED
|
@@ -5,6 +5,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EdgeConfigItem = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
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
|
+
*/
|
|
8
55
|
class EdgeConfigItem extends pulumi.CustomResource {
|
|
9
56
|
/**
|
|
10
57
|
* Get an existing EdgeConfigItem resource's state with the given name, ID, and optional extra
|
package/edgeConfigItem.js.map
CHANGED
|
@@ -1 +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,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
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,I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gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,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;;AAhFL,wCAiFC;AAnEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/edgeConfigSchema.d.ts
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
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
|
+
*/
|
|
2
27
|
export declare class EdgeConfigSchema extends pulumi.CustomResource {
|
|
3
28
|
/**
|
|
4
29
|
* Get an existing EdgeConfigSchema resource's state with the given name, ID, and optional extra
|
|
@@ -20,8 +45,7 @@ export declare class EdgeConfigSchema extends pulumi.CustomResource {
|
|
|
20
45
|
*/
|
|
21
46
|
readonly definition: pulumi.Output<string>;
|
|
22
47
|
/**
|
|
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.
|
|
48
|
+
* 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.
|
|
25
49
|
*/
|
|
26
50
|
readonly teamId: pulumi.Output<string>;
|
|
27
51
|
/**
|
|
@@ -42,8 +66,7 @@ export interface EdgeConfigSchemaState {
|
|
|
42
66
|
*/
|
|
43
67
|
definition?: pulumi.Input<string>;
|
|
44
68
|
/**
|
|
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.
|
|
69
|
+
* 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.
|
|
47
70
|
*/
|
|
48
71
|
teamId?: pulumi.Input<string>;
|
|
49
72
|
}
|
|
@@ -56,8 +79,7 @@ export interface EdgeConfigSchemaArgs {
|
|
|
56
79
|
*/
|
|
57
80
|
definition: pulumi.Input<string>;
|
|
58
81
|
/**
|
|
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.
|
|
82
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
61
83
|
*/
|
|
62
84
|
teamId?: pulumi.Input<string>;
|
|
63
85
|
}
|
package/edgeConfigSchema.js
CHANGED
|
@@ -5,6 +5,31 @@ 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
|
+
*/
|
|
8
33
|
class EdgeConfigSchema extends pulumi.CustomResource {
|
|
9
34
|
/**
|
|
10
35
|
* 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,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;
|
|
1
|
+
{"version":3,"file":"edgeConfigSchema.js","sourceRoot":"","sources":["../edgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,gBAAiB,SAA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AI,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;;AA9DL,4CA+DC;AAjDG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/edgeConfigToken.d.ts
CHANGED
|
@@ -1,4 +1,61 @@
|
|
|
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
|
+
*/
|
|
2
59
|
export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
3
60
|
/**
|
|
4
61
|
* Get an existing EdgeConfigToken resource's state with the given name, ID, and optional extra
|
|
@@ -16,8 +73,7 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
16
73
|
*/
|
|
17
74
|
static isInstance(obj: any): obj is EdgeConfigToken;
|
|
18
75
|
/**
|
|
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.
|
|
76
|
+
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
|
|
21
77
|
*/
|
|
22
78
|
readonly connectionString: pulumi.Output<string>;
|
|
23
79
|
/**
|
|
@@ -29,8 +85,7 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
29
85
|
*/
|
|
30
86
|
readonly label: pulumi.Output<string>;
|
|
31
87
|
/**
|
|
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.
|
|
88
|
+
* The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
34
89
|
*/
|
|
35
90
|
readonly teamId: pulumi.Output<string>;
|
|
36
91
|
/**
|
|
@@ -51,8 +106,7 @@ export declare class EdgeConfigToken extends pulumi.CustomResource {
|
|
|
51
106
|
*/
|
|
52
107
|
export interface EdgeConfigTokenState {
|
|
53
108
|
/**
|
|
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.
|
|
109
|
+
* A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
|
|
56
110
|
*/
|
|
57
111
|
connectionString?: pulumi.Input<string>;
|
|
58
112
|
/**
|
|
@@ -64,8 +118,7 @@ export interface EdgeConfigTokenState {
|
|
|
64
118
|
*/
|
|
65
119
|
label?: pulumi.Input<string>;
|
|
66
120
|
/**
|
|
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.
|
|
121
|
+
* 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.
|
|
69
122
|
*/
|
|
70
123
|
teamId?: pulumi.Input<string>;
|
|
71
124
|
/**
|
|
@@ -86,8 +139,7 @@ export interface EdgeConfigTokenArgs {
|
|
|
86
139
|
*/
|
|
87
140
|
label: pulumi.Input<string>;
|
|
88
141
|
/**
|
|
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.
|
|
142
|
+
* 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.
|
|
91
143
|
*/
|
|
92
144
|
teamId?: pulumi.Input<string>;
|
|
93
145
|
}
|
package/edgeConfigToken.js
CHANGED
|
@@ -5,6 +5,63 @@ 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
|
+
*/
|
|
8
65
|
class EdgeConfigToken extends pulumi.CustomResource {
|
|
9
66
|
/**
|
|
10
67
|
* 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,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,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"edgeConfigToken.js","sourceRoot":"","sources":["../edgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,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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,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,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;;AAnFL,0CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
package/firewallConfig.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Define Custom Rules to shape the way your traffic is handled by the Vercel Edge Network.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import vercel:index/firewallConfig:FirewallConfig example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
4
13
|
export declare class FirewallConfig extends pulumi.CustomResource {
|
|
5
14
|
/**
|
|
6
15
|
* Get an existing FirewallConfig resource's state with the given name, ID, and optional extra
|
package/firewallConfig.js
CHANGED
|
@@ -5,6 +5,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.FirewallConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Define Custom Rules to shape the way your traffic is handled by the Vercel Edge Network.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import vercel:index/firewallConfig:FirewallConfig example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
8
17
|
class FirewallConfig extends pulumi.CustomResource {
|
|
9
18
|
/**
|
|
10
19
|
* Get an existing FirewallConfig resource's state with the given name, ID, and optional extra
|
package/firewallConfig.js.map
CHANGED
|
@@ -1 +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,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,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,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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;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;;AAtFL,wCAuFC;AAzEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/getAccessGroup.d.ts
CHANGED
|
@@ -1,25 +1,78 @@
|
|
|
1
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
|
+
*/
|
|
2
18
|
export declare function getAccessGroup(args: GetAccessGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessGroupResult>;
|
|
3
19
|
/**
|
|
4
20
|
* A collection of arguments for invoking getAccessGroup.
|
|
5
21
|
*/
|
|
6
22
|
export interface GetAccessGroupArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The Access Group ID to be retrieved.
|
|
25
|
+
*/
|
|
7
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
|
+
*/
|
|
8
30
|
teamId?: string;
|
|
9
31
|
}
|
|
10
32
|
/**
|
|
11
33
|
* A collection of values returned by getAccessGroup.
|
|
12
34
|
*/
|
|
13
35
|
export interface GetAccessGroupResult {
|
|
36
|
+
/**
|
|
37
|
+
* The Access Group ID to be retrieved.
|
|
38
|
+
*/
|
|
14
39
|
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the Access Group.
|
|
42
|
+
*/
|
|
15
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
|
+
*/
|
|
16
47
|
readonly teamId: string;
|
|
17
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
|
+
*/
|
|
18
65
|
export declare function getAccessGroupOutput(args: GetAccessGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessGroupResult>;
|
|
19
66
|
/**
|
|
20
67
|
* A collection of arguments for invoking getAccessGroup.
|
|
21
68
|
*/
|
|
22
69
|
export interface GetAccessGroupOutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* The Access Group ID to be retrieved.
|
|
72
|
+
*/
|
|
23
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
|
+
*/
|
|
24
77
|
teamId?: pulumi.Input<string>;
|
|
25
78
|
}
|
package/getAccessGroup.js
CHANGED
|
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAccessGroupOutput = exports.getAccessGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
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
|
+
*/
|
|
8
24
|
function getAccessGroup(args, opts) {
|
|
9
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
26
|
return pulumi.runtime.invoke("vercel:index/getAccessGroup:getAccessGroup", {
|
|
@@ -13,6 +29,22 @@ function getAccessGroup(args, opts) {
|
|
|
13
29
|
}, opts);
|
|
14
30
|
}
|
|
15
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
|
+
*/
|
|
16
48
|
function getAccessGroupOutput(args, opts) {
|
|
17
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
50
|
return pulumi.runtime.invokeOutput("vercel:index/getAccessGroup:getAccessGroup", {
|
package/getAccessGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccessGroup.js","sourceRoot":"","sources":["../getAccessGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IACh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