@pulumi/cloudflare 4.13.0 → 4.14.0-alpha.1671230688

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 (114) hide show
  1. package/accessGroup.d.ts +3 -3
  2. package/accessIdentityProvider.d.ts +6 -6
  3. package/accessRule.d.ts +9 -9
  4. package/accessServiceToken.d.ts +4 -4
  5. package/account.d.ts +3 -3
  6. package/apiShield.d.ts +3 -3
  7. package/byoIpPrefix.d.ts +3 -3
  8. package/certificatePack.d.ts +24 -24
  9. package/customHostname.d.ts +6 -6
  10. package/deviceSettingsPolicy.d.ts +265 -0
  11. package/deviceSettingsPolicy.js +122 -0
  12. package/deviceSettingsPolicy.js.map +1 -0
  13. package/dlpProfile.d.ts +9 -9
  14. package/emailRoutingAddress.d.ts +6 -6
  15. package/emailRoutingSettings.d.ts +6 -6
  16. package/fallbackDomain.d.ts +18 -12
  17. package/fallbackDomain.js +8 -3
  18. package/fallbackDomain.js.map +1 -1
  19. package/filter.d.ts +3 -3
  20. package/firewallRule.d.ts +3 -3
  21. package/getAccessIdentityProvider.d.ts +24 -0
  22. package/getAccessIdentityProvider.js +25 -1
  23. package/getAccessIdentityProvider.js.map +1 -1
  24. package/getAccountRoles.d.ts +3 -0
  25. package/getAccountRoles.js +4 -1
  26. package/getAccountRoles.js.map +1 -1
  27. package/getAccounts.d.ts +14 -0
  28. package/getAccounts.js +15 -1
  29. package/getAccounts.js.map +1 -1
  30. package/getApiTokenPermissionGroups.d.ts +27 -5
  31. package/getApiTokenPermissionGroups.js +6 -3
  32. package/getApiTokenPermissionGroups.js.map +1 -1
  33. package/getDevices.d.ts +14 -0
  34. package/getDevices.js +15 -1
  35. package/getDevices.js.map +1 -1
  36. package/getLoadBalancerPools.d.ts +94 -0
  37. package/getLoadBalancerPools.js +55 -0
  38. package/getLoadBalancerPools.js.map +1 -0
  39. package/getOriginCaRootCertificate.d.ts +14 -0
  40. package/getOriginCaRootCertificate.js +15 -1
  41. package/getOriginCaRootCertificate.js.map +1 -1
  42. package/getRecord.d.ts +15 -0
  43. package/getRecord.js +16 -1
  44. package/getRecord.js.map +1 -1
  45. package/getWafGroups.d.ts +20 -0
  46. package/getWafGroups.js +21 -1
  47. package/getWafGroups.js.map +1 -1
  48. package/getWafPackages.d.ts +22 -0
  49. package/getWafPackages.js +23 -1
  50. package/getWafPackages.js.map +1 -1
  51. package/getWafRules.d.ts +23 -0
  52. package/getWafRules.js +24 -1
  53. package/getWafRules.js.map +1 -1
  54. package/getZone.d.ts +40 -0
  55. package/getZone.js +41 -1
  56. package/getZone.js.map +1 -1
  57. package/getZoneDnssec.d.ts +14 -0
  58. package/getZoneDnssec.js +15 -1
  59. package/getZoneDnssec.js.map +1 -1
  60. package/getZones.d.ts +59 -0
  61. package/getZones.js +60 -1
  62. package/getZones.js.map +1 -1
  63. package/healthcheck.d.ts +3 -3
  64. package/index.d.ts +12 -0
  65. package/index.js +21 -3
  66. package/index.js.map +1 -1
  67. package/ipsecTunnel.d.ts +3 -3
  68. package/list.d.ts +3 -3
  69. package/loadBalancer.d.ts +3 -3
  70. package/logpushJob.d.ts +3 -3
  71. package/originCaCertificate.d.ts +29 -18
  72. package/originCaCertificate.js +5 -4
  73. package/originCaCertificate.js.map +1 -1
  74. package/package.json +2 -2
  75. package/package.json.dev +2 -2
  76. package/pagesDomain.d.ts +11 -9
  77. package/pagesDomain.js +2 -0
  78. package/pagesDomain.js.map +1 -1
  79. package/pagesProject.d.ts +6 -0
  80. package/pagesProject.js +6 -0
  81. package/pagesProject.js.map +1 -1
  82. package/ruleset.d.ts +14 -4
  83. package/ruleset.js +11 -1
  84. package/ruleset.js.map +1 -1
  85. package/splitTunnel.d.ts +23 -37
  86. package/splitTunnel.js +4 -28
  87. package/splitTunnel.js.map +1 -1
  88. package/totalTls.d.ts +3 -3
  89. package/tunnelConfig.d.ts +136 -0
  90. package/tunnelConfig.js +124 -0
  91. package/tunnelConfig.js.map +1 -0
  92. package/tunnelRoute.d.ts +7 -9
  93. package/tunnelRoute.js +1 -3
  94. package/tunnelRoute.js.map +1 -1
  95. package/tunnelVirtualNetwork.d.ts +3 -3
  96. package/types/input.d.ts +224 -10
  97. package/types/output.d.ts +143 -10
  98. package/urlNormalizationSettings.d.ts +88 -0
  99. package/urlNormalizationSettings.js +78 -0
  100. package/urlNormalizationSettings.js.map +1 -0
  101. package/userAgentBlockingRule.d.ts +3 -3
  102. package/waitingRoom.d.ts +6 -6
  103. package/waitingRoomEvent.d.ts +15 -15
  104. package/waitingRoomRules.d.ts +6 -6
  105. package/workerScript.d.ts +10 -3
  106. package/workerScript.js +6 -0
  107. package/workerScript.js.map +1 -1
  108. package/workersKv.d.ts +32 -14
  109. package/workersKv.js +13 -5
  110. package/workersKv.js.map +1 -1
  111. package/workersKvNamespace.d.ts +15 -10
  112. package/workersKvNamespace.js +11 -7
  113. package/workersKvNamespace.js.map +1 -1
  114. package/zone.d.ts +3 -3
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.TunnelConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Cloudflare Tunnel configuration resource.
10
+ *
11
+ * !> When you delete a tunnel configuration, the tunnel will be deleted. You need to make sure that the tunnel is not in use before deleting the configuration.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as cloudflare from "@pulumi/cloudflare";
18
+ *
19
+ * const exampleTunnel = new cloudflare.ArgoTunnel("exampleTunnel", {
20
+ * accountId: "f037e56e89293a057740de681ac9abbe",
21
+ * name: "example_tunnel",
22
+ * secret: "<32 character secret>",
23
+ * });
24
+ * const exampleConfig = new cloudflare.TunnelConfig("exampleConfig", {
25
+ * accountId: "f037e56e89293a057740de681ac9abbe",
26
+ * tunnelId: exampleTunnel.id,
27
+ * config: {
28
+ * warpRouting: {
29
+ * enabled: true,
30
+ * },
31
+ * originRequest: {
32
+ * connectTimeout: "1m0s",
33
+ * tlsTimeout: "1m0s",
34
+ * tcpKeepAlive: "1m0s",
35
+ * noHappyEyeballs: false,
36
+ * keepAliveConnections: 1024,
37
+ * keepAliveTimeout: "1m0s",
38
+ * httpHostHeader: "baz",
39
+ * originServerName: "foobar",
40
+ * caPool: "/path/to/unsigned/ca/pool",
41
+ * noTlsVerify: false,
42
+ * disableChunkedEncoding: false,
43
+ * bastionMode: false,
44
+ * proxyAddress: "10.0.0.1",
45
+ * proxyPort: 8123,
46
+ * proxyType: "socks",
47
+ * ipRules: [{
48
+ * prefix: "/web",
49
+ * ports: [
50
+ * 80,
51
+ * 443,
52
+ * ],
53
+ * allow: false,
54
+ * }],
55
+ * },
56
+ * ingressRules: [
57
+ * {
58
+ * hostname: "foo",
59
+ * path: "/bar",
60
+ * service: "http://10.0.0.2:8080",
61
+ * },
62
+ * {
63
+ * service: "https://10.0.0.3:8081",
64
+ * },
65
+ * ],
66
+ * },
67
+ * });
68
+ * ```
69
+ */
70
+ class TunnelConfig extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing TunnelConfig resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name, id, state, opts) {
81
+ return new TunnelConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
82
+ }
83
+ /**
84
+ * Returns true if the given object is an instance of TunnelConfig. This is designed to work even
85
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
+ */
87
+ static isInstance(obj) {
88
+ if (obj === undefined || obj === null) {
89
+ return false;
90
+ }
91
+ return obj['__pulumiType'] === TunnelConfig.__pulumiType;
92
+ }
93
+ constructor(name, argsOrState, opts) {
94
+ let resourceInputs = {};
95
+ opts = opts || {};
96
+ if (opts.id) {
97
+ const state = argsOrState;
98
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
99
+ resourceInputs["config"] = state ? state.config : undefined;
100
+ resourceInputs["tunnelId"] = state ? state.tunnelId : undefined;
101
+ }
102
+ else {
103
+ const args = argsOrState;
104
+ if ((!args || args.accountId === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'accountId'");
106
+ }
107
+ if ((!args || args.config === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'config'");
109
+ }
110
+ if ((!args || args.tunnelId === undefined) && !opts.urn) {
111
+ throw new Error("Missing required property 'tunnelId'");
112
+ }
113
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
114
+ resourceInputs["config"] = args ? args.config : undefined;
115
+ resourceInputs["tunnelId"] = args ? args.tunnelId : undefined;
116
+ }
117
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
118
+ super(TunnelConfig.__pulumiType, name, resourceInputs, opts);
119
+ }
120
+ }
121
+ exports.TunnelConfig = TunnelConfig;
122
+ /** @internal */
123
+ TunnelConfig.__pulumiType = 'cloudflare:index/tunnelConfig:TunnelConfig';
124
+ //# sourceMappingURL=tunnelConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tunnelConfig.js","sourceRoot":"","sources":["../tunnelConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,I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AI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
package/tunnelRoute.d.ts CHANGED
@@ -35,10 +35,8 @@ import * as pulumi from "@pulumi/pulumi";
35
35
  *
36
36
  * ## Import
37
37
  *
38
- * Use account ID, network CIDR and virtual network ID.
39
- *
40
38
  * ```sh
