@pulumi/cloudflare 6.2.0-alpha.1746747207 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +1 -8
  2. package/accessApplication.d.ts +18 -6
  3. package/accessApplication.js +2 -0
  4. package/accessApplication.js.map +1 -1
  5. package/accessGroup.d.ts +2 -2
  6. package/accessOrganization.d.ts +2 -2
  7. package/accessPolicy.d.ts +3 -3
  8. package/account.d.ts +1 -1
  9. package/accountDnsSettings.d.ts +4 -4
  10. package/accountDnsSettingsInternalView.d.ts +3 -3
  11. package/accountSubscription.d.ts +1 -1
  12. package/accountToken.d.ts +1 -1
  13. package/apiShield.d.ts +5 -5
  14. package/apiShieldDiscoveryOperation.d.ts +6 -6
  15. package/apiShieldOperation.d.ts +5 -5
  16. package/apiShieldOperationSchemaValidationSettings.d.ts +6 -6
  17. package/apiShieldSchema.d.ts +4 -4
  18. package/apiShieldSchema.js +1 -1
  19. package/apiShieldSchemaValidationSettings.d.ts +3 -3
  20. package/apiToken.d.ts +1 -1
  21. package/authenticatedOriginPulls.d.ts +5 -5
  22. package/authenticatedOriginPullsCertificate.d.ts +5 -5
  23. package/authenticatedOriginPullsSettings.d.ts +3 -3
  24. package/botManagement.d.ts +3 -3
  25. package/certificatePack.d.ts +3 -3
  26. package/cloudConnectorRules.d.ts +23 -37
  27. package/cloudConnectorRules.js +19 -10
  28. package/cloudConnectorRules.js.map +1 -1
  29. package/contentScanningExpression.d.ts +5 -5
  30. package/customHostname.d.ts +3 -3
  31. package/customHostnameFallbackOrigin.d.ts +3 -3
  32. package/customSsl.d.ts +4 -4
  33. package/d1database.d.ts +14 -0
  34. package/d1database.js +2 -0
  35. package/d1database.js.map +1 -1
  36. package/devicePostureRule.d.ts +2 -2
  37. package/dlpCustomProfile.d.ts +12 -12
  38. package/dlpPredefinedProfile.d.ts +11 -11
  39. package/dnsRecord.d.ts +1 -1
  40. package/emailRoutingAddress.d.ts +3 -3
  41. package/emailRoutingCatchAll.d.ts +3 -3
  42. package/emailRoutingDns.d.ts +5 -5
  43. package/emailRoutingRule.d.ts +3 -3
  44. package/emailRoutingSettings.d.ts +3 -3
  45. package/emailSecurityTrustedDomains.d.ts +1 -1
  46. package/filter.d.ts +3 -3
  47. package/firewallRule.d.ts +3 -3
  48. package/getAccessRule.d.ts +4 -4
  49. package/getAccessRules.d.ts +12 -12
  50. package/getAccountDnsSettings.d.ts +3 -3
  51. package/getAccountDnsSettingsInternalView.d.ts +7 -7
  52. package/getAccountDnsSettingsInternalViews.d.ts +3 -3
  53. package/getApiShield.d.ts +3 -3
  54. package/getApiShieldOperation.d.ts +7 -7
  55. package/getApiShieldOperations.d.ts +3 -3
  56. package/getApiShieldSchema.d.ts +3 -3
  57. package/getApiShieldSchemaValidationSettings.d.ts +3 -3
  58. package/getApiShieldSchemas.d.ts +3 -3
  59. package/getAuthenticatedOriginPulls.d.ts +4 -4
  60. package/getAuthenticatedOriginPullsCertificate.d.ts +7 -7
  61. package/getAuthenticatedOriginPullsCertificates.d.ts +3 -3
  62. package/getAuthenticatedOriginPullsSettings.d.ts +3 -3
  63. package/getBotManagement.d.ts +3 -3
  64. package/getBotnetFeedConfigAsn.d.ts +3 -3
  65. package/getCertificatePack.d.ts +6 -6
  66. package/getCertificatePacks.d.ts +3 -3
  67. package/getCloudConnectorRulesList.d.ts +3 -3
  68. package/getContentScanningExpressions.d.ts +3 -3
  69. package/getCustomHostname.d.ts +7 -7
  70. package/getCustomHostnameFallbackOrigin.d.ts +3 -3
  71. package/getCustomHostnames.d.ts +3 -3
  72. package/getCustomSsl.d.ts +7 -7
  73. package/getCustomSsls.d.ts +3 -3
  74. package/getD1Database.d.ts +4 -0
  75. package/getD1Database.js.map +1 -1
  76. package/getDcvDelegation.d.ts +3 -3
  77. package/getEmailRoutingAddress.d.ts +3 -3
  78. package/getEmailRoutingAddresses.d.ts +3 -3
  79. package/getEmailRoutingCatchAll.d.ts +3 -3
  80. package/getEmailRoutingDns.d.ts +4 -4
  81. package/getEmailRoutingRule.d.ts +3 -3
  82. package/getEmailRoutingRules.d.ts +3 -3
  83. package/getEmailRoutingSettings.d.ts +3 -3
  84. package/getFilter.d.ts +3 -3
  85. package/getFilters.d.ts +3 -3
  86. package/getFirewallRule.d.ts +3 -3
  87. package/getFirewallRules.d.ts +3 -3
  88. package/getHostnameTlsSetting.d.ts +3 -3
  89. package/getHyperdriveConfig.d.ts +1 -0
  90. package/getHyperdriveConfig.js.map +1 -1
  91. package/getKeylessCertificate.d.ts +7 -7
  92. package/getKeylessCertificates.d.ts +3 -3
  93. package/getLeakedCredentialCheck.d.ts +4 -4
  94. package/getLeakedCredentialCheckRules.d.ts +3 -3
  95. package/getList.d.ts +6 -6
  96. package/getListItem.d.ts +13 -13
  97. package/getListItem.js +4 -4
  98. package/getListItem.js.map +1 -1
  99. package/getLoadBalancer.d.ts +0 -37
  100. package/getLoadBalancer.js +0 -8
  101. package/getLoadBalancer.js.map +1 -1
  102. package/getLogpushDatasetField.d.ts +7 -4
  103. package/getLogpushDatasetField.js +2 -0
  104. package/getLogpushDatasetField.js.map +1 -1
  105. package/getLogpushDatasetJob.d.ts +8 -4
  106. package/getLogpushDatasetJob.js +2 -0
  107. package/getLogpushDatasetJob.js.map +1 -1
  108. package/getLogpushJob.d.ts +1 -0
  109. package/getLogpushJob.js.map +1 -1
  110. package/getMtlsCertificate.d.ts +7 -7
  111. package/getMtlsCertificates.d.ts +3 -3
  112. package/getNotificationPolicy.d.ts +1 -1
  113. package/getOriginCaCertificate.d.ts +4 -4
  114. package/getOriginCaCertificates.d.ts +31 -3
  115. package/getOriginCaCertificates.js +8 -0
  116. package/getOriginCaCertificates.js.map +1 -1
  117. package/getPageRule.d.ts +7 -7
  118. package/getR2Bucket.d.ts +9 -9
  119. package/getR2BucketCors.d.ts +6 -6
  120. package/getR2BucketEventNotification.d.ts +6 -6
  121. package/getR2BucketLifecycle.d.ts +6 -6
  122. package/getR2BucketLock.d.ts +6 -6
  123. package/getR2BucketSippy.d.ts +9 -9
  124. package/getR2CustomDomain.d.ts +12 -12
  125. package/getRateLimit.d.ts +7 -7
  126. package/getRateLimits.d.ts +3 -3
  127. package/getRegionalHostname.d.ts +7 -3
  128. package/getRegionalHostname.js.map +1 -1
  129. package/getRegionalHostnames.d.ts +3 -3
  130. package/getTotalTls.d.ts +3 -3
  131. package/getUserAgentBlockingRule.d.ts +3 -3
  132. package/getUserAgentBlockingRules.d.ts +3 -3
  133. package/getWeb3Hostname.d.ts +12 -12
  134. package/getWeb3Hostnames.d.ts +3 -3
  135. package/getWebAnalyticsSite.d.ts +7 -7
  136. package/getWebAnalyticsSites.d.ts +3 -3
  137. package/getWorkersRoute.d.ts +7 -4
  138. package/getWorkersRoute.js.map +1 -1
  139. package/getZeroTrustAccessApplication.d.ts +4 -0
  140. package/getZeroTrustAccessApplication.js.map +1 -1
  141. package/getZeroTrustDeviceCustomProfile.d.ts +1 -1
  142. package/getZeroTrustDeviceDefaultProfileCertificates.d.ts +1 -0
  143. package/getZeroTrustDeviceDefaultProfileCertificates.js.map +1 -1
  144. package/getZeroTrustDlpCustomProfile.d.ts +6 -6
  145. package/getZeroTrustDlpDataset.d.ts +2 -1
  146. package/getZeroTrustDlpDataset.js.map +1 -1
  147. package/getZeroTrustDlpEntry.d.ts +6 -0
  148. package/getZeroTrustDlpEntry.js.map +1 -1
  149. package/getZeroTrustDlpPredefinedProfile.d.ts +6 -6
  150. package/getZeroTrustRiskScoringIntegration.d.ts +2 -2
  151. package/getZoneDnsSettings.d.ts +3 -3
  152. package/getZoneHold.d.ts +3 -3
  153. package/getZoneLockdown.d.ts +3 -3
  154. package/getZoneLockdowns.d.ts +3 -3
  155. package/hostnameTlsSetting.d.ts +3 -3
  156. package/hyperdriveConfig.d.ts +4 -22
  157. package/hyperdriveConfig.js +2 -21
  158. package/hyperdriveConfig.js.map +1 -1
  159. package/index.d.ts +0 -36
  160. package/index.js +17 -61
  161. package/index.js.map +1 -1
  162. package/keylessCertificate.d.ts +4 -4
  163. package/leakedCredentialCheck.d.ts +6 -6
  164. package/leakedCredentialCheckRule.d.ts +9 -9
  165. package/list.d.ts +3 -3
  166. package/listItem.d.ts +5 -5
  167. package/listItem.js +3 -0
  168. package/listItem.js.map +1 -1
  169. package/loadBalancer.d.ts +2 -2
  170. package/loadBalancerPool.d.ts +2 -2
  171. package/logpushJob.d.ts +4 -1
  172. package/logpushJob.js.map +1 -1
  173. package/magicNetworkMonitoringConfiguration.d.ts +1 -1
  174. package/magicTransitSite.d.ts +1 -1
  175. package/magicTransitSiteLan.d.ts +3 -3
  176. package/magicTransitSiteWan.d.ts +1 -1
  177. package/magicWanGreTunnel.d.ts +49 -23
  178. package/magicWanGreTunnel.js +41 -5
  179. package/magicWanGreTunnel.js.map +1 -1
  180. package/magicWanIpsecTunnel.d.ts +38 -14
  181. package/magicWanIpsecTunnel.js +14 -4
  182. package/magicWanIpsecTunnel.js.map +1 -1
  183. package/magicWanStaticRoute.d.ts +26 -26
  184. package/magicWanStaticRoute.js +16 -8
  185. package/magicWanStaticRoute.js.map +1 -1
  186. package/mtlsCertificate.d.ts +3 -3
  187. package/notificationPolicy.d.ts +4 -4
  188. package/package.json +2 -2
  189. package/pageRule.d.ts +3 -3
  190. package/pagesProject.d.ts +4 -3
  191. package/pagesProject.js +1 -1
  192. package/pagesProject.js.map +1 -1
  193. package/queueConsumer.d.ts +1 -1
  194. package/r2bucket.d.ts +11 -11
  195. package/r2bucketCors.d.ts +7 -7
  196. package/r2bucketEventNotification.d.ts +13 -13
  197. package/r2bucketLifecycle.d.ts +7 -7
  198. package/r2bucketLock.d.ts +7 -7
  199. package/r2bucketSippy.d.ts +16 -16
  200. package/r2customDomain.d.ts +14 -14
  201. package/r2managedDomain.d.ts +13 -13
  202. package/rateLimit.d.ts +3 -3
  203. package/record.d.ts +1 -1
  204. package/regionalHostname.d.ts +16 -3
  205. package/regionalHostname.js +3 -0
  206. package/regionalHostname.js.map +1 -1
  207. package/snippetRules.d.ts +1 -1
  208. package/snippets.d.ts +1 -1
  209. package/spectrumApplication.d.ts +1 -1
  210. package/staticRoute.d.ts +26 -26
  211. package/staticRoute.js +16 -8
  212. package/staticRoute.js.map +1 -1
  213. package/teamsLocation.d.ts +4 -4
  214. package/teamsRule.d.ts +6 -6
  215. package/totalTls.d.ts +3 -3
  216. package/types/input.d.ts +300 -174
  217. package/types/output.d.ts +1023 -959
  218. package/userAgentBlockingRule.d.ts +3 -3
  219. package/web3Hostname.d.ts +17 -17
  220. package/webAnalyticsRule.d.ts +3 -3
  221. package/webAnalyticsSite.d.ts +3 -3
  222. package/workerScript.d.ts +5 -5
  223. package/workersDeployment.d.ts +1 -1
  224. package/workersRoute.d.ts +19 -30
  225. package/workersRoute.js +11 -10
  226. package/workersRoute.js.map +1 -1
  227. package/workersScript.d.ts +5 -5
  228. package/zeroTrustAccessApplication.d.ts +18 -6
  229. package/zeroTrustAccessApplication.js +2 -0
  230. package/zeroTrustAccessApplication.js.map +1 -1
  231. package/zeroTrustAccessGroup.d.ts +2 -2
  232. package/zeroTrustAccessPolicy.d.ts +3 -3
  233. package/zeroTrustDeviceCustomProfile.d.ts +6 -6
  234. package/zeroTrustDeviceDefaultProfile.d.ts +29 -3
  235. package/zeroTrustDeviceDefaultProfile.js +6 -0
  236. package/zeroTrustDeviceDefaultProfile.js.map +1 -1
  237. package/zeroTrustDevicePostureRule.d.ts +2 -2
  238. package/zeroTrustDlpCustomProfile.d.ts +12 -12
  239. package/zeroTrustDlpDataset.d.ts +22 -3
  240. package/zeroTrustDlpDataset.js +3 -0
  241. package/zeroTrustDlpDataset.js.map +1 -1
  242. package/zeroTrustDlpEntry.d.ts +12 -0
  243. package/zeroTrustDlpEntry.js +2 -0
  244. package/zeroTrustDlpEntry.js.map +1 -1
  245. package/zeroTrustDlpPredefinedProfile.d.ts +11 -11
  246. package/zeroTrustDnsLocation.d.ts +4 -4
  247. package/zeroTrustGatewayCertificate.d.ts +0 -9
  248. package/zeroTrustGatewayCertificate.js.map +1 -1
  249. package/zeroTrustGatewayLogging.d.ts +1 -1
  250. package/zeroTrustGatewayPolicy.d.ts +6 -6
  251. package/zeroTrustOrganization.d.ts +2 -2
  252. package/zeroTrustRiskScoringIntegration.d.ts +5 -5
  253. package/zoneDnsSettings.d.ts +6 -6
  254. package/zoneHold.d.ts +3 -3
  255. package/zoneLockdown.d.ts +3 -3
  256. package/zoneSubscription.d.ts +1 -1
  257. package/deviceDexTest.d.ts +0 -160
  258. package/deviceDexTest.js +0 -120
  259. package/deviceDexTest.js.map +0 -1
  260. package/getListItems.d.ts +0 -103
  261. package/getListItems.js +0 -56
  262. package/getListItems.js.map +0 -1
  263. package/getLists.d.ts +0 -75
  264. package/getLists.js +0 -48
  265. package/getLists.js.map +0 -1
  266. package/getWorkersForPlatformsScriptSecret.d.ts +0 -109
  267. package/getWorkersForPlatformsScriptSecret.js +0 -58
  268. package/getWorkersForPlatformsScriptSecret.js.map +0 -1
  269. package/getWorkersForPlatformsScriptSecrets.d.ts +0 -103
  270. package/getWorkersForPlatformsScriptSecrets.js +0 -56
  271. package/getWorkersForPlatformsScriptSecrets.js.map +0 -1
  272. package/getWorkersSecret.d.ts +0 -111
  273. package/getWorkersSecret.js +0 -62
  274. package/getWorkersSecret.js.map +0 -1
  275. package/getWorkersSecrets.d.ts +0 -105
  276. package/getWorkersSecrets.js +0 -60
  277. package/getWorkersSecrets.js.map +0 -1
  278. package/getZeroTrustDexTest.d.ts +0 -93
  279. package/getZeroTrustDexTest.js +0 -50
  280. package/getZeroTrustDexTest.js.map +0 -1
  281. package/getZeroTrustDexTests.d.ts +0 -66
  282. package/getZeroTrustDexTests.js +0 -48
  283. package/getZeroTrustDexTests.js.map +0 -1
  284. package/workersForPlatformsScriptSecret.d.ts +0 -134
  285. package/workersForPlatformsScriptSecret.js +0 -98
  286. package/workersForPlatformsScriptSecret.js.map +0 -1
  287. package/workersSecret.d.ts +0 -137
  288. package/workersSecret.js +0 -103
  289. package/workersSecret.js.map +0 -1
  290. package/zeroTrustDexTest.d.ts +0 -157
  291. package/zeroTrustDexTest.js +0 -115
  292. package/zeroTrustDexTest.js.map +0 -1
