@pulumi/github 6.0.0-alpha.1709638261 → 6.0.0-alpha.1768023817

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 (486) hide show
  1. package/actionsEnvironmentSecret.d.ts +0 -37
  2. package/actionsEnvironmentSecret.js +17 -54
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsEnvironmentVariable.d.ts +5 -5
  5. package/actionsEnvironmentVariable.js +21 -21
  6. package/actionsEnvironmentVariable.js.map +1 -1
  7. package/actionsHostedRunner.d.ts +250 -0
  8. package/actionsHostedRunner.js +158 -0
  9. package/actionsHostedRunner.js.map +1 -0
  10. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -2
  11. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +7 -7
  12. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  13. package/actionsOrganizationPermissions.d.ts +2 -2
  14. package/actionsOrganizationPermissions.js +13 -13
  15. package/actionsOrganizationPermissions.js.map +1 -1
  16. package/actionsOrganizationSecret.d.ts +6 -39
  17. package/actionsOrganizationSecret.js +21 -55
  18. package/actionsOrganizationSecret.js.map +1 -1
  19. package/actionsOrganizationSecretRepositories.d.ts +2 -2
  20. package/actionsOrganizationSecretRepositories.js +10 -10
  21. package/actionsOrganizationSecretRepositories.js.map +1 -1
  22. package/actionsOrganizationSecretRepository.d.ts +89 -0
  23. package/actionsOrganizationSecretRepository.js +86 -0
  24. package/actionsOrganizationSecretRepository.js.map +1 -0
  25. package/actionsOrganizationVariable.d.ts +4 -4
  26. package/actionsOrganizationVariable.js +19 -19
  27. package/actionsOrganizationVariable.js.map +1 -1
  28. package/actionsRepositoryAccessLevel.d.ts +5 -2
  29. package/actionsRepositoryAccessLevel.js +13 -10
  30. package/actionsRepositoryAccessLevel.js.map +1 -1
  31. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +3 -3
  32. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +13 -13
  33. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  34. package/actionsRepositoryPermissions.d.ts +2 -2
  35. package/actionsRepositoryPermissions.js +13 -13
  36. package/actionsRepositoryPermissions.js.map +1 -1
  37. package/actionsRunnerGroup.d.ts +5 -4
  38. package/actionsRunnerGroup.js +25 -24
  39. package/actionsRunnerGroup.js.map +1 -1
  40. package/actionsSecret.d.ts +6 -21
  41. package/actionsSecret.js +19 -35
  42. package/actionsSecret.js.map +1 -1
  43. package/actionsVariable.d.ts +3 -3
  44. package/actionsVariable.js +16 -16
  45. package/actionsVariable.js.map +1 -1
  46. package/appInstallationRepositories.d.ts +3 -2
  47. package/appInstallationRepositories.js +11 -10
  48. package/appInstallationRepositories.js.map +1 -1
  49. package/appInstallationRepository.d.ts +5 -4
  50. package/appInstallationRepository.js +14 -13
  51. package/appInstallationRepository.js.map +1 -1
  52. package/branch.d.ts +11 -6
  53. package/branch.js +23 -22
  54. package/branch.js.map +1 -1
  55. package/branchDefault.d.ts +4 -1
  56. package/branchDefault.js +15 -13
  57. package/branchDefault.js.map +1 -1
  58. package/branchProtection.d.ts +9 -9
  59. package/branchProtection.js +39 -39
  60. package/branchProtection.js.map +1 -1
  61. package/branchProtectionV3.d.ts +58 -1
  62. package/branchProtectionV3.js +79 -22
  63. package/branchProtectionV3.js.map +1 -1
  64. package/codespacesOrganizationSecret.d.ts +2 -39
  65. package/codespacesOrganizationSecret.js +18 -55
  66. package/codespacesOrganizationSecret.js.map +1 -1
  67. package/codespacesOrganizationSecretRepositories.d.ts +2 -2
  68. package/codespacesOrganizationSecretRepositories.js +10 -10
  69. package/codespacesOrganizationSecretRepositories.js.map +1 -1
  70. package/codespacesSecret.d.ts +3 -21
  71. package/codespacesSecret.js +17 -35
  72. package/codespacesSecret.js.map +1 -1
  73. package/codespacesUserSecret.d.ts +2 -21
  74. package/codespacesUserSecret.js +15 -34
  75. package/codespacesUserSecret.js.map +1 -1
  76. package/config/index.js +1 -1
  77. package/config/index.js.map +1 -1
  78. package/config/vars.d.ts +8 -9
  79. package/config/vars.js +9 -5
  80. package/config/vars.js.map +1 -1
  81. package/dependabotOrganizationSecret.d.ts +2 -39
  82. package/dependabotOrganizationSecret.js +18 -55
  83. package/dependabotOrganizationSecret.js.map +1 -1
  84. package/dependabotOrganizationSecretRepositories.d.ts +3 -3
  85. package/dependabotOrganizationSecretRepositories.js +11 -11
  86. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  87. package/dependabotSecret.d.ts +3 -21
  88. package/dependabotSecret.js +17 -35
  89. package/dependabotSecret.js.map +1 -1
  90. package/emuGroupMapping.d.ts +3 -4
  91. package/emuGroupMapping.js +12 -13
  92. package/emuGroupMapping.js.map +1 -1
  93. package/enterpriseActionsPermissions.d.ts +137 -0
  94. package/enterpriseActionsPermissions.js +102 -0
  95. package/enterpriseActionsPermissions.js.map +1 -0
  96. package/enterpriseActionsRunnerGroup.d.ts +190 -0
  97. package/enterpriseActionsRunnerGroup.js +113 -0
  98. package/enterpriseActionsRunnerGroup.js.map +1 -0
  99. package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
  100. package/enterpriseActionsWorkflowPermissions.js +97 -0
  101. package/enterpriseActionsWorkflowPermissions.js.map +1 -0
  102. package/enterpriseOrganization.d.ts +11 -2
  103. package/enterpriseOrganization.js +22 -19
  104. package/enterpriseOrganization.js.map +1 -1
  105. package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
  106. package/enterpriseSecurityAnalysisSettings.js +116 -0
  107. package/enterpriseSecurityAnalysisSettings.js.map +1 -0
  108. package/getActionsEnvironmentPublicKey.d.ts +80 -0
  109. package/getActionsEnvironmentPublicKey.js +56 -0
  110. package/getActionsEnvironmentPublicKey.js.map +1 -0
  111. package/getActionsEnvironmentSecrets.d.ts +3 -3
  112. package/getActionsEnvironmentSecrets.js +9 -4
  113. package/getActionsEnvironmentSecrets.js.map +1 -1
  114. package/getActionsEnvironmentVariables.d.ts +3 -3
  115. package/getActionsEnvironmentVariables.js +9 -4
  116. package/getActionsEnvironmentVariables.js.map +1 -1
  117. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
  118. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +3 -2
  119. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  120. package/getActionsOrganizationPublicKey.d.ts +1 -1
  121. package/getActionsOrganizationPublicKey.js +3 -2
  122. package/getActionsOrganizationPublicKey.js.map +1 -1
  123. package/getActionsOrganizationRegistrationToken.d.ts +1 -1
  124. package/getActionsOrganizationRegistrationToken.js +3 -2
  125. package/getActionsOrganizationRegistrationToken.js.map +1 -1
  126. package/getActionsOrganizationSecrets.d.ts +1 -1
  127. package/getActionsOrganizationSecrets.js +3 -2
  128. package/getActionsOrganizationSecrets.js.map +1 -1
  129. package/getActionsOrganizationVariables.d.ts +1 -1
  130. package/getActionsOrganizationVariables.js +3 -2
  131. package/getActionsOrganizationVariables.js.map +1 -1
  132. package/getActionsPublicKey.d.ts +1 -1
  133. package/getActionsPublicKey.js +5 -2
  134. package/getActionsPublicKey.js.map +1 -1
  135. package/getActionsRegistrationToken.d.ts +1 -1
  136. package/getActionsRegistrationToken.js +5 -2
  137. package/getActionsRegistrationToken.js.map +1 -1
  138. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
  139. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +5 -2
  140. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  141. package/getActionsSecrets.d.ts +1 -1
  142. package/getActionsSecrets.js +7 -2
  143. package/getActionsSecrets.js.map +1 -1
  144. package/getActionsVariables.d.ts +1 -1
  145. package/getActionsVariables.js +7 -2
  146. package/getActionsVariables.js.map +1 -1
  147. package/getAppToken.d.ts +13 -9
  148. package/getAppToken.js +19 -10
  149. package/getAppToken.js.map +1 -1
  150. package/getBranch.d.ts +3 -3
  151. package/getBranch.js +8 -4
  152. package/getBranch.js.map +1 -1
  153. package/getBranchProtectionRules.d.ts +1 -1
  154. package/getBranchProtectionRules.js +5 -2
  155. package/getBranchProtectionRules.js.map +1 -1
  156. package/getCodespacesOrganizationPublicKey.d.ts +1 -1
  157. package/getCodespacesOrganizationPublicKey.js +3 -2
  158. package/getCodespacesOrganizationPublicKey.js.map +1 -1
  159. package/getCodespacesOrganizationSecrets.d.ts +1 -1
  160. package/getCodespacesOrganizationSecrets.js +3 -2
  161. package/getCodespacesOrganizationSecrets.js.map +1 -1
  162. package/getCodespacesPublicKey.d.ts +1 -1
  163. package/getCodespacesPublicKey.js +5 -2
  164. package/getCodespacesPublicKey.js.map +1 -1
  165. package/getCodespacesSecrets.d.ts +1 -1
  166. package/getCodespacesSecrets.js +7 -2
  167. package/getCodespacesSecrets.js.map +1 -1
  168. package/getCodespacesUserPublicKey.d.ts +1 -1
  169. package/getCodespacesUserPublicKey.js +3 -2
  170. package/getCodespacesUserPublicKey.js.map +1 -1
  171. package/getCodespacesUserSecrets.d.ts +1 -1
  172. package/getCodespacesUserSecrets.js +3 -2
  173. package/getCodespacesUserSecrets.js.map +1 -1
  174. package/getCollaborators.d.ts +13 -1
  175. package/getCollaborators.js +9 -2
  176. package/getCollaborators.js.map +1 -1
  177. package/getDependabotOrganizationPublicKey.d.ts +1 -1
  178. package/getDependabotOrganizationPublicKey.js +3 -2
  179. package/getDependabotOrganizationPublicKey.js.map +1 -1
  180. package/getDependabotOrganizationSecrets.d.ts +1 -1
  181. package/getDependabotOrganizationSecrets.js +3 -2
  182. package/getDependabotOrganizationSecrets.js.map +1 -1
  183. package/getDependabotPublicKey.d.ts +1 -1
  184. package/getDependabotPublicKey.js +5 -2
  185. package/getDependabotPublicKey.js.map +1 -1
  186. package/getDependabotSecrets.d.ts +1 -1
  187. package/getDependabotSecrets.js +7 -2
  188. package/getDependabotSecrets.js.map +1 -1
  189. package/getEnterprise.d.ts +5 -1
  190. package/getEnterprise.js +5 -2
  191. package/getEnterprise.js.map +1 -1
  192. package/getExternalGroups.d.ts +1 -1
  193. package/getExternalGroups.js +3 -2
  194. package/getExternalGroups.js.map +1 -1
  195. package/getGithubApp.d.ts +1 -1
  196. package/getGithubApp.js +5 -2
  197. package/getGithubApp.js.map +1 -1
  198. package/getIpRanges.d.ts +1 -1
  199. package/getIpRanges.js +3 -2
  200. package/getIpRanges.js.map +1 -1
  201. package/getIssueLabels.d.ts +1 -1
  202. package/getIssueLabels.js +5 -2
  203. package/getIssueLabels.js.map +1 -1
  204. package/getMembership.d.ts +1 -1
  205. package/getMembership.js +6 -2
  206. package/getMembership.js.map +1 -1
  207. package/getOrganization.d.ts +14 -5
  208. package/getOrganization.js +8 -2
  209. package/getOrganization.js.map +1 -1
  210. package/getOrganizationCustomProperties.d.ts +134 -0
  211. package/getOrganizationCustomProperties.js +62 -0
  212. package/getOrganizationCustomProperties.js.map +1 -0
  213. package/getOrganizationCustomRole.d.ts +5 -1
  214. package/getOrganizationCustomRole.js +9 -2
  215. package/getOrganizationCustomRole.js.map +1 -1
  216. package/getOrganizationExternalIdentities.d.ts +1 -1
  217. package/getOrganizationExternalIdentities.js +3 -2
  218. package/getOrganizationExternalIdentities.js.map +1 -1
  219. package/getOrganizationIpAllowList.d.ts +1 -1
  220. package/getOrganizationIpAllowList.js +3 -2
  221. package/getOrganizationIpAllowList.js.map +1 -1
  222. package/getOrganizationRepositoryRole.d.ts +82 -0
  223. package/getOrganizationRepositoryRole.js +54 -0
  224. package/getOrganizationRepositoryRole.js.map +1 -0
  225. package/getOrganizationRepositoryRoles.d.ts +65 -0
  226. package/getOrganizationRepositoryRoles.js +66 -0
  227. package/getOrganizationRepositoryRoles.js.map +1 -0
  228. package/getOrganizationRole.d.ts +82 -0
  229. package/getOrganizationRole.js +50 -0
  230. package/getOrganizationRole.js.map +1 -0
  231. package/getOrganizationRoleTeams.d.ts +85 -0
  232. package/getOrganizationRoleTeams.js +68 -0
  233. package/getOrganizationRoleTeams.js.map +1 -0
  234. package/getOrganizationRoleUsers.d.ts +81 -0
  235. package/getOrganizationRoleUsers.js +64 -0
  236. package/getOrganizationRoleUsers.js.map +1 -0
  237. package/getOrganizationRoles.d.ts +63 -0
  238. package/getOrganizationRoles.js +64 -0
  239. package/getOrganizationRoles.js.map +1 -0
  240. package/getOrganizationSecurityManagers.d.ts +45 -0
  241. package/getOrganizationSecurityManagers.js +46 -0
  242. package/getOrganizationSecurityManagers.js.map +1 -0
  243. package/getOrganizationTeamSyncGroups.d.ts +1 -1
  244. package/getOrganizationTeamSyncGroups.js +3 -2
  245. package/getOrganizationTeamSyncGroups.js.map +1 -1
  246. package/getOrganizationTeams.d.ts +1 -1
  247. package/getOrganizationTeams.js +8 -2
  248. package/getOrganizationTeams.js.map +1 -1
  249. package/getOrganizationWebhooks.d.ts +1 -1
  250. package/getOrganizationWebhooks.js +3 -2
  251. package/getOrganizationWebhooks.js.map +1 -1
  252. package/getRef.d.ts +3 -3
  253. package/getRef.js +9 -4
  254. package/getRef.js.map +1 -1
  255. package/getRelease.d.ts +64 -2
  256. package/getRelease.js +71 -2
  257. package/getRelease.js.map +1 -1
  258. package/getRepositories.d.ts +3 -3
  259. package/getRepositories.js +10 -4
  260. package/getRepositories.js.map +1 -1
  261. package/getRepository.d.ts +3 -1
  262. package/getRepository.js +9 -2
  263. package/getRepository.js.map +1 -1
  264. package/getRepositoryAutolinkReferences.d.ts +1 -1
  265. package/getRepositoryAutolinkReferences.js +5 -2
  266. package/getRepositoryAutolinkReferences.js.map +1 -1
  267. package/getRepositoryBranches.d.ts +1 -1
  268. package/getRepositoryBranches.js +7 -2
  269. package/getRepositoryBranches.js.map +1 -1
  270. package/getRepositoryCustomProperties.d.ts +64 -0
  271. package/getRepositoryCustomProperties.js +50 -0
  272. package/getRepositoryCustomProperties.js.map +1 -0
  273. package/getRepositoryDeployKeys.d.ts +1 -1
  274. package/getRepositoryDeployKeys.js +5 -2
  275. package/getRepositoryDeployKeys.js.map +1 -1
  276. package/getRepositoryDeploymentBranchPolicies.d.ts +7 -3
  277. package/getRepositoryDeploymentBranchPolicies.js +12 -4
  278. package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
  279. package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
  280. package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
  281. package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
  282. package/getRepositoryEnvironments.d.ts +1 -1
  283. package/getRepositoryEnvironments.js +5 -2
  284. package/getRepositoryEnvironments.js.map +1 -1
  285. package/getRepositoryFile.d.ts +3 -3
  286. package/getRepositoryFile.js +9 -4
  287. package/getRepositoryFile.js.map +1 -1
  288. package/getRepositoryMilestone.d.ts +3 -3
  289. package/getRepositoryMilestone.js +9 -4
  290. package/getRepositoryMilestone.js.map +1 -1
  291. package/getRepositoryPullRequest.d.ts +1 -1
  292. package/getRepositoryPullRequest.js +7 -2
  293. package/getRepositoryPullRequest.js.map +1 -1
  294. package/getRepositoryPullRequests.d.ts +3 -3
  295. package/getRepositoryPullRequests.js +13 -4
  296. package/getRepositoryPullRequests.js.map +1 -1
  297. package/getRepositoryTeams.d.ts +1 -1
  298. package/getRepositoryTeams.js +7 -2
  299. package/getRepositoryTeams.js.map +1 -1
  300. package/getRepositoryWebhooks.d.ts +1 -1
  301. package/getRepositoryWebhooks.js +5 -2
  302. package/getRepositoryWebhooks.js.map +1 -1
  303. package/getRestApi.d.ts +1 -1
  304. package/getRestApi.js +5 -2
  305. package/getRestApi.js.map +1 -1
  306. package/getSshKeys.d.ts +1 -1
  307. package/getSshKeys.js +3 -2
  308. package/getSshKeys.js.map +1 -1
  309. package/getTeam.d.ts +5 -3
  310. package/getTeam.js +8 -2
  311. package/getTeam.js.map +1 -1
  312. package/getTree.d.ts +17 -17
  313. package/getTree.js +23 -18
  314. package/getTree.js.map +1 -1
  315. package/getUser.d.ts +5 -1
  316. package/getUser.js +9 -2
  317. package/getUser.js.map +1 -1
  318. package/getUserExternalIdentity.d.ts +1 -1
  319. package/getUserExternalIdentity.js +5 -2
  320. package/getUserExternalIdentity.js.map +1 -1
  321. package/getUsers.d.ts +3 -1
  322. package/getUsers.js +7 -2
  323. package/getUsers.js.map +1 -1
  324. package/index.d.ts +76 -6
  325. package/index.js +126 -13
  326. package/index.js.map +1 -1
  327. package/issue.d.ts +17 -10
  328. package/issue.js +36 -29
  329. package/issue.js.map +1 -1
  330. package/issueLabel.d.ts +20 -3
  331. package/issueLabel.js +34 -18
  332. package/issueLabel.js.map +1 -1
  333. package/issueLabels.d.ts +5 -16
  334. package/issueLabels.js +12 -23
  335. package/issueLabels.js.map +1 -1
  336. package/membership.d.ts +3 -3
  337. package/membership.js +13 -13
  338. package/membership.js.map +1 -1
  339. package/organizationBlock.d.ts +1 -1
  340. package/organizationBlock.js +7 -7
  341. package/organizationBlock.js.map +1 -1
  342. package/organizationCustomProperties.d.ts +199 -0
  343. package/organizationCustomProperties.js +143 -0
  344. package/organizationCustomProperties.js.map +1 -0
  345. package/organizationCustomRole.d.ts +7 -3
  346. package/organizationCustomRole.js +19 -15
  347. package/organizationCustomRole.js.map +1 -1
  348. package/organizationProject.d.ts +6 -1
  349. package/organizationProject.js +14 -9
  350. package/organizationProject.js.map +1 -1
  351. package/organizationRepositoryRole.d.ts +121 -0
  352. package/organizationRepositoryRole.js +92 -0
  353. package/organizationRepositoryRole.js.map +1 -0
  354. package/organizationRole.d.ts +121 -0
  355. package/organizationRole.js +89 -0
  356. package/organizationRole.js.map +1 -0
  357. package/organizationRoleTeam.d.ts +83 -0
  358. package/organizationRoleTeam.js +80 -0
  359. package/organizationRoleTeam.js.map +1 -0
  360. package/organizationRoleTeamAssignment.d.ts +94 -0
  361. package/organizationRoleTeamAssignment.js +91 -0
  362. package/organizationRoleTeamAssignment.js.map +1 -0
  363. package/organizationRoleUser.d.ts +83 -0
  364. package/organizationRoleUser.js +80 -0
  365. package/organizationRoleUser.js.map +1 -0
  366. package/organizationRuleset.d.ts +92 -3
  367. package/organizationRuleset.js +109 -20
  368. package/organizationRuleset.js.map +1 -1
  369. package/organizationSecurityManager.d.ts +10 -3
  370. package/organizationSecurityManager.js +15 -8
  371. package/organizationSecurityManager.js.map +1 -1
  372. package/organizationSettings.d.ts +18 -16
  373. package/organizationSettings.js +73 -71
  374. package/organizationSettings.js.map +1 -1
  375. package/organizationWebhook.d.ts +22 -3
  376. package/organizationWebhook.js +33 -14
  377. package/organizationWebhook.js.map +1 -1
  378. package/package.json +4 -3
  379. package/projectCard.d.ts +24 -10
  380. package/projectCard.js +37 -23
  381. package/projectCard.js.map +1 -1
  382. package/projectColumn.d.ts +10 -2
  383. package/projectColumn.js +19 -11
  384. package/projectColumn.js.map +1 -1
  385. package/provider.d.ts +24 -11
  386. package/provider.js +22 -14
  387. package/provider.js.map +1 -1
  388. package/release.d.ts +91 -6
  389. package/release.js +54 -29
  390. package/release.js.map +1 -1
  391. package/repository.d.ts +64 -11
  392. package/repository.js +110 -88
  393. package/repository.js.map +1 -1
  394. package/repositoryAutolinkReference.d.ts +1 -0
  395. package/repositoryAutolinkReference.js +15 -14
  396. package/repositoryAutolinkReference.js.map +1 -1
  397. package/repositoryCollaborator.d.ts +3 -28
  398. package/repositoryCollaborator.js +16 -41
  399. package/repositoryCollaborator.js.map +1 -1
  400. package/repositoryCollaborators.d.ts +28 -38
  401. package/repositoryCollaborators.js +19 -39
  402. package/repositoryCollaborators.js.map +1 -1
  403. package/repositoryCustomProperty.d.ts +115 -0
  404. package/repositoryCustomProperty.js +98 -0
  405. package/repositoryCustomProperty.js.map +1 -0
  406. package/repositoryDependabotSecurityUpdates.d.ts +5 -4
  407. package/repositoryDependabotSecurityUpdates.js +10 -9
  408. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  409. package/repositoryDeployKey.d.ts +6 -16
  410. package/repositoryDeployKey.js +20 -30
  411. package/repositoryDeployKey.js.map +1 -1
  412. package/repositoryDeploymentBranchPolicy.d.ts +10 -1
  413. package/repositoryDeploymentBranchPolicy.js +18 -13
  414. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  415. package/repositoryEnvironment.d.ts +7 -4
  416. package/repositoryEnvironment.js +25 -22
  417. package/repositoryEnvironment.js.map +1 -1
  418. package/repositoryEnvironmentDeploymentPolicy.d.ts +54 -11
  419. package/repositoryEnvironmentDeploymentPolicy.js +49 -19
  420. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  421. package/repositoryFile.d.ts +72 -13
  422. package/repositoryFile.js +63 -34
  423. package/repositoryFile.js.map +1 -1
  424. package/repositoryMilestone.d.ts +1 -1
  425. package/repositoryMilestone.js +19 -19
  426. package/repositoryMilestone.js.map +1 -1
  427. package/repositoryProject.d.ts +6 -1
  428. package/repositoryProject.js +17 -13
  429. package/repositoryProject.js.map +1 -1
  430. package/repositoryPullRequest.d.ts +2 -2
  431. package/repositoryPullRequest.js +31 -31
  432. package/repositoryPullRequest.js.map +1 -1
  433. package/repositoryRuleset.d.ts +50 -11
  434. package/repositoryRuleset.js +67 -25
  435. package/repositoryRuleset.js.map +1 -1
  436. package/repositoryTopics.d.ts +4 -4
  437. package/repositoryTopics.js +12 -12
  438. package/repositoryTopics.js.map +1 -1
  439. package/repositoryWebhook.d.ts +8 -8
  440. package/repositoryWebhook.js +20 -21
  441. package/repositoryWebhook.js.map +1 -1
  442. package/team.d.ts +2 -1
  443. package/team.js +24 -23
  444. package/team.js.map +1 -1
  445. package/teamMembers.d.ts +9 -10
  446. package/teamMembers.js +17 -18
  447. package/teamMembers.js.map +1 -1
  448. package/teamMembership.d.ts +7 -4
  449. package/teamMembership.js +18 -15
  450. package/teamMembership.js.map +1 -1
  451. package/teamRepository.d.ts +6 -19
  452. package/teamRepository.js +17 -30
  453. package/teamRepository.js.map +1 -1
  454. package/teamSettings.d.ts +8 -5
  455. package/teamSettings.js +17 -14
  456. package/teamSettings.js.map +1 -1
  457. package/teamSyncGroupMapping.d.ts +18 -1
  458. package/teamSyncGroupMapping.js +26 -9
  459. package/teamSyncGroupMapping.js.map +1 -1
  460. package/types/index.js +1 -1
  461. package/types/index.js.map +1 -1
  462. package/types/input.d.ts +360 -74
  463. package/types/input.js +1 -1
  464. package/types/input.js.map +1 -1
  465. package/types/output.d.ts +495 -84
  466. package/types/output.js +1 -1
  467. package/types/output.js.map +1 -1
  468. package/userGpgKey.d.ts +2 -3
  469. package/userGpgKey.js +9 -10
  470. package/userGpgKey.js.map +1 -1
  471. package/userInvitationAccepter.d.ts +5 -7
  472. package/userInvitationAccepter.js +11 -13
  473. package/userInvitationAccepter.js.map +1 -1
  474. package/userSshKey.d.ts +5 -3
  475. package/userSshKey.js +15 -13
  476. package/userSshKey.js.map +1 -1
  477. package/utilities.d.ts +0 -4
  478. package/utilities.js +20 -30
  479. package/utilities.js.map +1 -1
  480. package/workflowRepositoryPermissions.d.ts +98 -0
  481. package/workflowRepositoryPermissions.js +82 -0
  482. package/workflowRepositoryPermissions.js.map +1 -0
  483. package/package.json.bak +0 -27
  484. package/repositoryTagProtection.d.ts +0 -93
  485. package/repositoryTagProtection.js +0 -84
  486. package/repositoryTagProtection.js.map +0 -1
