@pulumi/cloudflare 4.7.0 → 4.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.
Files changed (156) hide show
  1. package/accessApplication.d.ts +54 -80
  2. package/accessApplication.js +9 -5
  3. package/accessApplication.js.map +1 -1
  4. package/accessBookmark.d.ts +21 -22
  5. package/accessBookmark.js +9 -7
  6. package/accessBookmark.js.map +1 -1
  7. package/accessCaCertificate.d.ts +21 -11
  8. package/accessCaCertificate.js +15 -5
  9. package/accessCaCertificate.js.map +1 -1
  10. package/accessGroup.d.ts +14 -92
  11. package/accessGroup.js +8 -41
  12. package/accessGroup.js.map +1 -1
  13. package/accessIdentityProvider.d.ts +26 -28
  14. package/accessIdentityProvider.js +8 -10
  15. package/accessIdentityProvider.js.map +1 -1
  16. package/accessKeysConfiguration.d.ts +18 -0
  17. package/accessKeysConfiguration.js.map +1 -1
  18. package/accessMutualTlsCertificate.d.ts +20 -8
  19. package/accessMutualTlsCertificate.js +14 -2
  20. package/accessMutualTlsCertificate.js.map +1 -1
  21. package/accessPolicy.d.ts +53 -49
  22. package/accessPolicy.js +11 -7
  23. package/accessPolicy.js.map +1 -1
  24. package/accessRule.d.ts +67 -14
  25. package/accessRule.js +55 -5
  26. package/accessRule.js.map +1 -1
  27. package/accessServiceToken.d.ts +18 -12
  28. package/accessServiceToken.js +3 -6
  29. package/accessServiceToken.js.map +1 -1
  30. package/accountMember.d.ts +10 -11
  31. package/accountMember.js +1 -5
  32. package/accountMember.js.map +1 -1
  33. package/apiToken.d.ts +11 -122
  34. package/apiToken.js +1 -109
  35. package/apiToken.js.map +1 -1
  36. package/argo.d.ts +10 -14
  37. package/argo.js +1 -5
  38. package/argo.js.map +1 -1
  39. package/argoTunnel.d.ts +8 -0
  40. package/argoTunnel.js +2 -0
  41. package/argoTunnel.js.map +1 -1
  42. package/byoIpPrefix.d.ts +9 -0
  43. package/byoIpPrefix.js.map +1 -1
  44. package/config/vars.d.ts +22 -12
  45. package/config/vars.js.map +1 -1
  46. package/customPages.d.ts +1 -1
  47. package/customPages.js +1 -1
  48. package/filter.d.ts +8 -12
  49. package/filter.js +2 -6
  50. package/filter.js.map +1 -1
  51. package/firewallRule.d.ts +37 -22
  52. package/firewallRule.js +4 -7
  53. package/firewallRule.js.map +1 -1
  54. package/getAccessIdentityProvider.d.ts +0 -48
  55. package/getAccessIdentityProvider.js +0 -24
  56. package/getAccessIdentityProvider.js.map +1 -1
  57. package/getAccountRoles.d.ts +0 -12
  58. package/getAccountRoles.js +0 -3
  59. package/getAccountRoles.js.map +1 -1
  60. package/getApiTokenPermissionGroups.d.ts +0 -17
  61. package/getApiTokenPermissionGroups.js +0 -13
  62. package/getApiTokenPermissionGroups.js.map +1 -1
  63. package/getDevices.d.ts +0 -23
  64. package/getDevices.js +0 -14
  65. package/getDevices.js.map +1 -1
  66. package/getIpRanges.d.ts +0 -36
  67. package/getIpRanges.js +0 -21
  68. package/getIpRanges.js.map +1 -1
  69. package/getOriginCaRootCertificate.d.ts +0 -23
  70. package/getOriginCaRootCertificate.js +0 -14
  71. package/getOriginCaRootCertificate.js.map +1 -1
  72. package/getWafGroups.d.ts +0 -46
  73. package/getWafGroups.js +0 -20
  74. package/getWafGroups.js.map +1 -1
  75. package/getWafPackages.d.ts +0 -39
  76. package/getWafPackages.js +0 -22
  77. package/getWafPackages.js.map +1 -1
  78. package/getWafRules.d.ts +0 -49
  79. package/getWafRules.js +0 -23
  80. package/getWafRules.js.map +1 -1
  81. package/getZone.d.ts +0 -81
  82. package/getZone.js +0 -41
  83. package/getZone.js.map +1 -1
  84. package/getZoneDnssec.d.ts +0 -50
  85. package/getZoneDnssec.js +0 -14
  86. package/getZoneDnssec.js.map +1 -1
  87. package/getZones.d.ts +0 -81
  88. package/getZones.js +0 -70
  89. package/getZones.js.map +1 -1
  90. package/healthcheck.d.ts +100 -74
  91. package/healthcheck.js +10 -14
  92. package/healthcheck.js.map +1 -1
  93. package/index.d.ts +4 -1
  94. package/index.js +20 -5
  95. package/index.js.map +1 -1
  96. package/ipsecTunnel.d.ts +107 -6
  97. package/ipsecTunnel.js +21 -3
  98. package/ipsecTunnel.js.map +1 -1
  99. package/list.d.ts +137 -0
  100. package/list.js +115 -0
  101. package/list.js.map +1 -0
  102. package/loadBalancerMonitor.d.ts +2 -0
  103. package/loadBalancerMonitor.js +2 -0
  104. package/loadBalancerMonitor.js.map +1 -1
  105. package/logpushJob.d.ts +94 -64
  106. package/logpushJob.js +10 -37
  107. package/logpushJob.js.map +1 -1
  108. package/{logPushOwnershipChallenge.d.ts → logpushOwnershipChallenge.d.ts} +13 -13
  109. package/{logPushOwnershipChallenge.js → logpushOwnershipChallenge.js} +12 -12
  110. package/{logPushOwnershipChallenge.js.map → logpushOwnershipChallenge.js.map} +1 -1
  111. package/managedHeaders.d.ts +98 -0
  112. package/managedHeaders.js +81 -0
  113. package/managedHeaders.js.map +1 -0
  114. package/notificationPolicy.d.ts +59 -78
  115. package/notificationPolicy.js +2 -57
  116. package/notificationPolicy.js.map +1 -1
  117. package/package.json +2 -2
  118. package/package.json.dev +2 -2
  119. package/provider.d.ts +38 -19
  120. package/provider.js.map +1 -1
  121. package/record.d.ts +1 -1
  122. package/record.js +1 -1
  123. package/ruleset.d.ts +147 -24
  124. package/ruleset.js +111 -3
  125. package/ruleset.js.map +1 -1
  126. package/spectrumApplication.d.ts +7 -7
  127. package/spectrumApplication.js +1 -1
  128. package/tunnelRoute.d.ts +29 -17
  129. package/tunnelRoute.js +13 -14
  130. package/tunnelRoute.js.map +1 -1
  131. package/tunnelVirtualNetwork.d.ts +111 -0
  132. package/tunnelVirtualNetwork.js +85 -0
  133. package/tunnelVirtualNetwork.js.map +1 -0
  134. package/types/input.d.ts +145 -424
  135. package/types/output.d.ts +141 -491
  136. package/waitingRoom.d.ts +48 -34
  137. package/waitingRoom.js +5 -4
  138. package/waitingRoom.js.map +1 -1
  139. package/waitingRoomEvent.d.ts +52 -35
  140. package/waitingRoomEvent.js +4 -5
  141. package/waitingRoomEvent.js.map +1 -1
  142. package/workerCronTrigger.d.ts +9 -0
  143. package/workerCronTrigger.js.map +1 -1
  144. package/workerRoute.d.ts +2 -2
  145. package/workerRoute.js +2 -2
  146. package/workerScript.d.ts +2 -2
  147. package/workerScript.js +2 -2
  148. package/workersKv.d.ts +1 -1
  149. package/workersKv.js +1 -1
  150. package/zone.d.ts +5 -5
  151. package/zone.js +1 -1
  152. package/zoneDnssec.d.ts +1 -1
  153. package/zoneDnssec.js +1 -1
  154. package/zoneLockdown.d.ts +4 -4
  155. package/zoneLockdown.js +1 -1
  156. package/zoneSettingsOverride.d.ts +4 -4
