@pulumi/harness 0.0.7-alpha.1719955866

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 (648) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +54 -0
  3. package/addUserToGroup.d.ts +87 -0
  4. package/addUserToGroup.js +84 -0
  5. package/addUserToGroup.js.map +1 -0
  6. package/application.d.ts +127 -0
  7. package/application.js +86 -0
  8. package/application.js.map +1 -0
  9. package/applicationGitSync.d.ts +139 -0
  10. package/applicationGitSync.js +109 -0
  11. package/applicationGitSync.js.map +1 -0
  12. package/cloudprovider/aws.d.ts +183 -0
  13. package/cloudprovider/aws.js +102 -0
  14. package/cloudprovider/aws.js.map +1 -0
  15. package/cloudprovider/azure.d.ts +129 -0
  16. package/cloudprovider/azure.js +99 -0
  17. package/cloudprovider/azure.js.map +1 -0
  18. package/cloudprovider/datacenter.d.ts +82 -0
  19. package/cloudprovider/datacenter.js +71 -0
  20. package/cloudprovider/datacenter.js.map +1 -0
  21. package/cloudprovider/gcp.d.ts +101 -0
  22. package/cloudprovider/gcp.js +60 -0
  23. package/cloudprovider/gcp.js.map +1 -0
  24. package/cloudprovider/getDelegateIds.d.ts +68 -0
  25. package/cloudprovider/getDelegateIds.js +28 -0
  26. package/cloudprovider/getDelegateIds.js.map +1 -0
  27. package/cloudprovider/index.d.ts +24 -0
  28. package/cloudprovider/index.js +55 -0
  29. package/cloudprovider/index.js.map +1 -0
  30. package/cloudprovider/kubernetes.d.ts +97 -0
  31. package/cloudprovider/kubernetes.js +69 -0
  32. package/cloudprovider/kubernetes.js.map +1 -0
  33. package/cloudprovider/spot.d.ts +104 -0
  34. package/cloudprovider/spot.js +91 -0
  35. package/cloudprovider/spot.js.map +1 -0
  36. package/cloudprovider/tanzu.d.ts +142 -0
  37. package/cloudprovider/tanzu.js +99 -0
  38. package/cloudprovider/tanzu.js.map +1 -0
  39. package/config/index.d.ts +1 -0
  40. package/config/index.js +21 -0
  41. package/config/index.js.map +1 -0
  42. package/config/vars.d.ts +20 -0
  43. package/config/vars.js +36 -0
  44. package/config/vars.js.map +1 -0
  45. package/delegateApproval.d.ts +94 -0
  46. package/delegateApproval.js +85 -0
  47. package/delegateApproval.js.map +1 -0
  48. package/encryptedText.d.ts +159 -0
  49. package/encryptedText.js +103 -0
  50. package/encryptedText.js.map +1 -0
  51. package/environment.d.ts +155 -0
  52. package/environment.js +120 -0
  53. package/environment.js.map +1 -0
  54. package/getApplication.d.ts +96 -0
  55. package/getApplication.js +31 -0
  56. package/getApplication.js.map +1 -0
  57. package/getCurrentAccount.d.ts +44 -0
  58. package/getCurrentAccount.js +26 -0
  59. package/getCurrentAccount.js.map +1 -0
  60. package/getDelegate.d.ts +138 -0
  61. package/getDelegate.js +56 -0
  62. package/getDelegate.js.map +1 -0
  63. package/getEncryptedText.d.ts +66 -0
  64. package/getEncryptedText.js +28 -0
  65. package/getEncryptedText.js.map +1 -0
  66. package/getEnvironment.d.ts +86 -0
  67. package/getEnvironment.js +28 -0
  68. package/getEnvironment.js.map +1 -0
  69. package/getGitConnector.d.ts +93 -0
  70. package/getGitConnector.js +27 -0
  71. package/getGitConnector.js.map +1 -0
  72. package/getSecretManager.d.ts +74 -0
  73. package/getSecretManager.js +29 -0
  74. package/getSecretManager.js.map +1 -0
  75. package/getService.d.ts +78 -0
  76. package/getService.js +26 -0
  77. package/getService.js.map +1 -0
  78. package/getSshCredential.d.ts +62 -0
  79. package/getSshCredential.js +28 -0
  80. package/getSshCredential.js.map +1 -0
  81. package/getSsoProvider.d.ts +52 -0
  82. package/getSsoProvider.js +27 -0
  83. package/getSsoProvider.js.map +1 -0
  84. package/getTrigger.d.ts +107 -0
  85. package/getTrigger.js +59 -0
  86. package/getTrigger.js.map +1 -0
  87. package/getUser.d.ts +72 -0
  88. package/getUser.js +27 -0
  89. package/getUser.js.map +1 -0
  90. package/getUserGroup.d.ts +48 -0
  91. package/getUserGroup.js +27 -0
  92. package/getUserGroup.js.map +1 -0
  93. package/getYamlConfig.d.ts +60 -0
  94. package/getYamlConfig.js +26 -0
  95. package/getYamlConfig.js.map +1 -0
  96. package/gitConnector.d.ts +222 -0
  97. package/gitConnector.js +115 -0
  98. package/gitConnector.js.map +1 -0
  99. package/index.d.ts +96 -0
  100. package/index.js +156 -0
  101. package/index.js.map +1 -0
  102. package/infrastructureDefinition.d.ts +373 -0
  103. package/infrastructureDefinition.js +184 -0
  104. package/infrastructureDefinition.js.map +1 -0
  105. package/package.json +29 -0
  106. package/platform/appDynamicsConnector.d.ts +229 -0
  107. package/platform/appDynamicsConnector.js +137 -0
  108. package/platform/appDynamicsConnector.js.map +1 -0
  109. package/platform/artifactoryConnector.d.ts +203 -0
  110. package/platform/artifactoryConnector.js +128 -0
  111. package/platform/artifactoryConnector.js.map +1 -0
  112. package/platform/awsCCConnector.d.ts +219 -0
  113. package/platform/awsCCConnector.js +136 -0
  114. package/platform/awsCCConnector.js.map +1 -0
  115. package/platform/awsConnector.d.ts +217 -0
  116. package/platform/awsConnector.js +99 -0
  117. package/platform/awsConnector.js.map +1 -0
  118. package/platform/awsKmsConnector.d.ts +181 -0
  119. package/platform/awsKmsConnector.js +102 -0
  120. package/platform/awsKmsConnector.js.map +1 -0
  121. package/platform/awsSecretManagerConnector.d.ts +181 -0
  122. package/platform/awsSecretManagerConnector.js +99 -0
  123. package/platform/awsSecretManagerConnector.js.map +1 -0
  124. package/platform/azureCloudCostConnector.d.ts +209 -0
  125. package/platform/azureCloudCostConnector.js +130 -0
  126. package/platform/azureCloudCostConnector.js.map +1 -0
  127. package/platform/azureCloudProviderConnector.d.ts +266 -0
  128. package/platform/azureCloudProviderConnector.js +181 -0
  129. package/platform/azureCloudProviderConnector.js.map +1 -0
  130. package/platform/azureKeyVaultConnector.d.ts +248 -0
  131. package/platform/azureKeyVaultConnector.js +137 -0
  132. package/platform/azureKeyVaultConnector.js.map +1 -0
  133. package/platform/bitbucketConnector.d.ts +205 -0
  134. package/platform/bitbucketConnector.js +106 -0
  135. package/platform/bitbucketConnector.js.map +1 -0
  136. package/platform/datadogConnector.d.ts +197 -0
  137. package/platform/datadogConnector.js +120 -0
  138. package/platform/datadogConnector.js.map +1 -0
  139. package/platform/dockerConnector.d.ts +181 -0
  140. package/platform/dockerConnector.js +99 -0
  141. package/platform/dockerConnector.js.map +1 -0
  142. package/platform/dynatraceConnector.d.ts +184 -0
  143. package/platform/dynatraceConnector.js +114 -0
  144. package/platform/dynatraceConnector.js.map +1 -0
  145. package/platform/elasticsearchConnector.d.ts +236 -0
  146. package/platform/elasticsearchConnector.js +141 -0
  147. package/platform/elasticsearchConnector.js.map +1 -0
  148. package/platform/environment.d.ts +242 -0
  149. package/platform/environment.js +159 -0
  150. package/platform/environment.js.map +1 -0
  151. package/platform/environmentClustersMapping.d.ts +130 -0
  152. package/platform/environmentClustersMapping.js +89 -0
  153. package/platform/environmentClustersMapping.js.map +1 -0
  154. package/platform/environmentGroup.d.ts +141 -0
  155. package/platform/environmentGroup.js +98 -0
  156. package/platform/environmentGroup.js.map +1 -0
  157. package/platform/environmentServiceOverrides.d.ts +165 -0
  158. package/platform/environmentServiceOverrides.js +125 -0
  159. package/platform/environmentServiceOverrides.js.map +1 -0
  160. package/platform/featureFlag.d.ts +240 -0
  161. package/platform/featureFlag.js +162 -0
  162. package/platform/featureFlag.js.map +1 -0
  163. package/platform/featureFlagApiKey.d.ts +162 -0
  164. package/platform/featureFlagApiKey.js +104 -0
  165. package/platform/featureFlagApiKey.js.map +1 -0
  166. package/platform/filters.d.ts +165 -0
  167. package/platform/filters.js +113 -0
  168. package/platform/filters.js.map +1 -0
  169. package/platform/gcpCloudCostConnector.d.ts +206 -0
  170. package/platform/gcpCloudCostConnector.js +127 -0
  171. package/platform/gcpCloudCostConnector.js.map +1 -0
  172. package/platform/gcpConnector.d.ts +157 -0
  173. package/platform/gcpConnector.js +89 -0
  174. package/platform/gcpConnector.js.map +1 -0
  175. package/platform/gcpSecretManagerConnector.d.ts +183 -0
  176. package/platform/gcpSecretManagerConnector.js +110 -0
  177. package/platform/gcpSecretManagerConnector.js.map +1 -0
  178. package/platform/getApiKey.d.ts +58 -0
  179. package/platform/getApiKey.js +28 -0
  180. package/platform/getApiKey.js.map +1 -0
  181. package/platform/getAppDynamicsConnector.d.ts +127 -0
  182. package/platform/getAppDynamicsConnector.js +50 -0
  183. package/platform/getAppDynamicsConnector.js.map +1 -0
  184. package/platform/getArtifactoryConnector.d.ts +119 -0
  185. package/platform/getArtifactoryConnector.js +51 -0
  186. package/platform/getArtifactoryConnector.js.map +1 -0
  187. package/platform/getAwsCCConnector.d.ts +127 -0
  188. package/platform/getAwsCCConnector.js +50 -0
  189. package/platform/getAwsCCConnector.js.map +1 -0
  190. package/platform/getAwsConnector.d.ts +135 -0
  191. package/platform/getAwsConnector.js +50 -0
  192. package/platform/getAwsConnector.js.map +1 -0
  193. package/platform/getAwsKmsConnector.d.ts +123 -0
  194. package/platform/getAwsKmsConnector.js +50 -0
  195. package/platform/getAwsKmsConnector.js.map +1 -0
  196. package/platform/getAwsSecretManagerConnector.d.ts +123 -0
  197. package/platform/getAwsSecretManagerConnector.js +50 -0
  198. package/platform/getAwsSecretManagerConnector.js.map +1 -0
  199. package/platform/getAzureCloudCostConnector.d.ts +123 -0
  200. package/platform/getAzureCloudCostConnector.js +50 -0
  201. package/platform/getAzureCloudCostConnector.js.map +1 -0
  202. package/platform/getAzureCloudProviderConnector.d.ts +123 -0
  203. package/platform/getAzureCloudProviderConnector.js +50 -0
  204. package/platform/getAzureCloudProviderConnector.js.map +1 -0
  205. package/platform/getAzureKeyVaultConnector.d.ts +138 -0
  206. package/platform/getAzureKeyVaultConnector.js +50 -0
  207. package/platform/getAzureKeyVaultConnector.js.map +1 -0
  208. package/platform/getBitbucketConnector.d.ts +131 -0
  209. package/platform/getBitbucketConnector.js +50 -0
  210. package/platform/getBitbucketConnector.js.map +1 -0
  211. package/platform/getCcmFilters.d.ts +117 -0
  212. package/platform/getCcmFilters.js +56 -0
  213. package/platform/getCcmFilters.js.map +1 -0
  214. package/platform/getCurrentUser.d.ts +70 -0
  215. package/platform/getCurrentUser.js +23 -0
  216. package/platform/getCurrentUser.js.map +1 -0
  217. package/platform/getDatadogConnector.d.ts +130 -0
  218. package/platform/getDatadogConnector.js +51 -0
  219. package/platform/getDatadogConnector.js.map +1 -0
  220. package/platform/getDockerConnector.d.ts +123 -0
  221. package/platform/getDockerConnector.js +50 -0
  222. package/platform/getDockerConnector.js.map +1 -0
  223. package/platform/getDynatraceConnector.d.ts +118 -0
  224. package/platform/getDynatraceConnector.js +50 -0
  225. package/platform/getDynatraceConnector.js.map +1 -0
  226. package/platform/getElasticsearchConnector.d.ts +123 -0
  227. package/platform/getElasticsearchConnector.js +50 -0
  228. package/platform/getElasticsearchConnector.js.map +1 -0
  229. package/platform/getEnvironment.d.ts +122 -0
  230. package/platform/getEnvironment.js +54 -0
  231. package/platform/getEnvironment.js.map +1 -0
  232. package/platform/getEnvironmentClustersMapping.d.ts +106 -0
  233. package/platform/getEnvironmentClustersMapping.js +54 -0
  234. package/platform/getEnvironmentClustersMapping.js.map +1 -0
  235. package/platform/getEnvironmentGroup.d.ts +106 -0
  236. package/platform/getEnvironmentGroup.js +54 -0
  237. package/platform/getEnvironmentGroup.js.map +1 -0
  238. package/platform/getEnvironmentServiceOverrides.d.ts +120 -0
  239. package/platform/getEnvironmentServiceOverrides.js +57 -0
  240. package/platform/getEnvironmentServiceOverrides.js.map +1 -0
  241. package/platform/getFilters.d.ts +117 -0
  242. package/platform/getFilters.js +56 -0
  243. package/platform/getFilters.js.map +1 -0
  244. package/platform/getGcpCloudCostConnector.d.ts +123 -0
  245. package/platform/getGcpCloudCostConnector.js +50 -0
  246. package/platform/getGcpCloudCostConnector.js.map +1 -0
  247. package/platform/getGcpConnector.d.ts +115 -0
  248. package/platform/getGcpConnector.js +50 -0
  249. package/platform/getGcpConnector.js.map +1 -0
  250. package/platform/getGcpSecretManagerConnector.d.ts +118 -0
  251. package/platform/getGcpSecretManagerConnector.js +50 -0
  252. package/platform/getGcpSecretManagerConnector.js.map +1 -0
  253. package/platform/getGitConnector.d.ts +127 -0
  254. package/platform/getGitConnector.js +50 -0
  255. package/platform/getGitConnector.js.map +1 -0
  256. package/platform/getGithubConnector.d.ts +132 -0
  257. package/platform/getGithubConnector.js +50 -0
  258. package/platform/getGithubConnector.js.map +1 -0
  259. package/platform/getGitlabConnector.d.ts +131 -0
  260. package/platform/getGitlabConnector.js +50 -0
  261. package/platform/getGitlabConnector.js.map +1 -0
  262. package/platform/getGitopsAgent.d.ts +128 -0
  263. package/platform/getGitopsAgent.js +56 -0
  264. package/platform/getGitopsAgent.js.map +1 -0
  265. package/platform/getGitopsAgentDeployYaml.d.ts +122 -0
  266. package/platform/getGitopsAgentDeployYaml.js +59 -0
  267. package/platform/getGitopsAgentDeployYaml.js.map +1 -0
  268. package/platform/getGitopsApplications.d.ts +326 -0
  269. package/platform/getGitopsApplications.js +78 -0
  270. package/platform/getGitopsApplications.js.map +1 -0
  271. package/platform/getGitopsCluster.d.ts +136 -0
  272. package/platform/getGitopsCluster.js +60 -0
  273. package/platform/getGitopsCluster.js.map +1 -0
  274. package/platform/getGitopsGnupg.d.ts +128 -0
  275. package/platform/getGitopsGnupg.js +56 -0
  276. package/platform/getGitopsGnupg.js.map +1 -0
  277. package/platform/getGitopsRepoCert.d.ts +76 -0
  278. package/platform/getGitopsRepoCert.js +28 -0
  279. package/platform/getGitopsRepoCert.js.map +1 -0
  280. package/platform/getGitopsRepoCred.d.ts +144 -0
  281. package/platform/getGitopsRepoCred.js +61 -0
  282. package/platform/getGitopsRepoCred.js.map +1 -0
  283. package/platform/getGitopsRepository.d.ts +196 -0
  284. package/platform/getGitopsRepository.js +65 -0
  285. package/platform/getGitopsRepository.js.map +1 -0
  286. package/platform/getHelmConnector.d.ts +119 -0
  287. package/platform/getHelmConnector.js +50 -0
  288. package/platform/getHelmConnector.js.map +1 -0
  289. package/platform/getInfrastructure.d.ts +138 -0
  290. package/platform/getInfrastructure.js +59 -0
  291. package/platform/getInfrastructure.js.map +1 -0
  292. package/platform/getInputSet.d.ts +114 -0
  293. package/platform/getInputSet.js +30 -0
  294. package/platform/getInputSet.js.map +1 -0
  295. package/platform/getJenkinsConnector.d.ts +119 -0
  296. package/platform/getJenkinsConnector.js +50 -0
  297. package/platform/getJenkinsConnector.js.map +1 -0
  298. package/platform/getJiraConnector.d.ts +131 -0
  299. package/platform/getJiraConnector.js +50 -0
  300. package/platform/getJiraConnector.js.map +1 -0
  301. package/platform/getKubernetesCloudCostConnector.d.ts +114 -0
  302. package/platform/getKubernetesCloudCostConnector.js +50 -0
  303. package/platform/getKubernetesCloudCostConnector.js.map +1 -0
  304. package/platform/getKubernetesConnector.d.ts +131 -0
  305. package/platform/getKubernetesConnector.js +50 -0
  306. package/platform/getKubernetesConnector.js.map +1 -0
  307. package/platform/getManualFreeze.d.ts +141 -0
  308. package/platform/getManualFreeze.js +56 -0
  309. package/platform/getManualFreeze.js.map +1 -0
  310. package/platform/getMonitoredService.d.ts +64 -0
  311. package/platform/getMonitoredService.js +27 -0
  312. package/platform/getMonitoredService.js.map +1 -0
  313. package/platform/getNexusConnector.d.ts +123 -0
  314. package/platform/getNexusConnector.js +50 -0
  315. package/platform/getNexusConnector.js.map +1 -0
  316. package/platform/getOciHelmConnector.d.ts +119 -0
  317. package/platform/getOciHelmConnector.js +50 -0
  318. package/platform/getOciHelmConnector.js.map +1 -0
  319. package/platform/getOrganization.d.ts +82 -0
  320. package/platform/getOrganization.js +49 -0
  321. package/platform/getOrganization.js.map +1 -0
  322. package/platform/getPagerdutyConnector.d.ts +114 -0
  323. package/platform/getPagerdutyConnector.js +50 -0
  324. package/platform/getPagerdutyConnector.js.map +1 -0
  325. package/platform/getPermissions.d.ts +81 -0
  326. package/platform/getPermissions.js +51 -0
  327. package/platform/getPermissions.js.map +1 -0
  328. package/platform/getPipeline.d.ts +136 -0
  329. package/platform/getPipeline.js +55 -0
  330. package/platform/getPipeline.js.map +1 -0
  331. package/platform/getPipelineFilters.d.ts +89 -0
  332. package/platform/getPipelineFilters.js +28 -0
  333. package/platform/getPipelineFilters.js.map +1 -0
  334. package/platform/getPolicy.d.ts +122 -0
  335. package/platform/getPolicy.js +55 -0
  336. package/platform/getPolicy.js.map +1 -0
  337. package/platform/getPolicySet.d.ts +172 -0
  338. package/platform/getPolicySet.js +70 -0
  339. package/platform/getPolicySet.js.map +1 -0
  340. package/platform/getProject.d.ts +112 -0
  341. package/platform/getProject.js +59 -0
  342. package/platform/getProject.js.map +1 -0
  343. package/platform/getPrometheusConnector.d.ts +127 -0
  344. package/platform/getPrometheusConnector.js +50 -0
  345. package/platform/getPrometheusConnector.js.map +1 -0
  346. package/platform/getResourceGroup.d.ts +127 -0
  347. package/platform/getResourceGroup.js +50 -0
  348. package/platform/getResourceGroup.js.map +1 -0
  349. package/platform/getRoleAssignments.d.ts +111 -0
  350. package/platform/getRoleAssignments.js +53 -0
  351. package/platform/getRoleAssignments.js.map +1 -0
  352. package/platform/getRoles.d.ts +134 -0
  353. package/platform/getRoles.js +56 -0
  354. package/platform/getRoles.js.map +1 -0
  355. package/platform/getSecretFile.d.ts +114 -0
  356. package/platform/getSecretFile.js +50 -0
  357. package/platform/getSecretFile.js.map +1 -0
  358. package/platform/getSecretSshkey.d.ts +119 -0
  359. package/platform/getSecretSshkey.js +50 -0
  360. package/platform/getSecretSshkey.js.map +1 -0
  361. package/platform/getSecretText.d.ts +118 -0
  362. package/platform/getSecretText.js +50 -0
  363. package/platform/getSecretText.js.map +1 -0
  364. package/platform/getService.d.ts +114 -0
  365. package/platform/getService.js +54 -0
  366. package/platform/getService.js.map +1 -0
  367. package/platform/getServiceAccount.d.ts +114 -0
  368. package/platform/getServiceAccount.js +51 -0
  369. package/platform/getServiceAccount.js.map +1 -0
  370. package/platform/getServiceNowConnector.d.ts +131 -0
  371. package/platform/getServiceNowConnector.js +50 -0
  372. package/platform/getServiceNowConnector.js.map +1 -0
  373. package/platform/getServiceOverridesV2.d.ts +49 -0
  374. package/platform/getServiceOverridesV2.js +27 -0
  375. package/platform/getServiceOverridesV2.js.map +1 -0
  376. package/platform/getSlo.d.ts +64 -0
  377. package/platform/getSlo.js +27 -0
  378. package/platform/getSlo.js.map +1 -0
  379. package/platform/getSplunkConnector.d.ts +126 -0
  380. package/platform/getSplunkConnector.js +50 -0
  381. package/platform/getSplunkConnector.js.map +1 -0
  382. package/platform/getSpotConnector.d.ts +111 -0
  383. package/platform/getSpotConnector.js +50 -0
  384. package/platform/getSpotConnector.js.map +1 -0
  385. package/platform/getSumologicConnector.d.ts +122 -0
  386. package/platform/getSumologicConnector.js +50 -0
  387. package/platform/getSumologicConnector.js.map +1 -0
  388. package/platform/getTasConnector.d.ts +119 -0
  389. package/platform/getTasConnector.js +50 -0
  390. package/platform/getTasConnector.js.map +1 -0
  391. package/platform/getTemplate.d.ts +222 -0
  392. package/platform/getTemplate.js +87 -0
  393. package/platform/getTemplate.js.map +1 -0
  394. package/platform/getTemplateFilters.d.ts +117 -0
  395. package/platform/getTemplateFilters.js +56 -0
  396. package/platform/getTemplateFilters.js.map +1 -0
  397. package/platform/getTerraformCloudConnector.d.ts +109 -0
  398. package/platform/getTerraformCloudConnector.js +46 -0
  399. package/platform/getTerraformCloudConnector.js.map +1 -0
  400. package/platform/getToken.d.ts +270 -0
  401. package/platform/getToken.js +73 -0
  402. package/platform/getToken.js.map +1 -0
  403. package/platform/getTriggers.d.ts +140 -0
  404. package/platform/getTriggers.js +58 -0
  405. package/platform/getTriggers.js.map +1 -0
  406. package/platform/getUser.d.ts +110 -0
  407. package/platform/getUser.js +53 -0
  408. package/platform/getUser.js.map +1 -0
  409. package/platform/getUsergroup.d.ts +166 -0
  410. package/platform/getUsergroup.js +66 -0
  411. package/platform/getUsergroup.js.map +1 -0
  412. package/platform/getVariables.d.ts +107 -0
  413. package/platform/getVariables.js +53 -0
  414. package/platform/getVariables.js.map +1 -0
  415. package/platform/getVaultConnector.d.ts +214 -0
  416. package/platform/getVaultConnector.js +50 -0
  417. package/platform/getVaultConnector.js.map +1 -0
  418. package/platform/gitConnector.d.ts +193 -0
  419. package/platform/gitConnector.js +104 -0
  420. package/platform/gitConnector.js.map +1 -0
  421. package/platform/gitOpsAgent.d.ts +192 -0
  422. package/platform/gitOpsAgent.js +111 -0
  423. package/platform/gitOpsAgent.js.map +1 -0
  424. package/platform/gitOpsApplications.d.ts +364 -0
  425. package/platform/gitOpsApplications.js +174 -0
  426. package/platform/gitOpsApplications.js.map +1 -0
  427. package/platform/gitOpsCluster.d.ts +139 -0
  428. package/platform/gitOpsCluster.js +87 -0
  429. package/platform/gitOpsCluster.js.map +1 -0
  430. package/platform/gitOpsGnupg.d.ts +141 -0
  431. package/platform/gitOpsGnupg.js +103 -0
  432. package/platform/gitOpsGnupg.js.map +1 -0
  433. package/platform/gitOpsRepoCert.d.ts +132 -0
  434. package/platform/gitOpsRepoCert.js +100 -0
  435. package/platform/gitOpsRepoCert.js.map +1 -0
  436. package/platform/gitOpsRepoCred.d.ts +159 -0
  437. package/platform/gitOpsRepoCred.js +107 -0
  438. package/platform/gitOpsRepoCred.js.map +1 -0
  439. package/platform/gitOpsRepository.d.ts +221 -0
  440. package/platform/gitOpsRepository.js +122 -0
  441. package/platform/gitOpsRepository.js.map +1 -0
  442. package/platform/githubConnector.d.ts +217 -0
  443. package/platform/githubConnector.js +108 -0
  444. package/platform/githubConnector.js.map +1 -0
  445. package/platform/gitlabConnector.d.ts +205 -0
  446. package/platform/gitlabConnector.js +106 -0
  447. package/platform/gitlabConnector.js.map +1 -0
  448. package/platform/helmConnector.d.ts +169 -0
  449. package/platform/helmConnector.js +94 -0
  450. package/platform/helmConnector.js.map +1 -0
  451. package/platform/index.d.ts +474 -0
  452. package/platform/index.js +651 -0
  453. package/platform/index.js.map +1 -0
  454. package/platform/infrastructure.d.ts +225 -0
  455. package/platform/infrastructure.js +138 -0
  456. package/platform/infrastructure.js.map +1 -0
  457. package/platform/inputSet.d.ts +218 -0
  458. package/platform/inputSet.js +152 -0
  459. package/platform/inputSet.js.map +1 -0
  460. package/platform/jenkinsConnector.d.ts +169 -0
  461. package/platform/jenkinsConnector.js +94 -0
  462. package/platform/jenkinsConnector.js.map +1 -0
  463. package/platform/jiraConnector.d.ts +228 -0
  464. package/platform/jiraConnector.js +126 -0
  465. package/platform/jiraConnector.js.map +1 -0
  466. package/platform/kubernetesCloudCostConnector.d.ts +174 -0
  467. package/platform/kubernetesCloudCostConnector.js +114 -0
  468. package/platform/kubernetesCloudCostConnector.js.map +1 -0
  469. package/platform/kubernetesConnector.d.ts +279 -0
  470. package/platform/kubernetesConnector.js +171 -0
  471. package/platform/kubernetesConnector.js.map +1 -0
  472. package/platform/manualFreeze.d.ts +224 -0
  473. package/platform/manualFreeze.js +144 -0
  474. package/platform/manualFreeze.js.map +1 -0
  475. package/platform/monitoredService.d.ts +109 -0
  476. package/platform/monitoredService.js +87 -0
  477. package/platform/monitoredService.js.map +1 -0
  478. package/platform/newrelicConnector.d.ts +197 -0
  479. package/platform/newrelicConnector.js +120 -0
  480. package/platform/newrelicConnector.js.map +1 -0
  481. package/platform/nexusConnector.d.ts +181 -0
  482. package/platform/nexusConnector.js +99 -0
  483. package/platform/nexusConnector.js.map +1 -0
  484. package/platform/ociHelmConnector.d.ts +169 -0
  485. package/platform/ociHelmConnector.js +94 -0
  486. package/platform/ociHelmConnector.js.map +1 -0
  487. package/platform/organization.d.ts +112 -0
  488. package/platform/organization.js +86 -0
  489. package/platform/organization.js.map +1 -0
  490. package/platform/pagerdutyConnector.d.ts +171 -0
  491. package/platform/pagerdutyConnector.js +108 -0
  492. package/platform/pagerdutyConnector.js.map +1 -0
  493. package/platform/pipeline.d.ts +277 -0
  494. package/platform/pipeline.js +198 -0
  495. package/platform/pipeline.js.map +1 -0
  496. package/platform/pipelineFilters.d.ts +165 -0
  497. package/platform/pipelineFilters.js +113 -0
  498. package/platform/pipelineFilters.js.map +1 -0
  499. package/platform/policy.d.ts +131 -0
  500. package/platform/policy.js +78 -0
  501. package/platform/policy.js.map +1 -0
  502. package/platform/policySet.d.ts +169 -0
  503. package/platform/policySet.js +87 -0
  504. package/platform/policySet.js.map +1 -0
  505. package/platform/project.d.ts +141 -0
  506. package/platform/project.js +92 -0
  507. package/platform/project.js.map +1 -0
  508. package/platform/prometheusConnector.d.ts +217 -0
  509. package/platform/prometheusConnector.js +122 -0
  510. package/platform/prometheusConnector.js.map +1 -0
  511. package/platform/resourceGroup.d.ts +223 -0
  512. package/platform/resourceGroup.js +128 -0
  513. package/platform/resourceGroup.js.map +1 -0
  514. package/platform/roleAssignments.d.ts +157 -0
  515. package/platform/roleAssignments.js +95 -0
  516. package/platform/roleAssignments.js.map +1 -0
  517. package/platform/roles.d.ts +171 -0
  518. package/platform/roles.js +105 -0
  519. package/platform/roles.js.map +1 -0
  520. package/platform/secretFile.d.ts +171 -0
  521. package/platform/secretFile.js +111 -0
  522. package/platform/secretFile.js.map +1 -0
  523. package/platform/secretSshkey.d.ts +169 -0
  524. package/platform/secretSshkey.js +91 -0
  525. package/platform/secretSshkey.js.map +1 -0
  526. package/platform/secretText.d.ts +193 -0
  527. package/platform/secretText.js +128 -0
  528. package/platform/secretText.js.map +1 -0
  529. package/platform/service.d.ts +209 -0
  530. package/platform/service.js +143 -0
  531. package/platform/service.js.map +1 -0
  532. package/platform/serviceAccount.d.ts +171 -0
  533. package/platform/serviceAccount.js +111 -0
  534. package/platform/serviceAccount.js.map +1 -0
  535. package/platform/serviceNowConnector.d.ts +205 -0
  536. package/platform/serviceNowConnector.js +103 -0
  537. package/platform/serviceNowConnector.js.map +1 -0
  538. package/platform/serviceOverridesV2.d.ts +144 -0
  539. package/platform/serviceOverridesV2.js +77 -0
  540. package/platform/serviceOverridesV2.js.map +1 -0
  541. package/platform/slo.d.ts +109 -0
  542. package/platform/slo.js +87 -0
  543. package/platform/slo.js.map +1 -0
  544. package/platform/splunkConnector.d.ts +210 -0
  545. package/platform/splunkConnector.js +126 -0
  546. package/platform/splunkConnector.js.map +1 -0
  547. package/platform/spotConnector.d.ts +133 -0
  548. package/platform/spotConnector.js +78 -0
  549. package/platform/spotConnector.js.map +1 -0
  550. package/platform/sumologicConnector.d.ts +197 -0
  551. package/platform/sumologicConnector.js +120 -0
  552. package/platform/sumologicConnector.js.map +1 -0
  553. package/platform/tasConnector.d.ts +169 -0
  554. package/platform/tasConnector.js +94 -0
  555. package/platform/tasConnector.js.map +1 -0
  556. package/platform/template.d.ts +1042 -0
  557. package/platform/template.js +934 -0
  558. package/platform/template.js.map +1 -0
  559. package/platform/templateFilters.d.ts +165 -0
  560. package/platform/templateFilters.js +113 -0
  561. package/platform/templateFilters.js.map +1 -0
  562. package/platform/terraformCloudConnector.d.ts +151 -0
  563. package/platform/terraformCloudConnector.js +97 -0
  564. package/platform/terraformCloudConnector.js.map +1 -0
  565. package/platform/token.d.ts +269 -0
  566. package/platform/token.js +119 -0
  567. package/platform/token.js.map +1 -0
  568. package/platform/triggers.d.ts +211 -0
  569. package/platform/triggers.js +137 -0
  570. package/platform/triggers.js.map +1 -0
  571. package/platform/user.d.ts +161 -0
  572. package/platform/user.js +96 -0
  573. package/platform/user.js.map +1 -0
  574. package/platform/usergroup.d.ts +389 -0
  575. package/platform/usergroup.js +241 -0
  576. package/platform/usergroup.js.map +1 -0
  577. package/platform/variables.d.ts +164 -0
  578. package/platform/variables.js +112 -0
  579. package/platform/variables.js.map +1 -0
  580. package/platform/vaultConnector.d.ts +573 -0
  581. package/platform/vaultConnector.js +263 -0
  582. package/platform/vaultConnector.js.map +1 -0
  583. package/platformApiKey.d.ts +162 -0
  584. package/platformApiKey.js +79 -0
  585. package/platformApiKey.js.map +1 -0
  586. package/platformCcmFilters.d.ts +165 -0
  587. package/platformCcmFilters.js +113 -0
  588. package/platformCcmFilters.js.map +1 -0
  589. package/provider.d.ts +67 -0
  590. package/provider.js +49 -0
  591. package/provider.js.map +1 -0
  592. package/service/ami.d.ts +111 -0
  593. package/service/ami.js +83 -0
  594. package/service/ami.js.map +1 -0
  595. package/service/codedeploy.d.ts +111 -0
  596. package/service/codedeploy.js +83 -0
  597. package/service/codedeploy.js.map +1 -0
  598. package/service/ecs.d.ts +111 -0
  599. package/service/ecs.js +83 -0
  600. package/service/ecs.js.map +1 -0
  601. package/service/helm.d.ts +111 -0
  602. package/service/helm.js +83 -0
  603. package/service/helm.js.map +1 -0
  604. package/service/index.d.ts +27 -0
  605. package/service/index.js +62 -0
  606. package/service/index.js.map +1 -0
  607. package/service/kubernetes.d.ts +136 -0
  608. package/service/kubernetes.js +98 -0
  609. package/service/kubernetes.js.map +1 -0
  610. package/service/lambda.d.ts +111 -0
  611. package/service/lambda.js +83 -0
  612. package/service/lambda.js.map +1 -0
  613. package/service/ssh.d.ts +124 -0
  614. package/service/ssh.js +89 -0
  615. package/service/ssh.js.map +1 -0
  616. package/service/tanzu.d.ts +111 -0
  617. package/service/tanzu.js +83 -0
  618. package/service/tanzu.js.map +1 -0
  619. package/service/winrm.d.ts +124 -0
  620. package/service/winrm.js +89 -0
  621. package/service/winrm.js.map +1 -0
  622. package/sshCredential.d.ts +128 -0
  623. package/sshCredential.js +97 -0
  624. package/sshCredential.js.map +1 -0
  625. package/types/index.d.ts +3 -0
  626. package/types/index.js +11 -0
  627. package/types/index.js.map +1 -0
  628. package/types/input.d.ts +4864 -0
  629. package/types/input.js +5 -0
  630. package/types/input.js.map +1 -0
  631. package/types/output.d.ts +5677 -0
  632. package/types/output.js +5 -0
  633. package/types/output.js.map +1 -0
  634. package/user.d.ts +135 -0
  635. package/user.js +89 -0
  636. package/user.js.map +1 -0
  637. package/userGroup.d.ts +265 -0
  638. package/userGroup.js +202 -0
  639. package/userGroup.js.map +1 -0
  640. package/userGroupPermissions.d.ts +77 -0
  641. package/userGroupPermissions.js +59 -0
  642. package/userGroupPermissions.js.map +1 -0
  643. package/utilities.d.ts +8 -0
  644. package/utilities.js +101 -0
  645. package/utilities.js.map +1 -0
  646. package/yamlConfig.d.ts +115 -0
  647. package/yamlConfig.js +96 -0
  648. package/yamlConfig.js.map +1 -0