@@ -1,42 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## Example Usage
4
- *
5
- * ```typescript
6
- * import * as pulumi from "@pulumi/pulumi";
7
- * import * as github from "@pulumi/github";
8
- *
9
- * const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
10
- * environment: "example_environment",
11
- * secretName: "example_secret_name",
12
- * plaintextValue: _var.some_secret_string,
13
- * });
14
- * const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
15
- * environment: "example_environment",
16
- * secretName: "example_secret_name",
17
- * encryptedValue: _var.some_encrypted_secret_string,
18
- * });
19
- * ```
20
- *
21
- * ```typescript
22
- * import * as pulumi from "@pulumi/pulumi";
23
- * import * as github from "@pulumi/github";
24
- *
25
- * const repo = github.getRepository({
26
- * fullName: "my-org/repo",
27
- * });
28
- * const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
29
- * repository: repo.then(repo => repo.name),
30
- * environment: "example_environment",
31
- * });
32
- * const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
33
- * repository: repo.then(repo => repo.name),
34
- * environment: repoEnvironment.environment,
35
- * secretName: "test_secret_name",
36
- * plaintextValue: "%s",
37
- * });
38
- * ```
39
- *
40
3
  * ## Import
41
4
  *
42
5
  * This resource does not support importing. If you'd like to help contribute it, please visit our GitHub page!
