@pulumi/pulumiservice 0.39.0 → 0.41.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 (403) hide show
  1. package/accessToken.d.ts +2 -1
  2. package/accessToken.d.ts.map +1 -0
  3. package/accessToken.js +30 -5
  4. package/accessToken.js.map +1 -1
  5. package/agentPool.d.ts +5 -4
  6. package/agentPool.d.ts.map +1 -0
  7. package/agentPool.js +30 -5
  8. package/agentPool.js.map +1 -1
  9. package/approvalRule.d.ts +1 -0
  10. package/approvalRule.d.ts.map +1 -0
  11. package/approvalRule.js +27 -4
  12. package/approvalRule.js.map +1 -1
  13. package/buildAllowPermissions.d.ts +30 -0
  14. package/buildAllowPermissions.d.ts.map +1 -0
  15. package/buildAllowPermissions.js +51 -0
  16. package/buildAllowPermissions.js.map +1 -0
  17. package/buildEnvironmentScopedPermissions.d.ts +4 -3
  18. package/buildEnvironmentScopedPermissions.d.ts.map +1 -0
  19. package/buildEnvironmentScopedPermissions.js +27 -4
  20. package/buildEnvironmentScopedPermissions.js.map +1 -1
  21. package/buildInsightsAccountScopedPermissions.d.ts +4 -3
  22. package/buildInsightsAccountScopedPermissions.d.ts.map +1 -0
  23. package/buildInsightsAccountScopedPermissions.js +27 -4
  24. package/buildInsightsAccountScopedPermissions.js.map +1 -1
  25. package/buildStackScopedPermissions.d.ts +4 -3
  26. package/buildStackScopedPermissions.d.ts.map +1 -0
  27. package/buildStackScopedPermissions.js +27 -4
  28. package/buildStackScopedPermissions.js.map +1 -1
  29. package/config/index.d.ts +1 -0
  30. package/config/index.d.ts.map +1 -0
  31. package/config/vars.d.ts +1 -0
  32. package/config/vars.d.ts.map +1 -0
  33. package/config/vars.js +26 -3
  34. package/config/vars.js.map +1 -1
  35. package/deploymentSchedule.d.ts +4 -3
  36. package/deploymentSchedule.d.ts.map +1 -0
  37. package/deploymentSchedule.js +29 -4
  38. package/deploymentSchedule.js.map +1 -1
  39. package/deploymentSettings.d.ts +8 -7
  40. package/deploymentSettings.d.ts.map +1 -0
  41. package/deploymentSettings.js +31 -8
  42. package/deploymentSettings.js.map +1 -1
  43. package/driftSchedule.d.ts +2 -1
  44. package/driftSchedule.d.ts.map +1 -0
  45. package/driftSchedule.js +29 -4
  46. package/driftSchedule.js.map +1 -1
  47. package/environment.d.ts +3 -2
  48. package/environment.d.ts.map +1 -0
  49. package/environment.js +27 -4
  50. package/environment.js.map +1 -1
  51. package/environmentRotationSchedule.d.ts +3 -2
  52. package/environmentRotationSchedule.d.ts.map +1 -0
  53. package/environmentRotationSchedule.js +29 -4
  54. package/environmentRotationSchedule.js.map +1 -1
  55. package/environmentVersionTag.d.ts +2 -1
  56. package/environmentVersionTag.d.ts.map +1 -0
  57. package/environmentVersionTag.js +27 -4
  58. package/environmentVersionTag.js.map +1 -1
  59. package/getCurrentUser.d.ts +1 -0
  60. package/getCurrentUser.d.ts.map +1 -0
  61. package/getCurrentUser.js +25 -2
  62. package/getCurrentUser.js.map +1 -1
  63. package/getEnvironment.d.ts +5 -4
  64. package/getEnvironment.d.ts.map +1 -0
  65. package/getEnvironment.js +27 -4
  66. package/getEnvironment.js.map +1 -1
  67. package/getInsightsAccount.d.ts +1 -0
  68. package/getInsightsAccount.d.ts.map +1 -0
  69. package/getInsightsAccount.js +25 -2
  70. package/getInsightsAccount.js.map +1 -1
  71. package/getInsightsAccounts.d.ts +1 -0
  72. package/getInsightsAccounts.d.ts.map +1 -0
  73. package/getInsightsAccounts.js +25 -2
  74. package/getInsightsAccounts.js.map +1 -1
  75. package/getOrganizationMember.d.ts +1 -0
  76. package/getOrganizationMember.d.ts.map +1 -0
  77. package/getOrganizationMember.js +25 -2
  78. package/getOrganizationMember.js.map +1 -1
  79. package/getOrganizationMembers.d.ts +3 -2
  80. package/getOrganizationMembers.d.ts.map +1 -0
  81. package/getOrganizationMembers.js +27 -4
  82. package/getOrganizationMembers.js.map +1 -1
  83. package/getOrganizationRoleScopes.d.ts +1 -0
  84. package/getOrganizationRoleScopes.d.ts.map +1 -0
  85. package/getOrganizationRoleScopes.js +25 -2
  86. package/getOrganizationRoleScopes.js.map +1 -1
  87. package/getPolicyPack.d.ts +2 -1
  88. package/getPolicyPack.d.ts.map +1 -0
  89. package/getPolicyPack.js +25 -2
  90. package/getPolicyPack.js.map +1 -1
  91. package/getPolicyPacks.d.ts +1 -0
  92. package/getPolicyPacks.d.ts.map +1 -0
  93. package/getPolicyPacks.js +25 -2
  94. package/getPolicyPacks.js.map +1 -1
  95. package/index.d.ts +6 -1
  96. package/index.d.ts.map +1 -0
  97. package/index.js +23 -6
  98. package/index.js.map +1 -1
  99. package/insightsAccount.d.ts +3 -2
  100. package/insightsAccount.d.ts.map +1 -0
  101. package/insightsAccount.js +27 -4
  102. package/insightsAccount.js.map +1 -1
  103. package/oidcIssuer.d.ts +4 -3
  104. package/oidcIssuer.d.ts.map +1 -0
  105. package/oidcIssuer.js +27 -4
  106. package/oidcIssuer.js.map +1 -1
  107. package/orgAccessToken.d.ts +4 -3
  108. package/orgAccessToken.d.ts.map +1 -0
  109. package/orgAccessToken.js +29 -4
  110. package/orgAccessToken.js.map +1 -1
  111. package/organizationMember.d.ts +3 -2
  112. package/organizationMember.d.ts.map +1 -0
  113. package/organizationMember.js +27 -4
  114. package/organizationMember.js.map +1 -1
  115. package/organizationRole.d.ts +29 -4
  116. package/organizationRole.d.ts.map +1 -0
  117. package/organizationRole.js +27 -4
  118. package/organizationRole.js.map +1 -1
  119. package/package.json +4 -4
  120. package/policyGroup.d.ts +6 -5
  121. package/policyGroup.d.ts.map +1 -0
  122. package/policyGroup.js +27 -4
  123. package/policyGroup.js.map +1 -1
  124. package/provider.d.ts +3 -2
  125. package/provider.d.ts.map +1 -0
  126. package/provider.js +28 -5
  127. package/provider.js.map +1 -1
  128. package/stack.d.ts +2 -1
  129. package/stack.d.ts.map +1 -0
  130. package/stack.js +27 -4
  131. package/stack.js.map +1 -1
  132. package/stackTag.d.ts +1 -0
  133. package/stackTag.d.ts.map +1 -0
  134. package/stackTag.js +27 -4
  135. package/stackTag.js.map +1 -1
  136. package/stackTags.d.ts +1 -0
  137. package/stackTags.d.ts.map +1 -0
  138. package/stackTags.js +27 -4
  139. package/stackTags.js.map +1 -1
  140. package/team.d.ts +6 -5
  141. package/team.d.ts.map +1 -0
  142. package/team.js +27 -4
  143. package/team.js.map +1 -1
  144. package/teamAccessToken.d.ts +3 -2
  145. package/teamAccessToken.d.ts.map +1 -0
  146. package/teamAccessToken.js +29 -4
  147. package/teamAccessToken.js.map +1 -1
  148. package/teamEnvironmentPermission.d.ts +7 -6
  149. package/teamEnvironmentPermission.d.ts.map +1 -0
  150. package/teamEnvironmentPermission.js +29 -4
  151. package/teamEnvironmentPermission.js.map +1 -1
  152. package/teamRoleAssignment.d.ts +1 -0
  153. package/teamRoleAssignment.d.ts.map +1 -0
  154. package/teamRoleAssignment.js +27 -4
  155. package/teamRoleAssignment.js.map +1 -1
  156. package/teamStackPermission.d.ts +2 -1
  157. package/teamStackPermission.d.ts.map +1 -0
  158. package/teamStackPermission.js +29 -4
  159. package/teamStackPermission.js.map +1 -1
  160. package/templateSource.d.ts +3 -2
  161. package/templateSource.d.ts.map +1 -0
  162. package/templateSource.js +30 -5
  163. package/templateSource.js.map +1 -1
  164. package/ttlSchedule.d.ts +2 -1
  165. package/ttlSchedule.d.ts.map +1 -0
  166. package/ttlSchedule.js +29 -4
  167. package/ttlSchedule.js.map +1 -1
  168. package/types/enums/index.d.ts +1 -0
  169. package/types/enums/index.d.ts.map +1 -0
  170. package/types/index.d.ts +1 -0
  171. package/types/index.d.ts.map +1 -0
  172. package/types/index.js +26 -3
  173. package/types/index.js.map +1 -1
  174. package/types/input.d.ts +52 -47
  175. package/types/input.d.ts.map +1 -0
  176. package/types/input.js.map +1 -1
  177. package/types/output.d.ts +5 -0
  178. package/types/output.d.ts.map +1 -0
  179. package/types/output.js.map +1 -1
  180. package/utilities.d.ts +1 -0
  181. package/utilities.d.ts.map +1 -0
  182. package/utilities.js +24 -1
  183. package/utilities.js.map +1 -1
  184. package/v1/agents/index.d.ts +7 -0
  185. package/v1/agents/index.d.ts.map +1 -0
  186. package/v1/agents/index.js +49 -0
  187. package/v1/agents/index.js.map +1 -0
  188. package/v1/agents/pool.d.ts +74 -0
  189. package/v1/agents/pool.d.ts.map +1 -0
  190. package/v1/agents/pool.js +101 -0
  191. package/v1/agents/pool.js.map +1 -0
  192. package/v1/agents/task.d.ts +158 -0
  193. package/v1/agents/task.d.ts.map +1 -0
  194. package/v1/agents/task.js +127 -0
  195. package/v1/agents/task.js.map +1 -0
  196. package/v1/auditLogExportConfiguration.d.ts +58 -0
  197. package/v1/auditLogExportConfiguration.d.ts.map +1 -0
  198. package/v1/auditLogExportConfiguration.js +95 -0
  199. package/v1/auditLogExportConfiguration.js.map +1 -0
  200. package/v1/auth/index.d.ts +10 -0
  201. package/v1/auth/index.d.ts.map +1 -0
  202. package/v1/auth/index.js +53 -0
  203. package/v1/auth/index.js.map +1 -0
  204. package/v1/auth/oidcIssuer.d.ts +102 -0
  205. package/v1/auth/oidcIssuer.d.ts.map +1 -0
  206. package/v1/auth/oidcIssuer.js +107 -0
  207. package/v1/auth/oidcIssuer.js.map +1 -0
  208. package/v1/auth/policy.d.ts +81 -0
  209. package/v1/auth/policy.d.ts.map +1 -0
  210. package/v1/auth/policy.js +109 -0
  211. package/v1/auth/policy.js.map +1 -0
  212. package/v1/auth/saml.d.ts +72 -0
  213. package/v1/auth/saml.d.ts.map +1 -0
  214. package/v1/auth/saml.js +96 -0
  215. package/v1/auth/saml.js.map +1 -0
  216. package/v1/defaultOrganization.d.ts +50 -0
  217. package/v1/defaultOrganization.d.ts.map +1 -0
  218. package/v1/defaultOrganization.js +85 -0
  219. package/v1/defaultOrganization.js.map +1 -0
  220. package/v1/deployments/index.d.ts +7 -0
  221. package/v1/deployments/index.d.ts.map +1 -0
  222. package/v1/deployments/index.js +49 -0
  223. package/v1/deployments/index.js.map +1 -0
  224. package/v1/deployments/scheduledDeployment.d.ts +108 -0
  225. package/v1/deployments/scheduledDeployment.d.ts.map +1 -0
  226. package/v1/deployments/scheduledDeployment.js +112 -0
  227. package/v1/deployments/scheduledDeployment.js.map +1 -0
  228. package/v1/deployments/settings.d.ts +118 -0
  229. package/v1/deployments/settings.d.ts.map +1 -0
  230. package/v1/deployments/settings.js +109 -0
  231. package/v1/deployments/settings.js.map +1 -0
  232. package/v1/esc/environment.d.ts +54 -0
  233. package/v1/esc/environment.d.ts.map +1 -0
  234. package/v1/esc/environment.js +93 -0
  235. package/v1/esc/environment.js.map +1 -0
  236. package/v1/esc/environmentDraft.d.ts +62 -0
  237. package/v1/esc/environmentDraft.d.ts.map +1 -0
  238. package/v1/esc/environmentDraft.js +97 -0
  239. package/v1/esc/environmentDraft.js.map +1 -0
  240. package/v1/esc/environmentSchedule.d.ts +108 -0
  241. package/v1/esc/environmentSchedule.d.ts.map +1 -0
  242. package/v1/esc/environmentSchedule.js +112 -0
  243. package/v1/esc/environmentSchedule.js.map +1 -0
  244. package/v1/esc/environmentSettings.d.ts +54 -0
  245. package/v1/esc/environmentSettings.d.ts.map +1 -0
  246. package/v1/esc/environmentSettings.js +91 -0
  247. package/v1/esc/environmentSettings.js.map +1 -0
  248. package/v1/esc/environmentTag.d.ts +78 -0
  249. package/v1/esc/environmentTag.d.ts.map +1 -0
  250. package/v1/esc/environmentTag.js +107 -0
  251. package/v1/esc/environmentTag.js.map +1 -0
  252. package/v1/esc/index.d.ts +25 -0
  253. package/v1/esc/index.d.ts.map +1 -0
  254. package/v1/esc/index.js +73 -0
  255. package/v1/esc/index.js.map +1 -0
  256. package/v1/esc/openEnvironmentRequest.d.ts +66 -0
  257. package/v1/esc/openEnvironmentRequest.d.ts.map +1 -0
  258. package/v1/esc/openEnvironmentRequest.js +100 -0
  259. package/v1/esc/openEnvironmentRequest.js.map +1 -0
  260. package/v1/esc/revisionTag.d.ts +78 -0
  261. package/v1/esc/revisionTag.d.ts.map +1 -0
  262. package/v1/esc/revisionTag.js +104 -0
  263. package/v1/esc/revisionTag.js.map +1 -0
  264. package/v1/esc/webhook.d.ts +140 -0
  265. package/v1/esc/webhook.d.ts.map +1 -0
  266. package/v1/esc/webhook.js +128 -0
  267. package/v1/esc/webhook.js.map +1 -0
  268. package/v1/gate.d.ts +78 -0
  269. package/v1/gate.d.ts.map +1 -0
  270. package/v1/gate.js +103 -0
  271. package/v1/gate.js.map +1 -0
  272. package/v1/index.d.ts +36 -0
  273. package/v1/index.d.ts.map +1 -0
  274. package/v1/index.js +94 -0
  275. package/v1/index.js.map +1 -0
  276. package/v1/insights/account.d.ts +110 -0
  277. package/v1/insights/account.d.ts.map +1 -0
  278. package/v1/insights/account.js +112 -0
  279. package/v1/insights/account.js.map +1 -0
  280. package/v1/insights/index.d.ts +7 -0
  281. package/v1/insights/index.d.ts.map +1 -0
  282. package/v1/insights/index.js +49 -0
  283. package/v1/insights/index.js.map +1 -0
  284. package/v1/insights/scheduledScanSettings.d.ts +90 -0
  285. package/v1/insights/scheduledScanSettings.d.ts.map +1 -0
  286. package/v1/insights/scheduledScanSettings.js +100 -0
  287. package/v1/insights/scheduledScanSettings.js.map +1 -0
  288. package/v1/integrations/azureDevOpsIntegration.d.ts +86 -0
  289. package/v1/integrations/azureDevOpsIntegration.d.ts.map +1 -0
  290. package/v1/integrations/azureDevOpsIntegration.js +101 -0
  291. package/v1/integrations/azureDevOpsIntegration.js.map +1 -0
  292. package/v1/integrations/bitBucketIntegration.d.ts +98 -0
  293. package/v1/integrations/bitBucketIntegration.d.ts.map +1 -0
  294. package/v1/integrations/bitBucketIntegration.js +107 -0
  295. package/v1/integrations/bitBucketIntegration.js.map +1 -0
  296. package/v1/integrations/customVCSIntegration.d.ts +98 -0
  297. package/v1/integrations/customVCSIntegration.d.ts.map +1 -0
  298. package/v1/integrations/customVCSIntegration.js +112 -0
  299. package/v1/integrations/customVCSIntegration.js.map +1 -0
  300. package/v1/integrations/customVCSRepository.d.ts +50 -0
  301. package/v1/integrations/customVCSRepository.d.ts.map +1 -0
  302. package/v1/integrations/customVCSRepository.js +90 -0
  303. package/v1/integrations/customVCSRepository.js.map +1 -0
  304. package/v1/integrations/gitHubEnterpriseIntegration.d.ts +118 -0
  305. package/v1/integrations/gitHubEnterpriseIntegration.d.ts.map +1 -0
  306. package/v1/integrations/gitHubEnterpriseIntegration.js +115 -0
  307. package/v1/integrations/gitHubEnterpriseIntegration.js.map +1 -0
  308. package/v1/integrations/gitHubIntegration.d.ts +118 -0
  309. package/v1/integrations/gitHubIntegration.d.ts.map +1 -0
  310. package/v1/integrations/gitHubIntegration.js +115 -0
  311. package/v1/integrations/gitHubIntegration.js.map +1 -0
  312. package/v1/integrations/gitLabIntegration.d.ts +102 -0
  313. package/v1/integrations/gitLabIntegration.d.ts.map +1 -0
  314. package/v1/integrations/gitLabIntegration.js +111 -0
  315. package/v1/integrations/gitLabIntegration.js.map +1 -0
  316. package/v1/integrations/index.d.ts +22 -0
  317. package/v1/integrations/index.d.ts.map +1 -0
  318. package/v1/integrations/index.js +69 -0
  319. package/v1/integrations/index.js.map +1 -0
  320. package/v1/orgTemplateCollection.d.ts +82 -0
  321. package/v1/orgTemplateCollection.d.ts.map +1 -0
  322. package/v1/orgTemplateCollection.js +101 -0
  323. package/v1/orgTemplateCollection.js.map +1 -0
  324. package/v1/organizationMember.d.ts +79 -0
  325. package/v1/organizationMember.d.ts.map +1 -0
  326. package/v1/organizationMember.js +106 -0
  327. package/v1/organizationMember.js.map +1 -0
  328. package/v1/organizationWebhook.d.ts +146 -0
  329. package/v1/organizationWebhook.d.ts.map +1 -0
  330. package/v1/organizationWebhook.js +128 -0
  331. package/v1/organizationWebhook.js.map +1 -0
  332. package/v1/policyGroup.d.ts +86 -0
  333. package/v1/policyGroup.d.ts.map +1 -0
  334. package/v1/policyGroup.js +103 -0
  335. package/v1/policyGroup.js.map +1 -0
  336. package/v1/role.d.ts +114 -0
  337. package/v1/role.d.ts.map +1 -0
  338. package/v1/role.js +106 -0
  339. package/v1/role.js.map +1 -0
  340. package/v1/services/index.d.ts +7 -0
  341. package/v1/services/index.d.ts.map +1 -0
  342. package/v1/services/index.js +49 -0
  343. package/v1/services/index.js.map +1 -0
  344. package/v1/services/item.d.ts +67 -0
  345. package/v1/services/item.d.ts.map +1 -0
  346. package/v1/services/item.js +102 -0
  347. package/v1/services/item.js.map +1 -0
  348. package/v1/services/service.d.ts +71 -0
  349. package/v1/services/service.d.ts.map +1 -0
  350. package/v1/services/service.js +108 -0
  351. package/v1/services/service.js.map +1 -0
  352. package/v1/stacks/config.d.ts +78 -0
  353. package/v1/stacks/config.d.ts.map +1 -0
  354. package/v1/stacks/config.js +102 -0
  355. package/v1/stacks/config.js.map +1 -0
  356. package/v1/stacks/index.d.ts +13 -0
  357. package/v1/stacks/index.d.ts.map +1 -0
  358. package/v1/stacks/index.js +57 -0
  359. package/v1/stacks/index.js.map +1 -0
  360. package/v1/stacks/stack.d.ts +105 -0
  361. package/v1/stacks/stack.d.ts.map +1 -0
  362. package/v1/stacks/stack.js +110 -0
  363. package/v1/stacks/stack.js.map +1 -0
  364. package/v1/stacks/tag.d.ts +54 -0
  365. package/v1/stacks/tag.d.ts.map +1 -0
  366. package/v1/stacks/tag.js +97 -0
  367. package/v1/stacks/tag.js.map +1 -0
  368. package/v1/stacks/webhook.d.ts +148 -0
  369. package/v1/stacks/webhook.d.ts.map +1 -0
  370. package/v1/stacks/webhook.js +136 -0
  371. package/v1/stacks/webhook.js.map +1 -0
  372. package/v1/teams/index.d.ts +7 -0
  373. package/v1/teams/index.d.ts.map +1 -0
  374. package/v1/teams/index.js +49 -0
  375. package/v1/teams/index.js.map +1 -0
  376. package/v1/teams/role.d.ts +47 -0
  377. package/v1/teams/role.d.ts.map +1 -0
  378. package/v1/teams/role.js +90 -0
  379. package/v1/teams/role.js.map +1 -0
  380. package/v1/teams/team.d.ts +98 -0
  381. package/v1/teams/team.d.ts.map +1 -0
  382. package/v1/teams/team.js +113 -0
  383. package/v1/teams/team.js.map +1 -0
  384. package/v1/tokens/index.d.ts +10 -0
  385. package/v1/tokens/index.d.ts.map +1 -0
  386. package/v1/tokens/index.js +53 -0
  387. package/v1/tokens/index.js.map +1 -0
  388. package/v1/tokens/orgToken.d.ts +74 -0
  389. package/v1/tokens/orgToken.d.ts.map +1 -0
  390. package/v1/tokens/orgToken.js +109 -0
  391. package/v1/tokens/orgToken.js.map +1 -0
  392. package/v1/tokens/personalToken.d.ts +54 -0
  393. package/v1/tokens/personalToken.d.ts.map +1 -0
  394. package/v1/tokens/personalToken.js +92 -0
  395. package/v1/tokens/personalToken.js.map +1 -0
  396. package/v1/tokens/teamToken.d.ts +70 -0
  397. package/v1/tokens/teamToken.d.ts.map +1 -0
  398. package/v1/tokens/teamToken.js +108 -0
  399. package/v1/tokens/teamToken.js.map +1 -0
  400. package/webhook.d.ts +8 -7
  401. package/webhook.d.ts.map +1 -0
  402. package/webhook.js +27 -4
  403. package/webhook.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/agents/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAKhC,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAIlD,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,eAAe,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates a new agent pool for an organization. Agent pools enable self-hosted deployment agents, allowing organizations to run Pulumi Deployments on their own infrastructure rather than Pulumi-managed infrastructure. This is useful for accessing private networks, meeting compliance requirements, or using custom execution environments. The response includes an access token (agent pool secret) that self-hosted agents use to authenticate when polling for deployment work. This token is only returned once at creation time and cannot be retrieved later.
