@pulumi/cloudflare 4.13.0 → 4.14.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 (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,265 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Cloudflare Device Settings Policy resource. Device policies configure settings applied to WARP devices.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as cloudflare from "@pulumi/cloudflare";
10
+ *
11
+ * const developerWarpPolicy = new cloudflare.DeviceSettingsPolicy("developerWarpPolicy", {
12
+ * accountId: "f037e56e89293a057740de681ac9abbe",
13
+ * allowModeSwitch: true,
14
+ * allowUpdates: true,
15
+ * allowedToLeave: true,
16
+ * autoConnect: 0,
17
+ * captivePortal: 5,
18
+ * "default": false,
19
+ * disableAutoFallback: true,
20
+ * enabled: true,
21
+ * match: "any(identity.groups.name[*] in {\"Developers\"})",
22
+ * name: "Developers WARP settings policy",
23
+ * precedence: 10,
24
+ * serviceModeV2Mode: "warp",
25
+ * serviceModeV2Port: 3000,
26
+ * supportUrl: "https://cloudflare.com",
27
+ * switchLocked: true,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * For default device settings policies you must use "default" as the policy ID.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import cloudflare:index/deviceSettingsPolicy:DeviceSettingsPolicy example <account_id>/<device_policy_id>
37
+ * ```
38
+ */
39
+ export declare class DeviceSettingsPolicy extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing DeviceSettingsPolicy resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeviceSettingsPolicyState, opts?: pulumi.CustomResourceOptions): DeviceSettingsPolicy;
50
+ /**
51
+ * Returns true if the given object is an instance of DeviceSettingsPolicy. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj: any): obj is DeviceSettingsPolicy;
55
+ /**
56
+ * The account identifier to target for the resource.
57
+ */
58
+ readonly accountId: pulumi.Output<string>;
59
+ /**
60
+ * Whether to allow mode switch for this policy.
61
+ */
62
+ readonly allowModeSwitch: pulumi.Output<boolean | undefined>;
63
+ /**
64
+ * Whether to allow updates under this policy.
65
+ */
66
+ readonly allowUpdates: pulumi.Output<boolean | undefined>;
67
+ /**
68
+ * Whether to allow devices to leave the organization. Defaults to `true`.
69
+ */
70
+ readonly allowedToLeave: pulumi.Output<boolean | undefined>;
71
+ /**
72
+ * The amount of time in minutes to reconnect after having been disabled.
73
+ */
74
+ readonly autoConnect: pulumi.Output<number | undefined>;
75
+ /**
76
+ * The captive portal value for this policy. Defaults to `180`.
77
+ */
78
+ readonly captivePortal: pulumi.Output<number | undefined>;
79
+ /**
80
+ * Whether the policy refers to the default account policy.
81
+ */
82
+ readonly default: pulumi.Output<boolean | undefined>;
83
+ /**
84
+ * Whether to disable auto fallback for this policy.
85
+ */
86
+ readonly disableAutoFallback: pulumi.Output<boolean | undefined>;
87
+ /**
88
+ * Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
89
+ */
90
+ readonly enabled: pulumi.Output<boolean | undefined>;
91
+ /**
92
+ * Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
93
+ */
94
+ readonly match: pulumi.Output<string | undefined>;
95
+ /**
96
+ * Name of the policy.
97
+ */
98
+ readonly name: pulumi.Output<string>;
99
+ /**
100
+ * The precedence of the policy. Lower values indicate higher precedence.
101
+ */
102
+ readonly precedence: pulumi.Output<number | undefined>;
103
+ /**
104
+ * The service mode. Defaults to `warp`.
105
+ */
106
+ readonly serviceModeV2Mode: pulumi.Output<string | undefined>;
107
+ /**
108
+ * The port to use for the proxy service mode. Required when using `serviceModeV2Mode`.
109
+ */
110
+ readonly serviceModeV2Port: pulumi.Output<number | undefined>;
111
+ /**
112
+ * The support URL that will be opened when sending feedback.
113
+ */
114
+ readonly supportUrl: pulumi.Output<string | undefined>;
115
+ /**
116
+ * Enablement of the ZT client switch lock.
117
+ */
118
+ readonly switchLocked: pulumi.Output<boolean | undefined>;
119
+ /**
120
+ * Create a DeviceSettingsPolicy resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: DeviceSettingsPolicyArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering DeviceSettingsPolicy resources.
130
+ */
131
+ export interface DeviceSettingsPolicyState {
132
+ /**
133
+ * The account identifier to target for the resource.
134
+ */
135
+ accountId?: pulumi.Input<string>;
136
+ /**
137
+ * Whether to allow mode switch for this policy.
138
+ */
139
+ allowModeSwitch?: pulumi.Input<boolean>;
140
+ /**
141
+ * Whether to allow updates under this policy.
142
+ */
143
+ allowUpdates?: pulumi.Input<boolean>;
144
+ /**
145
+ * Whether to allow devices to leave the organization. Defaults to `true`.
146
+ */
147
+ allowedToLeave?: pulumi.Input<boolean>;
148
+ /**
149
+ * The amount of time in minutes to reconnect after having been disabled.
150
+ */
151
+ autoConnect?: pulumi.Input<number>;
152
+ /**
153
+ * The captive portal value for this policy. Defaults to `180`.
154
+ */
155
+ captivePortal?: pulumi.Input<number>;
156
+ /**
157
+ * Whether the policy refers to the default account policy.
158
+ */
159
+ default?: pulumi.Input<boolean>;
160
+ /**
161
+ * Whether to disable auto fallback for this policy.
162
+ */
163
+ disableAutoFallback?: pulumi.Input<boolean>;
164
+ /**
165
+ * Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
166
+ */
167
+ enabled?: pulumi.Input<boolean>;
168
+ /**
169
+ * Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
170
+ */
171
+ match?: pulumi.Input<string>;
172
+ /**
173
+ * Name of the policy.
174
+ */
175
+ name?: pulumi.Input<string>;
176
+ /**
177
+ * The precedence of the policy. Lower values indicate higher precedence.
178
+ */
179
+ precedence?: pulumi.Input<number>;
180
+ /**
181
+ * The service mode. Defaults to `warp`.
182
+ */
183
+ serviceModeV2Mode?: pulumi.Input<string>;
184
+ /**
185
+ * The port to use for the proxy service mode. Required when using `serviceModeV2Mode`.
186
+ */
187
+ serviceModeV2Port?: pulumi.Input<number>;
188
+ /**
189
+ * The support URL that will be opened when sending feedback.
190
+ */
191
+ supportUrl?: pulumi.Input<string>;
192
+ /**
193
+ * Enablement of the ZT client switch lock.
194
+ */
195
+ switchLocked?: pulumi.Input<boolean>;
196
+ }
197
+ /**
198
+ * The set of arguments for constructing a DeviceSettingsPolicy resource.
199
+ */
200
+ export interface DeviceSettingsPolicyArgs {
201
+ /**
202
+ * The account identifier to target for the resource.
203
+ */
204
+ accountId: pulumi.Input<string>;
205
+ /**
206
+ * Whether to allow mode switch for this policy.
207
+ */
208
+ allowModeSwitch?: pulumi.Input<boolean>;
209
+ /**
210
+ * Whether to allow updates under this policy.
211
+ */
212
+ allowUpdates?: pulumi.Input<boolean>;
213
+ /**
214
+ * Whether to allow devices to leave the organization. Defaults to `true`.
215
+ */
216
+ allowedToLeave?: pulumi.Input<boolean>;
217
+ /**
218
+ * The amount of time in minutes to reconnect after having been disabled.
219
+ */
220
+ autoConnect?: pulumi.Input<number>;
221
+ /**
222
+ * The captive portal value for this policy. Defaults to `180`.
223
+ */
224
+ captivePortal?: pulumi.Input<number>;
225
+ /**
226
+ * Whether the policy refers to the default account policy.
227
+ */
228
+ default?: pulumi.Input<boolean>;
229
+ /**
230
+ * Whether to disable auto fallback for this policy.
231
+ */
232
+ disableAutoFallback?: pulumi.Input<boolean>;
233
+ /**
234
+ * Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
235
+ */
236
+ enabled?: pulumi.Input<boolean>;
237
+ /**
238
+ * Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
239
+ */
240
+ match?: pulumi.Input<string>;
241
+ /**
242
+ * Name of the policy.
243
+ */
244
+ name: pulumi.Input<string>;
245
+ /**
246
+ * The precedence of the policy. Lower values indicate higher precedence.
247
+ */
248
+ precedence?: pulumi.Input<number>;
249
+ /**
250
+ * The service mode. Defaults to `warp`.
251
+ */
252
+ serviceModeV2Mode?: pulumi.Input<string>;
253
+ /**
254
+ * The port to use for the proxy service mode. Required when using `serviceModeV2Mode`.
255
+ */
256
+ serviceModeV2Port?: pulumi.Input<number>;
257
+ /**
258
+ * The support URL that will be opened when sending feedback.
259
+ */
260
+ supportUrl?: pulumi.Input<string>;
261
+ /**
262
+ * Enablement of the ZT client switch lock.
263
+ */
264
+ switchLocked?: pulumi.Input<boolean>;
265
+ }
@@ -0,0 +1,122 @@
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.DeviceSettingsPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Cloudflare Device Settings Policy resource. Device policies configure settings applied to WARP devices.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as cloudflare from "@pulumi/cloudflare";
16
+ *
17
+ * const developerWarpPolicy = new cloudflare.DeviceSettingsPolicy("developerWarpPolicy", {
18
+ * accountId: "f037e56e89293a057740de681ac9abbe",
19
+ * allowModeSwitch: true,
20
+ * allowUpdates: true,
21
+ * allowedToLeave: true,
22
+ * autoConnect: 0,
23
+ * captivePortal: 5,
24
+ * "default": false,
25
+ * disableAutoFallback: true,
26
+ * enabled: true,
27
+ * match: "any(identity.groups.name[*] in {\"Developers\"})",
28
+ * name: "Developers WARP settings policy",
29
+ * precedence: 10,
30
+ * serviceModeV2Mode: "warp",
31
+ * serviceModeV2Port: 3000,
32
+ * supportUrl: "https://cloudflare.com",
33
+ * switchLocked: true,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * For default device settings policies you must use "default" as the policy ID.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import cloudflare:index/deviceSettingsPolicy:DeviceSettingsPolicy example <account_id>/<device_policy_id>
43
+ * ```
44
+ */
45
+ class DeviceSettingsPolicy extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing DeviceSettingsPolicy resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, state, opts) {
56
+ return new DeviceSettingsPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
57
+ }
58
+ /**
59
+ * Returns true if the given object is an instance of DeviceSettingsPolicy. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === DeviceSettingsPolicy.__pulumiType;
67
+ }
68
+ constructor(name, argsOrState, opts) {
69
+ let resourceInputs = {};
70
+ opts = opts || {};
71
+ if (opts.id) {
72
+ const state = argsOrState;
73
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
74
+ resourceInputs["allowModeSwitch"] = state ? state.allowModeSwitch : undefined;
75
+ resourceInputs["allowUpdates"] = state ? state.allowUpdates : undefined;
76
+ resourceInputs["allowedToLeave"] = state ? state.allowedToLeave : undefined;
77
+ resourceInputs["autoConnect"] = state ? state.autoConnect : undefined;
78
+ resourceInputs["captivePortal"] = state ? state.captivePortal : undefined;
79
+ resourceInputs["default"] = state ? state.default : undefined;
80
+ resourceInputs["disableAutoFallback"] = state ? state.disableAutoFallback : undefined;
81
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
82
+ resourceInputs["match"] = state ? state.match : undefined;
83
+ resourceInputs["name"] = state ? state.name : undefined;
84
+ resourceInputs["precedence"] = state ? state.precedence : undefined;
85
+ resourceInputs["serviceModeV2Mode"] = state ? state.serviceModeV2Mode : undefined;
86
+ resourceInputs["serviceModeV2Port"] = state ? state.serviceModeV2Port : undefined;
87
+ resourceInputs["supportUrl"] = state ? state.supportUrl : undefined;
88
+ resourceInputs["switchLocked"] = state ? state.switchLocked : undefined;
89
+ }
90
+ else {
91
+ const args = argsOrState;
92
+ if ((!args || args.accountId === undefined) && !opts.urn) {
93
+ throw new Error("Missing required property 'accountId'");
94
+ }
95
+ if ((!args || args.name === undefined) && !opts.urn) {
96
+ throw new Error("Missing required property 'name'");
97
+ }
98
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
99
+ resourceInputs["allowModeSwitch"] = args ? args.allowModeSwitch : undefined;
100
+ resourceInputs["allowUpdates"] = args ? args.allowUpdates : undefined;
101
+ resourceInputs["allowedToLeave"] = args ? args.allowedToLeave : undefined;
102
+ resourceInputs["autoConnect"] = args ? args.autoConnect : undefined;
103
+ resourceInputs["captivePortal"] = args ? args.captivePortal : undefined;
104
+ resourceInputs["default"] = args ? args.default : undefined;
105
+ resourceInputs["disableAutoFallback"] = args ? args.disableAutoFallback : undefined;
106
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
107
+ resourceInputs["match"] = args ? args.match : undefined;
108
+ resourceInputs["name"] = args ? args.name : undefined;
109
+ resourceInputs["precedence"] = args ? args.precedence : undefined;
110
+ resourceInputs["serviceModeV2Mode"] = args ? args.serviceModeV2Mode : undefined;
111
+ resourceInputs["serviceModeV2Port"] = args ? args.serviceModeV2Port : undefined;
112
+ resourceInputs["supportUrl"] = args ? args.supportUrl : undefined;
113
+ resourceInputs["switchLocked"] = args ? args.switchLocked : undefined;
114
+ }
115
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
116
+ super(DeviceSettingsPolicy.__pulumiType, name, resourceInputs, opts);
117
+ }
118
+ }
119
+ exports.DeviceSettingsPolicy = DeviceSettingsPolicy;
120
+ /** @internal */
121
+ DeviceSettingsPolicy.__pulumiType = 'cloudflare:index/deviceSettingsPolicy:DeviceSettingsPolicy';
122
+ //# sourceMappingURL=deviceSettingsPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deviceSettingsPolicy.js","sourceRoot":"","sources":["../deviceSettingsPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,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AC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AArJL,oDAsJC;AAxIG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
package/dlpProfile.d.ts CHANGED
@@ -29,7 +29,7 @@ export declare class DlpProfile extends pulumi.CustomResource {
29
29
  */
30
30
  static isInstance(obj: any): obj is DlpProfile;
31
31
  /**
32
- * The account identifier to target for the resource.
32
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
33
33
  */
34
34
  readonly accountId: pulumi.Output<string>;
35
35
  /**
@@ -41,11 +41,11 @@ export declare class DlpProfile extends pulumi.CustomResource {
41
41
  */
42
42
  readonly entries: pulumi.Output<outputs.DlpProfileEntry[]>;
43
43
  /**
44
- * Name of the profile.
44
+ * Name of the profile. **Modifying this attribute will force creation of a new resource.**
45
45
  */
46
46
  readonly name: pulumi.Output<string>;
47
47
  /**
48
- * The type of the profile. Available values: `custom`, `predefined`.
48
+ * The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.**
49
49
  */
50
50
  readonly type: pulumi.Output<string>;
51
51
  /**
@@ -62,7 +62,7 @@ export declare class DlpProfile extends pulumi.CustomResource {
62
62
  */
63
63
  export interface DlpProfileState {
64
64
  /**
65
- * The account identifier to target for the resource.
65
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
66
66
  */
67
67
  accountId?: pulumi.Input<string>;
68
68
  /**
@@ -74,11 +74,11 @@ export interface DlpProfileState {
74
74
  */
75
75
  entries?: pulumi.Input<pulumi.Input<inputs.DlpProfileEntry>[]>;
76
76
  /**
77
- * Name of the profile.
77
+ * Name of the profile. **Modifying this attribute will force creation of a new resource.**
78
78
  */
79
79
  name?: pulumi.Input<string>;
80
80
  /**
81
- * The type of the profile. Available values: `custom`, `predefined`.
81
+ * The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.**
82
82
  */
83
83
  type?: pulumi.Input<string>;
84
84
  }
@@ -87,7 +87,7 @@ export interface DlpProfileState {
87
87
  */
88
88
  export interface DlpProfileArgs {
89
89
  /**
90
- * The account identifier to target for the resource.
90
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
91
91
  */
92
92
  accountId: pulumi.Input<string>;
93
93
  /**
@@ -99,11 +99,11 @@ export interface DlpProfileArgs {
99
99
  */
100
100
  entries: pulumi.Input<pulumi.Input<inputs.DlpProfileEntry>[]>;
101
101
  /**
102
- * Name of the profile.
102
+ * Name of the profile. **Modifying this attribute will force creation of a new resource.**
103
103
  */
104
104
  name: pulumi.Input<string>;
105
105
  /**
106
- * The type of the profile. Available values: `custom`, `predefined`.
106
+ * The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.**
107
107
  */
108
108
  type: pulumi.Input<string>;
109
109
  }
@@ -31,7 +31,7 @@ export declare class EmailRoutingAddress extends pulumi.CustomResource {
31
31
  */
32
32
  static isInstance(obj: any): obj is EmailRoutingAddress;
33
33
  /**
34
- * The account identifier to target for the resource.
34
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
35
35
  */
36
36
  readonly accountId: pulumi.Output<string>;
37
37
  /**
@@ -39,7 +39,7 @@ export declare class EmailRoutingAddress extends pulumi.CustomResource {
39
39
  */
40
40
  readonly created: pulumi.Output<string>;
41
41
  /**
42
- * The contact email address of the user.
42
+ * The contact email address of the user. **Modifying this attribute will force creation of a new resource.**
43
43
  */
44
44
  readonly email: pulumi.Output<string>;
45
45
  /**
@@ -68,7 +68,7 @@ export declare class EmailRoutingAddress extends pulumi.CustomResource {
68
68
  */
69
69
  export interface EmailRoutingAddressState {
70
70
  /**
71
- * The account identifier to target for the resource.
71
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
72
72
  */
73
73
  accountId?: pulumi.Input<string>;
74
74
  /**
@@ -76,7 +76,7 @@ export interface EmailRoutingAddressState {
76
76
  */
77
77
  created?: pulumi.Input<string>;
78
78
  /**
79
- * The contact email address of the user.
79
+ * The contact email address of the user. **Modifying this attribute will force creation of a new resource.**
80
80
  */
81
81
  email?: pulumi.Input<string>;
82
82
  /**
@@ -97,11 +97,11 @@ export interface EmailRoutingAddressState {
97
97
  */
98
98
  export interface EmailRoutingAddressArgs {
99
99
  /**
100
- * The account identifier to target for the resource.
100
+ * The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
101
101
  */
102
102
  accountId: pulumi.Input<string>;
103
103
  /**
104
- * The contact email address of the user.
104
+ * The contact email address of the user. **Modifying this attribute will force creation of a new resource.**
105
105
  */
106
106
  email: pulumi.Input<string>;
107
107
  }
@@ -35,7 +35,7 @@ export declare class EmailRoutingSettings extends pulumi.CustomResource {
35
35
  */
36
36
  readonly created: pulumi.Output<string>;
37
37
  /**
38
- * State of the zone settings for Email Routing.
38
+ * State of the zone settings for Email Routing. **Modifying this attribute will force creation of a new resource.**
39
39
  */
40
40
  readonly enabled: pulumi.Output<boolean>;
41
41
  /**
@@ -59,7 +59,7 @@ export declare class EmailRoutingSettings extends pulumi.CustomResource {
59
59
  */
60
60
  readonly tag: pulumi.Output<string>;
61
61
  /**
62
- * The zone identifier to target for the resource.
62
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
63
63
  */
64
64
  readonly zoneId: pulumi.Output<string>;
65
65
  /**
@@ -80,7 +80,7 @@ export interface EmailRoutingSettingsState {
80
80
  */
81
81
  created?: pulumi.Input<string>;
82
82
  /**
83
- * State of the zone settings for Email Routing.
83
+ * State of the zone settings for Email Routing. **Modifying this attribute will force creation of a new resource.**
84
84
  */
85
85
  enabled?: pulumi.Input<boolean>;
86
86
  /**
@@ -104,7 +104,7 @@ export interface EmailRoutingSettingsState {
104
104
  */
105
105
  tag?: pulumi.Input<string>;
106
106
  /**
107
- * The zone identifier to target for the resource.
107
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
108
108
  */
109
109
  zoneId?: pulumi.Input<string>;
110
110
  }
@@ -113,7 +113,7 @@ export interface EmailRoutingSettingsState {
113
113
  */
114
114
  export interface EmailRoutingSettingsArgs {
115
115
  /**
116
- * State of the zone settings for Email Routing.
116
+ * State of the zone settings for Email Routing. **Modifying this attribute will force creation of a new resource.**
117
117
  */
118
118
  enabled: pulumi.Input<boolean>;
119
119
  /**
@@ -121,7 +121,7 @@ export interface EmailRoutingSettingsArgs {
121
121
  */
122
122
  skipWizard?: pulumi.Input<boolean>;
123
123
  /**
124
- * The zone identifier to target for the resource.
124
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
125
125
  */
126
126
  zoneId: pulumi.Input<string>;
127
127
  }
@@ -2,14 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Provides a Cloudflare Fallback Domain resource. Fallback domains are used to ignore DNS requests to a given list of domains. These DNS requests will be passed back to other DNS servers configured on existing network interfaces on the device.
5
+ * Provides a Cloudflare Fallback Domain resource. Fallback domains are
6
+ * used to ignore DNS requests to a given list of domains. These DNS
7
+ * requests will be passed back to other DNS servers configured on
8
+ * existing network interfaces on the device.
6
9
  *
7
10
  * ## Import
8
11
  *
9
- * Fallback Domains can be imported using the account identifer.
12
+ * Fallback Domains for default device policies must use "default" as the policy ID.
10
13
  *
11
14
  * ```sh
12
- * $ pulumi import cloudflare:index/fallbackDomain:FallbackDomain example 1d5fdc9e88c8a8c4518b068cd94331fe
15
+ * $ pulumi import cloudflare:index/fallbackDomain:FallbackDomain example <account_id>/<policy_id>
13
16
  * ```
14
17
  */
15
18
  export declare class FallbackDomain extends pulumi.CustomResource {
@@ -29,13 +32,14 @@ export declare class FallbackDomain extends pulumi.CustomResource {
29
32
  */
30
33
  static isInstance(obj: any): obj is FallbackDomain;
31
34
  /**
32
- * The account to which the device posture rule should be added.
35
+ * The account identifier to target for the resource.
33
36
  */
34
37
  readonly accountId: pulumi.Output<string>;
38
+ readonly domains: pulumi.Output<outputs.FallbackDomainDomain[]>;
35
39
  /**
36
- * The value of the domain attributes (refer to the nested schema).
40
+ * The settings policy for which to configure this fallback domain policy.
37
41
  */
38
- readonly domains: pulumi.Output<outputs.FallbackDomainDomain[]>;
42
+ readonly policyId: pulumi.Output<string | undefined>;
39
43
  /**
40
44
  * Create a FallbackDomain resource with the given unique name, arguments, and options.
41
45
  *
@@ -50,24 +54,26 @@ export declare class FallbackDomain extends pulumi.CustomResource {
50
54
  */
51
55
  export interface FallbackDomainState {
52
56
  /**
53
- * The account to which the device posture rule should be added.
57
+ * The account identifier to target for the resource.
54
58
  */
55
59
  accountId?: pulumi.Input<string>;
60
+ domains?: pulumi.Input<pulumi.Input<inputs.FallbackDomainDomain>[]>;
56
61
  /**
57
- * The value of the domain attributes (refer to the nested schema).
62
+ * The settings policy for which to configure this fallback domain policy.
58
63
  */
59
- domains?: pulumi.Input<pulumi.Input<inputs.FallbackDomainDomain>[]>;
64
+ policyId?: pulumi.Input<string>;
60
65
  }
61
66
  /**
62
67
  * The set of arguments for constructing a FallbackDomain resource.
63
68
  */
64
69
  export interface FallbackDomainArgs {
65
70
  /**
66
- * The account to which the device posture rule should be added.
71
+ * The account identifier to target for the resource.
67
72
  */
68
73
  accountId: pulumi.Input<string>;
74
+ domains: pulumi.Input<pulumi.Input<inputs.FallbackDomainDomain>[]>;
69
75
  /**
70
- * The value of the domain attributes (refer to the nested schema).
76
+ * The settings policy for which to configure this fallback domain policy.
71
77
  */
72
- domains: pulumi.Input<pulumi.Input<inputs.FallbackDomainDomain>[]>;
78
+ policyId?: pulumi.Input<string>;
73
79
  }