@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,71 @@
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.WorkerDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class WorkerDomain extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing WorkerDomain 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 WorkerDomain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of WorkerDomain. 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'] === WorkerDomain.__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["environment"] = state ? state.environment : undefined;
38
+ resourceInputs["hostname"] = state ? state.hostname : undefined;
39
+ resourceInputs["service"] = state ? state.service : undefined;
40
+ resourceInputs["workerDomainId"] = state ? state.workerDomainId : undefined;
41
+ resourceInputs["zoneId"] = state ? state.zoneId : undefined;
42
+ }
43
+ else {
44
+ const args = argsOrState;
45
+ if ((!args || args.accountId === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'accountId'");
47
+ }
48
+ if ((!args || args.hostname === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'hostname'");
50
+ }
51
+ if ((!args || args.service === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'service'");
53
+ }
54
+ if ((!args || args.zoneId === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'zoneId'");
56
+ }
57
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
58
+ resourceInputs["environment"] = args ? args.environment : undefined;
59
+ resourceInputs["hostname"] = args ? args.hostname : undefined;
60
+ resourceInputs["service"] = args ? args.service : undefined;
61
+ resourceInputs["workerDomainId"] = args ? args.workerDomainId : undefined;
62
+ resourceInputs["zoneId"] = args ? args.zoneId : undefined;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ super(WorkerDomain.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
66
+ }
67
+ }
68
+ exports.WorkerDomain = WorkerDomain;
69
+ /** @internal */
70
+ WorkerDomain.__pulumiType = 'cloudflare:index/workerDomain:WorkerDomain';
71
+ //# sourceMappingURL=workerDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workerDomain.js","sourceRoot":"","sources":["../workerDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC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IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AA5FL,oCA6FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,75 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class WorkerRoute extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing WorkerRoute resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkerRouteState, opts?: pulumi.CustomResourceOptions): WorkerRoute;
13
+ /**
14
+ * Returns true if the given object is an instance of WorkerRoute. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is WorkerRoute;
18
+ /**
19
+ * The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
20
+ */
21
+ readonly pattern: pulumi.Output<string>;
22
+ /**
23
+ * Worker script name to invoke for requests that match the route pattern.
24
+ */
25
+ readonly scriptName: pulumi.Output<string | undefined>;
26
+ readonly workerRouteId: pulumi.Output<string>;
27
+ /**
28
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
29
+ */
30
+ readonly zoneId: pulumi.Output<string>;
31
+ /**
32
+ * Create a WorkerRoute resource with the given unique name, arguments, and options.
33
+ *
34
+ * @param name The _unique_ name of the resource.
35
+ * @param args The arguments to use to populate this resource's properties.
36
+ * @param opts A bag of options that control this resource's behavior.
37
+ */
38
+ constructor(name: string, args: WorkerRouteArgs, opts?: pulumi.CustomResourceOptions);
39
+ }
40
+ /**
41
+ * Input properties used for looking up and filtering WorkerRoute resources.
42
+ */
43
+ export interface WorkerRouteState {
44
+ /**
45
+ * The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
46
+ */
47
+ pattern?: pulumi.Input<string>;
48
+ /**
49
+ * Worker script name to invoke for requests that match the route pattern.
50
+ */
51
+ scriptName?: pulumi.Input<string>;
52
+ workerRouteId?: pulumi.Input<string>;
53
+ /**
54
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
55
+ */
56
+ zoneId?: pulumi.Input<string>;
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a WorkerRoute resource.
60
+ */
61
+ export interface WorkerRouteArgs {
62
+ /**
63
+ * The [route pattern](https://developers.cloudflare.com/workers/about/routes/) to associate the Worker with.
64
+ */
65
+ pattern: pulumi.Input<string>;
66
+ /**
67
+ * Worker script name to invoke for requests that match the route pattern.
68
+ */
69
+ scriptName?: pulumi.Input<string>;
70
+ workerRouteId?: pulumi.Input<string>;
71
+ /**
72
+ * The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
73
+ */
74
+ zoneId: pulumi.Input<string>;
75
+ }
@@ -0,0 +1,61 @@
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.WorkerRoute = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class WorkerRoute extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing WorkerRoute 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 WorkerRoute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of WorkerRoute. 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'] === WorkerRoute.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["pattern"] = state ? state.pattern : undefined;
37
+ resourceInputs["scriptName"] = state ? state.scriptName : undefined;
38
+ resourceInputs["workerRouteId"] = state ? state.workerRouteId : undefined;
39
+ resourceInputs["zoneId"] = state ? state.zoneId : undefined;
40
+ }
41
+ else {
42
+ const args = argsOrState;
43
+ if ((!args || args.pattern === undefined) && !opts.urn) {
44
+ throw new Error("Missing required property 'pattern'");
45
+ }
46
+ if ((!args || args.zoneId === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'zoneId'");
48
+ }
49
+ resourceInputs["pattern"] = args ? args.pattern : undefined;
50
+ resourceInputs["scriptName"] = args ? args.scriptName : undefined;
51
+ resourceInputs["workerRouteId"] = args ? args.workerRouteId : undefined;
52
+ resourceInputs["zoneId"] = args ? args.zoneId : undefined;
53
+ }
54
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
55
+ super(WorkerRoute.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
56
+ }
57
+ }
58
+ exports.WorkerRoute = WorkerRoute;
59
+ /** @internal */
60
+ WorkerRoute.__pulumiType = 'cloudflare:index/workerRoute:WorkerRoute';
61
+ //# sourceMappingURL=workerRoute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workerRoute.js","sourceRoot":"","sources":["../workerRoute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAwBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK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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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9G,CAAC;;AA1EL,kCA2EC;AA7DG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,173 @@
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 WorkerScript extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing WorkerScript 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?: WorkerScriptState, opts?: pulumi.CustomResourceOptions): WorkerScript;
15
+ /**
16
+ * Returns true if the given object is an instance of WorkerScript. 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 WorkerScript;
20
+ /**
21
+ * The account identifier to target for the resource.
22
+ */
23
+ readonly accountId: pulumi.Output<string>;
24
+ readonly analyticsEngineBindings: pulumi.Output<outputs.WorkerScriptAnalyticsEngineBinding[] | undefined>;
25
+ /**
26
+ * The date to use for the compatibility flag.
27
+ */
28
+ readonly compatibilityDate: pulumi.Output<string | undefined>;
29
+ /**
30
+ * Compatibility flags used for Worker Scripts.
31
+ */
32
+ readonly compatibilityFlags: pulumi.Output<string[]>;
33
+ /**
34
+ * The script content.
35
+ */
36
+ readonly content: pulumi.Output<string>;
37
+ readonly d1DatabaseBindings: pulumi.Output<outputs.WorkerScriptD1DatabaseBinding[] | undefined>;
38
+ /**
39
+ * Name of the Workers for Platforms dispatch namespace.
40
+ */
41
+ readonly dispatchNamespace: pulumi.Output<string | undefined>;
42
+ readonly hyperdriveConfigBindings: pulumi.Output<outputs.WorkerScriptHyperdriveConfigBinding[] | undefined>;
43
+ readonly kvNamespaceBindings: pulumi.Output<outputs.WorkerScriptKvNamespaceBinding[] | undefined>;
44
+ /**
45
+ * Enabling allows Worker events to be sent to a defined Logpush destination.
46
+ */
47
+ readonly logpush: pulumi.Output<boolean | undefined>;
48
+ /**
49
+ * Whether to upload Worker as a module.
50
+ */
51
+ readonly module: pulumi.Output<boolean | undefined>;
52
+ /**
53
+ * The name for the script. **Modifying this attribute will force creation of a new resource.**
54
+ */
55
+ readonly name: pulumi.Output<string>;
56
+ readonly placements: pulumi.Output<outputs.WorkerScriptPlacement[] | undefined>;
57
+ readonly plainTextBindings: pulumi.Output<outputs.WorkerScriptPlainTextBinding[] | undefined>;
58
+ readonly queueBindings: pulumi.Output<outputs.WorkerScriptQueueBinding[] | undefined>;
59
+ readonly r2BucketBindings: pulumi.Output<outputs.WorkerScriptR2BucketBinding[] | undefined>;
60
+ readonly secretTextBindings: pulumi.Output<outputs.WorkerScriptSecretTextBinding[] | undefined>;
61
+ readonly serviceBindings: pulumi.Output<outputs.WorkerScriptServiceBinding[] | undefined>;
62
+ readonly tags: pulumi.Output<string[]>;
63
+ readonly webassemblyBindings: pulumi.Output<outputs.WorkerScriptWebassemblyBinding[] | undefined>;
64
+ readonly workerScriptId: pulumi.Output<string>;
65
+ /**
66
+ * Create a WorkerScript resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args: WorkerScriptArgs, opts?: pulumi.CustomResourceOptions);
73
+ }
74
+ /**
75
+ * Input properties used for looking up and filtering WorkerScript resources.
76
+ */
77
+ export interface WorkerScriptState {
78
+ /**
79
+ * The account identifier to target for the resource.
80
+ */
81
+ accountId?: pulumi.Input<string>;
82
+ analyticsEngineBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptAnalyticsEngineBinding>[]>;
83
+ /**
84
+ * The date to use for the compatibility flag.
85
+ */
86
+ compatibilityDate?: pulumi.Input<string>;
87
+ /**
88
+ * Compatibility flags used for Worker Scripts.
89
+ */
90
+ compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
91
+ /**
92
+ * The script content.
93
+ */
94
+ content?: pulumi.Input<string>;
95
+ d1DatabaseBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptD1DatabaseBinding>[]>;
96
+ /**
97
+ * Name of the Workers for Platforms dispatch namespace.
98
+ */
99
+ dispatchNamespace?: pulumi.Input<string>;
100
+ hyperdriveConfigBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptHyperdriveConfigBinding>[]>;
101
+ kvNamespaceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptKvNamespaceBinding>[]>;
102
+ /**
103
+ * Enabling allows Worker events to be sent to a defined Logpush destination.
104
+ */
105
+ logpush?: pulumi.Input<boolean>;
106
+ /**
107
+ * Whether to upload Worker as a module.
108
+ */
109
+ module?: pulumi.Input<boolean>;
110
+ /**
111
+ * The name for the script. **Modifying this attribute will force creation of a new resource.**
112
+ */
113
+ name?: pulumi.Input<string>;
114
+ placements?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlacement>[]>;
115
+ plainTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlainTextBinding>[]>;
116
+ queueBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptQueueBinding>[]>;
117
+ r2BucketBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptR2BucketBinding>[]>;
118
+ secretTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptSecretTextBinding>[]>;
119
+ serviceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptServiceBinding>[]>;
120
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
121
+ webassemblyBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptWebassemblyBinding>[]>;
122
+ workerScriptId?: pulumi.Input<string>;
123
+ }
124
+ /**
125
+ * The set of arguments for constructing a WorkerScript resource.
126
+ */
127
+ export interface WorkerScriptArgs {
128
+ /**
129
+ * The account identifier to target for the resource.
130
+ */
131
+ accountId: pulumi.Input<string>;
132
+ analyticsEngineBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptAnalyticsEngineBinding>[]>;
133
+ /**
134
+ * The date to use for the compatibility flag.
135
+ */
136
+ compatibilityDate?: pulumi.Input<string>;
137
+ /**
138
+ * Compatibility flags used for Worker Scripts.
139
+ */
140
+ compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
141
+ /**
142
+ * The script content.
143
+ */
144
+ content: pulumi.Input<string>;
145
+ d1DatabaseBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptD1DatabaseBinding>[]>;
146
+ /**
147
+ * Name of the Workers for Platforms dispatch namespace.
148
+ */
149
+ dispatchNamespace?: pulumi.Input<string>;
150
+ hyperdriveConfigBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptHyperdriveConfigBinding>[]>;
151
+ kvNamespaceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptKvNamespaceBinding>[]>;
152
+ /**
153
+ * Enabling allows Worker events to be sent to a defined Logpush destination.
154
+ */
155
+ logpush?: pulumi.Input<boolean>;
156
+ /**
157
+ * Whether to upload Worker as a module.
158
+ */
159
+ module?: pulumi.Input<boolean>;
160
+ /**
161
+ * The name for the script. **Modifying this attribute will force creation of a new resource.**
162
+ */
163
+ name?: pulumi.Input<string>;
164
+ placements?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlacement>[]>;
165
+ plainTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlainTextBinding>[]>;
166
+ queueBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptQueueBinding>[]>;
167
+ r2BucketBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptR2BucketBinding>[]>;
168
+ secretTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptSecretTextBinding>[]>;
169
+ serviceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptServiceBinding>[]>;
170
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
171
+ webassemblyBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptWebassemblyBinding>[]>;
172
+ workerScriptId?: pulumi.Input<string>;
173
+ }
@@ -0,0 +1,95 @@
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.WorkerScript = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class WorkerScript extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing WorkerScript 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 WorkerScript(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of WorkerScript. 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'] === WorkerScript.__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["analyticsEngineBindings"] = state ? state.analyticsEngineBindings : undefined;
38
+ resourceInputs["compatibilityDate"] = state ? state.compatibilityDate : undefined;
39
+ resourceInputs["compatibilityFlags"] = state ? state.compatibilityFlags : undefined;
40
+ resourceInputs["content"] = state ? state.content : undefined;
41
+ resourceInputs["d1DatabaseBindings"] = state ? state.d1DatabaseBindings : undefined;
42
+ resourceInputs["dispatchNamespace"] = state ? state.dispatchNamespace : undefined;
43
+ resourceInputs["hyperdriveConfigBindings"] = state ? state.hyperdriveConfigBindings : undefined;
44
+ resourceInputs["kvNamespaceBindings"] = state ? state.kvNamespaceBindings : undefined;
45
+ resourceInputs["logpush"] = state ? state.logpush : undefined;
46
+ resourceInputs["module"] = state ? state.module : undefined;
47
+ resourceInputs["name"] = state ? state.name : undefined;
48
+ resourceInputs["placements"] = state ? state.placements : undefined;
49
+ resourceInputs["plainTextBindings"] = state ? state.plainTextBindings : undefined;
50
+ resourceInputs["queueBindings"] = state ? state.queueBindings : undefined;
51
+ resourceInputs["r2BucketBindings"] = state ? state.r2BucketBindings : undefined;
52
+ resourceInputs["secretTextBindings"] = state ? state.secretTextBindings : undefined;
53
+ resourceInputs["serviceBindings"] = state ? state.serviceBindings : undefined;
54
+ resourceInputs["tags"] = state ? state.tags : undefined;
55
+ resourceInputs["webassemblyBindings"] = state ? state.webassemblyBindings : undefined;
56
+ resourceInputs["workerScriptId"] = state ? state.workerScriptId : undefined;
57
+ }
58
+ else {
59
+ const args = argsOrState;
60
+ if ((!args || args.accountId === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'accountId'");
62
+ }
63
+ if ((!args || args.content === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'content'");
65
+ }
66
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
67
+ resourceInputs["analyticsEngineBindings"] = args ? args.analyticsEngineBindings : undefined;
68
+ resourceInputs["compatibilityDate"] = args ? args.compatibilityDate : undefined;
69
+ resourceInputs["compatibilityFlags"] = args ? args.compatibilityFlags : undefined;
70
+ resourceInputs["content"] = args ? args.content : undefined;
71
+ resourceInputs["d1DatabaseBindings"] = args ? args.d1DatabaseBindings : undefined;
72
+ resourceInputs["dispatchNamespace"] = args ? args.dispatchNamespace : undefined;
73
+ resourceInputs["hyperdriveConfigBindings"] = args ? args.hyperdriveConfigBindings : undefined;
74
+ resourceInputs["kvNamespaceBindings"] = args ? args.kvNamespaceBindings : undefined;
75
+ resourceInputs["logpush"] = args ? args.logpush : undefined;
76
+ resourceInputs["module"] = args ? args.module : undefined;
77
+ resourceInputs["name"] = args ? args.name : undefined;
78
+ resourceInputs["placements"] = args ? args.placements : undefined;
79
+ resourceInputs["plainTextBindings"] = args ? args.plainTextBindings : undefined;
80
+ resourceInputs["queueBindings"] = args ? args.queueBindings : undefined;
81
+ resourceInputs["r2BucketBindings"] = args ? args.r2BucketBindings : undefined;
82
+ resourceInputs["secretTextBindings"] = args ? args.secretTextBindings : undefined;
83
+ resourceInputs["serviceBindings"] = args ? args.serviceBindings : undefined;
84
+ resourceInputs["tags"] = args ? args.tags : undefined;
85
+ resourceInputs["webassemblyBindings"] = args ? args.webassemblyBindings : undefined;
86
+ resourceInputs["workerScriptId"] = args ? args.workerScriptId : undefined;
87
+ }
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
89
+ super(WorkerScript.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
90
+ }
91
+ }
92
+ exports.WorkerScript = WorkerScript;
93
+ /** @internal */
94
+ WorkerScript.__pulumiType = 'cloudflare:index/workerScript:WorkerScript';
95
+ //# sourceMappingURL=workerScript.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAA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cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;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;;AA5IL,oCA6IC;AA/HG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,90 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class WorkerSecret extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing WorkerSecret resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkerSecretState, opts?: pulumi.CustomResourceOptions): WorkerSecret;
13
+ /**
14
+ * Returns true if the given object is an instance of WorkerSecret. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is WorkerSecret;
18
+ /**
19
+ * The account identifier to target for the resource.
20
+ */
21
+ readonly accountId: pulumi.Output<string>;
22
+ /**
23
+ * The name of the Worker secret. **Modifying this attribute will force creation of a new resource.**
24
+ */
25
+ readonly name: pulumi.Output<string>;
26
+ /**
27
+ * The name of the Worker script to associate the secret with. **Modifying this attribute will force creation of a new
28
+ * resource.**
29
+ */
30
+ readonly scriptName: pulumi.Output<string>;
31
+ /**
32
+ * The text of the Worker secret. **Modifying this attribute will force creation of a new resource.**
33
+ */
34
+ readonly secretText: pulumi.Output<string>;
35
+ readonly workerSecretId: pulumi.Output<string>;
36
+ /**
37
+ * Create a WorkerSecret resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args: WorkerSecretArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * Input properties used for looking up and filtering WorkerSecret resources.
47
+ */
48
+ export interface WorkerSecretState {
49
+ /**
50
+ * The account identifier to target for the resource.
51
+ */
52
+ accountId?: pulumi.Input<string>;
53
+ /**
54
+ * The name of the Worker secret. **Modifying this attribute will force creation of a new resource.**
55
+ */
56
+ name?: pulumi.Input<string>;
57
+ /**
58
+ * The name of the Worker script to associate the secret with. **Modifying this attribute will force creation of a new
59
+ * resource.**
60
+ */
61
+ scriptName?: pulumi.Input<string>;
62
+ /**
63
+ * The text of the Worker secret. **Modifying this attribute will force creation of a new resource.**
64
+ */
65
+ secretText?: pulumi.Input<string>;
66
+ workerSecretId?: pulumi.Input<string>;
67
+ }
68
+ /**
69
+ * The set of arguments for constructing a WorkerSecret resource.
70
+ */
71
+ export interface WorkerSecretArgs {
72
+ /**
73
+ * The account identifier to target for the resource.
74
+ */
75
+ accountId: pulumi.Input<string>;
76
+ /**
77
+ * The name of the Worker secret. **Modifying this attribute will force creation of a new resource.**
78
+ */
79
+ name?: pulumi.Input<string>;
80
+ /**
81
+ * The name of the Worker script to associate the secret with. **Modifying this attribute will force creation of a new
82
+ * resource.**
83
+ */
84
+ scriptName: pulumi.Input<string>;
85
+ /**
86
+ * The text of the Worker secret. **Modifying this attribute will force creation of a new resource.**
87
+ */
88
+ secretText: pulumi.Input<string>;
89
+ workerSecretId?: pulumi.Input<string>;
90
+ }