41
- * $ pulumi import cloudflare:index/tunnelRoute:TunnelRoute example <account_id/<network_cidr>/<virtual_network_id>
39
+ * $ pulumi import cloudflare:index/tunnelRoute:TunnelRoute example <account_id>/<network_cidr>/<virtual_network_id>
42
40
  * ```
43
41
  */
44
42
  export declare class TunnelRoute extends pulumi.CustomResource {
@@ -58,7 +56,7 @@ export declare class TunnelRoute extends pulumi.CustomResource {
58
56
  */
59
57
  static isInstance(obj: any): obj is TunnelRoute;
60
58
  /**
61
- * The account identifier to target for the resource.
59
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
62
60
  */
63
61
  readonly accountId: pulumi.Output<string>;
64
62
  /**
@@ -74,7 +72,7 @@ export declare class TunnelRoute extends pulumi.CustomResource {
74
72
  */
75
73
  readonly tunnelId: pulumi.Output<string>;
76
74
  /**
77
- * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided.
75
+ * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided. **Modifying this attribute will force creation of a new resource.**
78
76
  */
79
77
  readonly virtualNetworkId: pulumi.Output<string | undefined>;
80
78
  /**
@@ -91,7 +89,7 @@ export declare class TunnelRoute extends pulumi.CustomResource {
91
89
  */
92
90
  export interface TunnelRouteState {
93
91
  /**
94
- * The account identifier to target for the resource.
92
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
95
93
  */
96
94
  accountId?: pulumi.Input<string>;
97
95
  /**
@@ -107,7 +105,7 @@ export interface TunnelRouteState {
107
105
  */
108
106
  tunnelId?: pulumi.Input<string>;
109
107
  /**
110
- * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided.
108
+ * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided. **Modifying this attribute will force creation of a new resource.**
111
109
  */
112
110
  virtualNetworkId?: pulumi.Input<string>;
113
111
  }
@@ -116,7 +114,7 @@ export interface TunnelRouteState {
116
114
  */
117
115
  export interface TunnelRouteArgs {
118
116
  /**
119
- * The account identifier to target for the resource.
117
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
120
118
  */
121
119
  accountId: pulumi.Input<string>;
122
120
  /**
@@ -132,7 +130,7 @@ export interface TunnelRouteArgs {
132
130
  */
133
131
  tunnelId: pulumi.Input<string>;
134
132
  /**
135
- * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided.
133
+ * The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided. **Modifying this attribute will force creation of a new resource.**
136
134
  */
137
135
  virtualNetworkId?: pulumi.Input<string>;
138
136
  }
package/tunnelRoute.js CHANGED
@@ -41,10 +41,8 @@ const utilities = require("./utilities");
41
41
  *
42
42
  * ## Import
43
43
  *
44
- * Use account ID, network CIDR and virtual network ID.
45
- *
46
44
  * ```sh