package/provider.d.ts CHANGED
@@ -12,31 +12,38 @@ export declare class Provider extends pulumi.ProviderResource {
12
12
  */
13
13
  static isInstance(obj: any): obj is Provider;
14
14
  /**
15
- * Configure API client to always use that account
15
+ * Configure API client to always use a specific account. Alternatively, can be configured using the
16
+ * `CLOUDFLARE_ACCOUNT_ID` environment variable.
17
+ *
18
+ * @deprecated Use resource specific `account_id` attributes instead.
16
19
  */
17
20
  readonly accountId: pulumi.Output<string | undefined>;
18
21
  /**
19
- * Configure the base path used by the API client
22
+ * Configure the base path used by the API client. Alternatively, can be configured using the `CLOUDFLARE_API_BASE_PATH`
23
+ * environment variable.
20
24
  */
21
25
  readonly apiBasePath: pulumi.Output<string | undefined>;
22
26
  /**
23
- * Configure the hostname used by the API client
27
+ * Configure the hostname used by the API client. Alternatively, can be configured using the `CLOUDFLARE_API_HOSTNAME`
28
+ * environment variable.
24
29
  */
25
30
  readonly apiHostname: pulumi.Output<string | undefined>;
26
31
  /**
27
- * The API key for operations.
32
+ * The API key for operations. Alternatively, can be configured using the `CLOUDFLARE_API_KEY` environment variable.
28
33
  */
29
34
  readonly apiKey: pulumi.Output<string | undefined>;
30
35
  /**
31
- * The API Token for operations.
36
+ * The API Token for operations. Alternatively, can be configured using the `CLOUDFLARE_API_TOKEN` environment variable.
32
37
  */
33
38
  readonly apiToken: pulumi.Output<string | undefined>;
34
39
  /**
35
- * A special Cloudflare API key good for a restricted set of endpoints
40
+ * A special Cloudflare API key good for a restricted set of endpoints. Alternatively, can be configured using the
41
+ * `CLOUDFLARE_API_USER_SERVICE_KEY` environment variable.
36
42
  */
37
43
  readonly apiUserServiceKey: pulumi.Output<string | undefined>;
38
44
  /**
39
- * A registered Cloudflare email address
45
+ * A registered Cloudflare email address. Alternatively, can be configured using the `CLOUDFLARE_EMAIL` environment
46
+ * variable.
40
47
  */
41
48
  readonly email: pulumi.Output<string | undefined>;
42
49
  /**
@@ -53,51 +60,63 @@ export declare class Provider extends pulumi.ProviderResource {
53
60
  */
54
61
  export interface ProviderArgs {
55
62
  /**
56
- * Configure API client to always use that account
63
+ * Configure API client to always use a specific account. Alternatively, can be configured using the
64
+ * `CLOUDFLARE_ACCOUNT_ID` environment variable.
65
+ *
66
+ * @deprecated Use resource specific `account_id` attributes instead.
57
67
  */
58
68
  accountId?: pulumi.Input<string>;
59
69
  /**
60
- * Configure the base path used by the API client
70
+ * Configure the base path used by the API client. Alternatively, can be configured using the `CLOUDFLARE_API_BASE_PATH`
71
+ * environment variable.
61
72
  */
62
73
  apiBasePath?: pulumi.Input<string>;
63
74
  /**
64
- * Whether to print logs from the API client (using the default log library logger)
75
+ * Whether to print logs from the API client (using the default log library logger). Alternatively, can be configured using
76
+ * the `CLOUDFLARE_API_CLIENT_LOGGING` environment variable.
65
77
  */
66
78
  apiClientLogging?: pulumi.Input<boolean>;
67
79
  /**
68
- * Configure the hostname used by the API client
80
+ * Configure the hostname used by the API client. Alternatively, can be configured using the `CLOUDFLARE_API_HOSTNAME`
81
+ * environment variable.
69
82
  */
70
83
  apiHostname?: pulumi.Input<string>;
71
84
  /**
72
- * The API key for operations.
85
+ * The API key for operations. Alternatively, can be configured using the `CLOUDFLARE_API_KEY` environment variable.
73
86
  */
74
87
  apiKey?: pulumi.Input<string>;
75
88
  /**
76
- * The API Token for operations.
89
+ * The API Token for operations. Alternatively, can be configured using the `CLOUDFLARE_API_TOKEN` environment variable.
77
90
  */
78
91
  apiToken?: pulumi.Input<string>;
79
92
  /**
80
- * A special Cloudflare API key good for a restricted set of endpoints
93
+ * A special Cloudflare API key good for a restricted set of endpoints. Alternatively, can be configured using the
94
+ * `CLOUDFLARE_API_USER_SERVICE_KEY` environment variable.
81
95
  */
82
96
  apiUserServiceKey?: pulumi.Input<string>;
83
97
  /**
84
- * A registered Cloudflare email address
98
+ * A registered Cloudflare email address. Alternatively, can be configured using the `CLOUDFLARE_EMAIL` environment
99
+ * variable.
85
100
  */
86
101
  email?: pulumi.Input<string>;
87
102
  /**
88
- * Maximum backoff period in seconds after failed API calls
103
+ * Maximum backoff period in seconds after failed API calls. Alternatively, can be configured using the
104
+ * `CLOUDFLARE_MAX_BACKOFF` environment variable.
89
105
  */
90
106
  maxBackoff?: pulumi.Input<number>;
91
107
  /**
92
- * Minimum backoff period in seconds after failed API calls
108
+ * Minimum backoff period in seconds after failed API calls. Alternatively, can be configured using the
109
+ * `CLOUDFLARE_MIN_BACKOFF` environment variable.
93
110
  */
94
111
  minBackoff?: pulumi.Input<number>;
95
112
  /**
96
- * Maximum number of retries to perform when an API request fails
113
+ * Maximum number of retries to perform when an API request fails. Alternatively, can be configured using the
114
+ * `CLOUDFLARE_RETRIES` environment variable.
97
115
  */
98
116
  retries?: pulumi.Input<number>;
99
117
  /**
100
- * RPS limit to apply when making calls to the API
118
+ * RPS limit to apply when making calls to the API. Alternatively, can be configured using the `CLOUDFLARE_RPS` environment
119
+ * variable.
101
120
  */
102
121
  rps?: pulumi.Input<number>;
103
122
  }
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IA4CjD;;;;;;OAMG;IACH,YAAY,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GAAG,MAAM,CAAC,MAAM,CAAC,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,CAAC,SAAS,CAAC,YAAY,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SACjJ;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAzED;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA8EC;AA7EG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
package/record.d.ts CHANGED
@@ -42,7 +42,7 @@ import { input as inputs, output as outputs } from "./types";
42
42
  * $ pulumi import cloudflare:index/record:Record default ae36f999674d196762efcc5abb06b345/d41d8cd98f00b204e9800998ecf8427e
43
43
  * ```
44
44
  *
45
- * where* `ae36f999674d196762efcc5abb06b345` - the zone ID * `d41d8cd98f00b204e9800998ecf8427e` - record ID as returned by [API](https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records)
45
+ * where- `ae36f999674d196762efcc5abb06b345` - the zone ID - `d41d8cd98f00b204e9800998ecf8427e` - record ID as returned by [API](https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records)
46
46
  */
47
47
  export declare class Record extends pulumi.CustomResource {
48
48
  /**
package/record.js CHANGED
@@ -47,7 +47,7 @@ const utilities = require("./utilities");
47
47
  * $ pulumi import cloudflare:index/record:Record default ae36f999674d196762efcc5abb06b345/d41d8cd98f00b204e9800998ecf8427e
48
48
  * ```
49
49
  *
50
- * where* `ae36f999674d196762efcc5abb06b345` - the zone ID * `d41d8cd98f00b204e9800998ecf8427e` - record ID as returned by [API](https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records)
50
+ * where- `ae36f999674d196762efcc5abb06b345` - the zone ID - `d41d8cd98f00b204e9800998ecf8427e` - record ID as returned by [API](https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records)
51
51
  */
52
52
  class Record extends pulumi.CustomResource {
53
53
  constructor(name, argsOrState, opts) {
package/ruleset.d.ts CHANGED
@@ -52,12 +52,12 @@ import { input as inputs, output as outputs } from "./types";
52
52
  * {
53
53
  * action: "block",
54
54
  * category: "wordpress",
55
- * enabled: true,
55
+ * status: "enabled",
56
56
  * },
57
57
  * {
58
58
  * action: "block",
59
59
  * category: "joomla",
60
- * enabled: true,
60
+ * status: "enabled",
61
61
  * },
62
62
  * ],
63
63
  * },
@@ -186,11 +186,119 @@ import { input as inputs, output as outputs } from "./types";
186
186
  * }],