@@ -0,0 +1,139 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for configuring application git sync.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as harness from "@pulumi/harness";
10
+ *
11
+ * const default = harness.getSecretManager({
12
+ * "default": true,
13
+ * });
14
+ * const githubToken = new harness.EncryptedText("github_token", {
15
+ * name: "github_token",
16
+ * value: "<TOKEN>",
17
+ * secretManagerId: _default.then(_default => _default.id),
18
+ * });
19
+ * const myrepo = new harness.GitConnector("myrepo", {
20
+ * name: "myrepo",
21
+ * url: "https://github.com/someorg/myrepo",
22
+ * branch: "main",
23
+ * generateWebhookUrl: true,
24
+ * username: "someuser",
25
+ * passwordSecretId: githubToken.id,
26
+ * urlType: "REPO",
27
+ * });
28
+ * const example = new harness.Application("example", {name: "example-app"});
29
+ * const exampleApplicationGitSync = new harness.ApplicationGitSync("example", {
30
+ * appId: example.id,
31
+ * connectorId: myrepo.id,
32
+ * branch: "main",
33
+ * enabled: false,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * Import using the Harness application id
40
+ *
41
+ * ```sh
42
+ * $ pulumi import harness:index/applicationGitSync:ApplicationGitSync myapp Xyz123
43
+ * ```
44
+ */
45
+ export declare class ApplicationGitSync extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing ApplicationGitSync resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationGitSyncState, opts?: pulumi.CustomResourceOptions): ApplicationGitSync;
56
+ /**
57
+ * Returns true if the given object is an instance of ApplicationGitSync. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is ApplicationGitSync;
61
+ /**
62
+ * The id of the application.
63
+ */
64
+ readonly appId: pulumi.Output<string>;
65
+ /**
66
+ * The branch of the git repository to sync to.
67
+ */
68
+ readonly branch: pulumi.Output<string>;
69
+ /**
70
+ * The id of the git connector to use.
71
+ */
72
+ readonly connectorId: pulumi.Output<string>;
73
+ /**
74
+ * Whether or not to enable git sync.
75
+ */
76
+ readonly enabled: pulumi.Output<boolean | undefined>;
77
+ /**
78
+ * The name of the git repository to sync to. This is only used if the git connector is for an account and not an individual repository.
79
+ */
80
+ readonly repositoryName: pulumi.Output<string | undefined>;
81
+ /**
82
+ * Create a ApplicationGitSync resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name: string, args: ApplicationGitSyncArgs, opts?: pulumi.CustomResourceOptions);
89
+ }
90
+ /**
91
+ * Input properties used for looking up and filtering ApplicationGitSync resources.
92
+ */
93
+ export interface ApplicationGitSyncState {
94
+ /**
95
+ * The id of the application.
96
+ */
97
+ appId?: pulumi.Input<string>;
98
+ /**
99
+ * The branch of the git repository to sync to.
100
+ */
101
+ branch?: pulumi.Input<string>;
102
+ /**
103
+ * The id of the git connector to use.
104
+ */
105
+ connectorId?: pulumi.Input<string>;
106
+ /**
107
+ * Whether or not to enable git sync.
108
+ */
109
+ enabled?: pulumi.Input<boolean>;
110
+ /**
111
+ * The name of the git repository to sync to. This is only used if the git connector is for an account and not an individual repository.
112
+ */
113
+ repositoryName?: pulumi.Input<string>;
114
+ }
115
+ /**
116
+ * The set of arguments for constructing a ApplicationGitSync resource.
117
+ */
118
+ export interface ApplicationGitSyncArgs {
119
+ /**
120
+ * The id of the application.
121
+ */
122
+ appId: pulumi.Input<string>;
123
+ /**
124
+ * The branch of the git repository to sync to.
125
+ */
126
+ branch: pulumi.Input<string>;
127
+ /**
128
+ * The id of the git connector to use.
129
+ */
130
+ connectorId: pulumi.Input<string>;
131
+ /**
132
+ * Whether or not to enable git sync.
133
+ */
134
+ enabled?: pulumi.Input<boolean>;
135
+ /**
136
+ * The name of the git repository to sync to. This is only used if the git connector is for an account and not an individual repository.
137
+ */
138
+ repositoryName?: pulumi.Input<string>;
139
+ }
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ApplicationGitSync = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Resource for configuring application git sync.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const default = harness.getSecretManager({
18
+ * "default": true,
19
+ * });
20
+ * const githubToken = new harness.EncryptedText("github_token", {
21
+ * name: "github_token",
22
+ * value: "<TOKEN>",
23
+ * secretManagerId: _default.then(_default => _default.id),
24
+ * });
25
+ * const myrepo = new harness.GitConnector("myrepo", {
26
+ * name: "myrepo",
27
+ * url: "https://github.com/someorg/myrepo",
28
+ * branch: "main",
29
+ * generateWebhookUrl: true,
30
+ * username: "someuser",
31
+ * passwordSecretId: githubToken.id,
32
+ * urlType: "REPO",
33
+ * });
34
+ * const example = new harness.Application("example", {name: "example-app"});
35
+ * const exampleApplicationGitSync = new harness.ApplicationGitSync("example", {
36
+ * appId: example.id,
37
+ * connectorId: myrepo.id,
38
+ * branch: "main",
39
+ * enabled: false,
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * Import using the Harness application id
46
+ *
47
+ * ```sh
48
+ * $ pulumi import harness:index/applicationGitSync:ApplicationGitSync myapp Xyz123
49
+ * ```
50
+ */
51
+ class ApplicationGitSync extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing ApplicationGitSync resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, state, opts) {
62
+ return new ApplicationGitSync(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of ApplicationGitSync. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === ApplicationGitSync.__pulumiType;
73
+ }
74
+ constructor(name, argsOrState, opts) {
75
+ let resourceInputs = {};
76
+ opts = opts || {};
77
+ if (opts.id) {
78
+ const state = argsOrState;
79
+ resourceInputs["appId"] = state ? state.appId : undefined;
80
+ resourceInputs["branch"] = state ? state.branch : undefined;
81
+ resourceInputs["connectorId"] = state ? state.connectorId : undefined;
82
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
83
+ resourceInputs["repositoryName"] = state ? state.repositoryName : undefined;
84
+ }
85
+ else {
86
+ const args = argsOrState;
87
+ if ((!args || args.appId === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'appId'");
89
+ }
90
+ if ((!args || args.branch === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'branch'");
92
+ }
93
+ if ((!args || args.connectorId === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'connectorId'");
95
+ }
96
+ resourceInputs["appId"] = args ? args.appId : undefined;
97
+ resourceInputs["branch"] = args ? args.branch : undefined;
98
+ resourceInputs["connectorId"] = args ? args.connectorId : undefined;
99
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
100
+ resourceInputs["repositoryName"] = args ? args.repositoryName : undefined;
101
+ }
102
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
+ super(ApplicationGitSync.__pulumiType, name, resourceInputs, opts);
104
+ }
105
+ }
106
+ exports.ApplicationGitSync = ApplicationGitSync;
107
+ /** @internal */
108
+ ApplicationGitSync.__pulumiType = 'harness:index/applicationGitSync:ApplicationGitSync';
109
+ //# sourceMappingURL=applicationGitSync.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationGitSync.js","sourceRoot":"","sources":["../applicationGitSync.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,183 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for creating an AWS cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * const default = harness.getSecretManager({
14
+ * "default": true,
15
+ * });
16
+ * const awsAccessKey = new harness.EncryptedText("aws_access_key", {
17
+ * name: "aws_access_key",
18
+ * value: "<ACCESS_KEY_ID>",
19
+ * secretManagerId: _default.then(_default => _default.id),
20
+ * });
21
+ * const awsSecretKey = new harness.EncryptedText("aws_secret_key", {
22
+ * name: "aws_secret_key",
23
+ * value: "<SECRET_KEY_ID>",
24
+ * secretManagerId: _default.then(_default => _default.id),
25
+ * });
26
+ * const aws = new harness.cloudprovider.Aws("aws", {
27
+ * name: "Example aws cloud provider",
28
+ * accessKeyIdSecretName: awsAccessKey.name,
29
+ * secretAccessKeySecretName: awsSecretKey.name,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * Import using the Harness aws cloud provider id.
36
+ *
37
+ * ```sh
38
+ * $ pulumi import harness:cloudprovider/aws:Aws example <provider_id>
39
+ * ```
40
+ */
41
+ export declare class Aws extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing Aws resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsState, opts?: pulumi.CustomResourceOptions): Aws;
52
+ /**
53
+ * Returns true if the given object is an instance of Aws. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj: any): obj is Aws;
57
+ /**
58
+ * The plain text AWS access key id.
59
+ */
60
+ readonly accessKeyId: pulumi.Output<string | undefined>;
61
+ /**
62
+ * The name of the Harness secret containing the AWS access key id
63
+ */
64
+ readonly accessKeyIdSecretName: pulumi.Output<string | undefined>;
65
+ /**
66
+ * Configuration for assuming a cross account role.
67
+ */
68
+ readonly assumeCrossAccountRole: pulumi.Output<outputs.cloudprovider.AwsAssumeCrossAccountRole | undefined>;
69
+ /**
70
+ * Select the Delegate to use via one of its Selectors.
71
+ */
72
+ readonly delegateSelector: pulumi.Output<string | undefined>;
73
+ /**
74
+ * The name of the cloud provider.
75
+ */
76
+ readonly name: pulumi.Output<string>;
77
+ /**
78
+ * The name of the Harness secret containing the AWS secret access key.
79
+ */
80
+ readonly secretAccessKeySecretName: pulumi.Output<string | undefined>;
81
+ /**
82
+ * This block is used for scoping the resource to a specific set of applications or environments.
83
+ */
84
+ readonly usageScopes: pulumi.Output<outputs.cloudprovider.AwsUsageScope[] | undefined>;
85
+ /**
86
+ * Use the EC2 Instance Profile for Service Accounts.
87
+ */
88
+ readonly useEc2IamCredentials: pulumi.Output<boolean | undefined>;
89
+ /**
90
+ * Use the AWS IAM Role for Service Accounts.
91
+ */
92
+ readonly useIrsa: pulumi.Output<boolean | undefined>;
93
+ /**
94
+ * Create a Aws resource with the given unique name, arguments, and options.
95
+ *
96
+ * @param name The _unique_ name of the resource.
97
+ * @param args The arguments to use to populate this resource's properties.
98
+ * @param opts A bag of options that control this resource's behavior.
99
+ */
100
+ constructor(name: string, args?: AwsArgs, opts?: pulumi.CustomResourceOptions);
101
+ }
102
+ /**
103
+ * Input properties used for looking up and filtering Aws resources.
104
+ */
105
+ export interface AwsState {
106
+ /**
107
+ * The plain text AWS access key id.
108
+ */
109
+ accessKeyId?: pulumi.Input<string>;
110
+ /**
111
+ * The name of the Harness secret containing the AWS access key id
112
+ */
113
+ accessKeyIdSecretName?: pulumi.Input<string>;
114
+ /**
115
+ * Configuration for assuming a cross account role.
116
+ */
117
+ assumeCrossAccountRole?: pulumi.Input<inputs.cloudprovider.AwsAssumeCrossAccountRole>;
118
+ /**
119
+ * Select the Delegate to use via one of its Selectors.
120
+ */
121
+ delegateSelector?: pulumi.Input<string>;
122
+ /**
123
+ * The name of the cloud provider.
124
+ */
125
+ name?: pulumi.Input<string>;
126
+ /**
127
+ * The name of the Harness secret containing the AWS secret access key.
128
+ */
129
+ secretAccessKeySecretName?: pulumi.Input<string>;
130
+ /**
131
+ * This block is used for scoping the resource to a specific set of applications or environments.
132
+ */
133
+ usageScopes?: pulumi.Input<pulumi.Input<inputs.cloudprovider.AwsUsageScope>[]>;
134
+ /**
135
+ * Use the EC2 Instance Profile for Service Accounts.
136
+ */
137
+ useEc2IamCredentials?: pulumi.Input<boolean>;
138
+ /**
139
+ * Use the AWS IAM Role for Service Accounts.
140
+ */
141
+ useIrsa?: pulumi.Input<boolean>;
142
+ }
143
+ /**
144
+ * The set of arguments for constructing a Aws resource.
145
+ */
146
+ export interface AwsArgs {
147
+ /**
148
+ * The plain text AWS access key id.
149
+ */
150
+ accessKeyId?: pulumi.Input<string>;
151
+ /**
152
+ * The name of the Harness secret containing the AWS access key id
153
+ */
154
+ accessKeyIdSecretName?: pulumi.Input<string>;
155
+ /**
156
+ * Configuration for assuming a cross account role.
157
+ */
158
+ assumeCrossAccountRole?: pulumi.Input<inputs.cloudprovider.AwsAssumeCrossAccountRole>;
159
+ /**
160
+ * Select the Delegate to use via one of its Selectors.
161
+ */
162
+ delegateSelector?: pulumi.Input<string>;
163
+ /**
164
+ * The name of the cloud provider.
165
+ */
166
+ name?: pulumi.Input<string>;
167
+ /**
168
+ * The name of the Harness secret containing the AWS secret access key.
169
+ */
170
+ secretAccessKeySecretName?: pulumi.Input<string>;
171
+ /**
172
+ * This block is used for scoping the resource to a specific set of applications or environments.
173
+ */
174
+ usageScopes?: pulumi.Input<pulumi.Input<inputs.cloudprovider.AwsUsageScope>[]>;
175
+ /**
176
+ * Use the EC2 Instance Profile for Service Accounts.
177
+ */
178
+ useEc2IamCredentials?: pulumi.Input<boolean>;
179
+ /**
180
+ * Use the AWS IAM Role for Service Accounts.
181
+ */
182
+ useIrsa?: pulumi.Input<boolean>;
183
+ }
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Aws = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for creating an AWS cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const default = harness.getSecretManager({
18
+ * "default": true,
19
+ * });
20
+ * const awsAccessKey = new harness.EncryptedText("aws_access_key", {
21
+ * name: "aws_access_key",
22
+ * value: "<ACCESS_KEY_ID>",
23
+ * secretManagerId: _default.then(_default => _default.id),
24
+ * });
25
+ * const awsSecretKey = new harness.EncryptedText("aws_secret_key", {
26
+ * name: "aws_secret_key",
27
+ * value: "<SECRET_KEY_ID>",
28
+ * secretManagerId: _default.then(_default => _default.id),
29
+ * });
30
+ * const aws = new harness.cloudprovider.Aws("aws", {
31
+ * name: "Example aws cloud provider",
32
+ * accessKeyIdSecretName: awsAccessKey.name,
33
+ * secretAccessKeySecretName: awsSecretKey.name,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * Import using the Harness aws cloud provider id.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import harness:cloudprovider/aws:Aws example <provider_id>
43
+ * ```
44
+ */
45
+ class Aws extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing Aws resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, state, opts) {
56
+ return new Aws(name, state, Object.assign(Object.assign({}, opts), { id: id }));
57
+ }
58
+ /**
59
+ * Returns true if the given object is an instance of Aws. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === Aws.__pulumiType;
67
+ }
68
+ constructor(name, argsOrState, opts) {
69
+ let resourceInputs = {};
70
+ opts = opts || {};
71
+ if (opts.id) {
72
+ const state = argsOrState;
73
+ resourceInputs["accessKeyId"] = state ? state.accessKeyId : undefined;
74
+ resourceInputs["accessKeyIdSecretName"] = state ? state.accessKeyIdSecretName : undefined;
75
+ resourceInputs["assumeCrossAccountRole"] = state ? state.assumeCrossAccountRole : undefined;
76
+ resourceInputs["delegateSelector"] = state ? state.delegateSelector : undefined;
77
+ resourceInputs["name"] = state ? state.name : undefined;
78
+ resourceInputs["secretAccessKeySecretName"] = state ? state.secretAccessKeySecretName : undefined;
79
+ resourceInputs["usageScopes"] = state ? state.usageScopes : undefined;
80
+ resourceInputs["useEc2IamCredentials"] = state ? state.useEc2IamCredentials : undefined;
81
+ resourceInputs["useIrsa"] = state ? state.useIrsa : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ resourceInputs["accessKeyId"] = args ? args.accessKeyId : undefined;
86
+ resourceInputs["accessKeyIdSecretName"] = args ? args.accessKeyIdSecretName : undefined;
87
+ resourceInputs["assumeCrossAccountRole"] = args ? args.assumeCrossAccountRole : undefined;
88
+ resourceInputs["delegateSelector"] = args ? args.delegateSelector : undefined;
89
+ resourceInputs["name"] = args ? args.name : undefined;
90
+ resourceInputs["secretAccessKeySecretName"] = args ? args.secretAccessKeySecretName : undefined;
91
+ resourceInputs["usageScopes"] = args ? args.usageScopes : undefined;
92
+ resourceInputs["useEc2IamCredentials"] = args ? args.useEc2IamCredentials : undefined;
93
+ resourceInputs["useIrsa"] = args ? args.useIrsa : undefined;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ super(Aws.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+ exports.Aws = Aws;
100
+ /** @internal */
101
+ Aws.__pulumiType = 'harness:cloudprovider/aws:Aws';
102
+ //# sourceMappingURL=aws.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws.js","sourceRoot":"","sources":["../../cloudprovider/aws.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,129 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for creating an Azure cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as harness from "@pulumi/harness";
10
+ *
11
+ * const default = harness.getSecretManager({
12
+ * "default": true,
13
+ * });
14
+ * const azureKey = new harness.EncryptedText("azure_key", {
15
+ * name: "azure_key",
16
+ * value: "<AZURE_KEY>",
17
+ * secretManagerId: _default.then(_default => _default.id),
18
+ * });
19
+ * const azure = new harness.cloudprovider.Azure("azure", {
20
+ * name: "azure",
21
+ * clientId: "<AZURE_CLIENT_ID>",
22
+ * tenantId: "<AZURE_TENANT_ID>",
23
+ * key: azureKey.name,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Import using the Harness azure cloud provider id.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import harness:cloudprovider/azure:Azure example <provider_id>
33
+ * ```
34
+ */
35
+ export declare class Azure extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing Azure resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureState, opts?: pulumi.CustomResourceOptions): Azure;
46
+ /**
47
+ * Returns true if the given object is an instance of Azure. 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: any): obj is Azure;
51
+ /**
52
+ * The client id for the Azure application
53
+ */
54
+ readonly clientId: pulumi.Output<string>;
55
+ /**
56
+ * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT]
57
+ */
58
+ readonly environmentType: pulumi.Output<string | undefined>;
59
+ /**
60
+ * The Name of the Harness secret containing the key for the Azure application
61
+ */
62
+ readonly key: pulumi.Output<string>;
63
+ /**
64
+ * The name of the cloud provider.
65
+ */
66
+ readonly name: pulumi.Output<string>;
67
+ /**
68
+ * The tenant id for the Azure application
69
+ */
70
+ readonly tenantId: pulumi.Output<string>;
71
+ /**
72
+ * Create a Azure resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: AzureArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering Azure resources.
82
+ */
83
+ export interface AzureState {
84
+ /**
85
+ * The client id for the Azure application
86
+ */
87
+ clientId?: pulumi.Input<string>;
88
+ /**
89
+ * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT]
90
+ */
91
+ environmentType?: pulumi.Input<string>;
92
+ /**
93
+ * The Name of the Harness secret containing the key for the Azure application
94
+ */
95
+ key?: pulumi.Input<string>;
96
+ /**
97
+ * The name of the cloud provider.
98
+ */
99
+ name?: pulumi.Input<string>;
100
+ /**
101
+ * The tenant id for the Azure application
102
+ */
103
+ tenantId?: pulumi.Input<string>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a Azure resource.
107
+ */
108
+ export interface AzureArgs {
109
+ /**
110
+ * The client id for the Azure application
111
+ */
112
+ clientId: pulumi.Input<string>;
113
+ /**
114
+ * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT]
115
+ */
116
+ environmentType?: pulumi.Input<string>;
117
+ /**
118
+ * The Name of the Harness secret containing the key for the Azure application
119
+ */
120
+ key: pulumi.Input<string>;
121
+ /**
122
+ * The name of the cloud provider.
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ /**
126
+ * The tenant id for the Azure application
127
+ */
128
+ tenantId: pulumi.Input<string>;
129
+ }