4
+ */
5
+ export declare class Pool extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing Pool resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Pool;
15
+ /**
16
+ * Returns true if the given object is an instance of Pool. 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 Pool;
20
+ /**
21
+ * The agents
22
+ */
23
+ readonly agents: pulumi.Output<any[]>;
24
+ /**
25
+ * The creation timestamp
26
+ */
27
+ readonly created: pulumi.Output<number>;
28
+ /**
29
+ * The description
30
+ */
31
+ readonly description: pulumi.Output<string>;
32
+ /**
33
+ * The name
34
+ */
35
+ readonly name: pulumi.Output<string>;
36
+ /**
37
+ * The unique identifier
38
+ */
39
+ readonly poolId: pulumi.Output<string>;
40
+ /**
41
+ * The token value
42
+ */
43
+ readonly tokenValue: pulumi.Output<string | undefined>;
44
+ /**
45
+ * Create a Pool resource with the given unique name, arguments, and options.
46
+ *
47
+ * @param name The _unique_ name of the resource.
48
+ * @param args The arguments to use to populate this resource's properties.
49
+ * @param opts A bag of options that control this resource's behavior.
50
+ */
51
+ constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a Pool resource.
55
+ */
56
+ export interface PoolArgs {
57
+ /**
58
+ * The description
59
+ */
60
+ description: pulumi.Input<string>;
61
+ /**
62
+ * The name
63
+ */
64
+ name: pulumi.Input<string>;
65
+ /**
66
+ * The organization name
67
+ */
68
+ orgName: pulumi.Input<string>;
69
+ /**
70
+ * The agent pool identifier
71
+ */
72
+ poolId?: pulumi.Input<string | undefined>;
73
+ }
74
+ //# sourceMappingURL=pool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool.d.ts","sourceRoot":"","sources":["../../../v1/agents/pool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAOvG;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAE9E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAiChF;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,101 @@
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.Pool = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Creates a new agent pool for an organization. Agent pools enable self-hosted deployment agents, allowing organizations to run Pulumi Deployments on their own infrastructure rather than Pulumi-managed infrastructure. This is useful for accessing private networks, meeting compliance requirements, or using custom execution environments. The response includes an access token (agent pool secret) that self-hosted agents use to authenticate when polling for deployment work. This token is only returned once at creation time and cannot be retrieved later.
33
+ */
34
+ class Pool extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Pool resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new Pool(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1/agents:Pool';
48
+ /**
49
+ * Returns true if the given object is an instance of Pool. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === Pool.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a Pool resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.description === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'description'");
71
+ }
72
+ if (args?.name === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'name'");
74
+ }
75
+ if (args?.orgName === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'orgName'");
77
+ }
78
+ resourceInputs["description"] = args?.description;
79
+ resourceInputs["name"] = args?.name;
80
+ resourceInputs["orgName"] = args?.orgName;
81
+ resourceInputs["poolId"] = args?.poolId;
82
+ resourceInputs["agents"] = undefined /*out*/;
83
+ resourceInputs["created"] = undefined /*out*/;
84
+ resourceInputs["tokenValue"] = undefined /*out*/;
85
+ }
86
+ else {
87
+ resourceInputs["agents"] = undefined /*out*/;
88
+ resourceInputs["created"] = undefined /*out*/;
89
+ resourceInputs["description"] = undefined /*out*/;
90
+ resourceInputs["name"] = undefined /*out*/;
91
+ resourceInputs["poolId"] = undefined /*out*/;
92
+ resourceInputs["tokenValue"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ const secretOpts = { additionalSecretOutputs: ["tokenValue"] };
96
+ opts = pulumi.mergeOptions(opts, secretOpts);
97
+ super(Pool.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.Pool = Pool;
101
+ //# sourceMappingURL=pool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool.js","sourceRoot":"","sources":["../../../v1/agents/pool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAA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ACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;aAAM;YACH,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3FL,oBA4FC"}
@@ -0,0 +1,158 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates a new agent task for the specified organization. The request must include a prompt (the user event message) that initiates the task. Set the 'permissionMode' field in the request body to restrict the agent to read-only operations. Returns the created task details including task ID, name, status, and timestamp.
4
+ */
5
+ export declare class Task extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing Task resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Task;
15
+ /**
16
+ * Returns true if the given object is an instance of Task. 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 Task;
20
+ /**
21
+ * Approval mode for this task. Valid values: 'manual', 'auto', 'balanced'.
22
+ */
23
+ readonly approvalMode: pulumi.Output<string>;
24
+ /**
25
+ * The async trigger source for this task. Null for sync tasks.
26
+ */
27
+ readonly asyncTriggerType: pulumi.Output<string | undefined>;
28
+ /**
29
+ * Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
30
+ */
31
+ readonly contextCompactionThresholdPercent: pulumi.Output<number | undefined>;
32
+ /**
33
+ * Total input tokens consumed across all model invocations for this task. Approximate context window usage.
34
+ */
35
+ readonly contextUsedTokens: pulumi.Output<number | undefined>;
36
+ /**
37
+ * Maximum context window size in tokens for the primary model used by this task.
38
+ */
39
+ readonly contextWindowTokens: pulumi.Output<number | undefined>;
40
+ /**
41
+ * When the task was created, in ISO 8601 format.
42
+ */
43
+ readonly createdAt: pulumi.Output<string>;
44
+ /**
45
+ * Information about the user who created this task.
46
+ */
47
+ readonly createdBy: pulumi.Output<any>;
48
+ /**
49
+ * Pulumi entities (stacks, projects, etc.) that provide context for the agent.
50
+ */
51
+ readonly entities: pulumi.Output<any[]>;
52
+ /**
53
+ * Whether this task is shared with other org members.
54
+ */
55
+ readonly isShared: pulumi.Output<boolean>;
56
+ /**
57
+ * When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
58
+ */
59
+ readonly lastHeartbeat: pulumi.Output<string | undefined>;
60
+ /**
61
+ * Display name for the task, typically auto-generated from the initial user message.
62
+ */
63
+ readonly name: pulumi.Output<string>;
64
+ /**
65
+ * The permission scope for the task.
66
+ */
67
+ readonly permissionMode: pulumi.Output<string | undefined>;
68
+ /**
69
+ * Whether the task is in plan mode. Set based on the first user message.
70
+ */
71
+ readonly planMode: pulumi.Output<boolean>;
72
+ /**
73
+ * The current runtime phase for this task. Null until the runtime checks in.
74
+ */
75
+ readonly runtimePhase: pulumi.Output<string | undefined>;
76
+ /**
77
+ * When the task was first shared. Null if never shared.
78
+ */
79
+ readonly sharedAt: pulumi.Output<string | undefined>;
80
+ /**
81
+ * The origin that triggered this task. Valid values: 'console', 'cli', 'slack', 'schedule', 'api', 'github'.
82
+ */
83
+ readonly source: pulumi.Output<string | undefined>;
84
+ /**
85
+ * The automation that spawned this task, if the task was created by an automation run.
86
+ */
87
+ readonly sourceAutomationID: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Current execution status of the task.
90
+ */
91
+ readonly status: pulumi.Output<string>;
92
+ /**
93
+ * Whether the task was started synchronously by a user or asynchronously by background automation.
94
+ */
95
+ readonly taskType: pulumi.Output<string>;
96
+ /**
97
+ * Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
98
+ */
99
+ readonly tokensUsed: pulumi.Output<number>;
100
+ /**
101
+ * Where tools are executed for this task. Valid values: 'cloud', 'cli'.
102
+ */
103
+ readonly toolExecutionMode: pulumi.Output<string | undefined>;
104
+ /**
105
+ * Create a Task resource with the given unique name, arguments, and options.
106
+ *
107
+ * @param name The _unique_ name of the resource.
108
+ * @param args The arguments to use to populate this resource's properties.
109
+ * @param opts A bag of options that control this resource's behavior.
110
+ */
111
+ constructor(name: string, args: TaskArgs, opts?: pulumi.CustomResourceOptions);
112
+ }
113
+ /**
114
+ * The set of arguments for constructing a Task resource.
115
+ */
116
+ export interface TaskArgs {
117
+ /**
118
+ * Optional approval mode override for this task. If omitted, org default is used.
119
+ */
120
+ approvalMode?: pulumi.Input<string | undefined>;
121
+ /**
122
+ * Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries that do not match any connected integration are silently skipped.
123
+ */
124
+ cliIntegrations?: pulumi.Input<any[] | undefined>;
125
+ /**
126
+ * Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
127
+ */
128
+ enabledIntegrations?: pulumi.Input<any[] | undefined>;
129
+ /**
130
+ * The message content
131
+ */
132
+ message?: any | undefined;
133
+ /**
134
+ * The organization name
135
+ */
136
+ orgName: pulumi.Input<string>;
137
+ /**
138
+ * Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
139
+ */
140
+ permissionMode?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * Whether to enable plan mode for this task.
143
+ */
144
+ planMode?: pulumi.Input<boolean | undefined>;
145
+ /**
146
+ * The origin that triggered this task. Defaults to 'api' if omitted.
147
+ */
148
+ source?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * The agent task identifier
151
+ */
152
+ taskID?: pulumi.Input<string | undefined>;
153
+ /**
154
+ * Where tools should be executed. Defaults to 'cloud' if omitted.
155
+ */
156
+ toolExecutionMode?: pulumi.Input<string | undefined>;
157
+ }
158
+ //# sourceMappingURL=task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../v1/agents/task.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;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M,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,OAAO,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxD"}
@@ -0,0 +1,127 @@
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.Task = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Creates a new agent task for the specified organization. The request must include a prompt (the user event message) that initiates the task. Set the 'permissionMode' field in the request body to restrict the agent to read-only operations. Returns the created task details including task ID, name, status, and timestamp.
33
+ */
34
+ class Task extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Task resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new Task(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1/agents:Task';
48
+ /**
49
+ * Returns true if the given object is an instance of Task. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === Task.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a Task resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.orgName === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'orgName'");
71
+ }
72
+ resourceInputs["approvalMode"] = args?.approvalMode;
73
+ resourceInputs["cliIntegrations"] = args?.cliIntegrations;
74
+ resourceInputs["enabledIntegrations"] = args?.enabledIntegrations;
75
+ resourceInputs["message"] = args?.message;
76
+ resourceInputs["orgName"] = args?.orgName;
77
+ resourceInputs["permissionMode"] = args?.permissionMode;
78
+ resourceInputs["planMode"] = args?.planMode;
79
+ resourceInputs["source"] = args?.source;
80
+ resourceInputs["taskID"] = args?.taskID;
81
+ resourceInputs["toolExecutionMode"] = args?.toolExecutionMode;
82
+ resourceInputs["asyncTriggerType"] = undefined /*out*/;
83
+ resourceInputs["contextCompactionThresholdPercent"] = undefined /*out*/;
84
+ resourceInputs["contextUsedTokens"] = undefined /*out*/;
85
+ resourceInputs["contextWindowTokens"] = undefined /*out*/;
86
+ resourceInputs["createdAt"] = undefined /*out*/;
87
+ resourceInputs["createdBy"] = undefined /*out*/;
88
+ resourceInputs["entities"] = undefined /*out*/;
89
+ resourceInputs["isShared"] = undefined /*out*/;
90
+ resourceInputs["lastHeartbeat"] = undefined /*out*/;
91
+ resourceInputs["name"] = undefined /*out*/;
92
+ resourceInputs["runtimePhase"] = undefined /*out*/;
93
+ resourceInputs["sharedAt"] = undefined /*out*/;
94
+ resourceInputs["sourceAutomationID"] = undefined /*out*/;
95
+ resourceInputs["status"] = undefined /*out*/;
96
+ resourceInputs["taskType"] = undefined /*out*/;
97
+ resourceInputs["tokensUsed"] = undefined /*out*/;
98
+ }
99
+ else {
100
+ resourceInputs["approvalMode"] = undefined /*out*/;
101
+ resourceInputs["asyncTriggerType"] = undefined /*out*/;
102
+ resourceInputs["contextCompactionThresholdPercent"] = undefined /*out*/;
103
+ resourceInputs["contextUsedTokens"] = undefined /*out*/;
104
+ resourceInputs["contextWindowTokens"] = undefined /*out*/;
105
+ resourceInputs["createdAt"] = undefined /*out*/;
106
+ resourceInputs["createdBy"] = undefined /*out*/;
107
+ resourceInputs["entities"] = undefined /*out*/;
108
+ resourceInputs["isShared"] = undefined /*out*/;
109
+ resourceInputs["lastHeartbeat"] = undefined /*out*/;
110
+ resourceInputs["name"] = undefined /*out*/;
111
+ resourceInputs["permissionMode"] = undefined /*out*/;
112
+ resourceInputs["planMode"] = undefined /*out*/;
113
+ resourceInputs["runtimePhase"] = undefined /*out*/;
114
+ resourceInputs["sharedAt"] = undefined /*out*/;
115
+ resourceInputs["source"] = undefined /*out*/;
116
+ resourceInputs["sourceAutomationID"] = undefined /*out*/;
117
+ resourceInputs["status"] = undefined /*out*/;
118
+ resourceInputs["taskType"] = undefined /*out*/;
119
+ resourceInputs["tokensUsed"] = undefined /*out*/;
120
+ resourceInputs["toolExecutionMode"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(Task.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.Task = Task;
127
+ //# sourceMappingURL=task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.js","sourceRoot":"","sources":["../../../v1/agents/task.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;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,IAAI,CAAC,YAAY,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AAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAjLL,oBAkLC"}
@@ -0,0 +1,58 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates or updates the organization's automated audit log export configuration. Audit log export enables automatic delivery of audit events to an S3 bucket for long-term retention and SIEM integration. The configuration includes the S3 bucket details and IAM role for authentication. This feature is available on Business Critical edition.
4
+ */
5
+ export declare class AuditLogExportConfiguration extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing AuditLogExportConfiguration resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AuditLogExportConfiguration;
15
+ /**
16
+ * Returns true if the given object is an instance of AuditLogExportConfiguration. 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 AuditLogExportConfiguration;
20
+ /**
21
+ * Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
22
+ */
23
+ readonly enabled: pulumi.Output<boolean>;
24
+ /**
25
+ * The result of the last audit log export attempt.
26
+ */
27
+ readonly lastResult: pulumi.Output<any>;
28
+ /**
29
+ * The S3 configuration for exporting audit logs.
30
+ */
31
+ readonly s3Config: pulumi.Output<any>;
32
+ /**
33
+ * Create a AuditLogExportConfiguration resource with the given unique name, arguments, and options.
34
+ *
35
+ * @param name The _unique_ name of the resource.
36
+ * @param args The arguments to use to populate this resource's properties.
37
+ * @param opts A bag of options that control this resource's behavior.
38
+ */
39
+ constructor(name: string, args: AuditLogExportConfigurationArgs, opts?: pulumi.CustomResourceOptions);
40
+ }
41
+ /**
42
+ * The set of arguments for constructing a AuditLogExportConfiguration resource.
43
+ */
44
+ export interface AuditLogExportConfigurationArgs {
45
+ /**
46
+ * Whether the audit log export is enabled.
47
+ */
48
+ newEnabled: pulumi.Input<boolean>;
49
+ /**
50
+ * The new S3 configuration for audit log export.
51
+ */
52
+ newS3Configuration: any;
53
+ /**
54
+ * The organization name
55
+ */
56
+ orgName: pulumi.Input<string>;
57
+ }
58
+ //# sourceMappingURL=auditLogExportConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auditLogExportConfiguration.d.ts","sourceRoot":"","sources":["../../v1/auditLogExportConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,2BAA2B;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,2BAA2B;IAOtE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAE7D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA2BvG;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAClC;;OAEG;IACH,kBAAkB,EAAE,GAAG,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -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
+ 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.AuditLogExportConfiguration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Creates or updates the organization's automated audit log export configuration. Audit log export enables automatic delivery of audit events to an S3 bucket for long-term retention and SIEM integration. The configuration includes the S3 bucket details and IAM role for authentication. This feature is available on Business Critical edition.
33
+ */
34
+ class AuditLogExportConfiguration extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AuditLogExportConfiguration resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new AuditLogExportConfiguration(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'pulumiservice:v1:AuditLogExportConfiguration';
48
+ /**
49
+ * Returns true if the given object is an instance of AuditLogExportConfiguration. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === AuditLogExportConfiguration.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a AuditLogExportConfiguration resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.newEnabled === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'newEnabled'");
71
+ }
72
+ if (args?.newS3Configuration === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'newS3Configuration'");
74
+ }
75
+ if (args?.orgName === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'orgName'");
77
+ }
78
+ resourceInputs["newEnabled"] = args?.newEnabled;
79
+ resourceInputs["newS3Configuration"] = args?.newS3Configuration;
80
+ resourceInputs["orgName"] = args?.orgName;
81
+ resourceInputs["enabled"] = undefined /*out*/;
82
+ resourceInputs["lastResult"] = undefined /*out*/;
83
+ resourceInputs["s3Config"] = undefined /*out*/;
84
+ }
85
+ else {
86
+ resourceInputs["enabled"] = undefined /*out*/;
87
+ resourceInputs["lastResult"] = undefined /*out*/;
88
+ resourceInputs["s3Config"] = undefined /*out*/;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(AuditLogExportConfiguration.__pulumiType, name, resourceInputs, opts);
92
+ }
93
+ }
94
+ exports.AuditLogExportConfiguration = AuditLogExportConfiguration;
95
+ //# sourceMappingURL=auditLogExportConfiguration.js.map