187
187
  * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
188
188
  * });
189
+ * // Custom fields logging
190
+ * const customFieldsLoggingExample = new cloudflare.Ruleset("custom_fields_logging_example", {
191
+ * description: "add custom fields to logging",
192
+ * kind: "zone",
193
+ * name: "log custom fields",
194
+ * phase: "http_log_custom_fields",
195
+ * rules: [{
196
+ * action: "log_custom_field",
197
+ * actionParameters: {
198
+ * cookieFields: [
199
+ * "__ga",
200
+ * "accountNumber",
201
+ * "__cfruid",
202
+ * ],
203
+ * requestFields: [
204
+ * "content-type",
205
+ * "x-forwarded-for",
206
+ * "host",
207
+ * ],
208
+ * responseFields: [
209
+ * "server",
210
+ * "content-type",
211
+ * "allow",
212
+ * ],
213
+ * },
214
+ * description: "log custom fields rule",
215
+ * enabled: true,
216
+ * expression: "true",
217
+ * }],
218
+ * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
219
+ * });
220
+ * const cacheSettingsExample = new cloudflare.Ruleset("cache_settings_example", {
221
+ * description: "set cache settings for the request",
222
+ * kind: "zone",
223
+ * name: "set cache settings",
224
+ * phase: "http_request_cache_settings",
225
+ * rules: [{
226
+ * action: "set_cache_settings",
227
+ * actionParameters: {
228
+ * browserTtl: {
229
+ * mode: "respect_origin",
230
+ * },
231
+ * cacheKey: {
232
+ * cacheDeceptionArmor: true,
233
+ * customKey: {
234
+ * cookie: {
235
+ * checkPresences: [
236
+ * "cabc_t",
237
+ * "cdef_t",
238
+ * ],
239
+ * includes: [
240
+ * "cabc",
241
+ * "cdef",
242
+ * ],
243
+ * },
244
+ * header: {
245
+ * checkPresences: [
246
+ * "habc_t",
247
+ * "hdef_t",
248
+ * ],
249
+ * excludeOrigin: true,
250
+ * includes: [
251
+ * "habc",
252
+ * "hdef",
253
+ * ],
254
+ * },
255
+ * host: {
256
+ * resolved: true,
257
+ * },
258
+ * queryString: {
259
+ * excludes: ["*"],
260
+ * },
261
+ * user: {
262
+ * deviceType: true,
263
+ * geo: false,
264
+ * },
265
+ * },
266
+ * ignoreQueryStringsOrder: false,
267
+ * },
268
+ * edgeTtl: {
269
+ * default: 60,
270
+ * mode: "override_origin",
271
+ * statusCodeTtls: [
272
+ * {
273
+ * statusCode: 200,
274
+ * value: 50,
275
+ * },
276
+ * {
277
+ * statusCodeRanges: [{
278
+ * from: 201,
279
+ * to: 300,
280
+ * }],
281
+ * value: 30,
282
+ * },
283
+ * ],
284
+ * },
285
+ * originErrorPagePassthru: false,
286
+ * respectStrongEtags: true,
287
+ * serveStale: {
288
+ * disableStaleWhileUpdating: true,
289
+ * },
290
+ * },
291
+ * description: "set cache settings rule",
292
+ * enabled: true,
293
+ * expression: "true",
294
+ * }],
295
+ * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
296
+ * });
189
297
  * ```
190
298
  *
191
299
  * ## Import
192
300
  *
193
- * Currently, you cannot import rulesets.
301
+ * Import is not supported for this resource.
194
302
  */
195
303
  export declare class Ruleset extends pulumi.CustomResource {
196
304
  /**
@@ -209,27 +317,32 @@ export declare class Ruleset extends pulumi.CustomResource {
209
317
  */
210
318
  static isInstance(obj: any): obj is Ruleset;
211
319
  /**
212
- * The ID of the account where the ruleset is being created. Conflicts with `"zoneId"`.
320
+ * The account identifier to target for the resource.
213
321
  */
214
322
  readonly accountId: pulumi.Output<string | undefined>;
215
323
  /**
216
- * Brief summary of the ruleset rule and its intended use.
324
+ * Brief summary of the ruleset and its intended use.
217
325
  */
218
326
  readonly description: pulumi.Output<string | undefined>;
219
327
  /**
220
- * Type of Ruleset to create. Valid values are `"custom"`, `"managed"`, `"root"`, `"schema"` or `"zone"`.
328
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `schema`, `zone`
221
329
  */
222
330
  readonly kind: pulumi.Output<string>;
223
331
  /**
224
- * Name of the HTTP request header to target.
332
+ * Name of the ruleset.
225
333
  */
226
334
  readonly name: pulumi.Output<string>;
227
335
  /**
228
- * Point in the request/response lifecycle where the ruleset will be created. Valid values are `"ddosL4"`, `"ddosL7"`, `"httpRequestFirewallCustom"`, `"httpRequestFirewallManaged"`, `"httpRequestLateTransform"`, `"httpResponseHeadersTransform"`, `"httpRequestOrigin"`, `"httpRequestMain"`, `"httpRequestSanitize"`, `"httpRequestTransform"`, `"httpResponseFirewallManaged"`, `"magicTransit"`, or `"httpRatelimit"`.
336
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
337
+ * `http_log_custom_fields`, `http_request_cache_settings`, `http_request_firewall_custom`,
338
+ * `http_request_firewall_managed`, `http_request_late_transform`, `http_request_late_transform_managed`,
339
+ * `http_request_main`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_transform`,
340
+ * `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`, `http_ratelimit`,
341
+ * `http_request_sbfm`
229
342
  */