@@ -1,48 +1,11 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.ActionsEnvironmentSecret = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as github from "@pulumi/github";
14
- *
15
- * const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
16
- * environment: "example_environment",
17
- * secretName: "example_secret_name",
18
- * plaintextValue: _var.some_secret_string,
19
- * });
20
- * const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
21
- * environment: "example_environment",
22
- * secretName: "example_secret_name",
23
- * encryptedValue: _var.some_encrypted_secret_string,
24
- * });
25
- * ```
26
- *
27
- * ```typescript
28
- * import * as pulumi from "@pulumi/pulumi";
29
- * import * as github from "@pulumi/github";
30
- *
31
- * const repo = github.getRepository({
32
- * fullName: "my-org/repo",
33
- * });
34
- * const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
35
- * repository: repo.then(repo => repo.name),
36
- * environment: "example_environment",
37
- * });
38
- * const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
39
- * repository: repo.then(repo => repo.name),
40
- * environment: repoEnvironment.environment,
41
- * secretName: "test_secret_name",
42
- * plaintextValue: "%s",
43
- * });
44
- * ```
45
- *
46
9
  * ## Import
47
10
  *
48
11
  * This resource does not support importing. If you'd like to help contribute it, please visit our GitHub page!
@@ -58,7 +21,7 @@ class ActionsEnvironmentSecret extends pulumi.CustomResource {
58
21
  * @param opts Optional settings to control the behavior of the CustomResource.
59
22
  */
60
23
  static get(name, id, state, opts) {
61
- return new ActionsEnvironmentSecret(name, state, Object.assign(Object.assign({}, opts), { id: id }));
24
+ return new ActionsEnvironmentSecret(name, state, { ...opts, id: id });
62
25
  }
63
26
  /**
64
27
  * Returns true if the given object is an instance of ActionsEnvironmentSecret. This is designed to work even
@@ -75,30 +38,30 @@ class ActionsEnvironmentSecret extends pulumi.CustomResource {
75
38
  opts = opts || {};
76
39
  if (opts.id) {
77
40
  const state = argsOrState;
78
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
79
- resourceInputs["encryptedValue"] = state ? state.encryptedValue : undefined;
80
- resourceInputs["environment"] = state ? state.environment : undefined;
81
- resourceInputs["plaintextValue"] = state ? state.plaintextValue : undefined;
82
- resourceInputs["repository"] = state ? state.repository : undefined;
83
- resourceInputs["secretName"] = state ? state.secretName : undefined;
84
- resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
41
+ resourceInputs["createdAt"] = state?.createdAt;
42
+ resourceInputs["encryptedValue"] = state?.encryptedValue;
43
+ resourceInputs["environment"] = state?.environment;
44
+ resourceInputs["plaintextValue"] = state?.plaintextValue;
45
+ resourceInputs["repository"] = state?.repository;
46
+ resourceInputs["secretName"] = state?.secretName;
47
+ resourceInputs["updatedAt"] = state?.updatedAt;
85
48
  }
86
49
  else {
87
50
  const args = argsOrState;
88
- if ((!args || args.environment === undefined) && !opts.urn) {
51
+ if (args?.environment === undefined && !opts.urn) {
89
52
  throw new Error("Missing required property 'environment'");
90
53
  }
91
- if ((!args || args.repository === undefined) && !opts.urn) {
54
+ if (args?.repository === undefined && !opts.urn) {
92
55
  throw new Error("Missing required property 'repository'");
93
56
  }
94
- if ((!args || args.secretName === undefined) && !opts.urn) {
57
+ if (args?.secretName === undefined && !opts.urn) {
95
58
  throw new Error("Missing required property 'secretName'");
96
59
  }
97
- resourceInputs["encryptedValue"] = (args === null || args === void 0 ? void 0 : args.encryptedValue) ? pulumi.secret(args.encryptedValue) : undefined;
98
- resourceInputs["environment"] = args ? args.environment : undefined;
99
- resourceInputs["plaintextValue"] = (args === null || args === void 0 ? void 0 : args.plaintextValue) ? pulumi.secret(args.plaintextValue) : undefined;
100
- resourceInputs["repository"] = args ? args.repository : undefined;
101
- resourceInputs["secretName"] = args ? args.secretName : undefined;
60
+ resourceInputs["encryptedValue"] = args?.encryptedValue ? pulumi.secret(args.encryptedValue) : undefined;
61
+ resourceInputs["environment"] = args?.environment;
62
+ resourceInputs["plaintextValue"] = args?.plaintextValue ? pulumi.secret(args.plaintextValue) : undefined;
63
+ resourceInputs["repository"] = args?.repository;
64
+ resourceInputs["secretName"] = args?.secretName;
102
65
  resourceInputs["createdAt"] = undefined /*out*/;
103
66
  resourceInputs["updatedAt"] = undefined /*out*/;
104
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI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,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AApGL,4DAqGC;AAvFG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
@@ -9,10 +9,10 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as github from "@pulumi/github";
11
11
  *
12
- * const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
12
+ * const exampleVariable = new github.ActionsEnvironmentVariable("example_variable", {
13
13
  * environment: "example_environment",
14
- * value: "example_variable_value",
15
14
  * variableName: "example_variable_name",
15
+ * value: "example_variable_value",
16
16
  * });
17
17
  * ```
