@atensec/pulumi-thoth 0.1.10 → 0.1.12

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 (359) hide show
  1. package/billing/getArtifact.ts +49 -0
  2. package/billing/getArtifacts.ts +48 -0
  3. package/billing/index.ts +10 -0
  4. package/bin/access/agentApiKey.d.ts +169 -0
  5. package/bin/access/agentApiKey.d.ts.map +1 -0
  6. package/bin/access/agentApiKey.js +106 -0
  7. package/bin/access/agentApiKey.js.map +1 -0
  8. package/bin/access/endpointApiKey.d.ts +169 -0
  9. package/bin/access/endpointApiKey.d.ts.map +1 -0
  10. package/bin/access/endpointApiKey.js +106 -0
  11. package/bin/access/endpointApiKey.js.map +1 -0
  12. package/bin/access/fleetApiKey.d.ts +169 -0
  13. package/bin/access/fleetApiKey.d.ts.map +1 -0
  14. package/bin/access/fleetApiKey.js +106 -0
  15. package/bin/access/fleetApiKey.js.map +1 -0
  16. package/bin/access/getApiKeyAuthorization.d.ts +47 -0
  17. package/bin/access/getApiKeyAuthorization.d.ts.map +1 -0
  18. package/bin/access/getApiKeyAuthorization.js +53 -0
  19. package/bin/access/getApiKeyAuthorization.js.map +1 -0
  20. package/bin/access/getApiKeyMetrics.d.ts +18 -0
  21. package/bin/access/getApiKeyMetrics.d.ts.map +1 -0
  22. package/bin/access/getApiKeyMetrics.js +41 -0
  23. package/bin/access/getApiKeyMetrics.js.map +1 -0
  24. package/bin/access/getApiKeys.d.ts +34 -0
  25. package/bin/access/getApiKeys.d.ts.map +1 -0
  26. package/bin/access/getApiKeys.js +51 -0
  27. package/bin/access/getApiKeys.js.map +1 -0
  28. package/bin/access/index.d.ts +19 -0
  29. package/bin/access/index.d.ts.map +1 -0
  30. package/bin/access/index.js +64 -0
  31. package/bin/access/index.js.map +1 -0
  32. package/bin/billing/getArtifact.d.ts +30 -0
  33. package/bin/billing/getArtifact.d.ts.map +1 -0
  34. package/bin/billing/getArtifact.js +47 -0
  35. package/bin/billing/getArtifact.js.map +1 -0
  36. package/bin/billing/getArtifacts.d.ts +29 -0
  37. package/bin/billing/getArtifacts.d.ts.map +1 -0
  38. package/bin/billing/getArtifacts.js +47 -0
  39. package/bin/billing/getArtifacts.js.map +1 -0
  40. package/bin/billing/getCreditBank.d.ts +35 -0
  41. package/bin/billing/getCreditBank.d.ts.map +1 -0
  42. package/bin/billing/getCreditBank.js +49 -0
  43. package/bin/billing/getCreditBank.js.map +1 -0
  44. package/bin/billing/getEstimate.d.ts +62 -0
  45. package/bin/billing/getEstimate.d.ts.map +1 -0
  46. package/bin/billing/getEstimate.js +59 -0
  47. package/bin/billing/getEstimate.js.map +1 -0
  48. package/bin/billing/getInvoices.d.ts +30 -0
  49. package/bin/billing/getInvoices.d.ts.map +1 -0
  50. package/bin/billing/getInvoices.js +47 -0
  51. package/bin/billing/getInvoices.js.map +1 -0
  52. package/bin/billing/getMonthlyCost.d.ts +25 -0
  53. package/bin/billing/getMonthlyCost.d.ts.map +1 -0
  54. package/bin/billing/getMonthlyCost.js +41 -0
  55. package/bin/billing/getMonthlyCost.js.map +1 -0
  56. package/bin/billing/getPricing.d.ts +24 -0
  57. package/bin/billing/getPricing.d.ts.map +1 -0
  58. package/bin/billing/getPricing.js +41 -0
  59. package/bin/billing/getPricing.js.map +1 -0
  60. package/bin/billing/getReport.d.ts +30 -0
  61. package/bin/billing/getReport.d.ts.map +1 -0
  62. package/bin/billing/getReport.js +47 -0
  63. package/bin/billing/getReport.js.map +1 -0
  64. package/bin/billing/getReports.d.ts +16 -0
  65. package/bin/billing/getReports.d.ts.map +1 -0
  66. package/bin/billing/getReports.js +41 -0
  67. package/bin/billing/getReports.js.map +1 -0
  68. package/bin/billing/index.d.ts +31 -0
  69. package/bin/billing/index.d.ts.map +1 -0
  70. package/bin/billing/index.js +72 -0
  71. package/bin/billing/index.js.map +1 -0
  72. package/bin/billing/overageCap.d.ts +121 -0
  73. package/bin/billing/overageCap.d.ts.map +1 -0
  74. package/bin/billing/overageCap.js +93 -0
  75. package/bin/billing/overageCap.js.map +1 -0
  76. package/bin/browser/enrollment.d.ts +157 -0
  77. package/bin/browser/enrollment.d.ts.map +1 -0
  78. package/bin/browser/enrollment.js +101 -0
  79. package/bin/browser/enrollment.js.map +1 -0
  80. package/bin/browser/getEnrollments.d.ts +31 -0
  81. package/bin/browser/getEnrollments.d.ts.map +1 -0
  82. package/bin/browser/getEnrollments.js +49 -0
  83. package/bin/browser/getEnrollments.js.map +1 -0
  84. package/bin/browser/getPolicies.d.ts +28 -0
  85. package/bin/browser/getPolicies.d.ts.map +1 -0
  86. package/bin/browser/getPolicies.js +47 -0
  87. package/bin/browser/getPolicies.js.map +1 -0
  88. package/bin/browser/getProviders.d.ts +15 -0
  89. package/bin/browser/getProviders.d.ts.map +1 -0
  90. package/bin/browser/getProviders.js +41 -0
  91. package/bin/browser/getProviders.js.map +1 -0
  92. package/bin/browser/index.d.ts +19 -0
  93. package/bin/browser/index.d.ts.map +1 -0
  94. package/bin/browser/index.js +64 -0
  95. package/bin/browser/index.js.map +1 -0
  96. package/bin/browser/policy.d.ts +189 -0
  97. package/bin/browser/policy.d.ts.map +1 -0
  98. package/bin/browser/policy.js +107 -0
  99. package/bin/browser/policy.js.map +1 -0
  100. package/bin/browser/provider.d.ts +133 -0
  101. package/bin/browser/provider.d.ts.map +1 -0
  102. package/bin/browser/provider.js +93 -0
  103. package/bin/browser/provider.js.map +1 -0
  104. package/bin/config/index.d.ts +2 -0
  105. package/bin/config/index.d.ts.map +1 -0
  106. package/bin/config/index.js +21 -0
  107. package/bin/config/index.js.map +1 -0
  108. package/bin/config/vars.d.ts +49 -0
  109. package/bin/config/vars.d.ts.map +1 -0
  110. package/bin/config/vars.js +102 -0
  111. package/bin/config/vars.js.map +1 -0
  112. package/bin/fleet/endpoint.d.ts +309 -0
  113. package/bin/fleet/endpoint.d.ts.map +1 -0
  114. package/bin/fleet/endpoint.js +126 -0
  115. package/bin/fleet/endpoint.js.map +1 -0
  116. package/bin/fleet/fleet.d.ts +221 -0
  117. package/bin/fleet/fleet.d.ts.map +1 -0
  118. package/bin/fleet/fleet.js +111 -0
  119. package/bin/fleet/fleet.js.map +1 -0
  120. package/bin/fleet/getEndpointStats.d.ts +23 -0
  121. package/bin/fleet/getEndpointStats.d.ts.map +1 -0
  122. package/bin/fleet/getEndpointStats.js +41 -0
  123. package/bin/fleet/getEndpointStats.js.map +1 -0
  124. package/bin/fleet/getEndpoints.d.ts +31 -0
  125. package/bin/fleet/getEndpoints.d.ts.map +1 -0
  126. package/bin/fleet/getEndpoints.js +49 -0
  127. package/bin/fleet/getEndpoints.js.map +1 -0
  128. package/bin/fleet/getFleet.d.ts +31 -0
  129. package/bin/fleet/getFleet.d.ts.map +1 -0
  130. package/bin/fleet/getFleet.js +45 -0
  131. package/bin/fleet/getFleet.js.map +1 -0
  132. package/bin/fleet/getFleets.d.ts +34 -0
  133. package/bin/fleet/getFleets.d.ts.map +1 -0
  134. package/bin/fleet/getFleets.js +51 -0
  135. package/bin/fleet/getFleets.js.map +1 -0
  136. package/bin/fleet/index.d.ts +19 -0
  137. package/bin/fleet/index.d.ts.map +1 -0
  138. package/bin/fleet/index.js +62 -0
  139. package/bin/fleet/index.js.map +1 -0
  140. package/bin/governance/approvalDecision.d.ts +93 -0
  141. package/bin/governance/approvalDecision.d.ts.map +1 -0
  142. package/bin/governance/approvalDecision.js +88 -0
  143. package/bin/governance/approvalDecision.js.map +1 -0
  144. package/bin/governance/decisionFieldBackfill.d.ts +209 -0
  145. package/bin/governance/decisionFieldBackfill.d.ts.map +1 -0
  146. package/bin/governance/decisionFieldBackfill.js +108 -0
  147. package/bin/governance/decisionFieldBackfill.js.map +1 -0
  148. package/bin/governance/evidenceBackfill.d.ts +169 -0
  149. package/bin/governance/evidenceBackfill.d.ts.map +1 -0
  150. package/bin/governance/evidenceBackfill.js +98 -0
  151. package/bin/governance/evidenceBackfill.js.map +1 -0
  152. package/bin/governance/getAgentLatestForensics.d.ts +33 -0
  153. package/bin/governance/getAgentLatestForensics.d.ts.map +1 -0
  154. package/bin/governance/getAgentLatestForensics.js +45 -0
  155. package/bin/governance/getAgentLatestForensics.js.map +1 -0
  156. package/bin/governance/getApprovals.d.ts +34 -0
  157. package/bin/governance/getApprovals.d.ts.map +1 -0
  158. package/bin/governance/getApprovals.js +51 -0
  159. package/bin/governance/getApprovals.js.map +1 -0
  160. package/bin/governance/getCostReport.d.ts +30 -0
  161. package/bin/governance/getCostReport.d.ts.map +1 -0
  162. package/bin/governance/getCostReport.js +49 -0
  163. package/bin/governance/getCostReport.js.map +1 -0
  164. package/bin/governance/getDay7Report.d.ts +27 -0
  165. package/bin/governance/getDay7Report.d.ts.map +1 -0
  166. package/bin/governance/getDay7Report.js +47 -0
  167. package/bin/governance/getDay7Report.js.map +1 -0
  168. package/bin/governance/getEffectivePolicyBundles.d.ts +31 -0
  169. package/bin/governance/getEffectivePolicyBundles.d.ts.map +1 -0
  170. package/bin/governance/getEffectivePolicyBundles.js +49 -0
  171. package/bin/governance/getEffectivePolicyBundles.js.map +1 -0
  172. package/bin/governance/getEvidenceBundle.d.ts +30 -0
  173. package/bin/governance/getEvidenceBundle.d.ts.map +1 -0
  174. package/bin/governance/getEvidenceBundle.js +45 -0
  175. package/bin/governance/getEvidenceBundle.js.map +1 -0
  176. package/bin/governance/getEvidenceChain.d.ts +32 -0
  177. package/bin/governance/getEvidenceChain.d.ts.map +1 -0
  178. package/bin/governance/getEvidenceChain.js +49 -0
  179. package/bin/governance/getEvidenceChain.js.map +1 -0
  180. package/bin/governance/getEvidenceSlos.d.ts +43 -0
  181. package/bin/governance/getEvidenceSlos.d.ts.map +1 -0
  182. package/bin/governance/getEvidenceSlos.js +49 -0
  183. package/bin/governance/getEvidenceSlos.js.map +1 -0
  184. package/bin/governance/getEvidenceVerify.d.ts +31 -0
  185. package/bin/governance/getEvidenceVerify.d.ts.map +1 -0
  186. package/bin/governance/getEvidenceVerify.js +47 -0
  187. package/bin/governance/getEvidenceVerify.js.map +1 -0
  188. package/bin/governance/getFeed.d.ts +61 -0
  189. package/bin/governance/getFeed.d.ts.map +1 -0
  190. package/bin/governance/getFeed.js +69 -0
  191. package/bin/governance/getFeed.js.map +1 -0
  192. package/bin/governance/getIncidentForensics.d.ts +35 -0
  193. package/bin/governance/getIncidentForensics.d.ts.map +1 -0
  194. package/bin/governance/getIncidentForensics.js +45 -0
  195. package/bin/governance/getIncidentForensics.js.map +1 -0
  196. package/bin/governance/getPackRuleVersions.d.ts +29 -0
  197. package/bin/governance/getPackRuleVersions.d.ts.map +1 -0
  198. package/bin/governance/getPackRuleVersions.js +45 -0
  199. package/bin/governance/getPackRuleVersions.js.map +1 -0
  200. package/bin/governance/getPackRules.d.ts +32 -0
  201. package/bin/governance/getPackRules.d.ts.map +1 -0
  202. package/bin/governance/getPackRules.js +45 -0
  203. package/bin/governance/getPackRules.js.map +1 -0
  204. package/bin/governance/getPacks.d.ts +15 -0
  205. package/bin/governance/getPacks.d.ts.map +1 -0
  206. package/bin/governance/getPacks.js +41 -0
  207. package/bin/governance/getPacks.js.map +1 -0
  208. package/bin/governance/getPolicyBundles.d.ts +37 -0
  209. package/bin/governance/getPolicyBundles.d.ts.map +1 -0
  210. package/bin/governance/getPolicyBundles.js +53 -0
  211. package/bin/governance/getPolicyBundles.js.map +1 -0
  212. package/bin/governance/getReportData.d.ts +40 -0
  213. package/bin/governance/getReportData.d.ts.map +1 -0
  214. package/bin/governance/getReportData.js +55 -0
  215. package/bin/governance/getReportData.js.map +1 -0
  216. package/bin/governance/getReportsOverview.d.ts +27 -0
  217. package/bin/governance/getReportsOverview.d.ts.map +1 -0
  218. package/bin/governance/getReportsOverview.js +47 -0
  219. package/bin/governance/getReportsOverview.js.map +1 -0
  220. package/bin/governance/getRuntimeStatus.d.ts +27 -0
  221. package/bin/governance/getRuntimeStatus.d.ts.map +1 -0
  222. package/bin/governance/getRuntimeStatus.js +47 -0
  223. package/bin/governance/getRuntimeStatus.js.map +1 -0
  224. package/bin/governance/getSessionForensics.d.ts +33 -0
  225. package/bin/governance/getSessionForensics.d.ts.map +1 -0
  226. package/bin/governance/getSessionForensics.js +45 -0
  227. package/bin/governance/getSessionForensics.js.map +1 -0
  228. package/bin/governance/getTenantSettings.d.ts +23 -0
  229. package/bin/governance/getTenantSettings.d.ts.map +1 -0
  230. package/bin/governance/getTenantSettings.js +41 -0
  231. package/bin/governance/getTenantSettings.js.map +1 -0
  232. package/bin/governance/getTools.d.ts +31 -0
  233. package/bin/governance/getTools.d.ts.map +1 -0
  234. package/bin/governance/getTools.js +49 -0
  235. package/bin/governance/getTools.js.map +1 -0
  236. package/bin/governance/governanceSettings.d.ts +299 -0
  237. package/bin/governance/governanceSettings.d.ts.map +1 -0
  238. package/bin/governance/governanceSettings.js +114 -0
  239. package/bin/governance/governanceSettings.js.map +1 -0
  240. package/bin/governance/index.d.ts +100 -0
  241. package/bin/governance/index.d.ts.map +1 -0
  242. package/bin/governance/index.js +164 -0
  243. package/bin/governance/index.js.map +1 -0
  244. package/bin/governance/packAssignment.d.ts +201 -0
  245. package/bin/governance/packAssignment.d.ts.map +1 -0
  246. package/bin/governance/packAssignment.js +108 -0
  247. package/bin/governance/packAssignment.js.map +1 -0
  248. package/bin/governance/packAssignmentBulk.d.ts +249 -0
  249. package/bin/governance/packAssignmentBulk.d.ts.map +1 -0
  250. package/bin/governance/packAssignmentBulk.js +113 -0
  251. package/bin/governance/packAssignmentBulk.js.map +1 -0
  252. package/bin/governance/pamSettings.d.ts +137 -0
  253. package/bin/governance/pamSettings.d.ts.map +1 -0
  254. package/bin/governance/pamSettings.js +90 -0
  255. package/bin/governance/pamSettings.js.map +1 -0
  256. package/bin/governance/policyBundle.d.ts +225 -0
  257. package/bin/governance/policyBundle.d.ts.map +1 -0
  258. package/bin/governance/policyBundle.js +114 -0
  259. package/bin/governance/policyBundle.js.map +1 -0
  260. package/bin/governance/policySync.d.ts +173 -0
  261. package/bin/governance/policySync.d.ts.map +1 -0
  262. package/bin/governance/policySync.js +100 -0
  263. package/bin/governance/policySync.js.map +1 -0
  264. package/bin/governance/siemSettings.d.ts +113 -0
  265. package/bin/governance/siemSettings.d.ts.map +1 -0
  266. package/bin/governance/siemSettings.js +86 -0
  267. package/bin/governance/siemSettings.js.map +1 -0
  268. package/bin/governance/webhookSettings.d.ts +101 -0
  269. package/bin/governance/webhookSettings.d.ts.map +1 -0
  270. package/bin/governance/webhookSettings.js +84 -0
  271. package/bin/governance/webhookSettings.js.map +1 -0
  272. package/bin/governance/webhookTest.d.ts +89 -0
  273. package/bin/governance/webhookTest.d.ts.map +1 -0
  274. package/bin/governance/webhookTest.js +82 -0
  275. package/bin/governance/webhookTest.js.map +1 -0
  276. package/bin/index.d.ts +11 -0
  277. package/bin/index.d.ts.map +1 -0
  278. package/bin/index.js +63 -0
  279. package/bin/index.js.map +1 -0
  280. package/bin/mcp/catalogVerify.d.ts +169 -0
  281. package/bin/mcp/catalogVerify.d.ts.map +1 -0
  282. package/bin/mcp/catalogVerify.js +96 -0
  283. package/bin/mcp/catalogVerify.js.map +1 -0
  284. package/bin/mcp/getInventoryReport.d.ts +31 -0
  285. package/bin/mcp/getInventoryReport.d.ts.map +1 -0
  286. package/bin/mcp/getInventoryReport.js +47 -0
  287. package/bin/mcp/getInventoryReport.js.map +1 -0
  288. package/bin/mcp/getVendor.d.ts +27 -0
  289. package/bin/mcp/getVendor.d.ts.map +1 -0
  290. package/bin/mcp/getVendor.js +45 -0
  291. package/bin/mcp/getVendor.js.map +1 -0
  292. package/bin/mcp/getVendors.d.ts +29 -0
  293. package/bin/mcp/getVendors.d.ts.map +1 -0
  294. package/bin/mcp/getVendors.js +47 -0
  295. package/bin/mcp/getVendors.js.map +1 -0
  296. package/bin/mcp/index.d.ts +16 -0
  297. package/bin/mcp/index.d.ts.map +1 -0
  298. package/bin/mcp/index.js +59 -0
  299. package/bin/mcp/index.js.map +1 -0
  300. package/bin/mcp/vendor.d.ts +145 -0
  301. package/bin/mcp/vendor.d.ts.map +1 -0
  302. package/bin/mcp/vendor.js +99 -0
  303. package/bin/mcp/vendor.js.map +1 -0
  304. package/bin/mdm/getProviders.d.ts +15 -0
  305. package/bin/mdm/getProviders.d.ts.map +1 -0
  306. package/bin/mdm/getProviders.js +41 -0
  307. package/bin/mdm/getProviders.js.map +1 -0
  308. package/bin/mdm/getSyncJob.d.ts +36 -0
  309. package/bin/mdm/getSyncJob.d.ts.map +1 -0
  310. package/bin/mdm/getSyncJob.js +45 -0
  311. package/bin/mdm/getSyncJob.js.map +1 -0
  312. package/bin/mdm/index.d.ts +13 -0
  313. package/bin/mdm/index.d.ts.map +1 -0
  314. package/bin/mdm/index.js +56 -0
  315. package/bin/mdm/index.js.map +1 -0
  316. package/bin/mdm/provider.d.ts +157 -0
  317. package/bin/mdm/provider.d.ts.map +1 -0
  318. package/bin/mdm/provider.js +101 -0
  319. package/bin/mdm/provider.js.map +1 -0
  320. package/bin/mdm/sync.d.ts +169 -0
  321. package/bin/mdm/sync.d.ts.map +1 -0
  322. package/bin/mdm/sync.js +101 -0
  323. package/bin/mdm/sync.js.map +1 -0
  324. package/bin/provider.d.ts +118 -0
  325. package/bin/provider.d.ts.map +1 -0
  326. package/bin/provider.js +89 -0
  327. package/bin/provider.js.map +1 -0
  328. package/bin/utilities.d.ts +5 -0
  329. package/bin/utilities.d.ts.map +1 -0
  330. package/bin/utilities.js +114 -0
  331. package/bin/utilities.js.map +1 -0
  332. package/browser/getEnrollments.ts +5 -5
  333. package/browser/getPolicies.ts +5 -5
  334. package/browser/policy.ts +9 -9
  335. package/config/vars.ts +1 -1
  336. package/fleet/endpoint.ts +395 -0
  337. package/fleet/fleet.ts +5 -5
  338. package/fleet/getFleets.ts +5 -5
  339. package/fleet/index.ts +8 -0
  340. package/governance/decisionFieldBackfill.ts +12 -12
  341. package/governance/getAgentLatestForensics.ts +50 -0
  342. package/governance/getIncidentForensics.ts +52 -0
  343. package/governance/getReportData.ts +67 -0
  344. package/governance/getSessionForensics.ts +50 -0
  345. package/governance/governanceSettings.ts +7 -7
  346. package/governance/index.ts +20 -0
  347. package/governance/packAssignmentBulk.ts +3 -3
  348. package/governance/pamSettings.ts +4 -4
  349. package/index.ts +2 -0
  350. package/mcp/catalogVerify.ts +225 -0
  351. package/mcp/getInventoryReport.ts +50 -0
  352. package/mcp/getVendor.ts +44 -0
  353. package/mcp/getVendors.ts +48 -0
  354. package/mcp/index.ts +48 -0
  355. package/mcp/vendor.ts +204 -0
  356. package/package.json +2 -2
  357. package/provider.ts +2 -2
  358. package/tsconfig.json +13 -0
  359. package/.gitattributes +0 -1
