@pulumi/cloudflare 4.9.0 → 4.10.0-alpha.1661535818
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/accessApplication.d.ts +44 -35
- package/accessApplication.js +3 -4
- package/accessApplication.js.map +1 -1
- package/accessBookmark.d.ts +13 -11
- package/accessBookmark.js +4 -2
- package/accessBookmark.js.map +1 -1
- package/accessCaCertificate.d.ts +15 -13
- package/accessCaCertificate.js +5 -3
- package/accessCaCertificate.js.map +1 -1
- package/accessGroup.d.ts +9 -35
- package/accessGroup.js +3 -29
- package/accessGroup.js.map +1 -1
- package/accessIdentityProvider.d.ts +20 -23
- package/accessIdentityProvider.js +8 -5
- package/accessIdentityProvider.js.map +1 -1
- package/accessMutualTlsCertificate.d.ts +12 -8
- package/accessMutualTlsCertificate.js +6 -2
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.d.ts +14 -15
- package/accessPolicy.js +5 -3
- package/accessPolicy.js.map +1 -1
- package/accessRule.d.ts +22 -9
- package/accessRule.js +9 -3
- package/accessRule.js.map +1 -1
- package/accessServiceToken.d.ts +11 -10
- package/accessServiceToken.js +3 -2
- package/accessServiceToken.js.map +1 -1
- package/accountMember.d.ts +15 -6
- package/accountMember.js +2 -0
- package/accountMember.js.map +1 -1
- package/apiToken.d.ts +26 -1
- package/apiToken.js +6 -1
- package/apiToken.js.map +1 -1
- package/argo.d.ts +9 -8
- package/argo.js +3 -2
- package/argo.js.map +1 -1
- package/certificatePack.d.ts +34 -88
- package/certificatePack.js +14 -26
- package/certificatePack.js.map +1 -1
- package/customHostname.d.ts +15 -11
- package/customHostname.js +3 -5
- package/customHostname.js.map +1 -1
- package/filter.d.ts +4 -2
- package/filter.js +4 -2
- package/filter.js.map +1 -1
- package/firewallRule.d.ts +17 -23
- package/firewallRule.js +8 -5
- package/firewallRule.js.map +1 -1
- package/getAccessIdentityProvider.d.ts +18 -0
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.d.ts +9 -0
- package/getAccountRoles.js.map +1 -1
- package/getDevices.d.ts +9 -0
- package/getDevices.js.map +1 -1
- package/getWafGroups.d.ts +9 -0
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.d.ts +9 -0
- package/getWafPackages.js.map +1 -1
- package/getWafRules.d.ts +9 -0
- package/getWafRules.js.map +1 -1
- package/getZone.d.ts +18 -0
- package/getZone.js.map +1 -1
- package/getZoneDnssec.d.ts +9 -0
- package/getZoneDnssec.js.map +1 -1
- package/healthcheck.d.ts +50 -103
- package/healthcheck.js +2 -5
- package/healthcheck.js.map +1 -1
- package/ipsecTunnel.d.ts +16 -19
- package/ipsecTunnel.js +1 -1
- package/ipsecTunnel.js.map +1 -1
- package/list.d.ts +3 -2
- package/list.js +3 -2
- package/list.js.map +1 -1
- package/loadBalancer.d.ts +16 -0
- package/loadBalancer.js +6 -0
- package/loadBalancer.js.map +1 -1
- package/loadBalancerPool.d.ts +3 -3
- package/logpushJob.d.ts +21 -57
- package/logpushJob.js.map +1 -1
- package/managedHeaders.d.ts +7 -7
- package/managedHeaders.js +1 -1
- package/notificationPolicy.d.ts +18 -40
- package/notificationPolicy.js +3 -1
- package/notificationPolicy.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/ruleset.d.ts +64 -37
- package/ruleset.js +52 -10
- package/ruleset.js.map +1 -1
- package/tunnelRoute.d.ts +9 -10
- package/tunnelRoute.js +6 -4
- package/tunnelRoute.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +8 -10
- package/tunnelVirtualNetwork.js +5 -4
- package/tunnelVirtualNetwork.js.map +1 -1
- package/types/input.d.ts +360 -32
- package/types/output.d.ts +364 -27
- package/waitingRoom.d.ts +19 -22
- package/waitingRoom.js +1 -1
- package/waitingRoom.js.map +1 -1
- package/waitingRoomEvent.d.ts +13 -19
- package/waitingRoomEvent.js +1 -1
- package/waitingRoomEvent.js.map +1 -1
- package/workerCronTrigger.d.ts +1 -1
- package/workerCronTrigger.js +1 -1
- package/workerScript.d.ts +8 -1
- package/workerScript.js +7 -1
- package/workerScript.js.map +1 -1
- package/zone.d.ts +34 -23
- package/zone.js +10 -5
- package/zone.js.map +1 -1
package/healthcheck.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* Standalone Health Checks provide a way to monitor origin servers
|
|
4
|
+
* Standalone Health Checks provide a way to monitor origin servers
|
|
5
|
+
* without needing a Cloudflare Load Balancer.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -92,20 +93,19 @@ export declare class Healthcheck extends pulumi.CustomResource {
|
|
|
92
93
|
*/
|
|
93
94
|
readonly address: pulumi.Output<string>;
|
|
94
95
|
/**
|
|
95
|
-
* Do not validate the certificate when the health check uses HTTPS.
|
|
96
|
+
* Do not validate the certificate when the health check uses HTTPS. Defaults to `false`.
|
|
96
97
|
*/
|
|
97
98
|
readonly allowInsecure: pulumi.Output<boolean | undefined>;
|
|
98
99
|
/**
|
|
99
|
-
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values:
|
|
100
|
-
* `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`
|
|
100
|
+
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values: `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`.
|
|
101
101
|
*/
|
|
102
102
|
readonly checkRegions: pulumi.Output<string[]>;
|
|
103
103
|
/**
|
|
104
|
-
* The number of consecutive fails required from a health check before changing the health to unhealthy.
|
|
104
|
+
* The number of consecutive fails required from a health check before changing the health to unhealthy. Defaults to `1`.
|
|
105
105
|
*/
|
|
106
106
|
readonly consecutiveFails: pulumi.Output<number | undefined>;
|
|
107
107
|
/**
|
|
108
|
-
* The number of consecutive successes required from a health check before changing the health to healthy.
|
|
108
|
+
* The number of consecutive successes required from a health check before changing the health to healthy. Defaults to `1`.
|
|
109
109
|
*/
|
|
110
110
|
readonly consecutiveSuccesses: pulumi.Output<number | undefined>;
|
|
111
111
|
/**
|
|
@@ -117,31 +117,27 @@ export declare class Healthcheck extends pulumi.CustomResource {
|
|
|
117
117
|
*/
|
|
118
118
|
readonly description: pulumi.Output<string | undefined>;
|
|
119
119
|
/**
|
|
120
|
-
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as
|
|
121
|
-
* unhealthy.
|
|
120
|
+
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as unhealthy.
|
|
122
121
|
*/
|
|
123
122
|
readonly expectedBody: pulumi.Output<string | undefined>;
|
|
124
123
|
/**
|
|
125
|
-
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health
|
|
126
|
-
* check.
|
|
124
|
+
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health check.
|
|
127
125
|
*/
|
|
128
126
|
readonly expectedCodes: pulumi.Output<string[] | undefined>;
|
|
129
127
|
/**
|
|
130
|
-
* Follow redirects if the origin returns a 3xx status code.
|
|
128
|
+
* Follow redirects if the origin returns a 3xx status code. Defaults to `false`.
|
|
131
129
|
*/
|
|
132
130
|
readonly followRedirects: pulumi.Output<boolean | undefined>;
|
|
133
131
|
/**
|
|
134
|
-
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent
|
|
135
|
-
* header cannot be overridden.
|
|
132
|
+
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden.
|
|
136
133
|
*/
|
|
137
134
|
readonly headers: pulumi.Output<outputs.HealthcheckHeader[] | undefined>;
|
|
138
135
|
/**
|
|
139
|
-
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes,
|
|
140
|
-
* but will increase the load on the origin as we check from multiple locations.
|
|
136
|
+
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase the load on the origin as we check from multiple locations. Defaults to `60`.
|
|
141
137
|
*/
|
|
142
138
|
readonly interval: pulumi.Output<number | undefined>;
|
|
143
139
|
/**
|
|
144
|
-
* The HTTP method to use for the health check. Available values: `
|
|
140
|
+
* The HTTP method to use for the health check. Available values: `connectionEstablished`, `GET`, `HEAD`.
|
|
145
141
|
*/
|
|
146
142
|
readonly method: pulumi.Output<string>;
|
|
147
143
|
/**
|
|
@@ -153,40 +149,27 @@ export declare class Healthcheck extends pulumi.CustomResource {
|
|
|
153
149
|
*/
|
|
154
150
|
readonly name: pulumi.Output<string>;
|
|
155
151
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
159
|
-
*/
|
|
160
|
-
readonly notificationEmailAddresses: pulumi.Output<string[] | undefined>;
|
|
161
|
-
/**
|
|
162
|
-
* Whether the notifications are suspended or not. Useful for maintenance periods.
|
|
163
|
-
*
|
|
164
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
165
|
-
*/
|
|
166
|
-
readonly notificationSuspended: pulumi.Output<boolean | undefined>;
|
|
167
|
-
/**
|
|
168
|
-
* The endpoint path to health check against.
|
|
152
|
+
* The endpoint path to health check against. Defaults to `/`.
|
|
169
153
|
*/
|
|
170
154
|
readonly path: pulumi.Output<string | undefined>;
|
|
171
155
|
/**
|
|
172
|
-
* Port number to connect to for the health check.
|
|
156
|
+
* Port number to connect to for the health check. Defaults to `80`.
|
|
173
157
|
*/
|
|
174
158
|
readonly port: pulumi.Output<number | undefined>;
|
|
175
159
|
/**
|
|
176
|
-
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
|
|
177
|
-
* immediately.
|
|
160
|
+
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`.
|
|
178
161
|
*/
|
|
179
162
|
readonly retries: pulumi.Output<number | undefined>;
|
|
180
163
|
/**
|
|
181
|
-
* If suspended, no health checks are sent to the origin.
|
|
164
|
+
* If suspended, no health checks are sent to the origin. Defaults to `false`.
|
|
182
165
|
*/
|
|
183
166
|
readonly suspended: pulumi.Output<boolean | undefined>;
|
|
184
167
|
/**
|
|
185
|
-
* The timeout (in seconds) before marking the health check as failed.
|
|
168
|
+
* The timeout (in seconds) before marking the health check as failed. Defaults to `5`.
|
|
186
169
|
*/
|
|
187
170
|
readonly timeout: pulumi.Output<number | undefined>;
|
|
188
171
|
/**
|
|
189
|
-
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS
|
|
172
|
+
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS`.
|
|
190
173
|
*/
|
|
191
174
|
readonly type: pulumi.Output<string>;
|
|
192
175
|
/**
|
|
@@ -211,20 +194,19 @@ export interface HealthcheckState {
|
|
|
211
194
|
*/
|
|
212
195
|
address?: pulumi.Input<string>;
|
|
213
196
|
/**
|
|
214
|
-
* Do not validate the certificate when the health check uses HTTPS.
|
|
197
|
+
* Do not validate the certificate when the health check uses HTTPS. Defaults to `false`.
|
|
215
198
|
*/
|
|
216
199
|
allowInsecure?: pulumi.Input<boolean>;
|
|
217
200
|
/**
|
|
218
|
-
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values:
|
|
219
|
-
* `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`
|
|
201
|
+
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values: `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`.
|
|
220
202
|
*/
|
|
221
203
|
checkRegions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
222
204
|
/**
|
|
223
|
-
* The number of consecutive fails required from a health check before changing the health to unhealthy.
|
|
205
|
+
* The number of consecutive fails required from a health check before changing the health to unhealthy. Defaults to `1`.
|
|
224
206
|
*/
|
|
225
207
|
consecutiveFails?: pulumi.Input<number>;
|
|
226
208
|
/**
|
|
227
|
-
* The number of consecutive successes required from a health check before changing the health to healthy.
|
|
209
|
+
* The number of consecutive successes required from a health check before changing the health to healthy. Defaults to `1`.
|
|
228
210
|
*/
|
|
229
211
|
consecutiveSuccesses?: pulumi.Input<number>;
|
|
230
212
|
/**
|
|
@@ -236,31 +218,27 @@ export interface HealthcheckState {
|
|
|
236
218
|
*/
|
|
237
219
|
description?: pulumi.Input<string>;
|
|
238
220
|
/**
|
|
239
|
-
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as
|
|
240
|
-
* unhealthy.
|
|
221
|
+
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as unhealthy.
|
|
241
222
|
*/
|
|
242
223
|
expectedBody?: pulumi.Input<string>;
|
|
243
224
|
/**
|
|
244
|
-
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health
|
|
245
|
-
* check.
|
|
225
|
+
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health check.
|
|
246
226
|
*/
|
|
247
227
|
expectedCodes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
248
228
|
/**
|
|
249
|
-
* Follow redirects if the origin returns a 3xx status code.
|
|
229
|
+
* Follow redirects if the origin returns a 3xx status code. Defaults to `false`.
|
|
250
230
|
*/
|
|
251
231
|
followRedirects?: pulumi.Input<boolean>;
|
|
252
232
|
/**
|
|
253
|
-
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent
|
|
254
|
-
* header cannot be overridden.
|
|
233
|
+
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden.
|
|
255
234
|
*/
|
|
256
235
|
headers?: pulumi.Input<pulumi.Input<inputs.HealthcheckHeader>[]>;
|
|
257
236
|
/**
|
|
258
|
-
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes,
|
|
259
|
-
* but will increase the load on the origin as we check from multiple locations.
|
|
237
|
+
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase the load on the origin as we check from multiple locations. Defaults to `60`.
|
|
260
238
|
*/
|
|
261
239
|
interval?: pulumi.Input<number>;
|
|
262
240
|
/**
|
|
263
|
-
* The HTTP method to use for the health check. Available values: `
|
|
241
|
+
* The HTTP method to use for the health check. Available values: `connectionEstablished`, `GET`, `HEAD`.
|
|
264
242
|
*/
|
|
265
243
|
method?: pulumi.Input<string>;
|
|
266
244
|
/**
|
|
@@ -272,40 +250,27 @@ export interface HealthcheckState {
|
|
|
272
250
|
*/
|
|
273
251
|
name?: pulumi.Input<string>;
|
|
274
252
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
278
|
-
*/
|
|
279
|
-
notificationEmailAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
280
|
-
/**
|
|
281
|
-
* Whether the notifications are suspended or not. Useful for maintenance periods.
|
|
282
|
-
*
|
|
283
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
284
|
-
*/
|
|
285
|
-
notificationSuspended?: pulumi.Input<boolean>;
|
|
286
|
-
/**
|
|
287
|
-
* The endpoint path to health check against.
|
|
253
|
+
* The endpoint path to health check against. Defaults to `/`.
|
|
288
254
|
*/
|
|
289
255
|
path?: pulumi.Input<string>;
|
|
290
256
|
/**
|
|
291
|
-
* Port number to connect to for the health check.
|
|
257
|
+
* Port number to connect to for the health check. Defaults to `80`.
|
|
292
258
|
*/
|
|
293
259
|
port?: pulumi.Input<number>;
|
|
294
260
|
/**
|
|
295
|
-
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
|
|
296
|
-
* immediately.
|
|
261
|
+
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`.
|
|
297
262
|
*/
|
|
298
263
|
retries?: pulumi.Input<number>;
|
|
299
264
|
/**
|
|
300
|
-
* If suspended, no health checks are sent to the origin.
|
|
265
|
+
* If suspended, no health checks are sent to the origin. Defaults to `false`.
|
|
301
266
|
*/
|
|
302
267
|
suspended?: pulumi.Input<boolean>;
|
|
303
268
|
/**
|
|
304
|
-
* The timeout (in seconds) before marking the health check as failed.
|
|
269
|
+
* The timeout (in seconds) before marking the health check as failed. Defaults to `5`.
|
|
305
270
|
*/
|
|
306
271
|
timeout?: pulumi.Input<number>;
|
|
307
272
|
/**
|
|
308
|
-
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS
|
|
273
|
+
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS`.
|
|
309
274
|
*/
|
|
310
275
|
type?: pulumi.Input<string>;
|
|
311
276
|
/**
|
|
@@ -322,20 +287,19 @@ export interface HealthcheckArgs {
|
|
|
322
287
|
*/
|
|
323
288
|
address: pulumi.Input<string>;
|
|
324
289
|
/**
|
|
325
|
-
* Do not validate the certificate when the health check uses HTTPS.
|
|
290
|
+
* Do not validate the certificate when the health check uses HTTPS. Defaults to `false`.
|
|
326
291
|
*/
|
|
327
292
|
allowInsecure?: pulumi.Input<boolean>;
|
|
328
293
|
/**
|
|
329
|
-
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values:
|
|
330
|
-
* `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`
|
|
294
|
+
* A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values: `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`.
|
|
331
295
|
*/
|
|
332
296
|
checkRegions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
333
297
|
/**
|
|
334
|
-
* The number of consecutive fails required from a health check before changing the health to unhealthy.
|
|
298
|
+
* The number of consecutive fails required from a health check before changing the health to unhealthy. Defaults to `1`.
|
|
335
299
|
*/
|
|
336
300
|
consecutiveFails?: pulumi.Input<number>;
|
|
337
301
|
/**
|
|
338
|
-
* The number of consecutive successes required from a health check before changing the health to healthy.
|
|
302
|
+
* The number of consecutive successes required from a health check before changing the health to healthy. Defaults to `1`.
|
|
339
303
|
*/
|
|
340
304
|
consecutiveSuccesses?: pulumi.Input<number>;
|
|
341
305
|
/**
|
|
@@ -343,31 +307,27 @@ export interface HealthcheckArgs {
|
|
|
343
307
|
*/
|
|
344
308
|
description?: pulumi.Input<string>;
|
|
345
309
|
/**
|
|
346
|
-
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as
|
|
347
|
-
* unhealthy.
|
|
310
|
+
* A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as unhealthy.
|
|
348
311
|
*/
|
|
349
312
|
expectedBody?: pulumi.Input<string>;
|
|
350
313
|
/**
|
|
351
|
-
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health
|
|
352
|
-
* check.
|
|
314
|
+
* The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health check.
|
|
353
315
|
*/
|
|
354
316
|
expectedCodes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
355
317
|
/**
|
|
356
|
-
* Follow redirects if the origin returns a 3xx status code.
|
|
318
|
+
* Follow redirects if the origin returns a 3xx status code. Defaults to `false`.
|
|
357
319
|
*/
|
|
358
320
|
followRedirects?: pulumi.Input<boolean>;
|
|
359
321
|
/**
|
|
360
|
-
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent
|
|
361
|
-
* header cannot be overridden.
|
|
322
|
+
* The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden.
|
|
362
323
|
*/
|
|
363
324
|
headers?: pulumi.Input<pulumi.Input<inputs.HealthcheckHeader>[]>;
|
|
364
325
|
/**
|
|
365
|
-
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes,
|
|
366
|
-
* but will increase the load on the origin as we check from multiple locations.
|
|
326
|
+
* The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase the load on the origin as we check from multiple locations. Defaults to `60`.
|
|
367
327
|
*/
|
|
368
328
|
interval?: pulumi.Input<number>;
|
|
369
329
|
/**
|
|
370
|
-
* The HTTP method to use for the health check. Available values: `
|
|
330
|
+
* The HTTP method to use for the health check. Available values: `connectionEstablished`, `GET`, `HEAD`.
|
|
371
331
|
*/
|
|
372
332
|
method?: pulumi.Input<string>;
|
|
373
333
|
/**
|
|
@@ -375,40 +335,27 @@ export interface HealthcheckArgs {
|
|
|
375
335
|
*/
|
|
376
336
|
name: pulumi.Input<string>;
|
|
377
337
|
/**
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
381
|
-
*/
|
|
382
|
-
notificationEmailAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
383
|
-
/**
|
|
384
|
-
* Whether the notifications are suspended or not. Useful for maintenance periods.
|
|
385
|
-
*
|
|
386
|
-
* @deprecated Use `cloudflare_notification_policy` instead.
|
|
387
|
-
*/
|
|
388
|
-
notificationSuspended?: pulumi.Input<boolean>;
|
|
389
|
-
/**
|
|
390
|
-
* The endpoint path to health check against.
|
|
338
|
+
* The endpoint path to health check against. Defaults to `/`.
|
|
391
339
|
*/
|
|
392
340
|
path?: pulumi.Input<string>;
|
|
393
341
|
/**
|
|
394
|
-
* Port number to connect to for the health check.
|
|
342
|
+
* Port number to connect to for the health check. Defaults to `80`.
|
|
395
343
|
*/
|
|
396
344
|
port?: pulumi.Input<number>;
|
|
397
345
|
/**
|
|
398
|
-
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
|
|
399
|
-
* immediately.
|
|
346
|
+
* The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`.
|
|
400
347
|
*/
|
|
401
348
|
retries?: pulumi.Input<number>;
|
|
402
349
|
/**
|
|
403
|
-
* If suspended, no health checks are sent to the origin.
|
|
350
|
+
* If suspended, no health checks are sent to the origin. Defaults to `false`.
|
|
404
351
|
*/
|
|
405
352
|
suspended?: pulumi.Input<boolean>;
|
|
406
353
|
/**
|
|
407
|
-
* The timeout (in seconds) before marking the health check as failed.
|
|
354
|
+
* The timeout (in seconds) before marking the health check as failed. Defaults to `5`.
|
|
408
355
|
*/
|
|
409
356
|
timeout?: pulumi.Input<number>;
|
|
410
357
|
/**
|
|
411
|
-
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS
|
|
358
|
+
* The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS`.
|
|
412
359
|
*/
|
|
413
360
|
type: pulumi.Input<string>;
|
|
414
361
|
/**
|
package/healthcheck.js
CHANGED
|
@@ -6,7 +6,8 @@ exports.Healthcheck = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Standalone Health Checks provide a way to monitor origin servers
|
|
9
|
+
* Standalone Health Checks provide a way to monitor origin servers
|
|
10
|
+
* without needing a Cloudflare Load Balancer.
|
|
10
11
|
*
|
|
11
12
|
* ## Example Usage
|
|
12
13
|
*
|
|
@@ -97,8 +98,6 @@ class Healthcheck extends pulumi.CustomResource {
|
|
|
97
98
|
resourceInputs["method"] = state ? state.method : undefined;
|
|
98
99
|
resourceInputs["modifiedOn"] = state ? state.modifiedOn : undefined;
|
|
99
100
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
100
|
-
resourceInputs["notificationEmailAddresses"] = state ? state.notificationEmailAddresses : undefined;
|
|
101
|
-
resourceInputs["notificationSuspended"] = state ? state.notificationSuspended : undefined;
|
|
102
101
|
resourceInputs["path"] = state ? state.path : undefined;
|
|
103
102
|
resourceInputs["port"] = state ? state.port : undefined;
|
|
104
103
|
resourceInputs["retries"] = state ? state.retries : undefined;
|
|
@@ -134,8 +133,6 @@ class Healthcheck extends pulumi.CustomResource {
|
|
|
134
133
|
resourceInputs["interval"] = args ? args.interval : undefined;
|
|
135
134
|
resourceInputs["method"] = args ? args.method : undefined;
|
|
136
135
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
137
|
-
resourceInputs["notificationEmailAddresses"] = args ? args.notificationEmailAddresses : undefined;
|
|
138
|
-
resourceInputs["notificationSuspended"] = args ? args.notificationSuspended : undefined;
|
|
139
136
|
resourceInputs["path"] = args ? args.path : undefined;
|
|
140
137
|
resourceInputs["port"] = args ? args.port : undefined;
|
|
141
138
|
resourceInputs["retries"] = args ? args.retries : undefined;
|
package/healthcheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthcheck.js","sourceRoot":"","sources":["../healthcheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"healthcheck.js","sourceRoot":"","sources":["../healthcheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6HlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACl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AY,GAAG,0CAA0C,CAAC"}
|
package/ipsecTunnel.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
10
|
*
|
|
11
11
|
* const example = new cloudflare.IpsecTunnel("example", {
|
|
12
|
-
* accountId: "
|
|
12
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
13
13
|
* allowNullCipher: false,
|
|
14
14
|
* cloudflareEndpoint: "203.0.113.1",
|
|
15
15
|
* customerEndpoint: "203.0.113.1",
|
|
@@ -50,7 +50,7 @@ export declare class IpsecTunnel extends pulumi.CustomResource {
|
|
|
50
50
|
*/
|
|
51
51
|
readonly accountId: pulumi.Output<string | undefined>;
|
|
52
52
|
/**
|
|
53
|
-
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2.
|
|
53
|
+
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2. Defaults to `false`.
|
|
54
54
|
*/
|
|
55
55
|
readonly allowNullCipher: pulumi.Output<boolean | undefined>;
|
|
56
56
|
/**
|
|
@@ -66,7 +66,7 @@ export declare class IpsecTunnel extends pulumi.CustomResource {
|
|
|
66
66
|
*/
|
|
67
67
|
readonly description: pulumi.Output<string | undefined>;
|
|
68
68
|
/**
|
|
69
|
-
* `
|
|
69
|
+
* `remoteId` in the form of a fqdn. This value is generated by cloudflare.
|
|
70
70
|
*/
|
|
71
71
|
readonly fqdnId: pulumi.Output<string>;
|
|
72
72
|
/**
|
|
@@ -78,12 +78,11 @@ export declare class IpsecTunnel extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly healthCheckTarget: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
81
|
-
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default:
|
|
82
|
-
* `reply`.
|
|
81
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default: `reply`.
|
|
83
82
|
*/
|
|
84
83
|
readonly healthCheckType: pulumi.Output<string>;
|
|
85
84
|
/**
|
|
86
|
-
* `
|
|
85
|
+
* `remoteId` as a hex string. This value is generated by cloudflare.
|
|
87
86
|
*/
|
|
88
87
|
readonly hexId: pulumi.Output<string>;
|
|
89
88
|
/**
|
|
@@ -103,7 +102,7 @@ export declare class IpsecTunnel extends pulumi.CustomResource {
|
|
|
103
102
|
*/
|
|
104
103
|
readonly remoteId: pulumi.Output<string>;
|
|
105
104
|
/**
|
|
106
|
-
* `
|
|
105
|
+
* `remoteId` in the form of an email address. This value is generated by cloudflare.
|
|
107
106
|
*/
|
|
108
107
|
readonly userId: pulumi.Output<string>;
|
|
109
108
|
/**
|
|
@@ -124,7 +123,7 @@ export interface IpsecTunnelState {
|
|
|
124
123
|
*/
|
|
125
124
|
accountId?: pulumi.Input<string>;
|
|
126
125
|
/**
|
|
127
|
-
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2.
|
|
126
|
+
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2. Defaults to `false`.
|
|
128
127
|
*/
|
|
129
128
|
allowNullCipher?: pulumi.Input<boolean>;
|
|
130
129
|
/**
|
|
@@ -140,7 +139,7 @@ export interface IpsecTunnelState {
|
|
|
140
139
|
*/
|
|
141
140
|
description?: pulumi.Input<string>;
|
|
142
141
|
/**
|
|
143
|
-
* `
|
|
142
|
+
* `remoteId` in the form of a fqdn. This value is generated by cloudflare.
|
|
144
143
|
*/
|
|
145
144
|
fqdnId?: pulumi.Input<string>;
|
|
146
145
|
/**
|
|
@@ -152,12 +151,11 @@ export interface IpsecTunnelState {
|
|
|
152
151
|
*/
|
|
153
152
|
healthCheckTarget?: pulumi.Input<string>;
|
|
154
153
|
/**
|
|
155
|
-
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default:
|
|
156
|
-
* `reply`.
|
|
154
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default: `reply`.
|
|
157
155
|
*/
|
|
158
156
|
healthCheckType?: pulumi.Input<string>;
|
|
159
157
|
/**
|
|
160
|
-
* `
|
|
158
|
+
* `remoteId` as a hex string. This value is generated by cloudflare.
|
|
161
159
|
*/
|
|
162
160
|
hexId?: pulumi.Input<string>;
|
|
163
161
|
/**
|
|
@@ -177,7 +175,7 @@ export interface IpsecTunnelState {
|
|
|
177
175
|
*/
|
|
178
176
|
remoteId?: pulumi.Input<string>;
|
|
179
177
|
/**
|
|
180
|
-
* `
|
|
178
|
+
* `remoteId` in the form of an email address. This value is generated by cloudflare.
|
|
181
179
|
*/
|
|
182
180
|
userId?: pulumi.Input<string>;
|
|
183
181
|
}
|
|
@@ -190,7 +188,7 @@ export interface IpsecTunnelArgs {
|
|
|
190
188
|
*/
|
|
191
189
|
accountId?: pulumi.Input<string>;
|
|
192
190
|
/**
|
|
193
|
-
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2.
|
|
191
|
+
* Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2. Defaults to `false`.
|
|
194
192
|
*/
|
|
195
193
|
allowNullCipher?: pulumi.Input<boolean>;
|
|
196
194
|
/**
|
|
@@ -206,7 +204,7 @@ export interface IpsecTunnelArgs {
|
|
|
206
204
|
*/
|
|
207
205
|
description?: pulumi.Input<string>;
|
|
208
206
|
/**
|
|
209
|
-
* `
|
|
207
|
+
* `remoteId` in the form of a fqdn. This value is generated by cloudflare.
|
|
210
208
|
*/
|
|
211
209
|
fqdnId?: pulumi.Input<string>;
|
|
212
210
|
/**
|
|
@@ -218,12 +216,11 @@ export interface IpsecTunnelArgs {
|
|
|
218
216
|
*/
|
|
219
217
|
healthCheckTarget?: pulumi.Input<string>;
|
|
220
218
|
/**
|
|
221
|
-
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default:
|
|
222
|
-
* `reply`.
|
|
219
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default: `reply`.
|
|
223
220
|
*/
|
|
224
221
|
healthCheckType?: pulumi.Input<string>;
|
|
225
222
|
/**
|
|
226
|
-
* `
|
|
223
|
+
* `remoteId` as a hex string. This value is generated by cloudflare.
|
|
227
224
|
*/
|
|
228
225
|
hexId?: pulumi.Input<string>;
|
|
229
226
|
/**
|
|
@@ -243,7 +240,7 @@ export interface IpsecTunnelArgs {
|
|
|
243
240
|
*/
|
|
244
241
|
remoteId?: pulumi.Input<string>;
|
|
245
242
|
/**
|
|
246
|
-
* `
|
|
243
|
+
* `remoteId` in the form of an email address. This value is generated by cloudflare.
|
|
247
244
|
*/
|
|
248
245
|
userId?: pulumi.Input<string>;
|
|
249
246
|
}
|
package/ipsecTunnel.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
16
16
|
*
|
|
17
17
|
* const example = new cloudflare.IpsecTunnel("example", {
|
|
18
|
-
* accountId: "
|
|
18
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
19
19
|
* allowNullCipher: false,
|
|
20
20
|
* cloudflareEndpoint: "203.0.113.1",
|
|
21
21
|
* customerEndpoint: "203.0.113.1",
|
package/ipsecTunnel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipsecTunnel.js","sourceRoot":"","sources":["../ipsecTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"ipsecTunnel.js","sourceRoot":"","sources":["../ipsecTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;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sJC;AAxIG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/list.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* Provides Lists (IPs, Redirects) to be used in Edge Rules Engine
|
|
4
|
+
* Provides Lists (IPs, Redirects) to be used in Edge Rules Engine
|
|
5
|
+
* across all zones within the same account.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -11,7 +12,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
11
12
|
*
|
|
12
13
|
* // Redirect list
|
|
13
14
|
* const example = new cloudflare.List("example", {
|
|
14
|
-
* accountId: "
|
|
15
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
15
16
|
* description: "example redirects for a list",
|
|
16
17
|
* items: [
|
|
17
18
|
* {
|
package/list.js
CHANGED
|
@@ -6,7 +6,8 @@ exports.List = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides Lists (IPs, Redirects) to be used in Edge Rules Engine
|
|
9
|
+
* Provides Lists (IPs, Redirects) to be used in Edge Rules Engine
|
|
10
|
+
* across all zones within the same account.
|
|
10
11
|
*
|
|
11
12
|
* ## Example Usage
|
|
12
13
|
*
|
|
@@ -16,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
16
17
|
*
|
|
17
18
|
* // Redirect list
|
|
18
19
|
* const example = new cloudflare.List("example", {
|
|
19
|
-
* accountId: "
|
|
20
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
20
21
|
* description: "example redirects for a list",
|
|
21
22
|
* items: [
|
|
22
23
|
* {
|
package/list.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","s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