18
18
  *
@@ -23,11 +23,11 @@ import * as pulumi from "@pulumi/pulumi";
23
23
  * const repo = github.getRepository({
24
24
  * fullName: "my-org/repo",
25
25
  * });
26
- * const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
26
+ * const repoEnvironment = new github.RepositoryEnvironment("repo_environment", {
27
27
  * repository: repo.then(repo => repo.name),
28
28
  * environment: "example_environment",
29
29
  * });
30
- * const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
30
+ * const exampleVariable = new github.ActionsEnvironmentVariable("example_variable", {
31
31
  * repository: repo.then(repo => repo.name),
32
32
  * environment: repoEnvironment.environment,
33
33
  * variableName: "example_variable_name",
@@ -40,7 +40,7 @@ import * as pulumi from "@pulumi/pulumi";
40
40
  * This resource can be imported using an ID made up of the repository name, environment name, and variable name:
41
41
  *
42
42
  * ```sh
43
- * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
43
+ * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
44
44
  * ```
45
45
  */
46
46
  export declare class ActionsEnvironmentVariable extends pulumi.CustomResource {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.ActionsEnvironmentVariable = void 0;
@@ -15,10 +15,10 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as github from "@pulumi/github";
17
17
  *
18
- * const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
18
+ * const exampleVariable = new github.ActionsEnvironmentVariable("example_variable", {
19
19
  * environment: "example_environment",
20
- * value: "example_variable_value",
21
20
  * variableName: "example_variable_name",
21
+ * value: "example_variable_value",
22
22
  * });
23
23
  * ```
24
24
  *
@@ -29,11 +29,11 @@ const utilities = require("./utilities");
29
29
  * const repo = github.getRepository({
30
30
  * fullName: "my-org/repo",
31
31
  * });
32
- * const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
32
+ * const repoEnvironment = new github.RepositoryEnvironment("repo_environment", {
33
33
  * repository: repo.then(repo => repo.name),
34
34
  * environment: "example_environment",
35
35
  * });
36
- * const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
36
+ * const exampleVariable = new github.ActionsEnvironmentVariable("example_variable", {
37
37
  * repository: repo.then(repo => repo.name),
38
38
  * environment: repoEnvironment.environment,
39
39
  * variableName: "example_variable_name",
@@ -46,7 +46,7 @@ const utilities = require("./utilities");
46
46
  * This resource can be imported using an ID made up of the repository name, environment name, and variable name:
47
47
  *
48
48
  * ```sh
49
- * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
49
+ * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
50
50
  * ```
51
51
  */
52
52
  class ActionsEnvironmentVariable extends pulumi.CustomResource {
@@ -60,7 +60,7 @@ class ActionsEnvironmentVariable extends pulumi.CustomResource {
60
60
  * @param opts Optional settings to control the behavior of the CustomResource.
61
61
  */
62
62
  static get(name, id, state, opts) {
63
- return new ActionsEnvironmentVariable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ return new ActionsEnvironmentVariable(name, state, { ...opts, id: id });
64
64
  }
65
65
  /**
66
66
  * Returns true if the given object is an instance of ActionsEnvironmentVariable. This is designed to work even
@@ -77,31 +77,31 @@ class ActionsEnvironmentVariable extends pulumi.CustomResource {
77
77
  opts = opts || {};
78
78
  if (opts.id) {
79
79
  const state = argsOrState;
80
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
81
- resourceInputs["environment"] = state ? state.environment : undefined;
82
- resourceInputs["repository"] = state ? state.repository : undefined;
83
- resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
84
- resourceInputs["value"] = state ? state.value : undefined;
85
- resourceInputs["variableName"] = state ? state.variableName : undefined;
80
+ resourceInputs["createdAt"] = state?.createdAt;
81
+ resourceInputs["environment"] = state?.environment;
82
+ resourceInputs["repository"] = state?.repository;
83
+ resourceInputs["updatedAt"] = state?.updatedAt;
84
+ resourceInputs["value"] = state?.value;
85
+ resourceInputs["variableName"] = state?.variableName;
86
86
  }
87
87
  else {
88
88
  const args = argsOrState;
89
- if ((!args || args.environment === undefined) && !opts.urn) {
89
+ if (args?.environment === undefined && !opts.urn) {
90
90
  throw new Error("Missing required property 'environment'");
91
91
  }
92
- if ((!args || args.repository === undefined) && !opts.urn) {
92
+ if (args?.repository === undefined && !opts.urn) {
93
93
  throw new Error("Missing required property 'repository'");
94
94
  }
95
- if ((!args || args.value === undefined) && !opts.urn) {
95
+ if (args?.value === undefined && !opts.urn) {
96
96
  throw new Error("Missing required property 'value'");
97
97
  }
98
- if ((!args || args.variableName === undefined) && !opts.urn) {
98
+ if (args?.variableName === undefined && !opts.urn) {
99
99
  throw new Error("Missing required property 'variableName'");
100
100
  }
101
- resourceInputs["environment"] = args ? args.environment : undefined;
102
- resourceInputs["repository"] = args ? args.repository : undefined;
103
- resourceInputs["value"] = args ? args.value : undefined;
104
- resourceInputs["variableName"] = args ? args.variableName : undefined;
101
+ resourceInputs["environment"] = args?.environment;
102
+ resourceInputs["repository"] = args?.repository;
103
+ resourceInputs["value"] = args?.value;
104
+ resourceInputs["variableName"] = args?.variableName;
105
105
  resourceInputs["createdAt"] = undefined /*out*/;
106
106
  resourceInputs["updatedAt"] = undefined /*out*/;
107
107
  }
@@ -1 +1 @@
1
- {"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;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ACtC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA/FL,gEAgGC;AAlFG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
@@ -0,0 +1,250 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This resource allows you to create and manage GitHub-hosted runners within your GitHub organization.
6
+ * You must have admin access to an organization to use this resource.
7
+ *
8
+ * GitHub-hosted runners are fully managed virtual machines that run your GitHub Actions workflows. Unlike self-hosted runners, GitHub handles the infrastructure, maintenance, and scaling.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as github from "@pulumi/github";
17
+ *
18
+ * const example = new github.ActionsRunnerGroup("example", {
19
+ * name: "example-runner-group",
20
+ * visibility: "all",
21
+ * });
22
+ * const exampleActionsHostedRunner = new github.ActionsHostedRunner("example", {
23
+ * name: "example-hosted-runner",
24
+ * image: {
25
+ * id: "2306",
26
+ * source: "github",
27
+ * },
28
+ * size: "4-core",
29
+ * runnerGroupId: example.id,
30
+ * });
31
+ * ```
32
+ *
33
+ * ### Advanced Usage with Optional Parameters
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as github from "@pulumi/github";
38
+ *
39
+ * const advanced = new github.ActionsRunnerGroup("advanced", {
40
+ * name: "advanced-runner-group",
41
+ * visibility: "selected",
42
+ * });
43
+ * const advancedActionsHostedRunner = new github.ActionsHostedRunner("advanced", {
44
+ * name: "advanced-hosted-runner",
45
+ * image: {
46
+ * id: "2306",
47
+ * source: "github",
48
+ * },
49
+ * size: "8-core",
50
+ * runnerGroupId: advanced.id,
51
+ * maximumRunners: 10,
52
+ * publicIpEnabled: true,
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Notes
57
+ *
58
+ * * This resource is **organization-only** and cannot be used with individual accounts.
59
+ * * The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
60
+ * * The `size` field can be updated to scale the runner up or down as needed.
61
+ * * Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
62
+ * * Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
63
+ * * Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
64
+ * * Static public IPs are subject to account limits. Check your organization's limits before enabling.
65
+ *
66
+ * ## Getting Available Images and Sizes
67
+ *
68
+ * To get a list of available images:
69
+ *
70
+ * To get available machine sizes:
71
+ *
72
+ * ## Import
73
+ *
74
+ * Hosted runners can be imported using the runner ID:
75
+ *
76
+ * ```sh
77
+ * $ pulumi import github:index/actionsHostedRunner:ActionsHostedRunner example 123456
78
+ * ```
79
+ */
80
+ export declare class ActionsHostedRunner extends pulumi.CustomResource {
81
+ /**
82
+ * Get an existing ActionsHostedRunner resource's state with the given name, ID, and optional extra
83
+ * properties used to qualify the lookup.
84
+ *
85
+ * @param name The _unique_ name of the resulting resource.
86
+ * @param id The _unique_ provider ID of the resource to lookup.
87
+ * @param state Any extra arguments used during the lookup.
88
+ * @param opts Optional settings to control the behavior of the CustomResource.
89
+ */
90
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsHostedRunnerState, opts?: pulumi.CustomResourceOptions): ActionsHostedRunner;
91
+ /**
92
+ * Returns true if the given object is an instance of ActionsHostedRunner. This is designed to work even
93
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
+ */
95
+ static isInstance(obj: any): obj is ActionsHostedRunner;
96
+ /**
97
+ * Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
98
+ */
99
+ readonly image: pulumi.Output<outputs.ActionsHostedRunnerImage>;
100
+ /**
101
+ * Whether this runner should be used to generate custom images. Cannot be changed after creation.
102
+ */
103
+ readonly imageGen: pulumi.Output<boolean | undefined>;
104
+ /**
105
+ * The version of the runner image to deploy. This is only relevant for runners using custom images.
106
+ */
107
+ readonly imageVersion: pulumi.Output<string | undefined>;
108
+ /**
109
+ * Timestamp (RFC3339) when the runner was last active.
110
+ */
111
+ readonly lastActiveOn: pulumi.Output<string>;
112
+ /**
113
+ * Detailed specifications of the machine size:
114
+ */
115
+ readonly machineSizeDetails: pulumi.Output<outputs.ActionsHostedRunnerMachineSizeDetail[]>;
116
+ /**
117
+ * Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
118
+ */
119
+ readonly maximumRunners: pulumi.Output<number>;
120
+ /**
121
+ * Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
122
+ */
123
+ readonly name: pulumi.Output<string>;
124
+ /**
125
+ * Platform of the runner (e.g., "linux-x64", "win-x64").
126
+ */
127
+ readonly platform: pulumi.Output<string>;
128
+ /**
129
+ * Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
130
+ */
131
+ readonly publicIpEnabled: pulumi.Output<boolean | undefined>;
132
+ /**
133
+ * List of public IP ranges assigned to this runner (only if `publicIpEnabled` is true):
134
+ */
135
+ readonly publicIps: pulumi.Output<outputs.ActionsHostedRunnerPublicIp[]>;
136
+ /**
137
+ * The ID of the runner group to assign this runner to.
138
+ */
139
+ readonly runnerGroupId: pulumi.Output<number>;
140
+ /**
141
+ * Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
142
+ */
143
+ readonly size: pulumi.Output<string>;
144
+ /**
145
+ * Current status of the runner (e.g., "Ready", "Provisioning").
146
+ */
147
+ readonly status: pulumi.Output<string>;
148
+ /**
149
+ * Create a ActionsHostedRunner resource with the given unique name, arguments, and options.
150
+ *
151
+ * @param name The _unique_ name of the resource.
152
+ * @param args The arguments to use to populate this resource's properties.
153
+ * @param opts A bag of options that control this resource's behavior.
154
+ */
155
+ constructor(name: string, args: ActionsHostedRunnerArgs, opts?: pulumi.CustomResourceOptions);
156
+ }
157
+ /**
158
+ * Input properties used for looking up and filtering ActionsHostedRunner resources.
159
+ */
160
+ export interface ActionsHostedRunnerState {
161
+ /**
162
+ * Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
163
+ */
164
+ image?: pulumi.Input<inputs.ActionsHostedRunnerImage>;
165
+ /**
166
+ * Whether this runner should be used to generate custom images. Cannot be changed after creation.
167
+ */
168
+ imageGen?: pulumi.Input<boolean>;
169
+ /**
170
+ * The version of the runner image to deploy. This is only relevant for runners using custom images.
171
+ */
172
+ imageVersion?: pulumi.Input<string>;
173
+ /**
174
+ * Timestamp (RFC3339) when the runner was last active.
175
+ */
176
+ lastActiveOn?: pulumi.Input<string>;
177
+ /**
178
+ * Detailed specifications of the machine size:
179
+ */
180
+ machineSizeDetails?: pulumi.Input<pulumi.Input<inputs.ActionsHostedRunnerMachineSizeDetail>[]>;
181
+ /**
182
+ * Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
183
+ */
184
+ maximumRunners?: pulumi.Input<number>;
185
+ /**
186
+ * Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
187
+ */
188
+ name?: pulumi.Input<string>;
189
+ /**
190
+ * Platform of the runner (e.g., "linux-x64", "win-x64").
191
+ */
192
+ platform?: pulumi.Input<string>;
193
+ /**
194
+ * Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
195
+ */
196
+ publicIpEnabled?: pulumi.Input<boolean>;
197
+ /**
198
+ * List of public IP ranges assigned to this runner (only if `publicIpEnabled` is true):
199
+ */
200
+ publicIps?: pulumi.Input<pulumi.Input<inputs.ActionsHostedRunnerPublicIp>[]>;
201
+ /**
202
+ * The ID of the runner group to assign this runner to.
203
+ */
204
+ runnerGroupId?: pulumi.Input<number>;
205
+ /**
206
+ * Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
207
+ */
208
+ size?: pulumi.Input<string>;
209
+ /**
210
+ * Current status of the runner (e.g., "Ready", "Provisioning").
211
+ */
212
+ status?: pulumi.Input<string>;
213
+ }
214
+ /**
215
+ * The set of arguments for constructing a ActionsHostedRunner resource.
216
+ */
217
+ export interface ActionsHostedRunnerArgs {
218
+ /**
219
+ * Image configuration for the hosted runner. Cannot be changed after creation. Block supports:
220
+ */
221
+ image: pulumi.Input<inputs.ActionsHostedRunnerImage>;
222
+ /**
223
+ * Whether this runner should be used to generate custom images. Cannot be changed after creation.
224
+ */
225
+ imageGen?: pulumi.Input<boolean>;
226
+ /**
227
+ * The version of the runner image to deploy. This is only relevant for runners using custom images.
228
+ */
229
+ imageVersion?: pulumi.Input<string>;
230
+ /**
231
+ * Maximum number of runners to scale up to. Runners will not auto-scale above this number. Use this setting to limit costs.
232
+ */
233
+ maximumRunners?: pulumi.Input<number>;
234
+ /**
235
+ * Name of the hosted runner. Must be between 1 and 64 characters and may only contain alphanumeric characters, '.', '-', and '_'.
236
+ */
237
+ name?: pulumi.Input<string>;
238
+ /**
239
+ * Whether to enable static public IP for the runner. Note there are account limits. To list limits, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/limits`. Defaults to false.
240
+ */
241
+ publicIpEnabled?: pulumi.Input<boolean>;
242
+ /**
243
+ * The ID of the runner group to assign this runner to.
244
+ */
245
+ runnerGroupId: pulumi.Input<number>;
246
+ /**
247
+ * Machine size for the hosted runner (e.g., "4-core", "8-core"). Can be updated to scale the runner. To list available sizes, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/machine-sizes`.
248
+ */
249
+ size: pulumi.Input<string>;
250
+ }