@@ -0,0 +1,49 @@
1
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../utilities";
6
+
7
+ export function getArtifact(args: GetArtifactArgs, opts?: pulumi.InvokeOptions): Promise<GetArtifactResult> {
8
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
9
+ return pulumi.runtime.invoke("thoth:billing/getArtifact:getArtifact", {
10
+ "month": args.month,
11
+ "year": args.year,
12
+ }, opts);
13
+ }
14
+
15
+ /**
16
+ * A collection of arguments for invoking getArtifact.
17
+ */
18
+ export interface GetArtifactArgs {
19
+ month: number;
20
+ year: number;
21
+ }
22
+
23
+ /**
24
+ * A collection of values returned by getArtifact.
25
+ */
26
+ export interface GetArtifactResult {
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ readonly month: number;
32
+ readonly responseJson: string;
33
+ readonly year: number;
34
+ }
35
+ export function getArtifactOutput(args: GetArtifactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetArtifactResult> {
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
37
+ return pulumi.runtime.invokeOutput("thoth:billing/getArtifact:getArtifact", {
38
+ "month": args.month,
39
+ "year": args.year,
40
+ }, opts);
41
+ }
42
+
43
+ /**
44
+ * A collection of arguments for invoking getArtifact.
45
+ */
46
+ export interface GetArtifactOutputArgs {
47
+ month: pulumi.Input<number>;
48
+ year: pulumi.Input<number>;
49
+ }
@@ -0,0 +1,48 @@
1
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../utilities";
6
+
7
+ export function getArtifacts(args?: GetArtifactsArgs, opts?: pulumi.InvokeOptions): Promise<GetArtifactsResult> {
8
+ args = args || {};
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("thoth:billing/getArtifacts:getArtifacts", {
11
+ "limit": args.limit,
12
+ }, opts);
13
+ }
14
+
15
+ /**
16
+ * A collection of arguments for invoking getArtifacts.
17
+ */
18
+ export interface GetArtifactsArgs {
19
+ limit?: number;
20
+ }
21
+
22
+ /**
23
+ * A collection of values returned by getArtifacts.
24
+ */
25
+ export interface GetArtifactsResult {
26
+ readonly artifactsJson: string;
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ readonly limit?: number;
32
+ readonly responseJson: string;
33
+ readonly totalCount: number;
34
+ }
35
+ export function getArtifactsOutput(args?: GetArtifactsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetArtifactsResult> {
36
+ args = args || {};
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
+ return pulumi.runtime.invokeOutput("thoth:billing/getArtifacts:getArtifacts", {
39
+ "limit": args.limit,
40
+ }, opts);
41
+ }
42
+
43
+ /**
44
+ * A collection of arguments for invoking getArtifacts.
45
+ */
46
+ export interface GetArtifactsOutputArgs {
47
+ limit?: pulumi.Input<number | undefined>;
48
+ }
package/billing/index.ts CHANGED
@@ -5,6 +5,16 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  import * as utilities from "../utilities";
6
6
 
7
7
  // Export members:
8
+ export { GetArtifactArgs, GetArtifactResult, GetArtifactOutputArgs } from "./getArtifact";
9
+ export const getArtifact: typeof import("./getArtifact").getArtifact = null as any;
10
+ export const getArtifactOutput: typeof import("./getArtifact").getArtifactOutput = null as any;
11
+ utilities.lazyLoad(exports, ["getArtifact","getArtifactOutput"], () => require("./getArtifact"));
12
+
13
+ export { GetArtifactsArgs, GetArtifactsResult, GetArtifactsOutputArgs } from "./getArtifacts";
14
+ export const getArtifacts: typeof import("./getArtifacts").getArtifacts = null as any;
15
+ export const getArtifactsOutput: typeof import("./getArtifacts").getArtifactsOutput = null as any;
16
+ utilities.lazyLoad(exports, ["getArtifacts","getArtifactsOutput"], () => require("./getArtifacts"));
17
+
8
18
  export { GetCreditBankArgs, GetCreditBankResult, GetCreditBankOutputArgs } from "./getCreditBank";
9
19
  export const getCreditBank: typeof import("./getCreditBank").getCreditBank = null as any;
10
20
  export const getCreditBankOutput: typeof import("./getCreditBank").getCreditBankOutput = null as any;
@@ -0,0 +1,169 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class AgentApiKey extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing AgentApiKey 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?: AgentApiKeyState, opts?: pulumi.CustomResourceOptions): AgentApiKey;
13
+ /**
14
+ * Returns true if the given object is an instance of AgentApiKey. 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 AgentApiKey;
18
+ /**
19
+ * Whether key is currently active and not expired/revoked.
20
+ */
21
+ readonly active: pulumi.Output<boolean>;
22
+ /**
23
+ * One-time plaintext API key (returned only on create).
24
+ */
25
+ readonly apiKey: pulumi.Output<string>;
26
+ /**
27
+ * Creation timestamp.
28
+ */
29
+ readonly createdAt: pulumi.Output<string>;
30
+ /**
31
+ * Expiry timestamp.
32
+ */
33
+ readonly expiresAt: pulumi.Output<string>;
34
+ /**
35
+ * Audit reason for just-in-time issuance.
36
+ */
37
+ readonly jitReason: pulumi.Output<string | undefined>;
38
+ /**
39
+ * GovAPI key identifier.
40
+ */
41
+ readonly keyId: pulumi.Output<string>;
42
+ /**
43
+ * Last authorization timestamp.
44
+ */
45
+ readonly lastUsedAt: pulumi.Output<string>;
46
+ /**
47
+ * Display name for the API key.
48
+ */
49
+ readonly name: pulumi.Output<string | undefined>;
50
+ /**
51
+ * Allowed permissions: read, write, execute.
52
+ */
53
+ readonly permissions: pulumi.Output<string[]>;
54
+ /**
55
+ * Key prefix for operator identification.
56
+ */
57
+ readonly prefix: pulumi.Output<string>;
58
+ /**
59
+ * Fixed scope for this resource type.
60
+ */
61
+ readonly scopeLevel: pulumi.Output<string>;
62
+ /**
63
+ * Agent ID targeted by this API key scope.
64
+ */
65
+ readonly scopeTargetId: pulumi.Output<string>;
66
+ /**
67
+ * Tenant ID from provider configuration.
68
+ */
69
+ readonly tenantId: pulumi.Output<string>;
70
+ /**
71
+ * TTL in seconds for key expiry.
72
+ */
73
+ readonly ttlSeconds: pulumi.Output<number | undefined>;
74
+ /**
75
+ * Create a AgentApiKey resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name: string, args: AgentApiKeyArgs, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * Input properties used for looking up and filtering AgentApiKey resources.
85
+ */
86
+ export interface AgentApiKeyState {
87
+ /**
88
+ * Whether key is currently active and not expired/revoked.
89
+ */
90
+ active?: pulumi.Input<boolean | undefined>;
91
+ /**
92
+ * One-time plaintext API key (returned only on create).
93
+ */
94
+ apiKey?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Creation timestamp.
97
+ */
98
+ createdAt?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * Expiry timestamp.
101
+ */
102
+ expiresAt?: pulumi.Input<string | undefined>;
103
+ /**
104
+ * Audit reason for just-in-time issuance.
105
+ */
106
+ jitReason?: pulumi.Input<string | undefined>;
107
+ /**
108
+ * GovAPI key identifier.
109
+ */
110
+ keyId?: pulumi.Input<string | undefined>;
111
+ /**
112
+ * Last authorization timestamp.
113
+ */
114
+ lastUsedAt?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Display name for the API key.
117
+ */
118
+ name?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Allowed permissions: read, write, execute.
121
+ */
122
+ permissions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
123
+ /**
124
+ * Key prefix for operator identification.
125
+ */
126
+ prefix?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * Fixed scope for this resource type.
129
+ */
130
+ scopeLevel?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Agent ID targeted by this API key scope.
133
+ */
134
+ scopeTargetId?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Tenant ID from provider configuration.
137
+ */
138
+ tenantId?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * TTL in seconds for key expiry.
141
+ */
142
+ ttlSeconds?: pulumi.Input<number | undefined>;
143
+ }
144
+ /**
145
+ * The set of arguments for constructing a AgentApiKey resource.
146
+ */
147
+ export interface AgentApiKeyArgs {
148
+ /**
149
+ * Audit reason for just-in-time issuance.
150
+ */
151
+ jitReason?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Display name for the API key.
154
+ */
155
+ name?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Allowed permissions: read, write, execute.
158
+ */
159
+ permissions: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * Agent ID targeted by this API key scope.
162
+ */
163
+ scopeTargetId: pulumi.Input<string>;
164
+ /**
165
+ * TTL in seconds for key expiry.
166
+ */
167
+ ttlSeconds?: pulumi.Input<number | undefined>;
168
+ }
169
+ //# sourceMappingURL=agentApiKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentApiKey.d.ts","sourceRoot":"","sources":["../../access/agentApiKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAOxI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,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,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
@@ -0,0 +1,106 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AgentApiKey = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ class AgentApiKey extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing AgentApiKey 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 AgentApiKey(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'thoth:access/agentApiKey:AgentApiKey';
46
+ /**
47
+ * Returns true if the given object is an instance of AgentApiKey. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === AgentApiKey.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["active"] = state?.active;
62
+ resourceInputs["apiKey"] = state?.apiKey;
63
+ resourceInputs["createdAt"] = state?.createdAt;
64
+ resourceInputs["expiresAt"] = state?.expiresAt;
65
+ resourceInputs["jitReason"] = state?.jitReason;
66
+ resourceInputs["keyId"] = state?.keyId;
67
+ resourceInputs["lastUsedAt"] = state?.lastUsedAt;
68
+ resourceInputs["name"] = state?.name;
69
+ resourceInputs["permissions"] = state?.permissions;
70
+ resourceInputs["prefix"] = state?.prefix;
71
+ resourceInputs["scopeLevel"] = state?.scopeLevel;
72
+ resourceInputs["scopeTargetId"] = state?.scopeTargetId;
73
+ resourceInputs["tenantId"] = state?.tenantId;
74
+ resourceInputs["ttlSeconds"] = state?.ttlSeconds;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if (args?.permissions === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'permissions'");
80
+ }
81
+ if (args?.scopeTargetId === undefined && !opts.urn) {
82
+ throw new Error("Missing required property 'scopeTargetId'");
83
+ }
84
+ resourceInputs["jitReason"] = args?.jitReason;
85
+ resourceInputs["name"] = args?.name;
86
+ resourceInputs["permissions"] = args?.permissions;
87
+ resourceInputs["scopeTargetId"] = args?.scopeTargetId;
88
+ resourceInputs["ttlSeconds"] = args?.ttlSeconds;
89
+ resourceInputs["active"] = undefined /*out*/;
90
+ resourceInputs["apiKey"] = undefined /*out*/;
91
+ resourceInputs["createdAt"] = undefined /*out*/;
92
+ resourceInputs["expiresAt"] = undefined /*out*/;
93
+ resourceInputs["keyId"] = undefined /*out*/;
94
+ resourceInputs["lastUsedAt"] = undefined /*out*/;
95
+ resourceInputs["prefix"] = undefined /*out*/;
96
+ resourceInputs["scopeLevel"] = undefined /*out*/;
97
+ resourceInputs["tenantId"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ const secretOpts = { additionalSecretOutputs: ["apiKey"] };
101
+ opts = pulumi.mergeOptions(opts, secretOpts);
102
+ super(AgentApiKey.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.AgentApiKey = AgentApiKey;
106
+ //# sourceMappingURL=agentApiKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentApiKey.js","sourceRoot":"","sources":["../../access/agentApiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sCAAsC,CAAC;IAE7E;;;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;IAmED,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,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I,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA3IL,kCA4IC"}
@@ -0,0 +1,169 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class EndpointApiKey extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing EndpointApiKey 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?: EndpointApiKeyState, opts?: pulumi.CustomResourceOptions): EndpointApiKey;
13
+ /**
14
+ * Returns true if the given object is an instance of EndpointApiKey. 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 EndpointApiKey;
18
+ /**
19
+ * Whether key is currently active and not expired/revoked.
20
+ */
21
+ readonly active: pulumi.Output<boolean>;
22
+ /**
23
+ * One-time plaintext API key (returned only on create).
24
+ */
25
+ readonly apiKey: pulumi.Output<string>;
26
+ /**
27
+ * Creation timestamp.
28
+ */
29
+ readonly createdAt: pulumi.Output<string>;
30
+ /**
31
+ * Expiry timestamp.
32
+ */
33
+ readonly expiresAt: pulumi.Output<string>;
34
+ /**
35
+ * Audit reason for just-in-time issuance.
36
+ */
37
+ readonly jitReason: pulumi.Output<string | undefined>;
38
+ /**
39
+ * GovAPI key identifier.
40
+ */
41
+ readonly keyId: pulumi.Output<string>;
42
+ /**
43
+ * Last authorization timestamp.
44
+ */
45
+ readonly lastUsedAt: pulumi.Output<string>;
46
+ /**
47
+ * Display name for the API key.
48
+ */
49
+ readonly name: pulumi.Output<string | undefined>;
50
+ /**
51
+ * Allowed permissions: read, write, execute.
52
+ */
53
+ readonly permissions: pulumi.Output<string[]>;
54
+ /**
55
+ * Key prefix for operator identification.
56
+ */
57
+ readonly prefix: pulumi.Output<string>;
58
+ /**
59
+ * Fixed scope for this resource type.
60
+ */
61
+ readonly scopeLevel: pulumi.Output<string>;
62
+ /**
63
+ * Endpoint ID targeted by this API key scope.
64
+ */
65
+ readonly scopeTargetId: pulumi.Output<string>;
66
+ /**
67
+ * Tenant ID from provider configuration.
68
+ */
69
+ readonly tenantId: pulumi.Output<string>;
70
+ /**
71
+ * TTL in seconds for key expiry.
72
+ */
73
+ readonly ttlSeconds: pulumi.Output<number | undefined>;
74
+ /**
75
+ * Create a EndpointApiKey resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name: string, args: EndpointApiKeyArgs, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * Input properties used for looking up and filtering EndpointApiKey resources.
85
+ */
86
+ export interface EndpointApiKeyState {
87
+ /**
88
+ * Whether key is currently active and not expired/revoked.
89
+ */
90
+ active?: pulumi.Input<boolean | undefined>;
91
+ /**
92
+ * One-time plaintext API key (returned only on create).
93
+ */
94
+ apiKey?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Creation timestamp.
97
+ */
98
+ createdAt?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * Expiry timestamp.
101
+ */
102
+ expiresAt?: pulumi.Input<string | undefined>;
103
+ /**
104
+ * Audit reason for just-in-time issuance.
105
+ */
106
+ jitReason?: pulumi.Input<string | undefined>;
107
+ /**
108
+ * GovAPI key identifier.
109
+ */
110
+ keyId?: pulumi.Input<string | undefined>;
111
+ /**
112
+ * Last authorization timestamp.
113
+ */
114
+ lastUsedAt?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Display name for the API key.
117
+ */
118
+ name?: pulumi.Input<string | undefined>;
119
+ /**
120
+ * Allowed permissions: read, write, execute.
121
+ */
122
+ permissions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
123
+ /**
124
+ * Key prefix for operator identification.
125
+ */
126
+ prefix?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * Fixed scope for this resource type.
129
+ */
130
+ scopeLevel?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * Endpoint ID targeted by this API key scope.
133
+ */
134
+ scopeTargetId?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Tenant ID from provider configuration.
137
+ */
138
+ tenantId?: pulumi.Input<string | undefined>;
139
+ /**
140
+ * TTL in seconds for key expiry.
141
+ */
142
+ ttlSeconds?: pulumi.Input<number | undefined>;
143
+ }
144
+ /**
145
+ * The set of arguments for constructing a EndpointApiKey resource.
146
+ */
147
+ export interface EndpointApiKeyArgs {
148
+ /**
149
+ * Audit reason for just-in-time issuance.
150
+ */
151
+ jitReason?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Display name for the API key.
154
+ */
155
+ name?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Allowed permissions: read, write, execute.
158
+ */
159
+ permissions: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * Endpoint ID targeted by this API key scope.
162
+ */
163
+ scopeTargetId: pulumi.Input<string>;
164
+ /**
165
+ * TTL in seconds for key expiry.
166
+ */
167
+ ttlSeconds?: pulumi.Input<number | undefined>;
168
+ }
169
+ //# sourceMappingURL=endpointApiKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpointApiKey.d.ts","sourceRoot":"","sources":["../../access/endpointApiKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;I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