47
- * $ pulumi import cloudflare:index/tunnelRoute:TunnelRoute example <account_id/<network_cidr>/<virtual_network_id>
45
+ * $ pulumi import cloudflare:index/tunnelRoute:TunnelRoute example <account_id>/<network_cidr>/<virtual_network_id>
48
46
  * ```
49
47
  */
50
48
  class TunnelRoute extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelRoute.js","sourceRoot":"","sources":["../tunnelRoute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAA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,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtFL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
@@ -41,7 +41,7 @@ export declare class TunnelVirtualNetwork extends pulumi.CustomResource {
41
41
  */
42
42
  static isInstance(obj: any): obj is TunnelVirtualNetwork;
43
43
  /**
44
- * The account identifier to target for the resource.
44
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
45
45
  */
46
46
  readonly accountId: pulumi.Output<string>;
47
47
  /**
@@ -70,7 +70,7 @@ export declare class TunnelVirtualNetwork extends pulumi.CustomResource {
70
70
  */
71
71
  export interface TunnelVirtualNetworkState {
72
72
  /**
73
- * The account identifier to target for the resource.
73
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
74
74
  */
75
75
  accountId?: pulumi.Input<string>;
76
76
  /**
@@ -91,7 +91,7 @@ export interface TunnelVirtualNetworkState {
91
91
  */
92
92
  export interface TunnelVirtualNetworkArgs {
93
93
  /**
94
- * The account identifier to target for the resource.
94
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
95
95
  */
96
96
  accountId: pulumi.Input<string>;
97
97
  /**
package/types/input.d.ts CHANGED
@@ -424,11 +424,11 @@ export interface AccessPolicyRequireSaml {
424
424
  }
425
425
  export interface AccessRuleConfiguration {
426
426
  /**
427
- * The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`.
427
+ * The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`. **Modifying this attribute will force creation of a new resource.**
428
428
  */
429
429
  target: pulumi.Input<string>;
430
430
  /**
431
- * The value to target. Depends on target's type.
431
+ * The value to target. Depends on target's type. **Modifying this attribute will force creation of a new resource.**
432
432
  */
433
433
  value: pulumi.Input<string>;
434
434
  }
@@ -713,18 +713,180 @@ export interface EmailRoutingRuleMatcher {
713
713
  }
714
714
  export interface FallbackDomainDomain {
715
715
  /**
716
- * The description of the domain.
716
+ * A description of the fallback domain, displayed in the client UI.
717
717
  */
718
718
  description?: pulumi.Input<string>;
719
719
  /**
720
- * The DNS servers to receive the redirected request.
720
+ * A list of IP addresses to handle domain resolution.
721
721
  */
722
722
  dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
723
723
  /**
724
- * The domain to ignore DNS requests.
724
+ * The domain suffix to match when resolving locally.
725
725
  */
726
726
  suffix?: pulumi.Input<string>;
727
727
  }
728
+ export interface GetLoadBalancerPoolsFilter {
729
+ /**
730
+ * A regular expression matching the name of the Load Balancer pool to lookup.
731
+ */
732
+ name?: string;
733
+ }
734
+ export interface GetLoadBalancerPoolsFilterArgs {
735
+ /**
736
+ * A regular expression matching the name of the Load Balancer pool to lookup.
737
+ */
738
+ name?: pulumi.Input<string>;
739
+ }
740
+ export interface GetLoadBalancerPoolsPool {
741
+ /**
742
+ * List of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions).
743
+ */
744
+ checkRegions?: string[];
745
+ /**
746
+ * The RFC3339 timestamp of when the load balancer was created.
747
+ */
748
+ createdOn?: string;
749
+ /**
750
+ * Brief description of the Load Balancer Pool intention.
751
+ */
752
+ description?: string;
753
+ /**
754
+ * Whether this pool is enabled. Disabled pools will not receive traffic and are excluded from health checks.
755
+ */
756
+ enabled?: boolean;
757
+ /**
758
+ * ID for this load balancer pool.
759
+ */
760
+ id?: string;
761
+ /**
762
+ * Latitude this pool is physically located at; used for proximity steering.
763
+ */
764
+ latitude?: number;
765
+ /**
766
+ * Setting for controlling load shedding for this pool.
767
+ */
768
+ loadSheddings?: inputs.GetLoadBalancerPoolsPoolLoadShedding[];
769
+ /**
770
+ * Longitude this pool is physically located at; used for proximity steering.
771
+ */
772
+ longitude?: number;
773
+ /**
774
+ * Minimum number of origins that must be healthy for this pool to serve traffic.
775
+ */
776
+ minimumOrigins?: number;
777
+ /**
778
+ * The RFC3339 timestamp of when the load balancer was last modified.
779
+ */
780
+ modifiedOn?: string;
781
+ /**
782
+ * ID of the Monitor to use for health checking origins within this pool.
783
+ */
784
+ monitor?: string;
785
+ /**
786
+ * Short name (tag) for the pool.
787
+ */
788
+ name?: string;
789
+ /**
790
+ * Email address to send health status notifications to. Multiple emails are set as a comma delimited list.
791
+ */
792
+ notificationEmail?: string;
793
+ /**
794
+ * The list of origins within this pool.
795
+ */
796
+ origins?: inputs.GetLoadBalancerPoolsPoolOrigin[];
797
+ }
798
+ export interface GetLoadBalancerPoolsPoolArgs {
799
+ /**
800
+ * List of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions).
801
+ */
802
+ checkRegions?: pulumi.Input<pulumi.Input<string>[]>;
803
+ /**
804
+ * The RFC3339 timestamp of when the load balancer was created.
805
+ */
806
+ createdOn?: pulumi.Input<string>;
807
+ /**
808
+ * Brief description of the Load Balancer Pool intention.
809
+ */
810
+ description?: pulumi.Input<string>;
811
+ /**
812
+ * Whether this pool is enabled. Disabled pools will not receive traffic and are excluded from health checks.
813
+ */
814
+ enabled?: pulumi.Input<boolean>;
815
+ /**
816
+ * ID for this load balancer pool.
817
+ */
818
+ id?: pulumi.Input<string>;
819
+ /**
820
+ * Latitude this pool is physically located at; used for proximity steering.
821
+ */
822
+ latitude?: pulumi.Input<number>;
823
+ /**
824
+ * Setting for controlling load shedding for this pool.
825
+ */
826
+ loadSheddings?: pulumi.Input<pulumi.Input<inputs.GetLoadBalancerPoolsPoolLoadSheddingArgs>[]>;
827
+ /**
828
+ * Longitude this pool is physically located at; used for proximity steering.
829
+ */
830
+ longitude?: pulumi.Input<number>;
831
+ /**
832
+ * Minimum number of origins that must be healthy for this pool to serve traffic.
833
+ */
834
+ minimumOrigins?: pulumi.Input<number>;
835
+ /**
836
+ * The RFC3339 timestamp of when the load balancer was last modified.
837
+ */
838
+ modifiedOn?: pulumi.Input<string>;
839
+ /**
840
+ * ID of the Monitor to use for health checking origins within this pool.
841
+ */
842
+ monitor?: pulumi.Input<string>;
843
+ /**
844
+ * Short name (tag) for the pool.
845
+ */
846
+ name?: pulumi.Input<string>;
847
+ /**
848
+ * Email address to send health status notifications to. Multiple emails are set as a comma delimited list.
849
+ */
850
+ notificationEmail?: pulumi.Input<string>;
851
+ /**
852
+ * The list of origins within this pool.
853
+ */
854
+ origins?: pulumi.Input<pulumi.Input<inputs.GetLoadBalancerPoolsPoolOriginArgs>[]>;
855
+ }
856
+ export interface GetLoadBalancerPoolsPoolLoadShedding {
857
+ defaultPercent?: number;
858
+ defaultPolicy?: string;
859
+ sessionPercent?: number;
860
+ sessionPolicy?: string;
861
+ }
862
+ export interface GetLoadBalancerPoolsPoolLoadSheddingArgs {
863
+ defaultPercent?: pulumi.Input<number>;
864
+ defaultPolicy?: pulumi.Input<string>;
865
+ sessionPercent?: pulumi.Input<number>;
866
+ sessionPolicy?: pulumi.Input<string>;
867
+ }
868
+ export interface GetLoadBalancerPoolsPoolOrigin {
869
+ address: string;
870
+ enabled?: boolean;
871
+ headers?: inputs.GetLoadBalancerPoolsPoolOriginHeader[];
872
+ name: string;
873
+ weight?: number;
874
+ }
875
+ export interface GetLoadBalancerPoolsPoolOriginArgs {
876
+ address: pulumi.Input<string>;
877
+ enabled?: pulumi.Input<boolean>;
878
+ headers?: pulumi.Input<pulumi.Input<inputs.GetLoadBalancerPoolsPoolOriginHeaderArgs>[]>;
879
+ name: pulumi.Input<string>;
880
+ weight?: pulumi.Input<number>;
881
+ }
882
+ export interface GetLoadBalancerPoolsPoolOriginHeader {
883
+ header: string;
884
+ values: string[];
885
+ }
886
+ export interface GetLoadBalancerPoolsPoolOriginHeaderArgs {
887
+ header: pulumi.Input<string>;
888
+ values: pulumi.Input<pulumi.Input<string>[]>;
889
+ }
728
890
  export interface GetWafGroupsFilter {
729
891
  /**
730
892
  * Mode of the WAF Rule Groups to lookup. Valid values: on and off.
@@ -1949,7 +2111,7 @@ export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange
1949
2111
  export interface RulesetRuleActionParametersFromList {
1950
2112
  key: pulumi.Input<string>;
1951
2113
  /**
1952
- * Name of the ruleset.
2114
+ * Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
1953
2115
  */
1954
2116
  name: pulumi.Input<string>;
1955
2117
  }
@@ -1965,7 +2127,7 @@ export interface RulesetRuleActionParametersFromValueTargetUrl {
1965
2127
  export interface RulesetRuleActionParametersHeader {
1966
2128
  expression?: pulumi.Input<string>;
1967
2129
  /**
1968
- * Name of the ruleset.
2130
+ * Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
1969
2131
  */
1970
2132
  name?: pulumi.Input<string>;
1971
2133
  operation?: pulumi.Input<string>;
@@ -2091,15 +2253,15 @@ export interface SpectrumApplicationOriginPortRange {
2091
2253
  }
2092
2254
  export interface SplitTunnelTunnel {
2093
2255
  /**
2094
- * The address in CIDR format to include in the tunnel configuration. Conflicts with `"host"`.
2256
+ * The address for the tunnel.
2095
2257
  */
2096
2258
  address?: pulumi.Input<string>;
2097
2259
  /**
2098
- * The description of the tunnel.
2260
+ * A description for the tunnel.
2099
2261
  */
2100
2262
  description?: pulumi.Input<string>;
2101
2263
  /**
2102
- * The domain name to include in the tunnel configuration. Conflicts with `"address"`.
2264
+ * The domain name for the tunnel.
2103
2265
  */
2104
2266
  host?: pulumi.Input<string>;
2105
2267
  }
@@ -2277,6 +2439,48 @@ export interface TeamsRuleRuleSettingsL4override {
2277
2439
  */
2278
2440
  port: pulumi.Input<number>;
2279
2441
  }
2442
+ export interface TunnelConfigConfig {
2443
+ /**
2444
+ * Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/).
2445
+ */
2446
+ ingressRules: pulumi.Input<pulumi.Input<inputs.TunnelConfigConfigIngressRule>[]>;
2447
+ originRequest?: pulumi.Input<inputs.TunnelConfigConfigOriginRequest>;
2448
+ /**
2449
+ * If you're exposing a [private network](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/), you need to add the `warp-routing` key and set it to `true`.
2450
+ */
2451
+ warpRouting?: pulumi.Input<inputs.TunnelConfigConfigWarpRouting>;
2452
+ }
2453
+ export interface TunnelConfigConfigIngressRule {
2454
+ hostname?: pulumi.Input<string>;
2455
+ path?: pulumi.Input<string>;
2456
+ service: pulumi.Input<string>;
2457
+ }
2458
+ export interface TunnelConfigConfigOriginRequest {
2459
+ bastionMode?: pulumi.Input<boolean>;
2460
+ caPool?: pulumi.Input<string>;
2461
+ connectTimeout?: pulumi.Input<string>;
2462
+ disableChunkedEncoding?: pulumi.Input<boolean>;
2463
+ httpHostHeader?: pulumi.Input<string>;
2464
+ ipRules?: pulumi.Input<pulumi.Input<inputs.TunnelConfigConfigOriginRequestIpRule>[]>;
2465
+ keepAliveConnections?: pulumi.Input<number>;
2466
+ keepAliveTimeout?: pulumi.Input<string>;
2467
+ noHappyEyeballs?: pulumi.Input<boolean>;
2468
+ noTlsVerify?: pulumi.Input<boolean>;
2469
+ originServerName?: pulumi.Input<string>;
2470
+ proxyAddress?: pulumi.Input<string>;
2471
+ proxyPort?: pulumi.Input<number>;
2472
+ proxyType?: pulumi.Input<string>;
2473
+ tcpKeepAlive?: pulumi.Input<string>;
2474
+ tlsTimeout?: pulumi.Input<string>;
2475
+ }
2476
+ export interface TunnelConfigConfigOriginRequestIpRule {
2477
+ allow?: pulumi.Input<boolean>;
2478
+ ports?: pulumi.Input<pulumi.Input<number>[]>;
2479
+ prefix?: pulumi.Input<string>;
2480
+ }
2481
+ export interface TunnelConfigConfigWarpRouting {
2482
+ enabled?: pulumi.Input<boolean>;
2483
+ }
2280
2484
  export interface UserAgentBlockingRuleConfiguration {
2281
2485
  /**
2282
2486
  * The configuration target for this rule. You must set the target to ua for User Agent Blocking rules.
@@ -2313,6 +2517,16 @@ export interface WaitingRoomRulesRule {
2313
2517
  */
2314
2518
  version?: pulumi.Input<string>;
2315
2519
  }
2520
+ export interface WorkerScriptAnalyticsEngineBinding {
2521
+ /**
2522
+ * The name of the Analytics Engine dataset to write to.
2523
+ */
2524
+ dataset: pulumi.Input<string>;
2525
+ /**
2526
+ * The global variable for the binding in your Worker code.
2527
+ */
2528
+ name: pulumi.Input<string>;
2529
+ }
2316
2530
  export interface WorkerScriptKvNamespaceBinding {
2317
2531
  /**
2318
2532
  * The global variable for the binding in your Worker code.