@pulumiverse/vercel 3.16.0-alpha.1759259713 → 3.16.0-alpha.1761023450
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/vercel",
|
|
3
|
-
"version": "3.16.0-alpha.
|
|
3
|
+
"version": "3.16.0-alpha.1761023450",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"vercel",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "vercel",
|
|
25
|
-
"version": "3.16.0-alpha.
|
|
25
|
+
"version": "3.16.0-alpha.1761023450",
|
|
26
26
|
"server": "github://api.github.com/pulumiverse"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Project Deployment Retention resource.
|
|
4
|
-
*
|
|
5
|
-
* A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
|
|
6
|
-
*
|
|
7
|
-
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
8
|
-
*
|
|
9
3
|
* ## Example Usage
|
|
10
4
|
*
|
|
11
5
|
* ```typescript
|
|
@@ -19,16 +13,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
13
|
* repo: "vercel/some-repo",
|
|
20
14
|
* },
|
|
21
15
|
* });
|
|
22
|
-
* // An unlimited deployment retention policy that will be created
|
|
23
|
-
* // for this project for all deployments.
|
|
24
|
-
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("example_unlimited", {
|
|
25
|
-
* projectId: example.id,
|
|
26
|
-
* teamId: example.teamId,
|
|
27
|
-
* expirationPreview: "unlimited",
|
|
28
|
-
* expirationProduction: "unlimited",
|
|
29
|
-
* expirationCanceled: "unlimited",
|
|
30
|
-
* expirationErrored: "unlimited",
|
|
31
|
-
* });
|
|
32
16
|
* // A customized deployment retention policy that will be created
|
|
33
17
|
* // for this project for all deployments.
|
|
34
18
|
* const exampleCustomized = new vercel.ProjectDeploymentRetention("example_customized", {
|
|
@@ -70,19 +54,19 @@ export declare class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
|
70
54
|
*/
|
|
71
55
|
static isInstance(obj: any): obj is ProjectDeploymentRetention;
|
|
72
56
|
/**
|
|
73
|
-
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
57
|
+
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
74
58
|
*/
|
|
75
59
|
readonly expirationCanceled: pulumi.Output<string>;
|
|
76
60
|
/**
|
|
77
|
-
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
61
|
+
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
78
62
|
*/
|
|
79
63
|
readonly expirationErrored: pulumi.Output<string>;
|
|
80
64
|
/**
|
|
81
|
-
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
65
|
+
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
82
66
|
*/
|
|
83
67
|
readonly expirationPreview: pulumi.Output<string>;
|
|
84
68
|
/**
|
|
85
|
-
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
69
|
+
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
86
70
|
*/
|
|
87
71
|
readonly expirationProduction: pulumi.Output<string>;
|
|
88
72
|
/**
|
|
@@ -107,19 +91,19 @@ export declare class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
|
107
91
|
*/
|
|
108
92
|
export interface ProjectDeploymentRetentionState {
|
|
109
93
|
/**
|
|
110
|
-
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
94
|
+
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
111
95
|
*/
|
|
112
96
|
expirationCanceled?: pulumi.Input<string>;
|
|
113
97
|
/**
|
|
114
|
-
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
98
|
+
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
115
99
|
*/
|
|
116
100
|
expirationErrored?: pulumi.Input<string>;
|
|
117
101
|
/**
|
|
118
|
-
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
102
|
+
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
119
103
|
*/
|
|
120
104
|
expirationPreview?: pulumi.Input<string>;
|
|
121
105
|
/**
|
|
122
|
-
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
106
|
+
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
123
107
|
*/
|
|
124
108
|
expirationProduction?: pulumi.Input<string>;
|
|
125
109
|
/**
|
|
@@ -136,19 +120,19 @@ export interface ProjectDeploymentRetentionState {
|
|
|
136
120
|
*/
|
|
137
121
|
export interface ProjectDeploymentRetentionArgs {
|
|
138
122
|
/**
|
|
139
|
-
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
123
|
+
* The retention period for canceled deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
140
124
|
*/
|
|
141
125
|
expirationCanceled?: pulumi.Input<string>;
|
|
142
126
|
/**
|
|
143
|
-
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
127
|
+
* The retention period for errored deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
144
128
|
*/
|
|
145
129
|
expirationErrored?: pulumi.Input<string>;
|
|
146
130
|
/**
|
|
147
|
-
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
131
|
+
* The retention period for preview deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
148
132
|
*/
|
|
149
133
|
expirationPreview?: pulumi.Input<string>;
|
|
150
134
|
/**
|
|
151
|
-
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'
|
|
135
|
+
* The retention period for production deployments. Should be one of '1d', '1w', '1m', '2m', '3m', '6m', '1y'.
|
|
152
136
|
*/
|
|
153
137
|
expirationProduction?: pulumi.Input<string>;
|
|
154
138
|
/**
|
|
@@ -6,12 +6,6 @@ exports.ProjectDeploymentRetention = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Project Deployment Retention resource.
|
|
10
|
-
*
|
|
11
|
-
* A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
|
|
12
|
-
*
|
|
13
|
-
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
14
|
-
*
|
|
15
9
|
* ## Example Usage
|
|
16
10
|
*
|
|
17
11
|
* ```typescript
|
|
@@ -25,16 +19,6 @@ const utilities = require("./utilities");
|
|
|
25
19
|
* repo: "vercel/some-repo",
|
|
26
20
|
* },
|
|
27
21
|
* });
|
|
28
|
-
* // An unlimited deployment retention policy that will be created
|
|
29
|
-
* // for this project for all deployments.
|
|
30
|
-
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("example_unlimited", {
|
|
31
|
-
* projectId: example.id,
|
|
32
|
-
* teamId: example.teamId,
|
|
33
|
-
* expirationPreview: "unlimited",
|
|
34
|
-
* expirationProduction: "unlimited",
|
|
35
|
-
* expirationCanceled: "unlimited",
|
|
36
|
-
* expirationErrored: "unlimited",
|
|
37
|
-
* });
|
|
38
22
|
* // A customized deployment retention policy that will be created
|
|
39
23
|
* // for this project for all deployments.
|
|
40
24
|
* const exampleCustomized = new vercel.ProjectDeploymentRetention("example_customized", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACl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