230
343
  readonly phase: pulumi.Output<string>;
231
344
  /**
232
- * List of rule-based overrides (refer to the nested schema).
345
+ * List of rules to apply to the ruleset.
233
346
  */
234
347
  readonly rules: pulumi.Output<outputs.RulesetRule[] | undefined>;
235
348
  /**
@@ -237,7 +350,7 @@ export declare class Ruleset extends pulumi.CustomResource {
237
350
  */
238
351
  readonly shareableEntitlementName: pulumi.Output<string | undefined>;
239
352
  /**
240
- * The ID of the zone where the ruleset is being created. Conflicts with `"accountId"`.
353
+ * The zone identifier to target for the resource.
241
354
  */
242
355
  readonly zoneId: pulumi.Output<string | undefined>;
243
356
  /**
@@ -254,27 +367,32 @@ export declare class Ruleset extends pulumi.CustomResource {
254
367
  */
255
368
  export interface RulesetState {
256
369
  /**
257
- * The ID of the account where the ruleset is being created. Conflicts with `"zoneId"`.
370
+ * The account identifier to target for the resource.
258
371
  */
259
372
  accountId?: pulumi.Input<string>;
260
373
  /**
261
- * Brief summary of the ruleset rule and its intended use.
374
+ * Brief summary of the ruleset and its intended use.
262
375
  */
263
376
  description?: pulumi.Input<string>;
264
377
  /**
265
- * Type of Ruleset to create. Valid values are `"custom"`, `"managed"`, `"root"`, `"schema"` or `"zone"`.
378
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `schema`, `zone`
266
379
  */
267
380
  kind?: pulumi.Input<string>;
268
381
  /**
269
- * Name of the HTTP request header to target.
382
+ * Name of the ruleset.
270
383
  */
271
384
  name?: pulumi.Input<string>;
272
385
  /**
273
- * Point in the request/response lifecycle where the ruleset will be created. Valid values are `"ddosL4"`, `"ddosL7"`, `"httpRequestFirewallCustom"`, `"httpRequestFirewallManaged"`, `"httpRequestLateTransform"`, `"httpResponseHeadersTransform"`, `"httpRequestOrigin"`, `"httpRequestMain"`, `"httpRequestSanitize"`, `"httpRequestTransform"`, `"httpResponseFirewallManaged"`, `"magicTransit"`, or `"httpRatelimit"`.
386
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
387
+ * `http_log_custom_fields`, `http_request_cache_settings`, `http_request_firewall_custom`,
388
+ * `http_request_firewall_managed`, `http_request_late_transform`, `http_request_late_transform_managed`,
389
+ * `http_request_main`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_transform`,
390
+ * `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`, `http_ratelimit`,
391
+ * `http_request_sbfm`
274
392
  */
275
393
  phase?: pulumi.Input<string>;
276
394
  /**
277
- * List of rule-based overrides (refer to the nested schema).
395
+ * List of rules to apply to the ruleset.
278
396
  */
279
397
  rules?: pulumi.Input<pulumi.Input<inputs.RulesetRule>[]>;
280
398
  /**
@@ -282,7 +400,7 @@ export interface RulesetState {
282
400
  */
283
401
  shareableEntitlementName?: pulumi.Input<string>;
284
402
  /**
285
- * The ID of the zone where the ruleset is being created. Conflicts with `"accountId"`.
403
+ * The zone identifier to target for the resource.
286
404
  */
287
405
  zoneId?: pulumi.Input<string>;
288
406
  }