@@ -1,105 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * ## Example Usage
5
- *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as cloudflare from "@pulumi/cloudflare";
9
- *
10
- * const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
11
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
12
- * dispatchNamespace: "my-dispatch-namespace",
13
- * scriptName: "this-is_my_script-01",
14
- * });
15
- * ```
16
- */
17
- /** @deprecated cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets */
18
- export declare function getWorkersSecrets(args: GetWorkersSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkersSecretsResult>;
19
- /**
20
- * A collection of arguments for invoking getWorkersSecrets.
21
- */
22
- export interface GetWorkersSecretsArgs {
23
- /**
24
- * Identifier.
25
- */
26
- accountId: string;
27
- /**
28
- * Name of the Workers for Platforms dispatch namespace.
29
- */
30
- dispatchNamespace: string;
31
- /**
32
- * Max items to fetch, default: 1000
33
- */
34
- maxItems?: number;
35
- /**
36
- * Name of the script, used in URLs and route configuration.
37
- */
38
- scriptName: string;
39
- }
40
- /**
41
- * A collection of values returned by getWorkersSecrets.
42
- */
43
- export interface GetWorkersSecretsResult {
44
- /**
45
- * Identifier.
46
- */
47
- readonly accountId: string;
48
- /**
49
- * Name of the Workers for Platforms dispatch namespace.
50
- */
51
- readonly dispatchNamespace: string;
52
- /**
53
- * The provider-assigned unique ID for this managed resource.
54
- */
55
- readonly id: string;
56
- /**
57
- * Max items to fetch, default: 1000
58
- */
59
- readonly maxItems?: number;
60
- /**
61
- * The items returned by the data source
62
- */
63
- readonly results: outputs.GetWorkersSecretsResult[];
64
- /**
65
- * Name of the script, used in URLs and route configuration.
66
- */
67
- readonly scriptName: string;
68
- }
69
- /**
70
- * ## Example Usage
71
- *
72
- * ```typescript
73
- * import * as pulumi from "@pulumi/pulumi";
74
- * import * as cloudflare from "@pulumi/cloudflare";
75
- *
76
- * const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
77
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
78
- * dispatchNamespace: "my-dispatch-namespace",
79
- * scriptName: "this-is_my_script-01",
80
- * });
81
- * ```
82
- */
83
- /** @deprecated cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets */
84
- export declare function getWorkersSecretsOutput(args: GetWorkersSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkersSecretsResult>;
85
- /**
86
- * A collection of arguments for invoking getWorkersSecrets.
87
- */
88
- export interface GetWorkersSecretsOutputArgs {
89
- /**
90
- * Identifier.
91
- */
92
- accountId: pulumi.Input<string>;
93
- /**
94
- * Name of the Workers for Platforms dispatch namespace.
95
- */
96
- dispatchNamespace: pulumi.Input<string>;
97
- /**
98
- * Max items to fetch, default: 1000
99
- */
100
- maxItems?: pulumi.Input<number>;
101
- /**
102
- * Name of the script, used in URLs and route configuration.
103
- */
104
- scriptName: pulumi.Input<string>;
105
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getWorkersSecretsOutput = exports.getWorkersSecrets = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as cloudflare from "@pulumi/cloudflare";
14
- *
15
- * const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
16
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
17
- * dispatchNamespace: "my-dispatch-namespace",
18
- * scriptName: "this-is_my_script-01",
19
- * });
20
- * ```
21
- */
22
- /** @deprecated cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets */
23
- function getWorkersSecrets(args, opts) {
24
- pulumi.log.warn("getWorkersSecrets is deprecated: cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets");
25
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
- return pulumi.runtime.invoke("cloudflare:index/getWorkersSecrets:getWorkersSecrets", {
27
- "accountId": args.accountId,
28
- "dispatchNamespace": args.dispatchNamespace,
29
- "maxItems": args.maxItems,
30
- "scriptName": args.scriptName,
31
- }, opts);
32
- }
33
- exports.getWorkersSecrets = getWorkersSecrets;
34
- /**
35
- * ## Example Usage
36
- *
37
- * ```typescript
38
- * import * as pulumi from "@pulumi/pulumi";
39
- * import * as cloudflare from "@pulumi/cloudflare";
40
- *
41
- * const exampleWorkersForPlatformsScriptSecrets = cloudflare.getWorkersForPlatformsScriptSecrets({
42
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
43
- * dispatchNamespace: "my-dispatch-namespace",
44
- * scriptName: "this-is_my_script-01",
45
- * });
46
- * ```
47
- */
48
- /** @deprecated cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets */
49
- function getWorkersSecretsOutput(args, opts) {
50
- pulumi.log.warn("getWorkersSecrets is deprecated: cloudflare.getWorkersSecrets has been deprecated in favor of cloudflare.getWorkersForPlatformsScriptSecrets");
51
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
52
- return pulumi.runtime.invokeOutput("cloudflare:index/getWorkersSecrets:getWorkersSecrets", {
53
- "accountId": args.accountId,
54
- "dispatchNamespace": args.dispatchNamespace,
55
- "maxItems": args.maxItems,
56
- "scriptName": args.scriptName,
57
- }, opts);
58
- }
59
- exports.getWorkersSecretsOutput = getWorkersSecretsOutput;
60
- //# sourceMappingURL=getWorkersSecrets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getWorkersSecrets.js","sourceRoot":"","sources":["../getWorkersSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,8HAA8H;AAC9H,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8IAA8I,CAAC,CAAA;IAC/J,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8CASC;AAqDD;;;;;;;;;;;;;GAaG;AACH,8HAA8H;AAC9H,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8IAA8I,CAAC,CAAA;IAC/J,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0DASC"}
@@ -1,93 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * ## Example Usage
5
- *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as cloudflare from "@pulumi/cloudflare";
9
- *
10
- * const exampleZeroTrustDexTest = cloudflare.getZeroTrustDexTest({
11
- * accountId: "699d98642c564d2e855e9661899b7252",
12
- * dexTestId: "372e67954025e0ba6aaa6d586b9e0b59",
13
- * });
14
- * ```
15
- */
16
- export declare function getZeroTrustDexTest(args: GetZeroTrustDexTestArgs, opts?: pulumi.InvokeOptions): Promise<GetZeroTrustDexTestResult>;
17
- /**
18
- * A collection of arguments for invoking getZeroTrustDexTest.
19
- */
20
- export interface GetZeroTrustDexTestArgs {
21
- accountId: string;
22
- /**
23
- * The unique identifier for the test.
24
- */
25
- dexTestId?: string;
26
- }
27
- /**
28
- * A collection of values returned by getZeroTrustDexTest.
29
- */
30
- export interface GetZeroTrustDexTestResult {
31
- readonly accountId: string;
32
- /**
33
- * The configuration object which contains the details for the WARP client to conduct the test.
34
- */
35
- readonly data: outputs.GetZeroTrustDexTestData;
36
- /**
37
- * Additional details about the test.
38
- */
39
- readonly description: string;
40
- /**
41
- * The unique identifier for the test.
42
- */
43
- readonly dexTestId?: string;
44
- /**
45
- * Determines whether or not the test is active.
46
- */
47
- readonly enabled: boolean;
48
- /**
49
- * The unique identifier for the test.
50
- */
51
- readonly id: string;
52
- /**
53
- * How often the test will run.
54
- */
55
- readonly interval: string;
56
- /**
57
- * The name of the DEX test. Must be unique.
58
- */
59
- readonly name: string;
60
- /**
61
- * Device settings profiles targeted by this test
62
- */
63
- readonly targetPolicies: outputs.GetZeroTrustDexTestTargetPolicy[];
64
- readonly targeted: boolean;
65
- /**
66
- * The unique identifier for the test.
67
- */
68
- readonly testId: string;
69
- }
70
- /**
71
- * ## Example Usage
72
- *
73
- * ```typescript
74
- * import * as pulumi from "@pulumi/pulumi";
75
- * import * as cloudflare from "@pulumi/cloudflare";
76
- *
77
- * const exampleZeroTrustDexTest = cloudflare.getZeroTrustDexTest({
78
- * accountId: "699d98642c564d2e855e9661899b7252",
79
- * dexTestId: "372e67954025e0ba6aaa6d586b9e0b59",
80
- * });
81
- * ```
82
- */
83
- export declare function getZeroTrustDexTestOutput(args: GetZeroTrustDexTestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZeroTrustDexTestResult>;
84
- /**
85
- * A collection of arguments for invoking getZeroTrustDexTest.
86
- */
87
- export interface GetZeroTrustDexTestOutputArgs {
88
- accountId: pulumi.Input<string>;
89
- /**
90
- * The unique identifier for the test.
91
- */
92
- dexTestId?: pulumi.Input<string>;
93
- }
@@ -1,50 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getZeroTrustDexTestOutput = exports.getZeroTrustDexTest = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as cloudflare from "@pulumi/cloudflare";
14
- *
15
- * const exampleZeroTrustDexTest = cloudflare.getZeroTrustDexTest({
16
- * accountId: "699d98642c564d2e855e9661899b7252",
17
- * dexTestId: "372e67954025e0ba6aaa6d586b9e0b59",
18
- * });
19
- * ```
20
- */
21
- function getZeroTrustDexTest(args, opts) {
22
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
- return pulumi.runtime.invoke("cloudflare:index/getZeroTrustDexTest:getZeroTrustDexTest", {
24
- "accountId": args.accountId,
25
- "dexTestId": args.dexTestId,
26
- }, opts);
27
- }
28
- exports.getZeroTrustDexTest = getZeroTrustDexTest;
29
- /**
30
- * ## Example Usage
31
- *
32
- * ```typescript
33
- * import * as pulumi from "@pulumi/pulumi";
34
- * import * as cloudflare from "@pulumi/cloudflare";
35
- *
36
- * const exampleZeroTrustDexTest = cloudflare.getZeroTrustDexTest({
37
- * accountId: "699d98642c564d2e855e9661899b7252",
38
- * dexTestId: "372e67954025e0ba6aaa6d586b9e0b59",
39
- * });
40
- * ```
41
- */
42
- function getZeroTrustDexTestOutput(args, opts) {
43
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
- return pulumi.runtime.invokeOutput("cloudflare:index/getZeroTrustDexTest:getZeroTrustDexTest", {
45
- "accountId": args.accountId,
46
- "dexTestId": args.dexTestId,
47
- }, opts);
48
- }
49
- exports.getZeroTrustDexTestOutput = getZeroTrustDexTestOutput;
50
- //# sourceMappingURL=getZeroTrustDexTest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getZeroTrustDexTest.js","sourceRoot":"","sources":["../getZeroTrustDexTest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAwDD;;;;;;;;;;;;GAYG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -1,66 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * ## Example Usage
5
- *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as cloudflare from "@pulumi/cloudflare";
9
- *
10
- * const exampleZeroTrustDexTests = cloudflare.getZeroTrustDexTests({
11
- * accountId: "699d98642c564d2e855e9661899b7252",
12
- * });
13
- * ```
14
- */
15
- export declare function getZeroTrustDexTests(args: GetZeroTrustDexTestsArgs, opts?: pulumi.InvokeOptions): Promise<GetZeroTrustDexTestsResult>;
16
- /**
17
- * A collection of arguments for invoking getZeroTrustDexTests.
18
- */
19
- export interface GetZeroTrustDexTestsArgs {
20
- accountId: string;
21
- /**
22
- * Max items to fetch, default: 1000
23
- */
24
- maxItems?: number;
25
- }
26
- /**
27
- * A collection of values returned by getZeroTrustDexTests.
28
- */
29
- export interface GetZeroTrustDexTestsResult {
30
- readonly accountId: string;
31
- /**
32
- * The provider-assigned unique ID for this managed resource.
33
- */
34
- readonly id: string;
35
- /**
36
- * Max items to fetch, default: 1000
37
- */
38
- readonly maxItems?: number;
39
- /**
40
- * The items returned by the data source
41
- */
42
- readonly results: outputs.GetZeroTrustDexTestsResult[];
43
- }
44
- /**
45
- * ## Example Usage
46
- *
47
- * ```typescript
48
- * import * as pulumi from "@pulumi/pulumi";
49
- * import * as cloudflare from "@pulumi/cloudflare";
50
- *
51
- * const exampleZeroTrustDexTests = cloudflare.getZeroTrustDexTests({
52
- * accountId: "699d98642c564d2e855e9661899b7252",
53
- * });
54
- * ```
55
- */
56
- export declare function getZeroTrustDexTestsOutput(args: GetZeroTrustDexTestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZeroTrustDexTestsResult>;
57
- /**
58
- * A collection of arguments for invoking getZeroTrustDexTests.
59
- */
60
- export interface GetZeroTrustDexTestsOutputArgs {
61
- accountId: pulumi.Input<string>;
62
- /**
63
- * Max items to fetch, default: 1000
64
- */
65
- maxItems?: pulumi.Input<number>;
66
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getZeroTrustDexTestsOutput = exports.getZeroTrustDexTests = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as cloudflare from "@pulumi/cloudflare";
14
- *
15
- * const exampleZeroTrustDexTests = cloudflare.getZeroTrustDexTests({
16
- * accountId: "699d98642c564d2e855e9661899b7252",
17
- * });
18
- * ```
19
- */
20
- function getZeroTrustDexTests(args, opts) {
21
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
- return pulumi.runtime.invoke("cloudflare:index/getZeroTrustDexTests:getZeroTrustDexTests", {
23
- "accountId": args.accountId,
24
- "maxItems": args.maxItems,
25
- }, opts);
26
- }
27
- exports.getZeroTrustDexTests = getZeroTrustDexTests;
28
- /**
29
- * ## Example Usage
30
- *
31
- * ```typescript
32
- * import * as pulumi from "@pulumi/pulumi";
33
- * import * as cloudflare from "@pulumi/cloudflare";
34
- *
35
- * const exampleZeroTrustDexTests = cloudflare.getZeroTrustDexTests({
36
- * accountId: "699d98642c564d2e855e9661899b7252",
37
- * });
38
- * ```
39
- */
40
- function getZeroTrustDexTestsOutput(args, opts) {
41
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
42
- return pulumi.runtime.invokeOutput("cloudflare:index/getZeroTrustDexTests:getZeroTrustDexTests", {
43
- "accountId": args.accountId,
44
- "maxItems": args.maxItems,
45
- }, opts);
46
- }
47
- exports.getZeroTrustDexTestsOutput = getZeroTrustDexTestsOutput;
48
- //# sourceMappingURL=getZeroTrustDexTests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getZeroTrustDexTests.js","sourceRoot":"","sources":["../getZeroTrustDexTests.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA+BD;;;;;;;;;;;GAWG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
@@ -1,134 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * ## Example Usage
4
- *
5
- * ```typescript
6
- * import * as pulumi from "@pulumi/pulumi";
7
- * import * as cloudflare from "@pulumi/cloudflare";
8
- *
9
- * const exampleWorkersForPlatformsScriptSecret = new cloudflare.WorkersForPlatformsScriptSecret("example_workers_for_platforms_script_secret", {
10
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
11
- * dispatchNamespace: "my-dispatch-namespace",
12
- * scriptName: "this-is_my_script-01",
13
- * name: "MY_SECRET",
14
- * text: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
15
- * type: "secret_text",
16
- * });
17
- * ```
18
- *
19
- * ## Import
20
- *
21
- * ```sh
22
- * $ pulumi import cloudflare:index/workersForPlatformsScriptSecret:WorkersForPlatformsScriptSecret example '<account_id>/<dispatch_namespace>/<script_name>/<secret_name>'
23
- * ```
24
- */
25
- export declare class WorkersForPlatformsScriptSecret extends pulumi.CustomResource {
26
- /**
27
- * Get an existing WorkersForPlatformsScriptSecret resource's state with the given name, ID, and optional extra
28
- * properties used to qualify the lookup.
29
- *
30
- * @param name The _unique_ name of the resulting resource.
31
- * @param id The _unique_ provider ID of the resource to lookup.
32
- * @param state Any extra arguments used during the lookup.
33
- * @param opts Optional settings to control the behavior of the CustomResource.
34
- */
35
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkersForPlatformsScriptSecretState, opts?: pulumi.CustomResourceOptions): WorkersForPlatformsScriptSecret;
36
- /**
37
- * Returns true if the given object is an instance of WorkersForPlatformsScriptSecret. This is designed to work even
38
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
- */
40
- static isInstance(obj: any): obj is WorkersForPlatformsScriptSecret;
41
- /**
42
- * Identifier.
43
- */
44
- readonly accountId: pulumi.Output<string>;
45
- /**
46
- * Name of the Workers for Platforms dispatch namespace.
47
- */
48
- readonly dispatchNamespace: pulumi.Output<string>;
49
- /**
50
- * The name of this secret, this is what will be used to access it inside the Worker.
51
- */
52
- readonly name: pulumi.Output<string>;
53
- /**
54
- * Name of the script, used in URLs and route configuration.
55
- */
56
- readonly scriptName: pulumi.Output<string>;
57
- /**
58
- * The value of the secret.
59
- */
60
- readonly text: pulumi.Output<string | undefined>;
61
- /**
62
- * The type of secret to put.
63
- * Available values: "secretText".
64
- */
65
- readonly type: pulumi.Output<string | undefined>;
66
- /**
67
- * Create a WorkersForPlatformsScriptSecret resource with the given unique name, arguments, and options.
68
- *
69
- * @param name The _unique_ name of the resource.
70
- * @param args The arguments to use to populate this resource's properties.
71
- * @param opts A bag of options that control this resource's behavior.
72
- */
73
- constructor(name: string, args: WorkersForPlatformsScriptSecretArgs, opts?: pulumi.CustomResourceOptions);
74
- }
75
- /**
76
- * Input properties used for looking up and filtering WorkersForPlatformsScriptSecret resources.
77
- */
78
- export interface WorkersForPlatformsScriptSecretState {
79
- /**
80
- * Identifier.
81
- */
82
- accountId?: pulumi.Input<string>;
83
- /**
84
- * Name of the Workers for Platforms dispatch namespace.
85
- */
86
- dispatchNamespace?: pulumi.Input<string>;
87
- /**
88
- * The name of this secret, this is what will be used to access it inside the Worker.
89
- */
90
- name?: pulumi.Input<string>;
91
- /**
92
- * Name of the script, used in URLs and route configuration.
93
- */
94
- scriptName?: pulumi.Input<string>;
95
- /**
96
- * The value of the secret.
97
- */
98
- text?: pulumi.Input<string>;
99
- /**
100
- * The type of secret to put.
101
- * Available values: "secretText".
102
- */
103
- type?: pulumi.Input<string>;
104
- }
105
- /**
106
- * The set of arguments for constructing a WorkersForPlatformsScriptSecret resource.
107
- */
108
- export interface WorkersForPlatformsScriptSecretArgs {
109
- /**
110
- * Identifier.
111
- */
112
- accountId: pulumi.Input<string>;
113
- /**
114
- * Name of the Workers for Platforms dispatch namespace.
115
- */
116
- dispatchNamespace: pulumi.Input<string>;
117
- /**
118
- * The name of this secret, this is what will be used to access it inside the Worker.
119
- */
120
- name: pulumi.Input<string>;
121
- /**
122
- * Name of the script, used in URLs and route configuration.
123
- */
124
- scriptName: pulumi.Input<string>;
125
- /**
126
- * The value of the secret.
127
- */
128
- text?: pulumi.Input<string>;
129
- /**
130
- * The type of secret to put.
131
- * Available values: "secretText".
132
- */
133
- type?: pulumi.Input<string>;
134
- }
@@ -1,98 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.WorkersForPlatformsScriptSecret = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as cloudflare from "@pulumi/cloudflare";
14
- *
15
- * const exampleWorkersForPlatformsScriptSecret = new cloudflare.WorkersForPlatformsScriptSecret("example_workers_for_platforms_script_secret", {
16
- * accountId: "023e105f4ecef8ad9ca31a8372d0c353",
17
- * dispatchNamespace: "my-dispatch-namespace",
18
- * scriptName: "this-is_my_script-01",
19
- * name: "MY_SECRET",
20
- * text: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
21
- * type: "secret_text",
22
- * });
23
- * ```
24
- *
25
- * ## Import
26
- *
27
- * ```sh
28
- * $ pulumi import cloudflare:index/workersForPlatformsScriptSecret:WorkersForPlatformsScriptSecret example '<account_id>/<dispatch_namespace>/<script_name>/<secret_name>'
29
- * ```
30
- */
31
- class WorkersForPlatformsScriptSecret extends pulumi.CustomResource {
32
- /**
33
- * Get an existing WorkersForPlatformsScriptSecret resource's state with the given name, ID, and optional extra
34
- * properties used to qualify the lookup.
35
- *
36
- * @param name The _unique_ name of the resulting resource.
37
- * @param id The _unique_ provider ID of the resource to lookup.
38
- * @param state Any extra arguments used during the lookup.
39
- * @param opts Optional settings to control the behavior of the CustomResource.
40
- */
41
- static get(name, id, state, opts) {
42
- return new WorkersForPlatformsScriptSecret(name, state, Object.assign(Object.assign({}, opts), { id: id }));
43
- }
44
- /**
45
- * Returns true if the given object is an instance of WorkersForPlatformsScriptSecret. This is designed to work even
46
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
- */
48
- static isInstance(obj) {
49
- if (obj === undefined || obj === null) {
50
- return false;
51
- }
52
- return obj['__pulumiType'] === WorkersForPlatformsScriptSecret.__pulumiType;
53
- }
54
- constructor(name, argsOrState, opts) {
55
- let resourceInputs = {};
56
- opts = opts || {};
57
- if (opts.id) {
58
- const state = argsOrState;
59
- resourceInputs["accountId"] = state ? state.accountId : undefined;
60
- resourceInputs["dispatchNamespace"] = state ? state.dispatchNamespace : undefined;
61
- resourceInputs["name"] = state ? state.name : undefined;
62
- resourceInputs["scriptName"] = state ? state.scriptName : undefined;
63
- resourceInputs["text"] = state ? state.text : undefined;
64
- resourceInputs["type"] = state ? state.type : undefined;
65
- }
66
- else {
67
- const args = argsOrState;
68
- if ((!args || args.accountId === undefined) && !opts.urn) {
69
- throw new Error("Missing required property 'accountId'");
70
- }
71
- if ((!args || args.dispatchNamespace === undefined) && !opts.urn) {
72
- throw new Error("Missing required property 'dispatchNamespace'");
73
- }
74
- if ((!args || args.name === undefined) && !opts.urn) {
75
- throw new Error("Missing required property 'name'");
76
- }
77
- if ((!args || args.scriptName === undefined) && !opts.urn) {
78
- throw new Error("Missing required property 'scriptName'");
79
- }
80
- resourceInputs["accountId"] = args ? args.accountId : undefined;
81
- resourceInputs["dispatchNamespace"] = args ? args.dispatchNamespace : undefined;
82
- resourceInputs["name"] = args ? args.name : undefined;
83
- resourceInputs["scriptName"] = args ? args.scriptName : undefined;
84
- resourceInputs["text"] = (args === null || args === void 0 ? void 0 : args.text) ? pulumi.secret(args.text) : undefined;
85
- resourceInputs["type"] = args ? args.type : undefined;
86
- }
87
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
88
- const aliasOpts = { aliases: [{ type: "cloudflare:index/workersSecret:WorkersSecret" }] };
89
- opts = pulumi.mergeOptions(opts, aliasOpts);
90
- const secretOpts = { additionalSecretOutputs: ["text"] };
91
- opts = pulumi.mergeOptions(opts, secretOpts);
92
- super(WorkersForPlatformsScriptSecret.__pulumiType, name, resourceInputs, opts);
93
- }
94
- }
95
- exports.WorkersForPlatformsScriptSecret = WorkersForPlatformsScriptSecret;
96
- /** @internal */
97
- WorkersForPlatformsScriptSecret.__pulumiType = 'cloudflare:index/workersForPlatformsScriptSecret:WorkersForPlatformsScriptSecret';
98
- //# sourceMappingURL=workersForPlatformsScriptSecret.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workersForPlatformsScriptSecret.js","sourceRoot":"","sources":["../workersForPlatformsScriptSecret.ts"],"names":[],"mappings":"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"}