@sst-provider/cloudflare5 5.0.0-alpha1

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 (609) hide show
  1. package/README.md +4 -0
  2. package/bin/accessApplication.d.ts +487 -0
  3. package/bin/accessApplication.js +119 -0
  4. package/bin/accessApplication.js.map +1 -0
  5. package/bin/accessCaCertificate.d.ts +91 -0
  6. package/bin/accessCaCertificate.js +62 -0
  7. package/bin/accessCaCertificate.js.map +1 -0
  8. package/bin/accessCustomPage.d.ts +117 -0
  9. package/bin/accessCustomPage.js +64 -0
  10. package/bin/accessCustomPage.js.map +1 -0
  11. package/bin/accessGroup.d.ts +80 -0
  12. package/bin/accessGroup.js +64 -0
  13. package/bin/accessGroup.js.map +1 -0
  14. package/bin/accessIdentityProvider.d.ts +125 -0
  15. package/bin/accessIdentityProvider.js +64 -0
  16. package/bin/accessIdentityProvider.js.map +1 -0
  17. package/bin/accessKeysConfiguration.d.ts +63 -0
  18. package/bin/accessKeysConfiguration.js +56 -0
  19. package/bin/accessKeysConfiguration.js.map +1 -0
  20. package/bin/accessMutualTlsCertificate.d.ts +101 -0
  21. package/bin/accessMutualTlsCertificate.js +61 -0
  22. package/bin/accessMutualTlsCertificate.js.map +1 -0
  23. package/bin/accessMutualTlsHostnameSettings.d.ts +65 -0
  24. package/bin/accessMutualTlsHostnameSettings.js +53 -0
  25. package/bin/accessMutualTlsHostnameSettings.js.map +1 -0
  26. package/bin/accessOrganization.d.ts +200 -0
  27. package/bin/accessOrganization.js +78 -0
  28. package/bin/accessOrganization.js.map +1 -0
  29. package/bin/accessPolicy.d.ts +197 -0
  30. package/bin/accessPolicy.js +87 -0
  31. package/bin/accessPolicy.js.map +1 -0
  32. package/bin/accessRule.d.ts +110 -0
  33. package/bin/accessRule.js +65 -0
  34. package/bin/accessRule.js.map +1 -0
  35. package/bin/accessServiceToken.d.ts +114 -0
  36. package/bin/accessServiceToken.js +67 -0
  37. package/bin/accessServiceToken.js.map +1 -0
  38. package/bin/accessTag.d.ts +93 -0
  39. package/bin/accessTag.js +57 -0
  40. package/bin/accessTag.js.map +1 -0
  41. package/bin/account.d.ts +78 -0
  42. package/bin/account.js +55 -0
  43. package/bin/account.js.map +1 -0
  44. package/bin/accountMember.d.ts +90 -0
  45. package/bin/accountMember.js +66 -0
  46. package/bin/accountMember.js.map +1 -0
  47. package/bin/addressMap.d.ts +134 -0
  48. package/bin/addressMap.js +71 -0
  49. package/bin/addressMap.js.map +1 -0
  50. package/bin/apiShield.d.ts +65 -0
  51. package/bin/apiShield.js +56 -0
  52. package/bin/apiShield.js.map +1 -0
  53. package/bin/apiShieldOperation.d.ts +96 -0
  54. package/bin/apiShieldOperation.js +69 -0
  55. package/bin/apiShieldOperation.js.map +1 -0
  56. package/bin/apiShieldOperationSchemaValidationSettings.d.ts +75 -0
  57. package/bin/apiShieldOperationSchemaValidationSettings.js +61 -0
  58. package/bin/apiShieldOperationSchemaValidationSettings.js.map +1 -0
  59. package/bin/apiShieldSchema.d.ts +99 -0
  60. package/bin/apiShieldSchema.js +65 -0
  61. package/bin/apiShieldSchema.js.map +1 -0
  62. package/bin/apiShieldSchemaValidationSettings.d.ts +75 -0
  63. package/bin/apiShieldSchemaValidationSettings.js +61 -0
  64. package/bin/apiShieldSchemaValidationSettings.js.map +1 -0
  65. package/bin/apiToken.d.ts +127 -0
  66. package/bin/apiToken.js +72 -0
  67. package/bin/apiToken.js.map +1 -0
  68. package/bin/argo.d.ts +81 -0
  69. package/bin/argo.js +58 -0
  70. package/bin/argo.js.map +1 -0
  71. package/bin/authenticatedOriginPulls.d.ts +90 -0
  72. package/bin/authenticatedOriginPulls.js +63 -0
  73. package/bin/authenticatedOriginPulls.js.map +1 -0
  74. package/bin/authenticatedOriginPullsCertificate.d.ts +143 -0
  75. package/bin/authenticatedOriginPullsCertificate.js +85 -0
  76. package/bin/authenticatedOriginPullsCertificate.js.map +1 -0
  77. package/bin/botManagement.d.ts +188 -0
  78. package/bin/botManagement.js +76 -0
  79. package/bin/botManagement.js.map +1 -0
  80. package/bin/byoIpPrefix.d.ts +90 -0
  81. package/bin/byoIpPrefix.js +63 -0
  82. package/bin/byoIpPrefix.js.map +1 -0
  83. package/bin/certificatePack.d.ts +167 -0
  84. package/bin/certificatePack.js +87 -0
  85. package/bin/certificatePack.js.map +1 -0
  86. package/bin/cloudConnectorRules.d.ts +62 -0
  87. package/bin/cloudConnectorRules.js +54 -0
  88. package/bin/cloudConnectorRules.js.map +1 -0
  89. package/bin/config/index.d.ts +1 -0
  90. package/bin/config/index.js +21 -0
  91. package/bin/config/index.js.map +1 -0
  92. package/bin/config/vars.d.ts +59 -0
  93. package/bin/config/vars.js +79 -0
  94. package/bin/config/vars.js.map +1 -0
  95. package/bin/customHostname.d.ts +160 -0
  96. package/bin/customHostname.js +75 -0
  97. package/bin/customHostname.js.map +1 -0
  98. package/bin/customHostnameFallbackOrigin.d.ts +71 -0
  99. package/bin/customHostnameFallbackOrigin.js +61 -0
  100. package/bin/customHostnameFallbackOrigin.js.map +1 -0
  101. package/bin/customPages.d.ts +102 -0
  102. package/bin/customPages.js +65 -0
  103. package/bin/customPages.js.map +1 -0
  104. package/bin/customSsl.d.ts +84 -0
  105. package/bin/customSsl.js +74 -0
  106. package/bin/customSsl.js.map +1 -0
  107. package/bin/d1database.d.ts +68 -0
  108. package/bin/d1database.js +56 -0
  109. package/bin/d1database.js.map +1 -0
  110. package/bin/deviceDexTest.d.ts +129 -0
  111. package/bin/deviceDexTest.js +80 -0
  112. package/bin/deviceDexTest.js.map +1 -0
  113. package/bin/deviceManagedNetworks.d.ts +89 -0
  114. package/bin/deviceManagedNetworks.js +66 -0
  115. package/bin/deviceManagedNetworks.js.map +1 -0
  116. package/bin/devicePolicyCertificates.d.ts +63 -0
  117. package/bin/devicePolicyCertificates.js +59 -0
  118. package/bin/devicePolicyCertificates.js.map +1 -0
  119. package/bin/devicePostureIntegration.d.ts +107 -0
  120. package/bin/devicePostureIntegration.js +67 -0
  121. package/bin/devicePostureIntegration.js.map +1 -0
  122. package/bin/devicePostureRule.d.ts +140 -0
  123. package/bin/devicePostureRule.js +71 -0
  124. package/bin/devicePostureRule.js.map +1 -0
  125. package/bin/deviceSettingsPolicy.d.ts +267 -0
  126. package/bin/deviceSettingsPolicy.js +93 -0
  127. package/bin/deviceSettingsPolicy.js.map +1 -0
  128. package/bin/dlpProfile.d.ts +140 -0
  129. package/bin/dlpProfile.js +77 -0
  130. package/bin/dlpProfile.js.map +1 -0
  131. package/bin/emailRoutingAddress.d.ts +92 -0
  132. package/bin/emailRoutingAddress.js +65 -0
  133. package/bin/emailRoutingAddress.js.map +1 -0
  134. package/bin/emailRoutingCatchAll.d.ts +109 -0
  135. package/bin/emailRoutingCatchAll.js +70 -0
  136. package/bin/emailRoutingCatchAll.js.map +1 -0
  137. package/bin/emailRoutingRule.d.ts +118 -0
  138. package/bin/emailRoutingRule.js +64 -0
  139. package/bin/emailRoutingRule.js.map +1 -0
  140. package/bin/emailRoutingSettings.d.ts +115 -0
  141. package/bin/emailRoutingSettings.js +71 -0
  142. package/bin/emailRoutingSettings.js.map +1 -0
  143. package/bin/fallbackDomain.d.ts +68 -0
  144. package/bin/fallbackDomain.js +61 -0
  145. package/bin/fallbackDomain.js.map +1 -0
  146. package/bin/filter.d.ts +99 -0
  147. package/bin/filter.js +65 -0
  148. package/bin/filter.js.map +1 -0
  149. package/bin/firewallRule.d.ts +132 -0
  150. package/bin/firewallRule.js +72 -0
  151. package/bin/firewallRule.js.map +1 -0
  152. package/bin/getAccessApplication.d.ts +34 -0
  153. package/bin/getAccessApplication.js +32 -0
  154. package/bin/getAccessApplication.js.map +1 -0
  155. package/bin/getAccessIdentityProvider.d.ts +31 -0
  156. package/bin/getAccessIdentityProvider.js +28 -0
  157. package/bin/getAccessIdentityProvider.js.map +1 -0
  158. package/bin/getAccountRoles.d.ts +26 -0
  159. package/bin/getAccountRoles.js +24 -0
  160. package/bin/getAccountRoles.js.map +1 -0
  161. package/bin/getAccounts.d.ts +26 -0
  162. package/bin/getAccounts.js +26 -0
  163. package/bin/getAccounts.js.map +1 -0
  164. package/bin/getApiTokenPermissionGroups.d.ts +27 -0
  165. package/bin/getApiTokenPermissionGroups.js +18 -0
  166. package/bin/getApiTokenPermissionGroups.js.map +1 -0
  167. package/bin/getDcvDelegation.d.ts +23 -0
  168. package/bin/getDcvDelegation.js +22 -0
  169. package/bin/getDcvDelegation.js.map +1 -0
  170. package/bin/getDevicePostureRules.d.ts +32 -0
  171. package/bin/getDevicePostureRules.js +28 -0
  172. package/bin/getDevicePostureRules.js.map +1 -0
  173. package/bin/getDevices.d.ts +26 -0
  174. package/bin/getDevices.js +24 -0
  175. package/bin/getDevices.js.map +1 -0
  176. package/bin/getDlpDatasets.d.ts +27 -0
  177. package/bin/getDlpDatasets.js +22 -0
  178. package/bin/getDlpDatasets.js.map +1 -0
  179. package/bin/getGatewayAppTypes.d.ts +27 -0
  180. package/bin/getGatewayAppTypes.js +22 -0
  181. package/bin/getGatewayAppTypes.js.map +1 -0
  182. package/bin/getGatewayCategories.d.ts +27 -0
  183. package/bin/getGatewayCategories.js +22 -0
  184. package/bin/getGatewayCategories.js.map +1 -0
  185. package/bin/getInfrastructureAccessTargets.d.ts +48 -0
  186. package/bin/getInfrastructureAccessTargets.js +36 -0
  187. package/bin/getInfrastructureAccessTargets.js.map +1 -0
  188. package/bin/getIpRanges.d.ts +26 -0
  189. package/bin/getIpRanges.js +24 -0
  190. package/bin/getIpRanges.js.map +1 -0
  191. package/bin/getList.d.ts +30 -0
  192. package/bin/getList.js +26 -0
  193. package/bin/getList.js.map +1 -0
  194. package/bin/getLists.d.ts +26 -0
  195. package/bin/getLists.js +24 -0
  196. package/bin/getLists.js.map +1 -0
  197. package/bin/getLoadBalancerPools.d.ts +32 -0
  198. package/bin/getLoadBalancerPools.js +28 -0
  199. package/bin/getLoadBalancerPools.js.map +1 -0
  200. package/bin/getOriginCaCertificate.d.ts +26 -0
  201. package/bin/getOriginCaCertificate.js +22 -0
  202. package/bin/getOriginCaCertificate.js.map +1 -0
  203. package/bin/getOriginCaRootCertificate.d.ts +25 -0
  204. package/bin/getOriginCaRootCertificate.js +24 -0
  205. package/bin/getOriginCaRootCertificate.js.map +1 -0
  206. package/bin/getRecord.d.ts +40 -0
  207. package/bin/getRecord.js +32 -0
  208. package/bin/getRecord.js.map +1 -0
  209. package/bin/getRulesets.d.ts +36 -0
  210. package/bin/getRulesets.js +32 -0
  211. package/bin/getRulesets.js.map +1 -0
  212. package/bin/getTunnel.d.ts +31 -0
  213. package/bin/getTunnel.js +26 -0
  214. package/bin/getTunnel.js.map +1 -0
  215. package/bin/getTunnelVirtualNetwork.d.ts +29 -0
  216. package/bin/getTunnelVirtualNetwork.js +26 -0
  217. package/bin/getTunnelVirtualNetwork.js.map +1 -0
  218. package/bin/getUser.d.ts +11 -0
  219. package/bin/getUser.js +18 -0
  220. package/bin/getUser.js.map +1 -0
  221. package/bin/getZeroTrustAccessApplication.d.ts +34 -0
  222. package/bin/getZeroTrustAccessApplication.js +32 -0
  223. package/bin/getZeroTrustAccessApplication.js.map +1 -0
  224. package/bin/getZeroTrustAccessIdentityProvider.d.ts +31 -0
  225. package/bin/getZeroTrustAccessIdentityProvider.js +28 -0
  226. package/bin/getZeroTrustAccessIdentityProvider.js.map +1 -0
  227. package/bin/getZeroTrustTunnelCloudflared.d.ts +31 -0
  228. package/bin/getZeroTrustTunnelCloudflared.js +26 -0
  229. package/bin/getZeroTrustTunnelCloudflared.js.map +1 -0
  230. package/bin/getZeroTrustTunnelVirtualNetwork.d.ts +29 -0
  231. package/bin/getZeroTrustTunnelVirtualNetwork.js +26 -0
  232. package/bin/getZeroTrustTunnelVirtualNetwork.js.map +1 -0
  233. package/bin/getZone.d.ts +35 -0
  234. package/bin/getZone.js +30 -0
  235. package/bin/getZone.js.map +1 -0
  236. package/bin/getZoneCacheReserve.d.ts +25 -0
  237. package/bin/getZoneCacheReserve.js +24 -0
  238. package/bin/getZoneCacheReserve.js.map +1 -0
  239. package/bin/getZoneDnssec.d.ts +34 -0
  240. package/bin/getZoneDnssec.js +24 -0
  241. package/bin/getZoneDnssec.js.map +1 -0
  242. package/bin/getZones.d.ts +27 -0
  243. package/bin/getZones.js +24 -0
  244. package/bin/getZones.js.map +1 -0
  245. package/bin/greTunnel.d.ts +171 -0
  246. package/bin/greTunnel.js +80 -0
  247. package/bin/greTunnel.js.map +1 -0
  248. package/bin/healthcheck.d.ts +318 -0
  249. package/bin/healthcheck.js +104 -0
  250. package/bin/healthcheck.js.map +1 -0
  251. package/bin/hostnameTlsSetting.d.ts +91 -0
  252. package/bin/hostnameTlsSetting.js +73 -0
  253. package/bin/hostnameTlsSetting.js.map +1 -0
  254. package/bin/hostnameTlsSettingCiphers.d.ts +91 -0
  255. package/bin/hostnameTlsSettingCiphers.js +70 -0
  256. package/bin/hostnameTlsSettingCiphers.js.map +1 -0
  257. package/bin/hyperdriveConfig.d.ts +98 -0
  258. package/bin/hyperdriveConfig.js +63 -0
  259. package/bin/hyperdriveConfig.js.map +1 -0
  260. package/bin/index.d.ts +588 -0
  261. package/bin/index.js +945 -0
  262. package/bin/index.js.map +1 -0
  263. package/bin/infrastructureAccessTarget.d.ts +90 -0
  264. package/bin/infrastructureAccessTarget.js +66 -0
  265. package/bin/infrastructureAccessTarget.js.map +1 -0
  266. package/bin/ipsecTunnel.d.ts +261 -0
  267. package/bin/ipsecTunnel.js +96 -0
  268. package/bin/ipsecTunnel.js.map +1 -0
  269. package/bin/keylessCertificate.d.ts +143 -0
  270. package/bin/keylessCertificate.js +74 -0
  271. package/bin/keylessCertificate.js.map +1 -0
  272. package/bin/list.d.ts +95 -0
  273. package/bin/list.js +65 -0
  274. package/bin/list.js.map +1 -0
  275. package/bin/listItem.d.ts +122 -0
  276. package/bin/listItem.js +67 -0
  277. package/bin/listItem.js.map +1 -0
  278. package/bin/loadBalancer.d.ts +378 -0
  279. package/bin/loadBalancer.js +100 -0
  280. package/bin/loadBalancer.js.map +1 -0
  281. package/bin/loadBalancerMonitor.d.ts +279 -0
  282. package/bin/loadBalancerMonitor.js +90 -0
  283. package/bin/loadBalancerMonitor.js.map +1 -0
  284. package/bin/loadBalancerPool.d.ts +234 -0
  285. package/bin/loadBalancerPool.js +85 -0
  286. package/bin/loadBalancerPool.js.map +1 -0
  287. package/bin/logpullRetention.d.ts +63 -0
  288. package/bin/logpullRetention.js +59 -0
  289. package/bin/logpullRetention.js.map +1 -0
  290. package/bin/logpushJob.d.ts +260 -0
  291. package/bin/logpushJob.js +85 -0
  292. package/bin/logpushJob.js.map +1 -0
  293. package/bin/logpushOwnershipChallenge.d.ts +92 -0
  294. package/bin/logpushOwnershipChallenge.js +60 -0
  295. package/bin/logpushOwnershipChallenge.js.map +1 -0
  296. package/bin/magicFirewallRuleset.d.ts +75 -0
  297. package/bin/magicFirewallRuleset.js +60 -0
  298. package/bin/magicFirewallRuleset.js.map +1 -0
  299. package/bin/magicWanGreTunnel.d.ts +171 -0
  300. package/bin/magicWanGreTunnel.js +80 -0
  301. package/bin/magicWanGreTunnel.js.map +1 -0
  302. package/bin/magicWanIpsecTunnel.d.ts +261 -0
  303. package/bin/magicWanIpsecTunnel.js +96 -0
  304. package/bin/magicWanIpsecTunnel.js.map +1 -0
  305. package/bin/magicWanStaticRoute.d.ts +135 -0
  306. package/bin/magicWanStaticRoute.js +74 -0
  307. package/bin/magicWanStaticRoute.js.map +1 -0
  308. package/bin/managedHeaders.d.ts +77 -0
  309. package/bin/managedHeaders.js +58 -0
  310. package/bin/managedHeaders.js.map +1 -0
  311. package/bin/mtlsCertificate.d.ts +142 -0
  312. package/bin/mtlsCertificate.js +78 -0
  313. package/bin/mtlsCertificate.js.map +1 -0
  314. package/bin/notificationPolicy.d.ts +228 -0
  315. package/bin/notificationPolicy.js +80 -0
  316. package/bin/notificationPolicy.js.map +1 -0
  317. package/bin/notificationPolicyWebhooks.d.ts +119 -0
  318. package/bin/notificationPolicyWebhooks.js +68 -0
  319. package/bin/notificationPolicyWebhooks.js.map +1 -0
  320. package/bin/observatoryScheduledTest.d.ts +104 -0
  321. package/bin/observatoryScheduledTest.js +71 -0
  322. package/bin/observatoryScheduledTest.js.map +1 -0
  323. package/bin/originCaCertificate.d.ts +118 -0
  324. package/bin/originCaCertificate.js +72 -0
  325. package/bin/originCaCertificate.js.map +1 -0
  326. package/bin/package.json +28 -0
  327. package/bin/pageRule.d.ts +83 -0
  328. package/bin/pageRule.js +68 -0
  329. package/bin/pageRule.js.map +1 -0
  330. package/bin/pagesDomain.d.ts +83 -0
  331. package/bin/pagesDomain.js +66 -0
  332. package/bin/pagesDomain.js.map +1 -0
  333. package/bin/pagesProject.d.ts +143 -0
  334. package/bin/pagesProject.js +73 -0
  335. package/bin/pagesProject.js.map +1 -0
  336. package/bin/provider.d.ts +120 -0
  337. package/bin/provider.js +56 -0
  338. package/bin/provider.js.map +1 -0
  339. package/bin/queue.d.ts +63 -0
  340. package/bin/queue.js +56 -0
  341. package/bin/queue.js.map +1 -0
  342. package/bin/r2bucket.d.ts +72 -0
  343. package/bin/r2bucket.js +56 -0
  344. package/bin/r2bucket.js.map +1 -0
  345. package/bin/rateLimit.d.ts +143 -0
  346. package/bin/rateLimit.js +79 -0
  347. package/bin/rateLimit.js.map +1 -0
  348. package/bin/record.d.ts +235 -0
  349. package/bin/record.js +91 -0
  350. package/bin/record.js.map +1 -0
  351. package/bin/regionalHostname.d.ts +91 -0
  352. package/bin/regionalHostname.js +68 -0
  353. package/bin/regionalHostname.js.map +1 -0
  354. package/bin/regionalTieredCache.d.ts +63 -0
  355. package/bin/regionalTieredCache.js +59 -0
  356. package/bin/regionalTieredCache.js.map +1 -0
  357. package/bin/riskBehavior.d.ts +62 -0
  358. package/bin/riskBehavior.js +54 -0
  359. package/bin/riskBehavior.js.map +1 -0
  360. package/bin/ruleset.d.ts +137 -0
  361. package/bin/ruleset.js +67 -0
  362. package/bin/ruleset.js.map +1 -0
  363. package/bin/spectrumApplication.d.ts +203 -0
  364. package/bin/spectrumApplication.js +84 -0
  365. package/bin/spectrumApplication.js.map +1 -0
  366. package/bin/splitTunnel.d.ts +89 -0
  367. package/bin/splitTunnel.js +66 -0
  368. package/bin/splitTunnel.js.map +1 -0
  369. package/bin/staticRoute.d.ts +135 -0
  370. package/bin/staticRoute.js +74 -0
  371. package/bin/staticRoute.js.map +1 -0
  372. package/bin/teamsAccount.d.ts +242 -0
  373. package/bin/teamsAccount.js +86 -0
  374. package/bin/teamsAccount.js.map +1 -0
  375. package/bin/teamsList.d.ts +113 -0
  376. package/bin/teamsList.js +67 -0
  377. package/bin/teamsList.js.map +1 -0
  378. package/bin/teamsLocation.d.ts +135 -0
  379. package/bin/teamsLocation.js +72 -0
  380. package/bin/teamsLocation.js.map +1 -0
  381. package/bin/teamsProxyEndpoint.d.ts +83 -0
  382. package/bin/teamsProxyEndpoint.js +63 -0
  383. package/bin/teamsProxyEndpoint.js.map +1 -0
  384. package/bin/teamsRule.d.ts +178 -0
  385. package/bin/teamsRule.js +85 -0
  386. package/bin/teamsRule.js.map +1 -0
  387. package/bin/tieredCache.d.ts +63 -0
  388. package/bin/tieredCache.js +59 -0
  389. package/bin/tieredCache.js.map +1 -0
  390. package/bin/totalTls.d.ts +78 -0
  391. package/bin/totalTls.js +61 -0
  392. package/bin/totalTls.js.map +1 -0
  393. package/bin/tunnel.d.ts +118 -0
  394. package/bin/tunnel.js +69 -0
  395. package/bin/tunnel.js.map +1 -0
  396. package/bin/tunnelConfig.d.ts +77 -0
  397. package/bin/tunnelConfig.js +64 -0
  398. package/bin/tunnelConfig.js.map +1 -0
  399. package/bin/tunnelRoute.d.ts +102 -0
  400. package/bin/tunnelRoute.js +68 -0
  401. package/bin/tunnelRoute.js.map +1 -0
  402. package/bin/tunnelVirtualNetwork.d.ts +90 -0
  403. package/bin/tunnelVirtualNetwork.js +60 -0
  404. package/bin/tunnelVirtualNetwork.js.map +1 -0
  405. package/bin/turnstileWidget.d.ts +143 -0
  406. package/bin/turnstileWidget.js +76 -0
  407. package/bin/turnstileWidget.js.map +1 -0
  408. package/bin/types/index.d.ts +3 -0
  409. package/bin/types/index.js +11 -0
  410. package/bin/types/index.js.map +1 -0
  411. package/bin/types/input.d.ts +7815 -0
  412. package/bin/types/input.js +5 -0
  413. package/bin/types/input.js.map +1 -0
  414. package/bin/types/output.d.ts +8099 -0
  415. package/bin/types/output.js +5 -0
  416. package/bin/types/output.js.map +1 -0
  417. package/bin/urlNormalizationSettings.d.ts +75 -0
  418. package/bin/urlNormalizationSettings.js +64 -0
  419. package/bin/urlNormalizationSettings.js.map +1 -0
  420. package/bin/userAgentBlockingRule.d.ts +101 -0
  421. package/bin/userAgentBlockingRule.js +74 -0
  422. package/bin/userAgentBlockingRule.js.map +1 -0
  423. package/bin/utilities.d.ts +9 -0
  424. package/bin/utilities.js +141 -0
  425. package/bin/utilities.js.map +1 -0
  426. package/bin/waitingRoom.d.ts +278 -0
  427. package/bin/waitingRoom.js +101 -0
  428. package/bin/waitingRoom.js.map +1 -0
  429. package/bin/waitingRoomEvent.d.ts +247 -0
  430. package/bin/waitingRoomEvent.js +95 -0
  431. package/bin/waitingRoomEvent.js.map +1 -0
  432. package/bin/waitingRoomRules.d.ts +77 -0
  433. package/bin/waitingRoomRules.js +61 -0
  434. package/bin/waitingRoomRules.js.map +1 -0
  435. package/bin/waitingRoomSettings.d.ts +63 -0
  436. package/bin/waitingRoomSettings.js +56 -0
  437. package/bin/waitingRoomSettings.js.map +1 -0
  438. package/bin/web3Hostname.d.ts +123 -0
  439. package/bin/web3Hostname.js +71 -0
  440. package/bin/web3Hostname.js.map +1 -0
  441. package/bin/webAnalyticsRule.d.ts +116 -0
  442. package/bin/webAnalyticsRule.js +81 -0
  443. package/bin/webAnalyticsRule.js.map +1 -0
  444. package/bin/webAnalyticsSite.d.ts +133 -0
  445. package/bin/webAnalyticsSite.js +75 -0
  446. package/bin/webAnalyticsSite.js.map +1 -0
  447. package/bin/workerCronTrigger.d.ts +75 -0
  448. package/bin/workerCronTrigger.js +64 -0
  449. package/bin/workerCronTrigger.js.map +1 -0
  450. package/bin/workerDomain.d.ts +99 -0
  451. package/bin/workerDomain.js +71 -0
  452. package/bin/workerDomain.js.map +1 -0
  453. package/bin/workerRoute.d.ts +75 -0
  454. package/bin/workerRoute.js +61 -0
  455. package/bin/workerRoute.js.map +1 -0
  456. package/bin/workerScript.d.ts +173 -0
  457. package/bin/workerScript.js +95 -0
  458. package/bin/workerScript.js.map +1 -0
  459. package/bin/workerSecret.d.ts +90 -0
  460. package/bin/workerSecret.js +68 -0
  461. package/bin/workerSecret.js.map +1 -0
  462. package/bin/workersCronTrigger.d.ts +75 -0
  463. package/bin/workersCronTrigger.js +64 -0
  464. package/bin/workersCronTrigger.js.map +1 -0
  465. package/bin/workersDomain.d.ts +99 -0
  466. package/bin/workersDomain.js +71 -0
  467. package/bin/workersDomain.js.map +1 -0
  468. package/bin/workersForPlatformsDispatchNamespace.d.ts +60 -0
  469. package/bin/workersForPlatformsDispatchNamespace.js +54 -0
  470. package/bin/workersForPlatformsDispatchNamespace.js.map +1 -0
  471. package/bin/workersForPlatformsNamespace.d.ts +60 -0
  472. package/bin/workersForPlatformsNamespace.js +54 -0
  473. package/bin/workersForPlatformsNamespace.js.map +1 -0
  474. package/bin/workersKv.d.ts +90 -0
  475. package/bin/workersKv.js +69 -0
  476. package/bin/workersKv.js.map +1 -0
  477. package/bin/workersKvNamespace.d.ts +63 -0
  478. package/bin/workersKvNamespace.js +59 -0
  479. package/bin/workersKvNamespace.js.map +1 -0
  480. package/bin/workersRoute.d.ts +75 -0
  481. package/bin/workersRoute.js +61 -0
  482. package/bin/workersRoute.js.map +1 -0
  483. package/bin/workersScript.d.ts +173 -0
  484. package/bin/workersScript.js +95 -0
  485. package/bin/workersScript.js.map +1 -0
  486. package/bin/workersSecret.d.ts +90 -0
  487. package/bin/workersSecret.js +68 -0
  488. package/bin/workersSecret.js.map +1 -0
  489. package/bin/zeroTrustAccessApplication.d.ts +487 -0
  490. package/bin/zeroTrustAccessApplication.js +119 -0
  491. package/bin/zeroTrustAccessApplication.js.map +1 -0
  492. package/bin/zeroTrustAccessCustomPage.d.ts +117 -0
  493. package/bin/zeroTrustAccessCustomPage.js +64 -0
  494. package/bin/zeroTrustAccessCustomPage.js.map +1 -0
  495. package/bin/zeroTrustAccessGroup.d.ts +80 -0
  496. package/bin/zeroTrustAccessGroup.js +64 -0
  497. package/bin/zeroTrustAccessGroup.js.map +1 -0
  498. package/bin/zeroTrustAccessIdentityProvider.d.ts +125 -0
  499. package/bin/zeroTrustAccessIdentityProvider.js +64 -0
  500. package/bin/zeroTrustAccessIdentityProvider.js.map +1 -0
  501. package/bin/zeroTrustAccessMtlsCertificate.d.ts +101 -0
  502. package/bin/zeroTrustAccessMtlsCertificate.js +61 -0
  503. package/bin/zeroTrustAccessMtlsCertificate.js.map +1 -0
  504. package/bin/zeroTrustAccessMtlsHostnameSettings.d.ts +65 -0
  505. package/bin/zeroTrustAccessMtlsHostnameSettings.js +53 -0
  506. package/bin/zeroTrustAccessMtlsHostnameSettings.js.map +1 -0
  507. package/bin/zeroTrustAccessOrganization.d.ts +200 -0
  508. package/bin/zeroTrustAccessOrganization.js +78 -0
  509. package/bin/zeroTrustAccessOrganization.js.map +1 -0
  510. package/bin/zeroTrustAccessPolicy.d.ts +197 -0
  511. package/bin/zeroTrustAccessPolicy.js +87 -0
  512. package/bin/zeroTrustAccessPolicy.js.map +1 -0
  513. package/bin/zeroTrustAccessServiceToken.d.ts +114 -0
  514. package/bin/zeroTrustAccessServiceToken.js +67 -0
  515. package/bin/zeroTrustAccessServiceToken.js.map +1 -0
  516. package/bin/zeroTrustAccessShortLivedCertificate.d.ts +91 -0
  517. package/bin/zeroTrustAccessShortLivedCertificate.js +62 -0
  518. package/bin/zeroTrustAccessShortLivedCertificate.js.map +1 -0
  519. package/bin/zeroTrustAccessTag.d.ts +93 -0
  520. package/bin/zeroTrustAccessTag.js +57 -0
  521. package/bin/zeroTrustAccessTag.js.map +1 -0
  522. package/bin/zeroTrustDeviceCertificates.d.ts +63 -0
  523. package/bin/zeroTrustDeviceCertificates.js +59 -0
  524. package/bin/zeroTrustDeviceCertificates.js.map +1 -0
  525. package/bin/zeroTrustDeviceManagedNetworks.d.ts +89 -0
  526. package/bin/zeroTrustDeviceManagedNetworks.js +66 -0
  527. package/bin/zeroTrustDeviceManagedNetworks.js.map +1 -0
  528. package/bin/zeroTrustDevicePostureIntegration.d.ts +107 -0
  529. package/bin/zeroTrustDevicePostureIntegration.js +67 -0
  530. package/bin/zeroTrustDevicePostureIntegration.js.map +1 -0
  531. package/bin/zeroTrustDevicePostureRule.d.ts +140 -0
  532. package/bin/zeroTrustDevicePostureRule.js +71 -0
  533. package/bin/zeroTrustDevicePostureRule.js.map +1 -0
  534. package/bin/zeroTrustDeviceProfiles.d.ts +267 -0
  535. package/bin/zeroTrustDeviceProfiles.js +93 -0
  536. package/bin/zeroTrustDeviceProfiles.js.map +1 -0
  537. package/bin/zeroTrustDexTest.d.ts +129 -0
  538. package/bin/zeroTrustDexTest.js +80 -0
  539. package/bin/zeroTrustDexTest.js.map +1 -0
  540. package/bin/zeroTrustDlpProfile.d.ts +140 -0
  541. package/bin/zeroTrustDlpProfile.js +77 -0
  542. package/bin/zeroTrustDlpProfile.js.map +1 -0
  543. package/bin/zeroTrustDnsLocation.d.ts +135 -0
  544. package/bin/zeroTrustDnsLocation.js +72 -0
  545. package/bin/zeroTrustDnsLocation.js.map +1 -0
  546. package/bin/zeroTrustGatewayCertificate.d.ts +144 -0
  547. package/bin/zeroTrustGatewayCertificate.js +74 -0
  548. package/bin/zeroTrustGatewayCertificate.js.map +1 -0
  549. package/bin/zeroTrustGatewayPolicy.d.ts +178 -0
  550. package/bin/zeroTrustGatewayPolicy.js +85 -0
  551. package/bin/zeroTrustGatewayPolicy.js.map +1 -0
  552. package/bin/zeroTrustGatewayProxyEndpoint.d.ts +83 -0
  553. package/bin/zeroTrustGatewayProxyEndpoint.js +63 -0
  554. package/bin/zeroTrustGatewayProxyEndpoint.js.map +1 -0
  555. package/bin/zeroTrustGatewaySettings.d.ts +242 -0
  556. package/bin/zeroTrustGatewaySettings.js +86 -0
  557. package/bin/zeroTrustGatewaySettings.js.map +1 -0
  558. package/bin/zeroTrustKeyAccessKeyConfiguration.d.ts +63 -0
  559. package/bin/zeroTrustKeyAccessKeyConfiguration.js +56 -0
  560. package/bin/zeroTrustKeyAccessKeyConfiguration.js.map +1 -0
  561. package/bin/zeroTrustList.d.ts +113 -0
  562. package/bin/zeroTrustList.js +67 -0
  563. package/bin/zeroTrustList.js.map +1 -0
  564. package/bin/zeroTrustLocalFallbackDomain.d.ts +68 -0
  565. package/bin/zeroTrustLocalFallbackDomain.js +61 -0
  566. package/bin/zeroTrustLocalFallbackDomain.js.map +1 -0
  567. package/bin/zeroTrustRiskBehavior.d.ts +62 -0
  568. package/bin/zeroTrustRiskBehavior.js +54 -0
  569. package/bin/zeroTrustRiskBehavior.js.map +1 -0
  570. package/bin/zeroTrustRiskScoreIntegration.d.ts +115 -0
  571. package/bin/zeroTrustRiskScoreIntegration.js +68 -0
  572. package/bin/zeroTrustRiskScoreIntegration.js.map +1 -0
  573. package/bin/zeroTrustSplitTunnel.d.ts +89 -0
  574. package/bin/zeroTrustSplitTunnel.js +66 -0
  575. package/bin/zeroTrustSplitTunnel.js.map +1 -0
  576. package/bin/zeroTrustTunnelCloudflared.d.ts +118 -0
  577. package/bin/zeroTrustTunnelCloudflared.js +69 -0
  578. package/bin/zeroTrustTunnelCloudflared.js.map +1 -0
  579. package/bin/zeroTrustTunnelCloudflaredConfig.d.ts +77 -0
  580. package/bin/zeroTrustTunnelCloudflaredConfig.js +64 -0
  581. package/bin/zeroTrustTunnelCloudflaredConfig.js.map +1 -0
  582. package/bin/zeroTrustTunnelRoute.d.ts +102 -0
  583. package/bin/zeroTrustTunnelRoute.js +68 -0
  584. package/bin/zeroTrustTunnelRoute.js.map +1 -0
  585. package/bin/zeroTrustTunnelVirtualNetwork.d.ts +90 -0
  586. package/bin/zeroTrustTunnelVirtualNetwork.js +60 -0
  587. package/bin/zeroTrustTunnelVirtualNetwork.js.map +1 -0
  588. package/bin/zone.d.ts +159 -0
  589. package/bin/zone.js +77 -0
  590. package/bin/zone.js.map +1 -0
  591. package/bin/zoneCacheReserve.d.ts +63 -0
  592. package/bin/zoneCacheReserve.js +59 -0
  593. package/bin/zoneCacheReserve.js.map +1 -0
  594. package/bin/zoneCacheVariants.d.ts +183 -0
  595. package/bin/zoneCacheVariants.js +76 -0
  596. package/bin/zoneCacheVariants.js.map +1 -0
  597. package/bin/zoneDnssec.d.ts +143 -0
  598. package/bin/zoneDnssec.js +76 -0
  599. package/bin/zoneDnssec.js.map +1 -0
  600. package/bin/zoneHold.d.ts +87 -0
  601. package/bin/zoneHold.js +63 -0
  602. package/bin/zoneHold.js.map +1 -0
  603. package/bin/zoneLockdown.d.ts +104 -0
  604. package/bin/zoneLockdown.js +70 -0
  605. package/bin/zoneLockdown.js.map +1 -0
  606. package/bin/zoneSettingsOverride.d.ts +66 -0
  607. package/bin/zoneSettingsOverride.js +66 -0
  608. package/bin/zoneSettingsOverride.js.map +1 -0
  609. package/package.json +28 -0
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class RiskBehavior extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing RiskBehavior resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RiskBehaviorState, opts?: pulumi.CustomResourceOptions): RiskBehavior;
15
+ /**
16
+ * Returns true if the given object is an instance of RiskBehavior. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is RiskBehavior;
20
+ /**
21
+ * The account identifier to target for the resource.
22
+ */
23
+ readonly accountId: pulumi.Output<string>;
24
+ /**
25
+ * Zero Trust risk behaviors configured on this account
26
+ */
27
+ readonly behaviors: pulumi.Output<outputs.RiskBehaviorBehavior[] | undefined>;
28
+ /**
29
+ * Create a RiskBehavior resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name: string, args: RiskBehaviorArgs, opts?: pulumi.CustomResourceOptions);
36
+ }
37
+ /**
38
+ * Input properties used for looking up and filtering RiskBehavior resources.
39
+ */
40
+ export interface RiskBehaviorState {
41
+ /**
42
+ * The account identifier to target for the resource.
43
+ */
44
+ accountId?: pulumi.Input<string>;
45
+ /**
46
+ * Zero Trust risk behaviors configured on this account
47
+ */
48
+ behaviors?: pulumi.Input<pulumi.Input<inputs.RiskBehaviorBehavior>[]>;
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a RiskBehavior resource.
52
+ */
53
+ export interface RiskBehaviorArgs {
54
+ /**
55
+ * The account identifier to target for the resource.
56
+ */
57
+ accountId: pulumi.Input<string>;
58
+ /**
59
+ * Zero Trust risk behaviors configured on this account
60
+ */
61
+ behaviors?: pulumi.Input<pulumi.Input<inputs.RiskBehaviorBehavior>[]>;
62
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.RiskBehavior = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class RiskBehavior extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RiskBehavior resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new RiskBehavior(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of RiskBehavior. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === RiskBehavior.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
37
+ resourceInputs["behaviors"] = state ? state.behaviors : undefined;
38
+ }
39
+ else {
40
+ const args = argsOrState;
41
+ if ((!args || args.accountId === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'accountId'");
43
+ }
44
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
45
+ resourceInputs["behaviors"] = args ? args.behaviors : undefined;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ super(RiskBehavior.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
49
+ }
50
+ }
51
+ exports.RiskBehavior = RiskBehavior;
52
+ /** @internal */
53
+ RiskBehavior.__pulumiType = 'cloudflare:index/riskBehavior:RiskBehavior';
54
+ //# sourceMappingURL=riskBehavior.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"riskBehavior.js","sourceRoot":"","sources":["../riskBehavior.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,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C,SAAS,CAAC;SACnE;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,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AA9DL,oCA+DC;AAjDG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,137 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class Ruleset extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing Ruleset resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RulesetState, opts?: pulumi.CustomResourceOptions): Ruleset;
15
+ /**
16
+ * Returns true if the given object is an instance of Ruleset. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is Ruleset;
20
+ /**
21
+ * The account identifier to target for the resource.
22
+ */
23
+ readonly accountId: pulumi.Output<string | undefined>;
24
+ /**
25
+ * Brief summary of the ruleset and its intended use.
26
+ */
27
+ readonly description: pulumi.Output<string>;
28
+ /**
29
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `zone`.
30
+ */
31
+ readonly kind: pulumi.Output<string>;
32
+ /**
33
+ * Name of the ruleset.
34
+ */
35
+ readonly name: pulumi.Output<string>;
36
+ /**
37
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
38
+ * `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`,
39
+ * `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`,
40
+ * `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`,
41
+ * `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`,
42
+ * `http_response_headers_transform`, `magic_transit`.
43
+ */
44
+ readonly phase: pulumi.Output<string>;
45
+ /**
46
+ * List of rules to apply to the ruleset.
47
+ */
48
+ readonly rules: pulumi.Output<outputs.RulesetRule[] | undefined>;
49
+ /**
50
+ * The zone identifier to target for the resource.
51
+ */
52
+ readonly zoneId: pulumi.Output<string | undefined>;
53
+ /**
54
+ * Create a Ruleset resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: RulesetArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * Input properties used for looking up and filtering Ruleset resources.
64
+ */
65
+ export interface RulesetState {
66
+ /**
67
+ * The account identifier to target for the resource.
68
+ */
69
+ accountId?: pulumi.Input<string>;
70
+ /**
71
+ * Brief summary of the ruleset and its intended use.
72
+ */
73
+ description?: pulumi.Input<string>;
74
+ /**
75
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `zone`.
76
+ */
77
+ kind?: pulumi.Input<string>;
78
+ /**
79
+ * Name of the ruleset.
80
+ */
81
+ name?: pulumi.Input<string>;
82
+ /**
83
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
84
+ * `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`,
85
+ * `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`,
86
+ * `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`,
87
+ * `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`,
88
+ * `http_response_headers_transform`, `magic_transit`.
89
+ */
90
+ phase?: pulumi.Input<string>;
91
+ /**
92
+ * List of rules to apply to the ruleset.
93
+ */
94
+ rules?: pulumi.Input<pulumi.Input<inputs.RulesetRule>[]>;
95
+ /**
96
+ * The zone identifier to target for the resource.
97
+ */
98
+ zoneId?: pulumi.Input<string>;
99
+ }
100
+ /**
101
+ * The set of arguments for constructing a Ruleset resource.
102
+ */
103
+ export interface RulesetArgs {
104
+ /**
105
+ * The account identifier to target for the resource.
106
+ */
107
+ accountId?: pulumi.Input<string>;
108
+ /**
109
+ * Brief summary of the ruleset and its intended use.
110
+ */
111
+ description?: pulumi.Input<string>;
112
+ /**
113
+ * Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `zone`.
114
+ */
115
+ kind: pulumi.Input<string>;
116
+ /**
117
+ * Name of the ruleset.
118
+ */
119
+ name?: pulumi.Input<string>;
120
+ /**
121
+ * Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`,
122
+ * `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`,
123
+ * `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`,
124
+ * `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`,
125
+ * `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`,
126
+ * `http_response_headers_transform`, `magic_transit`.
127
+ */
128
+ phase: pulumi.Input<string>;
129
+ /**
130
+ * List of rules to apply to the ruleset.
131
+ */
132
+ rules?: pulumi.Input<pulumi.Input<inputs.RulesetRule>[]>;
133
+ /**
134
+ * The zone identifier to target for the resource.
135
+ */
136
+ zoneId?: pulumi.Input<string>;
137
+ }
package/bin/ruleset.js ADDED
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Ruleset = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class Ruleset extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Ruleset resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new Ruleset(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of Ruleset. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === Ruleset.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
37
+ resourceInputs["description"] = state ? state.description : undefined;
38
+ resourceInputs["kind"] = state ? state.kind : undefined;
39
+ resourceInputs["name"] = state ? state.name : undefined;
40
+ resourceInputs["phase"] = state ? state.phase : undefined;
41
+ resourceInputs["rules"] = state ? state.rules : undefined;
42
+ resourceInputs["zoneId"] = state ? state.zoneId : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.kind === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'kind'");
48
+ }
49
+ if ((!args || args.phase === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'phase'");
51
+ }
52
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
53
+ resourceInputs["description"] = args ? args.description : undefined;
54
+ resourceInputs["kind"] = args ? args.kind : undefined;
55
+ resourceInputs["name"] = args ? args.name : undefined;
56
+ resourceInputs["phase"] = args ? args.phase : undefined;
57
+ resourceInputs["rules"] = args ? args.rules : undefined;
58
+ resourceInputs["zoneId"] = args ? args.zoneId : undefined;
59
+ }
60
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
61
+ super(Ruleset.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
62
+ }
63
+ }
64
+ exports.Ruleset = Ruleset;
65
+ /** @internal */
66
+ Ruleset.__pulumiType = 'cloudflare:index/ruleset:Ruleset';
67
+ //# sourceMappingURL=ruleset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ruleset.js","sourceRoot":"","sources":["../ruleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;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;IA4CD,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,KA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AC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC1G,CAAC;;AApGL,0BAqGC;AAvFG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,203 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class SpectrumApplication extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SpectrumApplication resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpectrumApplicationState, opts?: pulumi.CustomResourceOptions): SpectrumApplication;
15
+ /**
16
+ * Returns true if the given object is an instance of SpectrumApplication. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is SpectrumApplication;
20
+ /**
21
+ * Enables Argo Smart Routing.
22
+ */
23
+ readonly argoSmartRouting: pulumi.Output<boolean>;
24
+ /**
25
+ * The name and type of DNS record for the Spectrum application.
26
+ */
27
+ readonly dns: pulumi.Output<outputs.SpectrumApplicationDns>;
28
+ /**
29
+ * The anycast edge IP configuration for the hostname of this application.
30
+ */
31
+ readonly edgeIps: pulumi.Output<outputs.SpectrumApplicationEdgeIps | undefined>;
32
+ /**
33
+ * Enables the IP Firewall for this application.
34
+ */
35
+ readonly ipFirewall: pulumi.Output<boolean>;
36
+ /**
37
+ * A list of destination addresses to the origin. e.g. `tcp://192.0.2.1:22`.
38
+ */
39
+ readonly originDirects: pulumi.Output<string[] | undefined>;
40
+ /**
41
+ * A destination DNS addresses to the origin.
42
+ */
43
+ readonly originDns: pulumi.Output<outputs.SpectrumApplicationOriginDns | undefined>;
44
+ /**
45
+ * Origin port to proxy traffice to. Conflicts with `origin_port_range`.
46
+ */
47
+ readonly originPort: pulumi.Output<number | undefined>;
48
+ /**
49
+ * Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
50
+ * `tcp/22-23`. Conflicts with `origin_port`.
51
+ */
52
+ readonly originPortRange: pulumi.Output<outputs.SpectrumApplicationOriginPortRange | undefined>;
53
+ /**
54
+ * The port configuration at Cloudflare's edge. e.g. `tcp/22`.
55
+ */
56
+ readonly protocol: pulumi.Output<string>;
57
+ /**
58
+ * Enables a proxy protocol to the origin. Available values: `off`, `v1`, `v2`, `simple`.
59
+ */
60
+ readonly proxyProtocol: pulumi.Output<string>;
61
+ readonly spectrumApplicationId: pulumi.Output<string>;
62
+ /**
63
+ * TLS configuration option for Cloudflare to connect to your origin. Available values: `off`, `flexible`, `full`,
64
+ * `strict`.
65
+ */
66
+ readonly tls: pulumi.Output<string>;
67
+ /**
68
+ * Sets application type. Available values: `direct`, `http`, `https`.
69
+ */
70
+ readonly trafficType: pulumi.Output<string>;
71
+ /**
72
+ * The zone identifier to target for the resource.
73
+ */
74
+ readonly zoneId: pulumi.Output<string>;
75
+ /**
76
+ * Create a SpectrumApplication resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name: string, args: SpectrumApplicationArgs, opts?: pulumi.CustomResourceOptions);
83
+ }
84
+ /**
85
+ * Input properties used for looking up and filtering SpectrumApplication resources.
86
+ */
87
+ export interface SpectrumApplicationState {
88
+ /**
89
+ * Enables Argo Smart Routing.
90
+ */
91
+ argoSmartRouting?: pulumi.Input<boolean>;
92
+ /**
93
+ * The name and type of DNS record for the Spectrum application.
94
+ */
95
+ dns?: pulumi.Input<inputs.SpectrumApplicationDns>;
96
+ /**
97
+ * The anycast edge IP configuration for the hostname of this application.
98
+ */
99
+ edgeIps?: pulumi.Input<inputs.SpectrumApplicationEdgeIps>;
100
+ /**
101
+ * Enables the IP Firewall for this application.
102
+ */
103
+ ipFirewall?: pulumi.Input<boolean>;
104
+ /**
105
+ * A list of destination addresses to the origin. e.g. `tcp://192.0.2.1:22`.
106
+ */
107
+ originDirects?: pulumi.Input<pulumi.Input<string>[]>;
108
+ /**
109
+ * A destination DNS addresses to the origin.
110
+ */
111
+ originDns?: pulumi.Input<inputs.SpectrumApplicationOriginDns>;
112
+ /**
113
+ * Origin port to proxy traffice to. Conflicts with `origin_port_range`.
114
+ */
115
+ originPort?: pulumi.Input<number>;
116
+ /**
117
+ * Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
118
+ * `tcp/22-23`. Conflicts with `origin_port`.
119
+ */
120
+ originPortRange?: pulumi.Input<inputs.SpectrumApplicationOriginPortRange>;
121
+ /**
122
+ * The port configuration at Cloudflare's edge. e.g. `tcp/22`.
123
+ */
124
+ protocol?: pulumi.Input<string>;
125
+ /**
126
+ * Enables a proxy protocol to the origin. Available values: `off`, `v1`, `v2`, `simple`.
127
+ */
128
+ proxyProtocol?: pulumi.Input<string>;
129
+ spectrumApplicationId?: pulumi.Input<string>;
130
+ /**
131
+ * TLS configuration option for Cloudflare to connect to your origin. Available values: `off`, `flexible`, `full`,
132
+ * `strict`.
133
+ */
134
+ tls?: pulumi.Input<string>;
135
+ /**
136
+ * Sets application type. Available values: `direct`, `http`, `https`.
137
+ */
138
+ trafficType?: pulumi.Input<string>;
139
+ /**
140
+ * The zone identifier to target for the resource.
141
+ */
142
+ zoneId?: pulumi.Input<string>;
143
+ }
144
+ /**
145
+ * The set of arguments for constructing a SpectrumApplication resource.
146
+ */
147
+ export interface SpectrumApplicationArgs {
148
+ /**
149
+ * Enables Argo Smart Routing.
150
+ */
151
+ argoSmartRouting?: pulumi.Input<boolean>;
152
+ /**
153
+ * The name and type of DNS record for the Spectrum application.
154
+ */
155
+ dns: pulumi.Input<inputs.SpectrumApplicationDns>;
156
+ /**
157
+ * The anycast edge IP configuration for the hostname of this application.
158
+ */
159
+ edgeIps?: pulumi.Input<inputs.SpectrumApplicationEdgeIps>;
160
+ /**
161
+ * Enables the IP Firewall for this application.
162
+ */
163
+ ipFirewall?: pulumi.Input<boolean>;
164
+ /**
165
+ * A list of destination addresses to the origin. e.g. `tcp://192.0.2.1:22`.
166
+ */
167
+ originDirects?: pulumi.Input<pulumi.Input<string>[]>;
168
+ /**
169
+ * A destination DNS addresses to the origin.
170
+ */
171
+ originDns?: pulumi.Input<inputs.SpectrumApplicationOriginDns>;
172
+ /**
173
+ * Origin port to proxy traffice to. Conflicts with `origin_port_range`.
174
+ */
175
+ originPort?: pulumi.Input<number>;
176
+ /**
177
+ * Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g.
178
+ * `tcp/22-23`. Conflicts with `origin_port`.
179
+ */
180
+ originPortRange?: pulumi.Input<inputs.SpectrumApplicationOriginPortRange>;
181
+ /**
182
+ * The port configuration at Cloudflare's edge. e.g. `tcp/22`.
183
+ */
184
+ protocol: pulumi.Input<string>;
185
+ /**
186
+ * Enables a proxy protocol to the origin. Available values: `off`, `v1`, `v2`, `simple`.
187
+ */
188
+ proxyProtocol?: pulumi.Input<string>;
189
+ spectrumApplicationId?: pulumi.Input<string>;
190
+ /**
191
+ * TLS configuration option for Cloudflare to connect to your origin. Available values: `off`, `flexible`, `full`,
192
+ * `strict`.
193
+ */
194
+ tls?: pulumi.Input<string>;
195
+ /**
196
+ * Sets application type. Available values: `direct`, `http`, `https`.
197
+ */
198
+ trafficType?: pulumi.Input<string>;
199
+ /**
200
+ * The zone identifier to target for the resource.
201
+ */
202
+ zoneId: pulumi.Input<string>;
203
+ }
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.SpectrumApplication = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class SpectrumApplication extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing SpectrumApplication resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new SpectrumApplication(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of SpectrumApplication. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === SpectrumApplication.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["argoSmartRouting"] = state ? state.argoSmartRouting : undefined;
37
+ resourceInputs["dns"] = state ? state.dns : undefined;
38
+ resourceInputs["edgeIps"] = state ? state.edgeIps : undefined;
39
+ resourceInputs["ipFirewall"] = state ? state.ipFirewall : undefined;
40
+ resourceInputs["originDirects"] = state ? state.originDirects : undefined;
41
+ resourceInputs["originDns"] = state ? state.originDns : undefined;
42
+ resourceInputs["originPort"] = state ? state.originPort : undefined;
43
+ resourceInputs["originPortRange"] = state ? state.originPortRange : undefined;
44
+ resourceInputs["protocol"] = state ? state.protocol : undefined;
45
+ resourceInputs["proxyProtocol"] = state ? state.proxyProtocol : undefined;
46
+ resourceInputs["spectrumApplicationId"] = state ? state.spectrumApplicationId : undefined;
47
+ resourceInputs["tls"] = state ? state.tls : undefined;
48
+ resourceInputs["trafficType"] = state ? state.trafficType : undefined;
49
+ resourceInputs["zoneId"] = state ? state.zoneId : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if ((!args || args.dns === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'dns'");
55
+ }
56
+ if ((!args || args.protocol === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'protocol'");
58
+ }
59
+ if ((!args || args.zoneId === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'zoneId'");
61
+ }
62
+ resourceInputs["argoSmartRouting"] = args ? args.argoSmartRouting : undefined;
63
+ resourceInputs["dns"] = args ? args.dns : undefined;
64
+ resourceInputs["edgeIps"] = args ? args.edgeIps : undefined;
65
+ resourceInputs["ipFirewall"] = args ? args.ipFirewall : undefined;
66
+ resourceInputs["originDirects"] = args ? args.originDirects : undefined;
67
+ resourceInputs["originDns"] = args ? args.originDns : undefined;
68
+ resourceInputs["originPort"] = args ? args.originPort : undefined;
69
+ resourceInputs["originPortRange"] = args ? args.originPortRange : undefined;
70
+ resourceInputs["protocol"] = args ? args.protocol : undefined;
71
+ resourceInputs["proxyProtocol"] = args ? args.proxyProtocol : undefined;
72
+ resourceInputs["spectrumApplicationId"] = args ? args.spectrumApplicationId : undefined;
73
+ resourceInputs["tls"] = args ? args.tls : undefined;
74
+ resourceInputs["trafficType"] = args ? args.trafficType : undefined;
75
+ resourceInputs["zoneId"] = args ? args.zoneId : undefined;
76
+ }
77
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
78
+ super(SpectrumApplication.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
79
+ }
80
+ }
81
+ exports.SpectrumApplication = SpectrumApplication;
82
+ /** @internal */
83
+ SpectrumApplication.__pulumiType = 'cloudflare:index/spectrumApplication:SpectrumApplication';
84
+ //# sourceMappingURL=spectrumApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrumApplication.js","sourceRoot":"","sources":["../spectrumApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK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