@@ -291,27 +409,32 @@ export interface RulesetState {
291
409
  */
292
410
  export interface RulesetArgs {
293
411
  /**
294
- * The ID of the account where the ruleset is being created. Conflicts with `"zoneId"`.
412
+ * The account identifier to target for the resource.
295
413
  */
296
414
  accountId?: pulumi.Input<string>;
297
415
  /**
298
- * Brief summary of the ruleset rule and its intended use.
416
+ * Brief summary of the ruleset and its intended use.
299
417
  */
300
418
  description?: pulumi.Input<string>;
301
419
  /**
302
- * Type of Ruleset to create. Valid values are `"custom"`, `"managed"`, `"root"`, `"schema"` or `"zone"`.
420
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `schema`, `zone`
303
421
  */
304
422
  kind: pulumi.Input<string>;
305
423
  /**
306
- * Name of the HTTP request header to target.
424
+ * Name of the ruleset.
307
425
  */
308
426
  name: pulumi.Input<string>;
309
427
  /**
310
- * Point in the request/response lifecycle where the ruleset will be created. Valid values are `"ddosL4"`, `"ddosL7"`, `"httpRequestFirewallCustom"`, `"httpRequestFirewallManaged"`, `"httpRequestLateTransform"`, `"httpResponseHeadersTransform"`, `"httpRequestOrigin"`, `"httpRequestMain"`, `"httpRequestSanitize"`, `"httpRequestTransform"`, `"httpResponseFirewallManaged"`, `"magicTransit"`, or `"httpRatelimit"`.
428
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
429
+ * `http_log_custom_fields`, `http_request_cache_settings`, `http_request_firewall_custom`,
430
+ * `http_request_firewall_managed`, `http_request_late_transform`, `http_request_late_transform_managed`,
431
+ * `http_request_main`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_transform`,
432
+ * `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`, `http_ratelimit`,
433
+ * `http_request_sbfm`
311
434
  */
312
435
  phase: pulumi.Input<string>;
313
436
  /**
314
- * List of rule-based overrides (refer to the nested schema).
437
+ * List of rules to apply to the ruleset.
315
438
  */
316
439
  rules?: pulumi.Input<pulumi.Input<inputs.RulesetRule>[]>;
317
440
  /**
@@ -319,7 +442,7 @@ export interface RulesetArgs {
319
442
  */
320
443
  shareableEntitlementName?: pulumi.Input<string>;
321
444
  /**
322
- * The ID of the zone where the ruleset is being created. Conflicts with `"accountId"`.
445
+ * The zone identifier to target for the resource.
323
446
  */
324
447
  zoneId?: pulumi.Input<string>;
325
448
  }
package/ruleset.js CHANGED
@@ -57,12 +57,12 @@ const utilities = require("./utilities");
57
57
  * {
58
58
  * action: "block",
59
59
  * category: "wordpress",
60
- * enabled: true,
60
+ * status: "enabled",
61
61
  * },
62
62
  * {
63
63
  * action: "block",
64
64
  * category: "joomla",
65
- * enabled: true,
65
+ * status: "enabled",
66
66
  * },
67
67
  * ],
