@pulumi/cloudflare 6.7.0 → 6.8.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/accessMutualTlsCertificate.d.ts +2 -0
- package/accessMutualTlsCertificate.js +2 -0
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.d.ts +1 -1
- package/accessPolicy.js +0 -3
- package/accessPolicy.js.map +1 -1
- package/account.d.ts +2 -5
- package/account.js +0 -3
- package/account.js.map +1 -1
- package/argoTieredCaching.d.ts +5 -5
- package/botManagement.d.ts +12 -0
- package/botManagement.js +2 -0
- package/botManagement.js.map +1 -1
- package/getAccount.d.ts +4 -0
- package/getAccount.js.map +1 -1
- package/getAccountMember.d.ts +4 -0
- package/getAccountMember.js.map +1 -1
- package/getArgoTieredCaching.d.ts +6 -6
- package/getBotManagement.d.ts +4 -0
- package/getBotManagement.js.map +1 -1
- package/getListItems.d.ts +14 -0
- package/getListItems.js +4 -0
- package/getListItems.js.map +1 -1
- package/getNotificationPolicyWebhooks.d.ts +1 -1
- package/getRegionalTieredCache.d.ts +6 -6
- package/getRuleset.d.ts +33 -13
- package/getRuleset.js +6 -6
- package/getRuleset.js.map +1 -1
- package/getRulesets.d.ts +18 -14
- package/getRulesets.js +2 -4
- package/getRulesets.js.map +1 -1
- package/getTieredCache.d.ts +6 -6
- package/getWorker.d.ts +105 -0
- package/getWorker.js +50 -0
- package/getWorker.js.map +1 -0
- package/getWorkerVersion.d.ts +151 -0
- package/getWorkerVersion.js +58 -0
- package/getWorkerVersion.js.map +1 -0
- package/getWorkerVersions.d.ts +89 -0
- package/getWorkerVersions.js +52 -0
- package/getWorkerVersions.js.map +1 -0
- package/getWorkers.d.ts +75 -0
- package/getWorkers.js +48 -0
- package/getWorkers.js.map +1 -0
- package/getWorkersKvNamespace.d.ts +0 -4
- package/getWorkersKvNamespace.js.map +1 -1
- package/getZeroTrustDlpCustomEntries.d.ts +66 -0
- package/getZeroTrustDlpCustomEntries.js +48 -0
- package/getZeroTrustDlpCustomEntries.js.map +1 -0
- package/getZeroTrustDlpCustomEntry.d.ts +75 -0
- package/getZeroTrustDlpCustomEntry.js +50 -0
- package/getZeroTrustDlpCustomEntry.js.map +1 -0
- package/getZeroTrustDlpEntry.d.ts +1 -0
- package/getZeroTrustDlpEntry.js.map +1 -1
- package/getZeroTrustDlpIntegrationEntries.d.ts +66 -0
- package/getZeroTrustDlpIntegrationEntries.js +48 -0
- package/getZeroTrustDlpIntegrationEntries.js.map +1 -0
- package/getZeroTrustDlpIntegrationEntry.d.ts +75 -0
- package/getZeroTrustDlpIntegrationEntry.js +50 -0
- package/getZeroTrustDlpIntegrationEntry.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntries.d.ts +66 -0
- package/getZeroTrustDlpPredefinedEntries.js +48 -0
- package/getZeroTrustDlpPredefinedEntries.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntry.d.ts +75 -0
- package/getZeroTrustDlpPredefinedEntry.js +50 -0
- package/getZeroTrustDlpPredefinedEntry.js.map +1 -0
- package/getZeroTrustGatewayAppTypesList.d.ts +3 -3
- package/getZeroTrustGatewayCategoriesList.d.ts +3 -3
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.d.ts +14 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js +4 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js.map +1 -1
- package/getZone.d.ts +5 -2
- package/getZone.js.map +1 -1
- package/getZoneCacheReserve.d.ts +6 -6
- package/getZoneCacheVariants.d.ts +8 -7
- package/getZoneCacheVariants.js.map +1 -1
- package/index.d.ts +36 -0
- package/index.js +48 -8
- package/index.js.map +1 -1
- package/magicWanGreTunnel.d.ts +0 -26
- package/magicWanGreTunnel.js +0 -26
- package/magicWanGreTunnel.js.map +1 -1
- package/magicWanIpsecTunnel.d.ts +0 -26
- package/magicWanIpsecTunnel.js +0 -26
- package/magicWanIpsecTunnel.js.map +1 -1
- package/notificationPolicyWebhooks.d.ts +2 -2
- package/package.json +2 -2
- package/regionalTieredCache.d.ts +5 -5
- package/ruleset.d.ts +19 -0
- package/ruleset.js +19 -0
- package/ruleset.js.map +1 -1
- package/teamsAccount.d.ts +3 -3
- package/teamsRule.d.ts +11 -11
- package/tieredCache.d.ts +8 -8
- package/types/input.d.ts +477 -52
- package/types/output.d.ts +2918 -1266
- package/worker.d.ts +147 -0
- package/worker.js +80 -0
- package/worker.js.map +1 -0
- package/workerScript.d.ts +75 -49
- package/workerScript.js +11 -1
- package/workerScript.js.map +1 -1
- package/workerVersion.d.ts +236 -0
- package/workerVersion.js +94 -0
- package/workerVersion.js.map +1 -0
- package/workersKvNamespace.d.ts +0 -8
- package/workersKvNamespace.js +0 -2
- package/workersKvNamespace.js.map +1 -1
- package/workersScript.d.ts +75 -49
- package/workersScript.js +11 -1
- package/workersScript.js.map +1 -1
- package/zeroTrustAccessMtlsCertificate.d.ts +2 -0
- package/zeroTrustAccessMtlsCertificate.js +2 -0
- package/zeroTrustAccessMtlsCertificate.js.map +1 -1
- package/zeroTrustAccessPolicy.d.ts +1 -1
- package/zeroTrustAccessPolicy.js +0 -3
- package/zeroTrustAccessPolicy.js.map +1 -1
- package/zeroTrustDeviceCustomProfile.d.ts +3 -3
- package/zeroTrustDlpCustomEntry.d.ts +11 -7
- package/zeroTrustDlpCustomEntry.js +9 -1
- package/zeroTrustDlpCustomEntry.js.map +1 -1
- package/zeroTrustDlpEntry.d.ts +2 -0
- package/zeroTrustDlpEntry.js +2 -0
- package/zeroTrustDlpEntry.js.map +1 -1
- package/zeroTrustDlpIntegrationEntry.d.ts +38 -0
- package/zeroTrustDlpIntegrationEntry.js +20 -0
- package/zeroTrustDlpIntegrationEntry.js.map +1 -1
- package/zeroTrustDlpPredefinedEntry.d.ts +38 -0
- package/zeroTrustDlpPredefinedEntry.js +22 -0
- package/zeroTrustDlpPredefinedEntry.js.map +1 -1
- package/zeroTrustGatewayPolicy.d.ts +11 -11
- package/zeroTrustGatewaySettings.d.ts +3 -3
- package/zone.d.ts +10 -4
- package/zone.js.map +1 -1
- package/zoneCacheReserve.d.ts +5 -5
- package/zoneCacheVariants.d.ts +5 -5
package/workersScript.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* !> This resource is no longer recommended. Please use the `
|
|
5
|
+
* !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
|
@@ -31,27 +31,23 @@ export declare class WorkersScript extends pulumi.CustomResource {
|
|
|
31
31
|
*/
|
|
32
32
|
readonly accountId: pulumi.Output<string>;
|
|
33
33
|
/**
|
|
34
|
-
* Configuration for assets within a Worker
|
|
34
|
+
* Configuration for assets within a Worker.
|
|
35
35
|
*/
|
|
36
36
|
readonly assets: pulumi.Output<outputs.WorkersScriptAssets | undefined>;
|
|
37
37
|
/**
|
|
38
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
39
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
38
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
40
39
|
*/
|
|
41
40
|
readonly bindings: pulumi.Output<outputs.WorkersScriptBinding[]>;
|
|
42
41
|
/**
|
|
43
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
44
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
42
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
45
43
|
*/
|
|
46
44
|
readonly bodyPart: pulumi.Output<string | undefined>;
|
|
47
45
|
/**
|
|
48
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
49
|
-
* will not affect this Worker.
|
|
46
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
50
47
|
*/
|
|
51
48
|
readonly compatibilityDate: pulumi.Output<string>;
|
|
52
49
|
/**
|
|
53
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
54
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
50
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
55
51
|
*/
|
|
56
52
|
readonly compatibilityFlags: pulumi.Output<string[]>;
|
|
57
53
|
/**
|
|
@@ -59,13 +55,11 @@ export declare class WorkersScript extends pulumi.CustomResource {
|
|
|
59
55
|
*/
|
|
60
56
|
readonly content: pulumi.Output<string | undefined>;
|
|
61
57
|
/**
|
|
62
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
63
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
58
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
64
59
|
*/
|
|
65
60
|
readonly contentFile: pulumi.Output<string | undefined>;
|
|
66
61
|
/**
|
|
67
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
68
|
-
* `contentFile` is specified.
|
|
62
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
69
63
|
*/
|
|
70
64
|
readonly contentSha256: pulumi.Output<string | undefined>;
|
|
71
65
|
/**
|
|
@@ -80,6 +74,10 @@ export declare class WorkersScript extends pulumi.CustomResource {
|
|
|
80
74
|
* Hashed script content, can be used in a If-None-Match header when updating.
|
|
81
75
|
*/
|
|
82
76
|
readonly etag: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The names of handlers exported as part of the default export.
|
|
79
|
+
*/
|
|
80
|
+
readonly handlers: pulumi.Output<string[]>;
|
|
83
81
|
/**
|
|
84
82
|
* Whether a Worker contains assets.
|
|
85
83
|
*/
|
|
@@ -96,19 +94,34 @@ export declare class WorkersScript extends pulumi.CustomResource {
|
|
|
96
94
|
* List of binding types to keep from previous_upload.
|
|
97
95
|
*/
|
|
98
96
|
readonly keepBindings: pulumi.Output<string[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The client most recently used to deploy this Worker.
|
|
99
|
+
*/
|
|
100
|
+
readonly lastDeployedFrom: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Limits to apply for this Worker.
|
|
103
|
+
*/
|
|
104
|
+
readonly limits: pulumi.Output<outputs.WorkersScriptLimits | undefined>;
|
|
99
105
|
/**
|
|
100
106
|
* Whether Logpush is turned on for the Worker.
|
|
101
107
|
*/
|
|
102
108
|
readonly logpush: pulumi.Output<boolean>;
|
|
103
109
|
/**
|
|
104
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
105
|
-
* Indicates a `module syntax` Worker.
|
|
110
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
106
111
|
*/
|
|
107
112
|
readonly mainModule: pulumi.Output<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The tag of the Durable Object migration that was most recently applied for this Worker.
|
|
115
|
+
*/
|
|
116
|
+
readonly migrationTag: pulumi.Output<string>;
|
|
108
117
|
/**
|
|
109
118
|
* When the script was last modified.
|
|
110
119
|
*/
|
|
111
120
|
readonly modifiedOn: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Named exports, such as Durable Object class implementations and named entrypoints.
|
|
123
|
+
*/
|
|
124
|
+
readonly namedHandlers: pulumi.Output<outputs.WorkersScriptNamedHandler[]>;
|
|
112
125
|
/**
|
|
113
126
|
* Observability settings for the Worker.
|
|
114
127
|
*/
|
|
@@ -127,7 +140,8 @@ export declare class WorkersScript extends pulumi.CustomResource {
|
|
|
127
140
|
*/
|
|
128
141
|
readonly tailConsumers: pulumi.Output<outputs.WorkersScriptTailConsumer[]>;
|
|
129
142
|
/**
|
|
130
|
-
* Usage model for the Worker invocations.
|
|
143
|
+
* Usage model for the Worker invocations.
|
|
144
|
+
* Available values: "standard", "bundled", "unbound".
|
|
131
145
|
*/
|
|
132
146
|
readonly usageModel: pulumi.Output<string>;
|
|
133
147
|
/**
|
|
@@ -148,27 +162,23 @@ export interface WorkersScriptState {
|
|
|
148
162
|
*/
|
|
149
163
|
accountId?: pulumi.Input<string>;
|
|
150
164
|
/**
|
|
151
|
-
* Configuration for assets within a Worker
|
|
165
|
+
* Configuration for assets within a Worker.
|
|
152
166
|
*/
|
|
153
167
|
assets?: pulumi.Input<inputs.WorkersScriptAssets>;
|
|
154
168
|
/**
|
|
155
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
156
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
169
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
157
170
|
*/
|
|
158
171
|
bindings?: pulumi.Input<pulumi.Input<inputs.WorkersScriptBinding>[]>;
|
|
159
172
|
/**
|
|
160
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
161
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
173
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
162
174
|
*/
|
|
163
175
|
bodyPart?: pulumi.Input<string>;
|
|
164
176
|
/**
|
|
165
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
166
|
-
* will not affect this Worker.
|
|
177
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
167
178
|
*/
|
|
168
179
|
compatibilityDate?: pulumi.Input<string>;
|
|
169
180
|
/**
|
|
170
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
171
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
181
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
172
182
|
*/
|
|
173
183
|
compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
184
|
/**
|
|
@@ -176,13 +186,11 @@ export interface WorkersScriptState {
|
|
|
176
186
|
*/
|
|
177
187
|
content?: pulumi.Input<string>;
|
|
178
188
|
/**
|
|
179
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
180
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
189
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
181
190
|
*/
|
|
182
191
|
contentFile?: pulumi.Input<string>;
|
|
183
192
|
/**
|
|
184
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
185
|
-
* `contentFile` is specified.
|
|
193
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
186
194
|
*/
|
|
187
195
|
contentSha256?: pulumi.Input<string>;
|
|
188
196
|
/**
|
|
@@ -197,6 +205,10 @@ export interface WorkersScriptState {
|
|
|
197
205
|
* Hashed script content, can be used in a If-None-Match header when updating.
|
|
198
206
|
*/
|
|
199
207
|
etag?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* The names of handlers exported as part of the default export.
|
|
210
|
+
*/
|
|
211
|
+
handlers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
200
212
|
/**
|
|
201
213
|
* Whether a Worker contains assets.
|
|
202
214
|
*/
|
|
@@ -213,19 +225,34 @@ export interface WorkersScriptState {
|
|
|
213
225
|
* List of binding types to keep from previous_upload.
|
|
214
226
|
*/
|
|
215
227
|
keepBindings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
228
|
+
/**
|
|
229
|
+
* The client most recently used to deploy this Worker.
|
|
230
|
+
*/
|
|
231
|
+
lastDeployedFrom?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Limits to apply for this Worker.
|
|
234
|
+
*/
|
|
235
|
+
limits?: pulumi.Input<inputs.WorkersScriptLimits>;
|
|
216
236
|
/**
|
|
217
237
|
* Whether Logpush is turned on for the Worker.
|
|
218
238
|
*/
|
|
219
239
|
logpush?: pulumi.Input<boolean>;
|
|
220
240
|
/**
|
|
221
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
222
|
-
* Indicates a `module syntax` Worker.
|
|
241
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
223
242
|
*/
|
|
224
243
|
mainModule?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* The tag of the Durable Object migration that was most recently applied for this Worker.
|
|
246
|
+
*/
|
|
247
|
+
migrationTag?: pulumi.Input<string>;
|
|
225
248
|
/**
|
|
226
249
|
* When the script was last modified.
|
|
227
250
|
*/
|
|
228
251
|
modifiedOn?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Named exports, such as Durable Object class implementations and named entrypoints.
|
|
254
|
+
*/
|
|
255
|
+
namedHandlers?: pulumi.Input<pulumi.Input<inputs.WorkersScriptNamedHandler>[]>;
|
|
229
256
|
/**
|
|
230
257
|
* Observability settings for the Worker.
|
|
231
258
|
*/
|
|
@@ -244,7 +271,8 @@ export interface WorkersScriptState {
|
|
|
244
271
|
*/
|
|
245
272
|
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkersScriptTailConsumer>[]>;
|
|
246
273
|
/**
|
|
247
|
-
* Usage model for the Worker invocations.
|
|
274
|
+
* Usage model for the Worker invocations.
|
|
275
|
+
* Available values: "standard", "bundled", "unbound".
|
|
248
276
|
*/
|
|
249
277
|
usageModel?: pulumi.Input<string>;
|
|
250
278
|
}
|
|
@@ -257,27 +285,23 @@ export interface WorkersScriptArgs {
|
|
|
257
285
|
*/
|
|
258
286
|
accountId: pulumi.Input<string>;
|
|
259
287
|
/**
|
|
260
|
-
* Configuration for assets within a Worker
|
|
288
|
+
* Configuration for assets within a Worker.
|
|
261
289
|
*/
|
|
262
290
|
assets?: pulumi.Input<inputs.WorkersScriptAssets>;
|
|
263
291
|
/**
|
|
264
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
265
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
292
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
266
293
|
*/
|
|
267
294
|
bindings?: pulumi.Input<pulumi.Input<inputs.WorkersScriptBinding>[]>;
|
|
268
295
|
/**
|
|
269
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
270
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
296
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
271
297
|
*/
|
|
272
298
|
bodyPart?: pulumi.Input<string>;
|
|
273
299
|
/**
|
|
274
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
275
|
-
* will not affect this Worker.
|
|
300
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
276
301
|
*/
|
|
277
302
|
compatibilityDate?: pulumi.Input<string>;
|
|
278
303
|
/**
|
|
279
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
280
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
304
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
281
305
|
*/
|
|
282
306
|
compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
283
307
|
/**
|
|
@@ -285,13 +309,11 @@ export interface WorkersScriptArgs {
|
|
|
285
309
|
*/
|
|
286
310
|
content?: pulumi.Input<string>;
|
|
287
311
|
/**
|
|
288
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
289
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
312
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
290
313
|
*/
|
|
291
314
|
contentFile?: pulumi.Input<string>;
|
|
292
315
|
/**
|
|
293
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
294
|
-
* `contentFile` is specified.
|
|
316
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
295
317
|
*/
|
|
296
318
|
contentSha256?: pulumi.Input<string>;
|
|
297
319
|
/**
|
|
@@ -306,13 +328,16 @@ export interface WorkersScriptArgs {
|
|
|
306
328
|
* List of binding types to keep from previous_upload.
|
|
307
329
|
*/
|
|
308
330
|
keepBindings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
331
|
+
/**
|
|
332
|
+
* Limits to apply for this Worker.
|
|
333
|
+
*/
|
|
334
|
+
limits?: pulumi.Input<inputs.WorkersScriptLimits>;
|
|
309
335
|
/**
|
|
310
336
|
* Whether Logpush is turned on for the Worker.
|
|
311
337
|
*/
|
|
312
338
|
logpush?: pulumi.Input<boolean>;
|
|
313
339
|
/**
|
|
314
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
315
|
-
* Indicates a `module syntax` Worker.
|
|
340
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
316
341
|
*/
|
|
317
342
|
mainModule?: pulumi.Input<string>;
|
|
318
343
|
/**
|
|
@@ -332,7 +357,8 @@ export interface WorkersScriptArgs {
|
|
|
332
357
|
*/
|
|
333
358
|
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkersScriptTailConsumer>[]>;
|
|
334
359
|
/**
|
|
335
|
-
* Usage model for the Worker invocations.
|
|
360
|
+
* Usage model for the Worker invocations.
|
|
361
|
+
* Available values: "standard", "bundled", "unbound".
|
|
336
362
|
*/
|
|
337
363
|
usageModel?: pulumi.Input<string>;
|
|
338
364
|
}
|
package/workersScript.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.WorkersScript = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> This resource is no longer recommended. Please use the `
|
|
9
|
+
* !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
@@ -54,13 +54,18 @@ class WorkersScript extends pulumi.CustomResource {
|
|
|
54
54
|
resourceInputs["contentType"] = state ? state.contentType : undefined;
|
|
55
55
|
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
56
56
|
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
57
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
57
58
|
resourceInputs["hasAssets"] = state ? state.hasAssets : undefined;
|
|
58
59
|
resourceInputs["hasModules"] = state ? state.hasModules : undefined;
|
|
59
60
|
resourceInputs["keepAssets"] = state ? state.keepAssets : undefined;
|
|
60
61
|
resourceInputs["keepBindings"] = state ? state.keepBindings : undefined;
|
|
62
|
+
resourceInputs["lastDeployedFrom"] = state ? state.lastDeployedFrom : undefined;
|
|
63
|
+
resourceInputs["limits"] = state ? state.limits : undefined;
|
|
61
64
|
resourceInputs["logpush"] = state ? state.logpush : undefined;
|
|
62
65
|
resourceInputs["mainModule"] = state ? state.mainModule : undefined;
|
|
66
|
+
resourceInputs["migrationTag"] = state ? state.migrationTag : undefined;
|
|
63
67
|
resourceInputs["modifiedOn"] = state ? state.modifiedOn : undefined;
|
|
68
|
+
resourceInputs["namedHandlers"] = state ? state.namedHandlers : undefined;
|
|
64
69
|
resourceInputs["observability"] = state ? state.observability : undefined;
|
|
65
70
|
resourceInputs["placement"] = state ? state.placement : undefined;
|
|
66
71
|
resourceInputs["scriptName"] = state ? state.scriptName : undefined;
|
|
@@ -88,6 +93,7 @@ class WorkersScript extends pulumi.CustomResource {
|
|
|
88
93
|
resourceInputs["contentType"] = args ? args.contentType : undefined;
|
|
89
94
|
resourceInputs["keepAssets"] = args ? args.keepAssets : undefined;
|
|
90
95
|
resourceInputs["keepBindings"] = args ? args.keepBindings : undefined;
|
|
96
|
+
resourceInputs["limits"] = args ? args.limits : undefined;
|
|
91
97
|
resourceInputs["logpush"] = args ? args.logpush : undefined;
|
|
92
98
|
resourceInputs["mainModule"] = args ? args.mainModule : undefined;
|
|
93
99
|
resourceInputs["observability"] = args ? args.observability : undefined;
|
|
@@ -97,9 +103,13 @@ class WorkersScript extends pulumi.CustomResource {
|
|
|
97
103
|
resourceInputs["usageModel"] = args ? args.usageModel : undefined;
|
|
98
104
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
99
105
|
resourceInputs["etag"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["handlers"] = undefined /*out*/;
|
|
100
107
|
resourceInputs["hasAssets"] = undefined /*out*/;
|
|
101
108
|
resourceInputs["hasModules"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["lastDeployedFrom"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["migrationTag"] = undefined /*out*/;
|
|
102
111
|
resourceInputs["modifiedOn"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["namedHandlers"] = undefined /*out*/;
|
|
103
113
|
resourceInputs["startupTimeMs"] = undefined /*out*/;
|
|
104
114
|
}
|
|
105
115
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/workersScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workersScript.js","sourceRoot":"","sources":["../workersScript.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"workersScript.js","sourceRoot":"","sources":["../workersScript.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,C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
|
@@ -20,6 +20,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
*
|
|
21
21
|
* ## Import
|
|
22
22
|
*
|
|
23
|
+
* Note: The "certificate" field cannot be imported by this module and must be manually added to state.
|
|
24
|
+
*
|
|
23
25
|
* ```sh
|
|
24
26
|
* $ pulumi import cloudflare:index/zeroTrustAccessMtlsCertificate:ZeroTrustAccessMtlsCertificate example '<{accounts|zones}/{account_id|zone_id}>/<certificate_id>'
|
|
25
27
|
* ```
|
|
@@ -26,6 +26,8 @@ const utilities = require("./utilities");
|
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
+
* Note: The "certificate" field cannot be imported by this module and must be manually added to state.
|
|
30
|
+
*
|
|
29
31
|
* ```sh
|
|
30
32
|
* $ pulumi import cloudflare:index/zeroTrustAccessMtlsCertificate:ZeroTrustAccessMtlsCertificate example '<{accounts|zones}/{account_id|zone_id}>/<certificate_id>'
|
|
31
33
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zeroTrustAccessMtlsCertificate.js","sourceRoot":"","sources":["../zeroTrustAccessMtlsCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"zeroTrustAccessMtlsCertificate.js","sourceRoot":"","sources":["../zeroTrustAccessMtlsCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EA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E,CAAC;QACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA9FL,wEA+FC;AAjFG,gBAAgB;AACO,2CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -166,7 +166,7 @@ export interface ZeroTrustAccessPolicyArgs {
|
|
|
166
166
|
/**
|
|
167
167
|
* Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules.
|
|
168
168
|
*/
|
|
169
|
-
includes
|
|
169
|
+
includes?: pulumi.Input<pulumi.Input<inputs.ZeroTrustAccessPolicyInclude>[]>;
|
|
170
170
|
/**
|
|
171
171
|
* Require this application to be served in an isolated browser for users matching this policy. 'Client Web Isolation' must be on for the account in order to use this feature.
|
|
172
172
|
*/
|
package/zeroTrustAccessPolicy.js
CHANGED
|
@@ -63,9 +63,6 @@ class ZeroTrustAccessPolicy extends pulumi.CustomResource {
|
|
|
63
63
|
if ((!args || args.decision === undefined) && !opts.urn) {
|
|
64
64
|
throw new Error("Missing required property 'decision'");
|
|
65
65
|
}
|
|
66
|
-
if ((!args || args.includes === undefined) && !opts.urn) {
|
|
67
|
-
throw new Error("Missing required property 'includes'");
|
|
68
|
-
}
|
|
69
66
|
if ((!args || args.name === undefined) && !opts.urn) {
|
|
70
67
|
throw new Error("Missing required property 'name'");
|
|
71
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zeroTrustAccessPolicy.js","sourceRoot":"","sources":["../zeroTrustAccessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,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AC,SAAS,CAAC;YACtG,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,4CAA4C,EAAE,CAAC,EAAE,CAAC;QACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAnIL,sDAoIC;AAtHG,gBAAgB;AACO,kCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -110,13 +110,13 @@ export declare class ZeroTrustDeviceCustomProfile extends pulumi.CustomResource
|
|
|
110
110
|
/**
|
|
111
111
|
* List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
|
|
112
112
|
*/
|
|
113
|
-
readonly excludes: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileExclude[]
|
|
113
|
+
readonly excludes: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileExclude[]>;
|
|
114
114
|
readonly fallbackDomains: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileFallbackDomain[]>;
|
|
115
115
|
readonly gatewayUniqueId: pulumi.Output<string>;
|
|
116
116
|
/**
|
|
117
117
|
* List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
|
|
118
118
|
*/
|
|
119
|
-
readonly includes: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileInclude[]
|
|
119
|
+
readonly includes: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileInclude[]>;
|
|
120
120
|
/**
|
|
121
121
|
* The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
|
|
122
122
|
*/
|
|
@@ -146,7 +146,7 @@ export declare class ZeroTrustDeviceCustomProfile extends pulumi.CustomResource
|
|
|
146
146
|
* Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).
|
|
147
147
|
*/
|
|
148
148
|
readonly sccmVpnBoundarySupport: pulumi.Output<boolean>;
|
|
149
|
-
readonly serviceModeV2: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileServiceModeV2
|
|
149
|
+
readonly serviceModeV2: pulumi.Output<outputs.ZeroTrustDeviceCustomProfileServiceModeV2>;
|
|
150
150
|
/**
|
|
151
151
|
* The URL to launch when the Send Feedback button is clicked.
|
|
152
152
|
*/
|
|
@@ -19,6 +19,12 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
* profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import cloudflare:index/zeroTrustDlpCustomEntry:ZeroTrustDlpCustomEntry example '<account_id>/<entry_id>'
|
|
27
|
+
* ```
|
|
22
28
|
*/
|
|
23
29
|
export declare class ZeroTrustDlpCustomEntry extends pulumi.CustomResource {
|
|
24
30
|
/**
|
|
@@ -51,10 +57,11 @@ export declare class ZeroTrustDlpCustomEntry extends pulumi.CustomResource {
|
|
|
51
57
|
readonly profileId: pulumi.Output<string>;
|
|
52
58
|
readonly secret: pulumi.Output<boolean>;
|
|
53
59
|
/**
|
|
54
|
-
* Available values: "custom", "predefined", "integration".
|
|
60
|
+
* Available values: "custom", "predefined", "integration", "exact*data", "document*fingerprint", "wordList".
|
|
55
61
|
*/
|
|
56
|
-
readonly type: pulumi.Output<string
|
|
62
|
+
readonly type: pulumi.Output<string>;
|
|
57
63
|
readonly updatedAt: pulumi.Output<string>;
|
|
64
|
+
readonly variant: pulumi.Output<outputs.ZeroTrustDlpCustomEntryVariant>;
|
|
58
65
|
readonly wordList: pulumi.Output<string>;
|
|
59
66
|
/**
|
|
60
67
|
* Create a ZeroTrustDlpCustomEntry resource with the given unique name, arguments, and options.
|
|
@@ -84,10 +91,11 @@ export interface ZeroTrustDlpCustomEntryState {
|
|
|
84
91
|
profileId?: pulumi.Input<string>;
|
|
85
92
|
secret?: pulumi.Input<boolean>;
|
|
86
93
|
/**
|
|
87
|
-
* Available values: "custom", "predefined", "integration".
|
|
94
|
+
* Available values: "custom", "predefined", "integration", "exact*data", "document*fingerprint", "wordList".
|
|
88
95
|
*/
|
|
89
96
|
type?: pulumi.Input<string>;
|
|
90
97
|
updatedAt?: pulumi.Input<string>;
|
|
98
|
+
variant?: pulumi.Input<inputs.ZeroTrustDlpCustomEntryVariant>;
|
|
91
99
|
wordList?: pulumi.Input<string>;
|
|
92
100
|
}
|
|
93
101
|
/**
|
|
@@ -99,8 +107,4 @@ export interface ZeroTrustDlpCustomEntryArgs {
|
|
|
99
107
|
name: pulumi.Input<string>;
|
|
100
108
|
pattern: pulumi.Input<inputs.ZeroTrustDlpCustomEntryPattern>;
|
|
101
109
|
profileId: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Available values: "custom", "predefined", "integration".
|
|
104
|
-
*/
|
|
105
|
-
type?: pulumi.Input<string>;
|
|
106
110
|
}
|
|
@@ -23,6 +23,12 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import cloudflare:index/zeroTrustDlpCustomEntry:ZeroTrustDlpCustomEntry example '<account_id>/<entry_id>'
|
|
31
|
+
* ```
|
|
26
32
|
*/
|
|
27
33
|
class ZeroTrustDlpCustomEntry extends pulumi.CustomResource {
|
|
28
34
|
/**
|
|
@@ -63,6 +69,7 @@ class ZeroTrustDlpCustomEntry extends pulumi.CustomResource {
|
|
|
63
69
|
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
64
70
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
65
71
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
72
|
+
resourceInputs["variant"] = state ? state.variant : undefined;
|
|
66
73
|
resourceInputs["wordList"] = state ? state.wordList : undefined;
|
|
67
74
|
}
|
|
68
75
|
else {
|
|
@@ -87,12 +94,13 @@ class ZeroTrustDlpCustomEntry extends pulumi.CustomResource {
|
|
|
87
94
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
88
95
|
resourceInputs["pattern"] = args ? args.pattern : undefined;
|
|
89
96
|
resourceInputs["profileId"] = args ? args.profileId : undefined;
|
|
90
|
-
resourceInputs["type"] = args ? args.type : undefined;
|
|
91
97
|
resourceInputs["caseSensitive"] = undefined /*out*/;
|
|
92
98
|
resourceInputs["confidence"] = undefined /*out*/;
|
|
93
99
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
94
100
|
resourceInputs["secret"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
95
102
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["variant"] = undefined /*out*/;
|
|
96
104
|
resourceInputs["wordList"] = undefined /*out*/;
|
|
97
105
|
}
|
|
98
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zeroTrustDlpCustomEntry.js","sourceRoot":"","sources":["../zeroTrustDlpCustomEntry.ts"],"names":[],"mappings":";A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W,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA7GL,0DA8GC;AAhGG,gBAAgB;AACO,oCAAY,GAAG,kEAAkE,CAAC"}
|
package/zeroTrustDlpEntry.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export declare class ZeroTrustDlpEntry extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly type: pulumi.Output<string | undefined>;
|
|
63
63
|
readonly updatedAt: pulumi.Output<string>;
|
|
64
|
+
readonly variant: pulumi.Output<outputs.ZeroTrustDlpEntryVariant>;
|
|
64
65
|
readonly wordList: pulumi.Output<string>;
|
|
65
66
|
/**
|
|
66
67
|
* Create a ZeroTrustDlpEntry resource with the given unique name, arguments, and options.
|
|
@@ -94,6 +95,7 @@ export interface ZeroTrustDlpEntryState {
|
|
|
94
95
|
*/
|
|
95
96
|
type?: pulumi.Input<string>;
|
|
96
97
|
updatedAt?: pulumi.Input<string>;
|
|
98
|
+
variant?: pulumi.Input<inputs.ZeroTrustDlpEntryVariant>;
|
|
97
99
|
wordList?: pulumi.Input<string>;
|
|
98
100
|
}
|
|
99
101
|
/**
|
package/zeroTrustDlpEntry.js
CHANGED
|
@@ -69,6 +69,7 @@ class ZeroTrustDlpEntry extends pulumi.CustomResource {
|
|
|
69
69
|
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
70
70
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
71
71
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
72
|
+
resourceInputs["variant"] = state ? state.variant : undefined;
|
|
72
73
|
resourceInputs["wordList"] = state ? state.wordList : undefined;
|
|
73
74
|
}
|
|
74
75
|
else {
|
|
@@ -99,6 +100,7 @@ class ZeroTrustDlpEntry extends pulumi.CustomResource {
|
|
|
99
100
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
100
101
|
resourceInputs["secret"] = undefined /*out*/;
|
|
101
102
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["variant"] = undefined /*out*/;
|
|
102
104
|
resourceInputs["wordList"] = undefined /*out*/;
|
|
103
105
|
}
|
|
104
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|