68
68
  * },
@@ -191,11 +191,119 @@ const utilities = require("./utilities");
191
191
  * }],
192
192
  * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
193
193
  * });
194
+ * // Custom fields logging
195
+ * const customFieldsLoggingExample = new cloudflare.Ruleset("custom_fields_logging_example", {
196
+ * description: "add custom fields to logging",
197
+ * kind: "zone",
198
+ * name: "log custom fields",
199
+ * phase: "http_log_custom_fields",
200
+ * rules: [{
201
+ * action: "log_custom_field",
202
+ * actionParameters: {
203
+ * cookieFields: [
204
+ * "__ga",
205
+ * "accountNumber",
206
+ * "__cfruid",
207
+ * ],
208
+ * requestFields: [
209
+ * "content-type",
210
+ * "x-forwarded-for",
211
+ * "host",
212
+ * ],
213
+ * responseFields: [
214
+ * "server",
215
+ * "content-type",
216
+ * "allow",
217
+ * ],
218
+ * },
219
+ * description: "log custom fields rule",
220
+ * enabled: true,
221
+ * expression: "true",
222
+ * }],
223
+ * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
224
+ * });
225
+ * const cacheSettingsExample = new cloudflare.Ruleset("cache_settings_example", {
226
+ * description: "set cache settings for the request",
227
+ * kind: "zone",
228
+ * name: "set cache settings",
229
+ * phase: "http_request_cache_settings",
230
+ * rules: [{
231
+ * action: "set_cache_settings",
232
+ * actionParameters: {
233
+ * browserTtl: {
234
+ * mode: "respect_origin",
235
+ * },
236
+ * cacheKey: {
237
+ * cacheDeceptionArmor: true,
238
+ * customKey: {
239
+ * cookie: {
240
+ * checkPresences: [
241
+ * "cabc_t",
242
+ * "cdef_t",
243
+ * ],
244
+ * includes: [
245
+ * "cabc",
246
+ * "cdef",
247
+ * ],
248
+ * },
249
+ * header: {
250
+ * checkPresences: [
251
+ * "habc_t",
252
+ * "hdef_t",
253
+ * ],
254
+ * excludeOrigin: true,
255
+ * includes: [
256
+ * "habc",
257
+ * "hdef",
258
+ * ],
259
+ * },
260
+ * host: {
261
+ * resolved: true,
262
+ * },
263
+ * queryString: {
264
+ * excludes: ["*"],
265
+ * },
266
+ * user: {
267
+ * deviceType: true,
268
+ * geo: false,
269
+ * },
270
+ * },
271
+ * ignoreQueryStringsOrder: false,
272
+ * },
273
+ * edgeTtl: {
274
+ * default: 60,
275
+ * mode: "override_origin",
276
+ * statusCodeTtls: [
277
+ * {
278
+ * statusCode: 200,
279
+ * value: 50,
280
+ * },
281
+ * {
282
+ * statusCodeRanges: [{
283
+ * from: 201,
284
+ * to: 300,
285
+ * }],
286
+ * value: 30,
287
+ * },
288
+ * ],
289
+ * },
290
+ * originErrorPagePassthru: false,
291
+ * respectStrongEtags: true,
292
+ * serveStale: {
293
+ * disableStaleWhileUpdating: true,
294
+ * },
295
+ * },
296
+ * description: "set cache settings rule",
297
+ * enabled: true,
298
+ * expression: "true",
299
+ * }],
300
+ * zoneId: "cb029e245cfdd66dc8d2e570d5dd3322",
301
+ * });
194
302
  * ```
195
303
  *
196
304
  * ## Import
197
305
  *
198
- * Currently, you cannot import rulesets.
306
+ * Import is not supported for this resource.
199
307
  */
200
308
  class Ruleset extends pulumi.CustomResource {
201
309
  constructor(name, argsOrState, opts) {
package/ruleset.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"ruleset.js","sourceRoot":"","sources":["../ruleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAqE9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK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QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA8GC;AAhGG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
@@ -30,7 +30,7 @@ import { input as inputs, output as outputs } from "./types";
30
30
  * $ pulumi import cloudflare:index/spectrumApplication:SpectrumApplication example d41d8cd98f00b204e9800998ecf8427e/9a7806061c88ada191ed06f989cc3dac
31
31
  * ```
32
32
  *
33
- * where* `d41d8cd98f00b204e9800998ecf8427e` - zone ID, as returned from [API](https://api.cloudflare.com/#zone-list-zones) * `9a7806061c88ada191ed06f989cc3dac` - Application ID
33
+ * where- `d41d8cd98f00b204e9800998ecf8427e` - zone ID, as returned from [API](https://api.cloudflare.com/#zone-list-zones) - `9a7806061c88ada191ed06f989cc3dac` - Application ID
34
34
  */
35
35
  export declare class SpectrumApplication extends pulumi.CustomResource {
36
36
  /**
@@ -81,7 +81,7 @@ export declare class SpectrumApplication extends pulumi.CustomResource {
81
81
  */
82
82
  readonly originPort: pulumi.Output<number | undefined>;
83
83
  /**
84
- * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
84
+ * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
85
85
  */
86
86
  readonly originPortRange: pulumi.Output<outputs.SpectrumApplicationOriginPortRange | undefined>;
87
87
  /**
@@ -97,7 +97,7 @@ export declare class SpectrumApplication extends pulumi.CustomResource {
97
97
  */
98
98
  readonly tls: pulumi.Output<string | undefined>;
99
99
  /**
100
- * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
100
+ * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
101
101
  */
102
102
  readonly trafficType: pulumi.Output<string | undefined>;
103
103
  /**
@@ -150,7 +150,7 @@ export interface SpectrumApplicationState {
150
150
  */
151
151
  originPort?: pulumi.Input<number>;
152
152
  /**
153
- * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
153
+ * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
154
154
  */
155
155
  originPortRange?: pulumi.Input<inputs.SpectrumApplicationOriginPortRange>;
156
156
  /**
@@ -166,7 +166,7 @@ export interface SpectrumApplicationState {
166
166
  */
167
167
  tls?: pulumi.Input<string>;
168
168
  /**
169
- * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
169
+ * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
170
170
  */
171
171
  trafficType?: pulumi.Input<string>;
172
172
  /**
@@ -211,7 +211,7 @@ export interface SpectrumApplicationArgs {
211
211
  */
212
212
  originPort?: pulumi.Input<number>;
213
213
  /**
214
- * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
214
+ * If using `originDns` and not `originPort`, this is a required attribute. Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Fields documented below.
215
215
  */
216
216
  originPortRange?: pulumi.Input<inputs.SpectrumApplicationOriginPortRange>;
217
217
  /**
@@ -227,7 +227,7 @@ export interface SpectrumApplicationArgs {
227
227
  */
228
228
  tls?: pulumi.Input<string>;
229
229
  /**
230
- * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
230
+ * Sets application type. Valid values are: `direct`, `http`, `https`. Defaults to `direct`.
231
231
  */
232
232
  trafficType?: pulumi.Input<string>;
233
233
  /**